PostHog · Schema

PatchedTaskRunUpdate

A/B TestingAnalyticsFeature FlagsOpen-SourceProduct AnalyticsSession Recording

Properties

Name Type Description
status object Current execution status * `not_started` - not_started * `queued` - queued * `in_progress` - in_progress * `completed` - completed * `failed` - failed * `cancelled` - cancelled
branch string Git branch name to associate with the task
stage string Current stage of the run (e.g. research, plan, build)
output object Output from the run
state object State of the run
state_remove_keys array State keys to remove atomically before applying any state updates.
error_message string Error message if execution failed
environment object Transition a cloud run to local. Use the resume_in_cloud action to move a run into cloud. * `local` - local
View JSON Schema on GitHub

JSON Schema

posthog-patchedtaskrunupdate-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PatchedTaskRunUpdate",
  "title": "PatchedTaskRunUpdate",
  "type": "object",
  "properties": {
    "status": {
      "allOf": [
        {
          "$ref": "#/components/schemas/TaskRunUpdateStatusEnum"
        }
      ],
      "description": "Current execution status\n\n* `not_started` - not_started\n* `queued` - queued\n* `in_progress` - in_progress\n* `completed` - completed\n* `failed` - failed\n* `cancelled` - cancelled"
    },
    "branch": {
      "type": "string",
      "nullable": true,
      "description": "Git branch name to associate with the task"
    },
    "stage": {
      "type": "string",
      "nullable": true,
      "description": "Current stage of the run (e.g. research, plan, build)"
    },
    "output": {
      "nullable": true,
      "description": "Output from the run"
    },
    "state": {
      "description": "State of the run"
    },
    "state_remove_keys": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "State keys to remove atomically before applying any state updates."
    },
    "error_message": {
      "type": "string",
      "nullable": true,
      "description": "Error message if execution failed"
    },
    "environment": {
      "allOf": [
        {
          "$ref": "#/components/schemas/TaskRunUpdateEnvironmentEnum"
        }
      ],
      "description": "Transition a cloud run to local. Use the resume_in_cloud action to move a run into cloud.\n\n* `local` - local"
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/posthog-patchedtaskrunupdate"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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