PostHog · Schema

TaskRunDetail

A/B TestingAnalyticsFeature FlagsOpen-SourceProduct AnalyticsSession Recording

Properties

Name Type Description
id string
task string
stage string Current stage for this run (e.g., 'research', 'plan', 'build')
branch string Branch name for the run
status object
environment object Execution environment * `local` - Local * `cloud` - Cloud
runtime_adapter object Configured runtime adapter for this run, such as 'claude' or 'codex'.
provider object Configured LLM provider for this run, such as 'anthropic' or 'openai'.
model string Configured LLM model identifier for this run.
reasoning_effort object Configured reasoning effort for this run when the selected model supports it.
log_url string Presigned S3 URL for log access (valid for 1 hour).
error_message string Error message if execution failed
output object Run output data (e.g., PR URL, commit SHA, etc.)
state object Run state data for resuming or tracking execution state
artifacts array
created_at string
updated_at string
completed_at string
View JSON Schema on GitHub

JSON Schema

posthog-taskrundetail-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TaskRunDetail",
  "title": "TaskRunDetail",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "task": {
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "stage": {
      "type": "string",
      "nullable": true,
      "description": "Current stage for this run (e.g., 'research', 'plan', 'build')",
      "maxLength": 100
    },
    "branch": {
      "type": "string",
      "nullable": true,
      "description": "Branch name for the run",
      "maxLength": 255
    },
    "status": {
      "$ref": "#/components/schemas/TaskRunDetailStatusEnum"
    },
    "environment": {
      "allOf": [
        {
          "$ref": "#/components/schemas/TaskRunDetailEnvironmentEnum"
        }
      ],
      "description": "Execution environment\n\n* `local` - Local\n* `cloud` - Cloud"
    },
    "runtime_adapter": {
      "nullable": true,
      "description": "Configured runtime adapter for this run, such as 'claude' or 'codex'.",
      "readOnly": true,
      "oneOf": [
        {
          "$ref": "#/components/schemas/RuntimeAdapterEnum"
        },
        {
          "$ref": "#/components/schemas/NullEnum"
        }
      ]
    },
    "provider": {
      "nullable": true,
      "description": "Configured LLM provider for this run, such as 'anthropic' or 'openai'.",
      "readOnly": true,
      "oneOf": [
        {
          "$ref": "#/components/schemas/TaskRunDetailProviderEnum"
        },
        {
          "$ref": "#/components/schemas/NullEnum"
        }
      ]
    },
    "model": {
      "type": "string",
      "nullable": true,
      "description": "Configured LLM model identifier for this run.",
      "readOnly": true
    },
    "reasoning_effort": {
      "nullable": true,
      "description": "Configured reasoning effort for this run when the selected model supports it.",
      "readOnly": true,
      "oneOf": [
        {
          "$ref": "#/components/schemas/ReasoningEffortEnum"
        },
        {
          "$ref": "#/components/schemas/NullEnum"
        }
      ]
    },
    "log_url": {
      "type": "string",
      "format": "uri",
      "nullable": true,
      "description": "Presigned S3 URL for log access (valid for 1 hour).",
      "readOnly": true
    },
    "error_message": {
      "type": "string",
      "nullable": true,
      "description": "Error message if execution failed"
    },
    "output": {
      "nullable": true,
      "description": "Run output data (e.g., PR URL, commit SHA, etc.)"
    },
    "state": {
      "description": "Run state data for resuming or tracking execution state"
    },
    "artifacts": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/TaskRunArtifactResponse"
      },
      "readOnly": true
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "completed_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true,
      "nullable": true
    }
  },
  "required": [
    "artifacts",
    "completed_at",
    "created_at",
    "id",
    "log_url",
    "model",
    "provider",
    "reasoning_effort",
    "runtime_adapter",
    "task",
    "updated_at"
  ]
}

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-taskrundetail"
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.