PostHog · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for PostHog Tasks API

12 actions 12 updates phrasing extends openapi/posthog-tasks-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for PostHog's API. It is a proposal applied on top of the contract, not a document PostHog publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 12

$.info
$.paths['/api/projects/{project_id}/tasks/'].get
$.paths['/api/projects/{project_id}/tasks/'].post
$.paths['/api/projects/{project_id}/tasks/{id}/'].get
$.paths['/api/projects/{project_id}/tasks/{id}/'].put
$.paths['/api/projects/{project_id}/tasks/{id}/'].delete
$.paths['/api/projects/{project_id}/tasks/{id}/'].patch
$.paths['/api/projects/{project_id}/tasks/{id}/run/'].post
$.paths['/api/projects/{project_id}/tasks/{id}/staged_artifacts/finalize_upload/'].post
$.paths['/api/projects/{project_id}/tasks/{id}/staged_artifacts/prepare_upload/'].post
$.paths['/api/projects/{project_id}/tasks/repositories/'].get
$.paths['/api/projects/{project_id}/tasks/repository_readiness/'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for PostHog Tasks API
  version: 1.0.0
extends: openapi/posthog-tasks-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-16'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 11
- target: $.paths['/api/projects/{project_id}/tasks/'].get
  update:
    x-apievangelist-phrasing:
      intent: List agent tasks in a project
      effect: read
      questions:
      - What agent tasks are open in my project?
      - Can I filter tasks by origin product or repository?
      instructions:
      - text: List tasks in project {project_id}.
        slots:
          project_id: path.project_id
      - text: Show tasks in project {project_id} with status {status}.
        slots:
          project_id: path.project_id
          status: query.status
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/tasks/'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an agent task
      effect: write
      questions:
      - How do I create a new agent task in a project?
      - Can I set a custom prompt for a task's CI fixes?
      instructions:
      - text: Create task {title} in project {project_id} with prompt {ci_prompt}.
        slots:
          title: requestBody.title
          project_id: path.project_id
          ci_prompt: requestBody.ci_prompt
      - text: Add a new task {title} to project {project_id} from repository {repository}.
        slots:
          title: requestBody.title
          project_id: path.project_id
          repository: requestBody.repository
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/tasks/{id}/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an agent task
      effect: read
      questions:
      - What are the details of one agent task?
      - Can I look up a task by its ID?
      instructions:
      - text: Get task {id} in project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      - text: Show the details of agent task {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/tasks/{id}/'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace an agent task
      effect: write
      questions:
      - How do I overwrite an agent task's title and description?
      - Can I change a task's GitHub integration?
      instructions:
      - text: Replace task {id} in project {project_id} with title {title}.
        slots:
          id: path.id
          project_id: path.project_id
          title: requestBody.title
      - text: Update task {id} in project {project_id} to use GitHub integration {github_integration}.
        slots:
          id: path.id
          project_id: path.project_id
          github_integration: requestBody.github_integration
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/tasks/{id}/'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an agent task
      effect: destructive
      questions:
      - How do I delete an agent task?
      - Can I remove a task from a project?
      instructions:
      - text: Delete task {id} from project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      - text: Remove agent task {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/tasks/{id}/'].patch
  update:
    x-apievangelist-phrasing:
      intent: Edit fields of an agent task
      effect: write
      questions:
      - Can I change just a task's description without resending everything?
      - Is there a partial update for agent tasks?
      instructions:
      - text: Set the description of task {id} in project {project_id} to {description}.
        slots:
          id: path.id
          project_id: path.project_id
          description: requestBody.description
      - text: 'Mark task {id} as internal: {internal}.'
        slots:
          id: path.id
          internal: requestBody.internal
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/tasks/{id}/run/'].post
  update:
    x-apievangelist-phrasing:
      intent: Run an agent task
      effect: write
      questions:
      - How do I kick off a workflow for an agent task?
      - Can I start a new run of a task?
      instructions:
      - text: Run task {id} in project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      - text: Start a new workflow run for agent task {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/tasks/{id}/staged_artifacts/finalize_upload/'].post
  update:
    x-apievangelist-phrasing:
      intent: Finalize staged uploads for a task
      effect: write
      questions:
      - How do I verify staged S3 uploads so they can attach to a task run?
      - Can I finalize task attachments after uploading them?
      instructions:
      - text: Finalize staged uploads {artifacts} for task {id} in project {project_id}.
        slots:
          artifacts: requestBody.artifacts
          id: path.id
          project_id: path.project_id
      - text: Verify and cache task {id} attachments {artifacts}.
        slots:
          id: path.id
          artifacts: requestBody.artifacts
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/tasks/{id}/staged_artifacts/prepare_upload/'].post
  update:
    x-apievangelist-phrasing:
      intent: Prepare staged uploads for a task
      effect: write
      questions:
      - How do I reserve S3 keys for task attachments before a run?
      - Can I get presigned upload forms for a task's files?
      instructions:
      - text: Prepare staged uploads {artifacts} for task {id} in project {project_id}.
        slots:
          artifacts: requestBody.artifacts
          id: path.id
          project_id: path.project_id
      - text: Reserve S3 keys for task {id} attachments {artifacts}.
        slots:
          id: path.id
          artifacts: requestBody.artifacts
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/tasks/repositories/'].get
  update:
    x-apievangelist-phrasing:
      intent: List repositories used by tasks
      effect: read
      questions:
      - Which repositories have tasks in my project?
      - Can I get the distinct task repositories without pagination?
      instructions:
      - text: List repositories referenced by tasks in project {project_id}.
        slots:
          project_id: path.project_id
      - text: Show the set of task repositories for project {project_id}.
        slots:
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/tasks/repository_readiness/'].get
  update:
    x-apievangelist-phrasing:
      intent: Check autonomy readiness of a repository
      effect: read
      questions:
      - Is my repository ready for autonomous tasks?
      - Can I check readiness for a specific repo over a time window?
      instructions:
      - text: Get readiness for repository {repository} in project {project_id}.
        slots:
          repository: query.repository
          project_id: path.project_id
      - text: Check autonomy readiness of {repository} over the last {window_days} days.
        slots:
          repository: query.repository
          window_days: query.window_days
      method: generated
      generated: '2026-11-16'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/posthog-tasks-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.