PostHog task-runs API is one of 139 APIs that PostHog publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.
Tagged areas include Task Runs. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, authentication docs, and an AsyncAPI specification.
This API exposes
19 operations
across 17 paths,
and defines 51 schemas.
It is described by OpenAPI 3.2.0, at version 1.0.0.
Requests are made against a single base URL, https://app.posthog.com/api.
19 operations17 paths51 schemas6 GET2 PATCH11 POST
Metadata
The identity and technical contract details declared by the specification.
Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://app.posthog.com/api
Authentication
HTTP Bearer
Resource Areas
1
Authentication & Security 1
PostHog task-runs API declares
1 security scheme
for authenticating requests.
It accepts HTTP bearer tokens (PersonalAPIKeyAuth).
Paths & Operations 19
Across 17 paths, the API surfaces 19 operations — 6 GET, 2 PATCH, 11 POST. Each is listed below with its method, path, parameters, and response codes.
API for managing task runs. Each run represents an execution of a task.
tasks_runs_stream_retrieve3 params→ 200
Schemas 51
The contract defines 51 schemas that model the data the API accepts and returns. The most detailed are Task (19 properties), TaskRunDetail (18 properties), TaskRunBootstrapCreateRequest (12 properties), TaskRunArtifactPrepareUploadResponse (9 properties). Each schema is shown below with its type and property counts.
S3PresignedPost
object
2 properties2 required
PrAuthorshipModeEnum
string
user - user bot - bot
TaskRunDetailStatusEnum
string
notstarted - Not Started queued - Queued inprogress - In Progress completed - Completed failed - Failed cancelled - Cancelled
NullEnum
MethodEnum
string
usermessage - usermessage cancel - cancel close - close permissionresponse - permissionresponse setconfigoption - setconfigoption
TaskRunArtifactPrepareUpload
object
5 properties3 required
ContentEncodingEnum
string
utf-8 - utf-8 base64 - base64
TaskRunStartRequest
object
2 properties
ConnectionTokenResponse
object
Response containing a JWT token for direct sandbox connection
1 property1 required
OriginProductEnum
string
errortracking - Error Tracking evalclusters - Eval Clusters usercreated - User Created automation - Automation slack - Slack supportqueue - Support Queue sessi…
TaskRunUpdateEnvironmentEnum
string
local - local
TaskExecutionModeEnum
string
interactive - interactive background - background
TaskRunArtifactsPrepareUploadResponse
object
1 property1 required
TaskRunErrorResponse
object
6 properties
TaskRunArtifactPrepareUploadResponse
object
9 properties7 required
ReasoningEffortEnum
string
low - low medium - medium high - high xhigh - xhigh max - max
Every API here is available over the API and to AI agents over MCP. APIs is not yet its own endpoint on the v1 API. Reach this content through network search and the tag graph, or the MCP server below.
Installs https://mcp.apievangelist.com/mcp in Claude, Cursor, VS Code and the rest — one button, every client.
MCP tools for apis
4 tools reach this content
search_api_evangelistSearch every content type across the network at once.
find_relatedThe shared-tag relevance graph — what else covers this.
get_tagEverything one tag labels, across all content types.
guide_topicPRO — a curated bundle for a topic: area, guidance, rules, papers, stories, services.
A second provider on the same verified email joins the account you already have.
Your account
ⓘWhere this information came from
This is an independent, third-party profile of PostHog task-runs API, published by
API Evangelist. We do not operate, host, resell, or
support these APIs, and we are not affiliated with or endorsed by the company unless stated above.
Everything here is built from publicly available information — the company's own site,
developer portal, documentation, public repositories, and the specifications it publishes for public use.
Nothing is obtained by breaching a system, defeating an access control, or using credentials.
The Kin Score and Agent Readiness rating are independently calculated assessments of a company's
public API artifacts, scored against a published rubric. They are not certifications,
endorsements, security assessments, or audits.
Corrections, re-scores, and removal are free — no partnership or purchase required, and
you do not need to justify the request. A removed company is recorded as unrated, never scored
zero for having asked. Acknowledgement within one business day; removal within two.
info@apievangelist.com
·
Read the full data-sourcing policy → On a security or compliance team? Put security in the subject line and
you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.