PostHog
No catalog description yet.
Authentication
| Method | Kind | Status | Details |
|---|---|---|---|
| API Key | api_key | available | — |
| OAuth 2.0 | oauth2 | available | — |
Call a tool
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "POSTHOG_ACCOUNT_NOTES_LIST", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("POSTHOG_ACCOUNT_NOTES_LIST", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute POSTHOG_ACCOUNT_NOTES_LIST --data '{ }'Tool catalog
Available tools
2473 callable operations
Account Notes ListPOSTHOG_ACCOUNT_NOTES_LISTAccount Notes ListConnection1 scope
Account Notes List
Authentication
Connected account requiredScopes
account:readTags
Account Relationship Definitions CreatePOSTHOG_ACCOUNT_RELATIONSHIP_DEFINITIONS_CREATEAccount Relationship Definitions CreateConnection1 scope
Account Relationship Definitions Create
Authentication
Connected account requiredScopes
account:writeTags
Account Relationship Definitions DestroyPOSTHOG_ACCOUNT_RELATIONSHIP_DEFINITIONS_DESTROYAccount Relationship Definitions DestroyConnection1 scope
Account Relationship Definitions Destroy
Authentication
Connected account requiredScopes
account:writeTags
Account Relationship Definitions ListPOSTHOG_ACCOUNT_RELATIONSHIP_DEFINITIONS_LISTAccount Relationship Definitions ListConnection1 scope
Account Relationship Definitions List
Authentication
Connected account requiredScopes
account:readTags
Account Relationship Definitions Partial UpdatePOSTHOG_ACCOUNT_RELATIONSHIP_DEFINITIONS_PARTIAL_UPDATEAccount Relationship Definitions Partial UpdateConnection1 scope
Account Relationship Definitions Partial Update
Authentication
Connected account requiredScopes
account:writeTags
Account Relationship Definitions RetrievePOSTHOG_ACCOUNT_RELATIONSHIP_DEFINITIONS_RETRIEVEAccount Relationship Definitions RetrieveConnection1 scope
Account Relationship Definitions Retrieve
Authentication
Connected account requiredScopes
account:readTags
Account Relationship Definitions UpdatePOSTHOG_ACCOUNT_RELATIONSHIP_DEFINITIONS_UPDATEAccount Relationship Definitions UpdateConnection1 scope
Account Relationship Definitions Update
Authentication
Connected account requiredScopes
account:writeTags
Accounts CreatePOSTHOG_ACCOUNTS_CREATEAccounts CreateConnection1 scope
Accounts Create
Authentication
Connected account requiredScopes
account:writeTags
Accounts Custom Property Values CreatePOSTHOG_ACCOUNTS_CUSTOM_PROPERTY_VALUES_CREATEAccounts Custom Property Values CreateConnection1 scope
Accounts Custom Property Values Create
Authentication
Connected account requiredScopes
account:writeTags
Accounts Custom Property Values ListPOSTHOG_ACCOUNTS_CUSTOM_PROPERTY_VALUES_LISTAccounts Custom Property Values ListConnection1 scope
Accounts Custom Property Values List
Authentication
Connected account requiredScopes
account:readTags
Accounts DestroyPOSTHOG_ACCOUNTS_DESTROYAccounts DestroyConnection1 scope
Accounts Destroy
Authentication
Connected account requiredScopes
account:writeTags
Accounts ListPOSTHOG_ACCOUNTS_LISTAccounts ListConnection1 scope
Accounts List
Authentication
Connected account requiredScopes
account:readTags
Accounts Notebooks CreatePOSTHOG_ACCOUNTS_NOTEBOOKS_CREATEAccounts Notebooks CreateConnection1 scope
Accounts Notebooks Create
Authentication
Connected account requiredScopes
account:writeTags
Accounts Notebooks DestroyPOSTHOG_ACCOUNTS_NOTEBOOKS_DESTROYAccounts Notebooks DestroyConnection1 scope
Accounts Notebooks Destroy
Authentication
Connected account requiredScopes
account:writeTags
Accounts Notebooks ListPOSTHOG_ACCOUNTS_NOTEBOOKS_LISTAccounts Notebooks ListConnection1 scope
Accounts Notebooks List
Authentication
Connected account requiredScopes
account:readTags
Accounts Notebooks RetrievePOSTHOG_ACCOUNTS_NOTEBOOKS_RETRIEVEAccounts Notebooks RetrieveConnection1 scope
Accounts Notebooks Retrieve
Authentication
Connected account requiredScopes
account:readTags
Accounts Partial UpdatePOSTHOG_ACCOUNTS_PARTIAL_UPDATEAccounts Partial UpdateConnection1 scope
Accounts Partial Update
Authentication
Connected account requiredScopes
account:writeTags
Accounts Relationships CreatePOSTHOG_ACCOUNTS_RELATIONSHIPS_CREATEAccounts Relationships CreateConnection1 scope
Accounts Relationships Create
Authentication
Connected account requiredScopes
account:writeTags
Accounts Relationships End CreatePOSTHOG_ACCOUNTS_RELATIONSHIPS_END_CREATEAccounts Relationships End CreateConnection
Accounts Relationships End Create
Authentication
Connected account requiredTags
Accounts Relationships ListPOSTHOG_ACCOUNTS_RELATIONSHIPS_LISTAccounts Relationships ListConnection1 scope
Accounts Relationships List
Authentication
Connected account requiredScopes
account:readTags
Accounts RetrievePOSTHOG_ACCOUNTS_RETRIEVEAccounts RetrieveConnection1 scope
Accounts Retrieve
Authentication
Connected account requiredScopes
account:readTags
Accounts UpdatePOSTHOG_ACCOUNTS_UPDATEAccounts UpdateConnection1 scope
Accounts Update
Authentication
Connected account requiredScopes
account:writeTags
Actions Bulk Update Tags CreatePOSTHOG_ACTIONS_BULK_UPDATE_TAGS_CREATEBulk update tags on multiple objects. PAT access: this action has no ``required_scopes=`` on the decorator — inheriting viewsets must add ``"bulk_update_tags"`` to their ``scope_object_write_actions`` list to accept personal API keys. Without that opt-in, ``APIScopePermission`` rejects PAT requests with "This action does not support personal API key access". Done per-viewset so granting ``<scope>:write`` for one resource doesn't leak access to sibling resources that share this mixin. Accepts: - {"ids": [...], "action": "add"|"remove"|"set", "tags": ["tag1", "tag2"]} Actions: - "add": Add tags to existing tags on each object - "remove": Remove specific tags from each object - "set": Replace all tags on each object with the provided listConnection
Bulk update tags on multiple objects. PAT access: this action has no ``required_scopes=`` on the decorator — inheriting viewsets must add ``"bulk_update_tags"`` to their ``scope_object_write_actions`` list to accept personal API keys. Without that opt-in, ``APIScopePermission`` rejects PAT requests with "This action does not support personal API key access". Done per-viewset so granting ``<scope>:write`` for one resource doesn't leak access to sibling resources that share this mixin. Accepts: - {"ids": [...], "action": "add"|"remove"|"set", "tags": ["tag1", "tag2"]} Actions: - "add": Add tags to existing tags on each object - "remove": Remove specific tags from each object - "set": Replace all tags on each object with the provided list
Authentication
Connected account requiredTags
Actions CreatePOSTHOG_ACTIONS_CREATEActions CreateConnection1 scope
Actions Create
Authentication
Connected account requiredScopes
action:writeTags
Actions DestroyPOSTHOG_ACTIONS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
action:writeTags
Actions ListPOSTHOG_ACTIONS_LISTActions ListConnection1 scope
Actions List
Authentication
Connected account requiredScopes
action:readTags
Actions Partial UpdatePOSTHOG_ACTIONS_PARTIAL_UPDATEActions Partial UpdateConnection1 scope
Actions Partial Update
Authentication
Connected account requiredScopes
action:writeTags
Actions References ListPOSTHOG_ACTIONS_REFERENCES_LISTActions References ListConnection1 scope
Actions References List
Authentication
Connected account requiredScopes
action:readTags
Actions RetrievePOSTHOG_ACTIONS_RETRIEVEActions RetrieveConnection1 scope
Actions Retrieve
Authentication
Connected account requiredScopes
action:readTags
Actions UpdatePOSTHOG_ACTIONS_UPDATEActions UpdateConnection1 scope
Actions Update
Authentication
Connected account requiredScopes
action:writeTags
Activity Log ListPOSTHOG_ACTIVITY_LOG_LISTActivity Log ListConnection1 scope
Activity Log List
Authentication
Connected account requiredScopes
activity_log:readTags
Advanced Activity Logs Available Filters RetrievePOSTHOG_ADVANCED_ACTIVITY_LOGS_AVAILABLE_FILTERS_RETRIEVEAdvanced Activity Logs Available Filters RetrieveConnection1 scope
Advanced Activity Logs Available Filters Retrieve
Authentication
Connected account requiredScopes
activity_log:readTags
Advanced Activity Logs Export CreatePOSTHOG_ADVANCED_ACTIVITY_LOGS_EXPORT_CREATEAdvanced Activity Logs Export CreateConnection
Advanced Activity Logs Export Create
Authentication
Connected account requiredTags
Advanced Activity Logs ListPOSTHOG_ADVANCED_ACTIVITY_LOGS_LISTAdvanced Activity Logs ListConnection1 scope
Advanced Activity Logs List
Authentication
Connected account requiredScopes
activity_log:readTags
Agent Applications Approvals DecidePOSTHOG_AGENT_APPLICATIONS_APPROVALS_DECIDEApprove or reject a queued `agent`-type tool-approval request. This is the OWNER decision surface — the only PostHog-authoritative one: team admins decide here, in the console. `principal`-type approvals are decided by the session principal at the ingress decision API, not here. The runtime side runs the tool platform-side on approve and wakes the session with a synthetic tool_result either way.Connection1 scope
Approve or reject a queued `agent`-type tool-approval request. This is the OWNER decision surface — the only PostHog-authoritative one: team admins decide here, in the console. `principal`-type approvals are decided by the session principal at the ingress decision API, not here. The runtime side runs the tool platform-side on approve and wakes the session with a synthetic tool_result either way.
Authentication
Connected account requiredScopes
agents:writeTags
Agent Applications Approvals ListPOSTHOG_AGENT_APPLICATIONS_APPROVALS_LISTList approval-gated tool requests for this application. Team-admin only (per plan §6.1). Default returns all states — pass `?state=queued` for the inbox view.Connection1 scope
List approval-gated tool requests for this application. Team-admin only (per plan §6.1). Default returns all states — pass `?state=queued` for the inbox view.
Authentication
Connected account requiredScopes
agents:readTags
Agent Applications Approvals RetrievePOSTHOG_AGENT_APPLICATIONS_APPROVALS_RETRIEVESingle approval request — full proposed args, assistant snapshot, decision metadata, dispatch outcome. Team-admin only (plan §6.1).Connection1 scope
Single approval request — full proposed args, assistant snapshot, decision metadata, dispatch outcome. Team-admin only (plan §6.1).
Authentication
Connected account requiredScopes
agents:readTags
Agent Applications CreatePOSTHOG_AGENT_APPLICATIONS_CREATEAgent applications — the deployable unit of the platform. URLs: GET /api/projects/<team>/agent_applications/ list POST /api/projects/<team>/agent_applications/ create GET /api/projects/<team>/agent_applications/<id|slug>/ retrieve PATCH /api/projects/<team>/agent_applications/<id|slug>/ update DELETE /api/projects/<team>/agent_applications/<id|slug>/ archive POST /api/projects/<team>/agent_applications/<id|slug>/set_env/ bulk replace env GET /api/projects/<team>/agent_applications/<id|slug>/env_keys/ list set keys GET /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ is one key set? PUT /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ set one key DELETE /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ clear one keyConnection1 scope
Agent applications — the deployable unit of the platform. URLs: GET /api/projects/<team>/agent_applications/ list POST /api/projects/<team>/agent_applications/ create GET /api/projects/<team>/agent_applications/<id|slug>/ retrieve PATCH /api/projects/<team>/agent_applications/<id|slug>/ update DELETE /api/projects/<team>/agent_applications/<id|slug>/ archive POST /api/projects/<team>/agent_applications/<id|slug>/set_env/ bulk replace env GET /api/projects/<team>/agent_applications/<id|slug>/env_keys/ list set keys GET /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ is one key set? PUT /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ set one key DELETE /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ clear one key
Authentication
Connected account requiredScopes
agents:writeTags
Agent Applications DestroyPOSTHOG_AGENT_APPLICATIONS_DESTROYAgent applications — the deployable unit of the platform. URLs: GET /api/projects/<team>/agent_applications/ list POST /api/projects/<team>/agent_applications/ create GET /api/projects/<team>/agent_applications/<id|slug>/ retrieve PATCH /api/projects/<team>/agent_applications/<id|slug>/ update DELETE /api/projects/<team>/agent_applications/<id|slug>/ archive POST /api/projects/<team>/agent_applications/<id|slug>/set_env/ bulk replace env GET /api/projects/<team>/agent_applications/<id|slug>/env_keys/ list set keys GET /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ is one key set? PUT /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ set one key DELETE /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ clear one keyConnection1 scope
Agent applications — the deployable unit of the platform. URLs: GET /api/projects/<team>/agent_applications/ list POST /api/projects/<team>/agent_applications/ create GET /api/projects/<team>/agent_applications/<id|slug>/ retrieve PATCH /api/projects/<team>/agent_applications/<id|slug>/ update DELETE /api/projects/<team>/agent_applications/<id|slug>/ archive POST /api/projects/<team>/agent_applications/<id|slug>/set_env/ bulk replace env GET /api/projects/<team>/agent_applications/<id|slug>/env_keys/ list set keys GET /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ is one key set? PUT /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ set one key DELETE /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ clear one key
Authentication
Connected account requiredScopes
agents:writeTags
Agent Applications ListPOSTHOG_AGENT_APPLICATIONS_LISTAgent applications — the deployable unit of the platform. URLs: GET /api/projects/<team>/agent_applications/ list POST /api/projects/<team>/agent_applications/ create GET /api/projects/<team>/agent_applications/<id|slug>/ retrieve PATCH /api/projects/<team>/agent_applications/<id|slug>/ update DELETE /api/projects/<team>/agent_applications/<id|slug>/ archive POST /api/projects/<team>/agent_applications/<id|slug>/set_env/ bulk replace env GET /api/projects/<team>/agent_applications/<id|slug>/env_keys/ list set keys GET /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ is one key set? PUT /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ set one key DELETE /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ clear one keyConnection1 scope
Agent applications — the deployable unit of the platform. URLs: GET /api/projects/<team>/agent_applications/ list POST /api/projects/<team>/agent_applications/ create GET /api/projects/<team>/agent_applications/<id|slug>/ retrieve PATCH /api/projects/<team>/agent_applications/<id|slug>/ update DELETE /api/projects/<team>/agent_applications/<id|slug>/ archive POST /api/projects/<team>/agent_applications/<id|slug>/set_env/ bulk replace env GET /api/projects/<team>/agent_applications/<id|slug>/env_keys/ list set keys GET /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ is one key set? PUT /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ set one key DELETE /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ clear one key
Authentication
Connected account requiredScopes
agents:readTags
Agent Applications ModelsPOSTHOG_AGENT_APPLICATIONS_MODELSServed-model catalog — each model's id, provider, context window, and USD-per-million-token pricing — plus the curated auto-level → model map. Project-agnostic; sourced from the AI gateway catalog. Powers the config UI model browser and the agent builder's model-choosing skill.Connection1 scope
Served-model catalog — each model's id, provider, context window, and USD-per-million-token pricing — plus the curated auto-level → model map. Project-agnostic; sourced from the AI gateway catalog. Powers the config UI model browser and the agent builder's model-choosing skill.
Authentication
Connected account requiredScopes
agents:readTags
Agent Applications Partial UpdatePOSTHOG_AGENT_APPLICATIONS_PARTIAL_UPDATEAgent applications — the deployable unit of the platform. URLs: GET /api/projects/<team>/agent_applications/ list POST /api/projects/<team>/agent_applications/ create GET /api/projects/<team>/agent_applications/<id|slug>/ retrieve PATCH /api/projects/<team>/agent_applications/<id|slug>/ update DELETE /api/projects/<team>/agent_applications/<id|slug>/ archive POST /api/projects/<team>/agent_applications/<id|slug>/set_env/ bulk replace env GET /api/projects/<team>/agent_applications/<id|slug>/env_keys/ list set keys GET /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ is one key set? PUT /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ set one key DELETE /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ clear one keyConnection1 scope
Agent applications — the deployable unit of the platform. URLs: GET /api/projects/<team>/agent_applications/ list POST /api/projects/<team>/agent_applications/ create GET /api/projects/<team>/agent_applications/<id|slug>/ retrieve PATCH /api/projects/<team>/agent_applications/<id|slug>/ update DELETE /api/projects/<team>/agent_applications/<id|slug>/ archive POST /api/projects/<team>/agent_applications/<id|slug>/set_env/ bulk replace env GET /api/projects/<team>/agent_applications/<id|slug>/env_keys/ list set keys GET /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ is one key set? PUT /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ set one key DELETE /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ clear one key
Authentication
Connected account requiredScopes
agents:writeTags
Agent Applications Preview ProxyPOSTHOG_AGENT_APPLICATIONS_PREVIEW_PROXYAuthoring-side proxy for invoking a *draft* (or any non-live) revision. Closes the anonymous-draft-invoke gap: the public ingress URL refuses non-live invokes that don't carry the `x-agent-preview-secret` header; this proxy attaches it after authenticating the Django caller. URL: `/api/projects/<team>/agent_applications/<app>/preview-proxy/<rest>` Auth: standard PAT / session — `agents:write` scope (POST run/send/cancel is a mutating invoke; the read-only `listen` GET is `agents:read`).Connection1 scope
Authoring-side proxy for invoking a *draft* (or any non-live) revision. Closes the anonymous-draft-invoke gap: the public ingress URL refuses non-live invokes that don't carry the `x-agent-preview-secret` header; this proxy attaches it after authenticating the Django caller. URL: `/api/projects/<team>/agent_applications/<app>/preview-proxy/<rest>` Auth: standard PAT / session — `agents:write` scope (POST run/send/cancel is a mutating invoke; the read-only `listen` GET is `agents:read`).
Authentication
Connected account requiredScopes
agents:writeTags
Agent Applications Preview Proxy GetPOSTHOG_AGENT_APPLICATIONS_PREVIEW_PROXY_GETGET passthrough for the preview-proxy — used for `/listen` SSE.Connection1 scope
GET passthrough for the preview-proxy — used for `/listen` SSE.
Authentication
Connected account requiredScopes
agents:readTags
Agent Applications Preview TokenPOSTHOG_AGENT_APPLICATIONS_PREVIEW_TOKENGET sibling of `preview_token_mint`. Same body and response shape — exists because `EventSource` can't set headers, so SSE callers fetch the token via GET and then attach `?preview_token=` to the ingress URL. Behind the same URL (`url_path="preview-token"`) thanks to DRF's `@<action>.mapping.get`; DRF resolves it to a distinct `view.action`, but it is in `scope_object_write_actions` alongside the POST sibling — both return a usable credential, so both require `agents:write`.Connection1 scope
GET sibling of `preview_token_mint`. Same body and response shape — exists because `EventSource` can't set headers, so SSE callers fetch the token via GET and then attach `?preview_token=` to the ingress URL. Behind the same URL (`url_path="preview-token"`) thanks to DRF's `@<action>.mapping.get`; DRF resolves it to a distinct `view.action`, but it is in `scope_object_write_actions` alongside the POST sibling — both return a usable credential, so both require `agents:write`.
Authentication
Connected account requiredScopes
agents:writeTags
Agent Applications Preview Token MintPOSTHOG_AGENT_APPLICATIONS_PREVIEW_TOKEN_MINTMint a short-lived JWT for talking to a non-live revision directly via the public ingress URL. The caller attaches it as the `x-agent-preview-token` header (or `?preview_token=` query param for `EventSource`). See `_mint_preview_jwt` for the payload + claim binding. The response also includes `endpoints`, `auth`, and `preview_proxy` blocks so the caller can wire a preview invocation without grepping the agent-ingress source for which path each trigger exposes or which header name carries the token. This is the "self-describing" half of preview-mode — every piece of info you need to hit ingress is in one response. POST is the canonical verb — minting credentials for downstream `run`/`send`/`cancel` is a write-class capability. A GET sibling exists at the same URL for `EventSource` callers (which can't set headers); it is also write-scoped, since it returns the same token.Connection1 scope
Mint a short-lived JWT for talking to a non-live revision directly via the public ingress URL. The caller attaches it as the `x-agent-preview-token` header (or `?preview_token=` query param for `EventSource`). See `_mint_preview_jwt` for the payload + claim binding. The response also includes `endpoints`, `auth`, and `preview_proxy` blocks so the caller can wire a preview invocation without grepping the agent-ingress source for which path each trigger exposes or which header name carries the token. This is the "self-describing" half of preview-mode — every piece of info you need to hit ingress is in one response. POST is the canonical verb — minting credentials for downstream `run`/`send`/`cancel` is a write-class capability. A GET sibling exists at the same URL for `EventSource` callers (which can't set headers); it is also write-scoped, since it returns the same token.
Authentication
Connected account requiredScopes
agents:writeTags
Agent Applications RetrievePOSTHOG_AGENT_APPLICATIONS_RETRIEVEAgent applications — the deployable unit of the platform. URLs: GET /api/projects/<team>/agent_applications/ list POST /api/projects/<team>/agent_applications/ create GET /api/projects/<team>/agent_applications/<id|slug>/ retrieve PATCH /api/projects/<team>/agent_applications/<id|slug>/ update DELETE /api/projects/<team>/agent_applications/<id|slug>/ archive POST /api/projects/<team>/agent_applications/<id|slug>/set_env/ bulk replace env GET /api/projects/<team>/agent_applications/<id|slug>/env_keys/ list set keys GET /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ is one key set? PUT /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ set one key DELETE /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ clear one keyConnection1 scope
Agent applications — the deployable unit of the platform. URLs: GET /api/projects/<team>/agent_applications/ list POST /api/projects/<team>/agent_applications/ create GET /api/projects/<team>/agent_applications/<id|slug>/ retrieve PATCH /api/projects/<team>/agent_applications/<id|slug>/ update DELETE /api/projects/<team>/agent_applications/<id|slug>/ archive POST /api/projects/<team>/agent_applications/<id|slug>/set_env/ bulk replace env GET /api/projects/<team>/agent_applications/<id|slug>/env_keys/ list set keys GET /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ is one key set? PUT /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ set one key DELETE /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ clear one key
Authentication
Connected account requiredScopes
agents:readTags
Agent Applications Revisions Agent Md UpdatePOSTHOG_AGENT_APPLICATIONS_REVISIONS_AGENT_MD_UPDATERevisions of an agent. Created in `draft`, promoted through `ready → live` once the bundle has been uploaded + frozen. URLs (nested under an application): Model CRUD: GET .../revisions/ list POST .../revisions/ create draft GET .../revisions/<id>/ retrieve PATCH .../revisions/<id>/ update spec (draft only) Lifecycle: POST .../revisions/<id>/promote/ ready → live POST .../revisions/<id>/archive/ → archived POST .../revisions/<id>/freeze/ draft → ready (stamps sha256) POST .../revisions/<id>/clone_from/ copy bundle from another rev POST .../revisions/new_draft/ create draft + clone_from atomically Bundle authoring (proxied to the janitor): GET .../revisions/<id>/manifest/ list paths + sha256 GET .../revisions/<id>/file/?path=… read one file PUT .../revisions/<id>/file/?path=… write one file (draft) DELETE .../revisions/<id>/file/?path=… delete one file (draft) GET .../revisions/<id>/bundle/ bulk pull all files PUT .../revisions/<id>/bundle/ bulk push (replace|merge)Connection1 scope
Revisions of an agent. Created in `draft`, promoted through `ready → live` once the bundle has been uploaded + frozen. URLs (nested under an application): Model CRUD: GET .../revisions/ list POST .../revisions/ create draft GET .../revisions/<id>/ retrieve PATCH .../revisions/<id>/ update spec (draft only) Lifecycle: POST .../revisions/<id>/promote/ ready → live POST .../revisions/<id>/archive/ → archived POST .../revisions/<id>/freeze/ draft → ready (stamps sha256) POST .../revisions/<id>/clone_from/ copy bundle from another rev POST .../revisions/new_draft/ create draft + clone_from atomically Bundle authoring (proxied to the janitor): GET .../revisions/<id>/manifest/ list paths + sha256 GET .../revisions/<id>/file/?path=… read one file PUT .../revisions/<id>/file/?path=… write one file (draft) DELETE .../revisions/<id>/file/?path=… delete one file (draft) GET .../revisions/<id>/bundle/ bulk pull all files PUT .../revisions/<id>/bundle/ bulk push (replace|merge)
Authentication
Connected account requiredScopes
agents:writeTags
Agent Applications Revisions Archive CreatePOSTHOG_AGENT_APPLICATIONS_REVISIONS_ARCHIVE_CREATEMark a revision archived. If it was the live one, clear the application's live_revision pointer (the app effectively has no deployable version until another revision is promoted).Connection1 scope
Mark a revision archived. If it was the live one, clear the application's live_revision pointer (the app effectively has no deployable version until another revision is promoted).
Authentication
Connected account requiredScopes
agents:writeTags
Agent Applications Revisions Bundle File UpdatePOSTHOG_AGENT_APPLICATIONS_REVISIONS_BUNDLE_FILE_UPDATEUpdate one `.md` file on a draft revision. `agent.md` writes go to the draft bundle. `skills/<id>/SKILL.md` writes are store-backed — skills are materialized from the skill store at freeze, so the edit publishes a new version of the referenced store skill and re-pins the draft's `skill_refs` entry to it. `<id>` must be a ref alias on this revision; add new skills via `bundle/import/` or `skill_refs`. Tool source / schema editing is out of scope here — use the per-tool endpoints. Returns the updated revision so the caller can refresh in one round-trip.Connection1 scope
Update one `.md` file on a draft revision. `agent.md` writes go to the draft bundle. `skills/<id>/SKILL.md` writes are store-backed — skills are materialized from the skill store at freeze, so the edit publishes a new version of the referenced store skill and re-pins the draft's `skill_refs` entry to it. `<id>` must be a ref alias on this revision; add new skills via `bundle/import/` or `skill_refs`. Tool source / schema editing is out of scope here — use the per-tool endpoints. Returns the updated revision so the caller can refresh in one round-trip.
Authentication
Connected account requiredScopes
agents:writeTags
Agent Applications Revisions Bundle Import CreatePOSTHOG_AGENT_APPLICATIONS_REVISIONS_BUNDLE_IMPORT_CREATEBulk-merge a set of `.md` files into a draft revision. Sets `agent_md` on the draft bundle if present. `skills[]` are store-backed and merge by `id`: an id already referenced by the draft publishes a new version of its store skill; an unreferenced id attaches the store skill of that name (publishing the payload's body to it), or creates it when no such skill exists — and each ref is (re-)pinned to the published version. Skills not mentioned are left alone, so the import is safe to retry. Draft-only; non-draft revisions return 409 untouched.Connection1 scope
Bulk-merge a set of `.md` files into a draft revision. Sets `agent_md` on the draft bundle if present. `skills[]` are store-backed and merge by `id`: an id already referenced by the draft publishes a new version of its store skill; an unreferenced id attaches the store skill of that name (publishing the payload's body to it), or creates it when no such skill exists — and each ref is (re-)pinned to the published version. Skills not mentioned are left alone, so the import is safe to retry. Draft-only; non-draft revisions return 409 untouched.
Authentication
Connected account requiredScopes
agents:writeTags
Agent Applications Revisions Bundle RetrievePOSTHOG_AGENT_APPLICATIONS_REVISIONS_BUNDLE_RETRIEVERead the full typed bundle: `{ agent_md, skills, tools, spec }`.Connection1 scope
Read the full typed bundle: `{ agent_md, skills, tools, spec }`.
Authentication
Connected account requiredScopes
agents:readTags
Agent Applications Revisions Bundle UpdatePOSTHOG_AGENT_APPLICATIONS_REVISIONS_BUNDLE_UPDATEFull-replace the typed bundle. Anything not in the payload is deleted. Tool sources are AST-checked + esbuild-compiled by the janitor before any S3 writes.Connection1 scope
Full-replace the typed bundle. Anything not in the payload is deleted. Tool sources are AST-checked + esbuild-compiled by the janitor before any S3 writes.
Authentication
Connected account requiredScopes
agents:writeTags
Agent Applications Revisions Clone From CreatePOSTHOG_AGENT_APPLICATIONS_REVISIONS_CLONE_FROM_CREATECopy every file from `source_revision_id` into this revision.Connection1 scope
Copy every file from `source_revision_id` into this revision.
Authentication
Connected account requiredScopes
agents:writeTags
Agent Applications Revisions CreatePOSTHOG_AGENT_APPLICATIONS_REVISIONS_CREATERevisions of an agent. Created in `draft`, promoted through `ready → live` once the bundle has been uploaded + frozen. URLs (nested under an application): Model CRUD: GET .../revisions/ list POST .../revisions/ create draft GET .../revisions/<id>/ retrieve PATCH .../revisions/<id>/ update spec (draft only) Lifecycle: POST .../revisions/<id>/promote/ ready → live POST .../revisions/<id>/archive/ → archived POST .../revisions/<id>/freeze/ draft → ready (stamps sha256) POST .../revisions/<id>/clone_from/ copy bundle from another rev POST .../revisions/new_draft/ create draft + clone_from atomically Bundle authoring (proxied to the janitor): GET .../revisions/<id>/manifest/ list paths + sha256 GET .../revisions/<id>/file/?path=… read one file PUT .../revisions/<id>/file/?path=… write one file (draft) DELETE .../revisions/<id>/file/?path=… delete one file (draft) GET .../revisions/<id>/bundle/ bulk pull all files PUT .../revisions/<id>/bundle/ bulk push (replace|merge)Connection1 scope
Revisions of an agent. Created in `draft`, promoted through `ready → live` once the bundle has been uploaded + frozen. URLs (nested under an application): Model CRUD: GET .../revisions/ list POST .../revisions/ create draft GET .../revisions/<id>/ retrieve PATCH .../revisions/<id>/ update spec (draft only) Lifecycle: POST .../revisions/<id>/promote/ ready → live POST .../revisions/<id>/archive/ → archived POST .../revisions/<id>/freeze/ draft → ready (stamps sha256) POST .../revisions/<id>/clone_from/ copy bundle from another rev POST .../revisions/new_draft/ create draft + clone_from atomically Bundle authoring (proxied to the janitor): GET .../revisions/<id>/manifest/ list paths + sha256 GET .../revisions/<id>/file/?path=… read one file PUT .../revisions/<id>/file/?path=… write one file (draft) DELETE .../revisions/<id>/file/?path=… delete one file (draft) GET .../revisions/<id>/bundle/ bulk pull all files PUT .../revisions/<id>/bundle/ bulk push (replace|merge)
Authentication
Connected account requiredScopes
agents:writeTags
Agent Applications Revisions Cron Fire CreatePOSTHOG_AGENT_APPLICATIONS_REVISIONS_CRON_FIRE_CREATEFire one cron job out-of-band — the same execution path the scheduler walks, but on demand. Authoring UX: the user iterates on a cron prompt by clicking 'Fire now' rather than waiting for the next scheduled firing. Without this, 'did my prompt do the right thing?' is unanswerable until the cron actually fires. Idempotent via `request_id`: repeat clicks with the same id resolve to the same session id rather than firing N times.Connection1 scope
Fire one cron job out-of-band — the same execution path the scheduler walks, but on demand. Authoring UX: the user iterates on a cron prompt by clicking 'Fire now' rather than waiting for the next scheduled firing. Without this, 'did my prompt do the right thing?' is unanswerable until the cron actually fires. Idempotent via `request_id`: repeat clicks with the same id resolve to the same session id rather than firing N times.
Authentication
Connected account requiredScopes
agents:writeTags
Agent Applications Revisions DestroyPOSTHOG_AGENT_APPLICATIONS_REVISIONS_DESTROYRevisions of an agent. Created in `draft`, promoted through `ready → live` once the bundle has been uploaded + frozen. URLs (nested under an application): Model CRUD: GET .../revisions/ list POST .../revisions/ create draft GET .../revisions/<id>/ retrieve PATCH .../revisions/<id>/ update spec (draft only) Lifecycle: POST .../revisions/<id>/promote/ ready → live POST .../revisions/<id>/archive/ → archived POST .../revisions/<id>/freeze/ draft → ready (stamps sha256) POST .../revisions/<id>/clone_from/ copy bundle from another rev POST .../revisions/new_draft/ create draft + clone_from atomically Bundle authoring (proxied to the janitor): GET .../revisions/<id>/manifest/ list paths + sha256 GET .../revisions/<id>/file/?path=… read one file PUT .../revisions/<id>/file/?path=… write one file (draft) DELETE .../revisions/<id>/file/?path=… delete one file (draft) GET .../revisions/<id>/bundle/ bulk pull all files PUT .../revisions/<id>/bundle/ bulk push (replace|merge)Connection
Revisions of an agent. Created in `draft`, promoted through `ready → live` once the bundle has been uploaded + frozen. URLs (nested under an application): Model CRUD: GET .../revisions/ list POST .../revisions/ create draft GET .../revisions/<id>/ retrieve PATCH .../revisions/<id>/ update spec (draft only) Lifecycle: POST .../revisions/<id>/promote/ ready → live POST .../revisions/<id>/archive/ → archived POST .../revisions/<id>/freeze/ draft → ready (stamps sha256) POST .../revisions/<id>/clone_from/ copy bundle from another rev POST .../revisions/new_draft/ create draft + clone_from atomically Bundle authoring (proxied to the janitor): GET .../revisions/<id>/manifest/ list paths + sha256 GET .../revisions/<id>/file/?path=… read one file PUT .../revisions/<id>/file/?path=… write one file (draft) DELETE .../revisions/<id>/file/?path=… delete one file (draft) GET .../revisions/<id>/bundle/ bulk pull all files PUT .../revisions/<id>/bundle/ bulk push (replace|merge)
Authentication
Connected account requiredTags
Agent Applications Revisions Freeze CreatePOSTHOG_AGENT_APPLICATIONS_REVISIONS_FREEZE_CREATEFreeze the bundle: draft → ready, stamps sha256 on the row. Django is a thin proxy here: resolve template refs into the bundle, ask the janitor to seal it (the janitor returns the sha + the spec it derived from the typed resources), then stamp the row. No `transaction.atomic()` — the janitor's freeze is idempotent (on retry it re-reads the existing `.frozen` marker + re-derives spec), so a partial failure here is recoverable by re-calling freeze, not by transactional rollback. Holding an atomic block across the janitor HTTP call previously deadlocked the agent_revision row against the janitor's spec write — that's moved off the janitor side as part of the same fix.Connection1 scope
Freeze the bundle: draft → ready, stamps sha256 on the row. Django is a thin proxy here: resolve template refs into the bundle, ask the janitor to seal it (the janitor returns the sha + the spec it derived from the typed resources), then stamp the row. No `transaction.atomic()` — the janitor's freeze is idempotent (on retry it re-reads the existing `.frozen` marker + re-derives spec), so a partial failure here is recoverable by re-calling freeze, not by transactional rollback. Holding an atomic block across the janitor HTTP call previously deadlocked the agent_revision row against the janitor's spec write — that's moved off the janitor side as part of the same fix.
Authentication
Connected account requiredScopes
agents:writeTags
Agent Applications Revisions ListPOSTHOG_AGENT_APPLICATIONS_REVISIONS_LISTRevisions of an agent. Created in `draft`, promoted through `ready → live` once the bundle has been uploaded + frozen. URLs (nested under an application): Model CRUD: GET .../revisions/ list POST .../revisions/ create draft GET .../revisions/<id>/ retrieve PATCH .../revisions/<id>/ update spec (draft only) Lifecycle: POST .../revisions/<id>/promote/ ready → live POST .../revisions/<id>/archive/ → archived POST .../revisions/<id>/freeze/ draft → ready (stamps sha256) POST .../revisions/<id>/clone_from/ copy bundle from another rev POST .../revisions/new_draft/ create draft + clone_from atomically Bundle authoring (proxied to the janitor): GET .../revisions/<id>/manifest/ list paths + sha256 GET .../revisions/<id>/file/?path=… read one file PUT .../revisions/<id>/file/?path=… write one file (draft) DELETE .../revisions/<id>/file/?path=… delete one file (draft) GET .../revisions/<id>/bundle/ bulk pull all files PUT .../revisions/<id>/bundle/ bulk push (replace|merge)Connection1 scope
Revisions of an agent. Created in `draft`, promoted through `ready → live` once the bundle has been uploaded + frozen. URLs (nested under an application): Model CRUD: GET .../revisions/ list POST .../revisions/ create draft GET .../revisions/<id>/ retrieve PATCH .../revisions/<id>/ update spec (draft only) Lifecycle: POST .../revisions/<id>/promote/ ready → live POST .../revisions/<id>/archive/ → archived POST .../revisions/<id>/freeze/ draft → ready (stamps sha256) POST .../revisions/<id>/clone_from/ copy bundle from another rev POST .../revisions/new_draft/ create draft + clone_from atomically Bundle authoring (proxied to the janitor): GET .../revisions/<id>/manifest/ list paths + sha256 GET .../revisions/<id>/file/?path=… read one file PUT .../revisions/<id>/file/?path=… write one file (draft) DELETE .../revisions/<id>/file/?path=… delete one file (draft) GET .../revisions/<id>/bundle/ bulk pull all files PUT .../revisions/<id>/bundle/ bulk push (replace|merge)
Authentication
Connected account requiredScopes
agents:readTags
Agent Applications Revisions Manifest RetrievePOSTHOG_AGENT_APPLICATIONS_REVISIONS_MANIFEST_RETRIEVEList every file in this revision's bundle (path, size, sha256).Connection1 scope
List every file in this revision's bundle (path, size, sha256).
Authentication
Connected account requiredScopes
agents:readTags
Agent Applications Revisions New Draft CreatePOSTHOG_AGENT_APPLICATIONS_REVISIONS_NEW_DRAFT_CREATECreate a fresh draft revision under `application_id` and seed it from `source_revision_id`. Saves the MCP one round-trip vs the explicit create + clone_from sequence.Connection1 scope
Create a fresh draft revision under `application_id` and seed it from `source_revision_id`. Saves the MCP one round-trip vs the explicit create + clone_from sequence.
Authentication
Connected account requiredScopes
agents:writeTags
Agent Applications Revisions Partial UpdatePOSTHOG_AGENT_APPLICATIONS_REVISIONS_PARTIAL_UPDATERevisions of an agent. Created in `draft`, promoted through `ready → live` once the bundle has been uploaded + frozen. URLs (nested under an application): Model CRUD: GET .../revisions/ list POST .../revisions/ create draft GET .../revisions/<id>/ retrieve PATCH .../revisions/<id>/ update spec (draft only) Lifecycle: POST .../revisions/<id>/promote/ ready → live POST .../revisions/<id>/archive/ → archived POST .../revisions/<id>/freeze/ draft → ready (stamps sha256) POST .../revisions/<id>/clone_from/ copy bundle from another rev POST .../revisions/new_draft/ create draft + clone_from atomically Bundle authoring (proxied to the janitor): GET .../revisions/<id>/manifest/ list paths + sha256 GET .../revisions/<id>/file/?path=… read one file PUT .../revisions/<id>/file/?path=… write one file (draft) DELETE .../revisions/<id>/file/?path=… delete one file (draft) GET .../revisions/<id>/bundle/ bulk pull all files PUT .../revisions/<id>/bundle/ bulk push (replace|merge)Connection1 scope
Revisions of an agent. Created in `draft`, promoted through `ready → live` once the bundle has been uploaded + frozen. URLs (nested under an application): Model CRUD: GET .../revisions/ list POST .../revisions/ create draft GET .../revisions/<id>/ retrieve PATCH .../revisions/<id>/ update spec (draft only) Lifecycle: POST .../revisions/<id>/promote/ ready → live POST .../revisions/<id>/archive/ → archived POST .../revisions/<id>/freeze/ draft → ready (stamps sha256) POST .../revisions/<id>/clone_from/ copy bundle from another rev POST .../revisions/new_draft/ create draft + clone_from atomically Bundle authoring (proxied to the janitor): GET .../revisions/<id>/manifest/ list paths + sha256 GET .../revisions/<id>/file/?path=… read one file PUT .../revisions/<id>/file/?path=… write one file (draft) DELETE .../revisions/<id>/file/?path=… delete one file (draft) GET .../revisions/<id>/bundle/ bulk pull all files PUT .../revisions/<id>/bundle/ bulk push (replace|merge)
Authentication
Connected account requiredScopes
agents:writeTags
Agent Applications Revisions Promote CreatePOSTHOG_AGENT_APPLICATIONS_REVISIONS_PROMOTE_CREATEready → live. Sets the parent application's live_revision.Connection1 scope
ready → live. Sets the parent application's live_revision.
Authentication
Connected account requiredScopes
agents:writeTags
Agent Applications Revisions RetrievePOSTHOG_AGENT_APPLICATIONS_REVISIONS_RETRIEVERevisions of an agent. Created in `draft`, promoted through `ready → live` once the bundle has been uploaded + frozen. URLs (nested under an application): Model CRUD: GET .../revisions/ list POST .../revisions/ create draft GET .../revisions/<id>/ retrieve PATCH .../revisions/<id>/ update spec (draft only) Lifecycle: POST .../revisions/<id>/promote/ ready → live POST .../revisions/<id>/archive/ → archived POST .../revisions/<id>/freeze/ draft → ready (stamps sha256) POST .../revisions/<id>/clone_from/ copy bundle from another rev POST .../revisions/new_draft/ create draft + clone_from atomically Bundle authoring (proxied to the janitor): GET .../revisions/<id>/manifest/ list paths + sha256 GET .../revisions/<id>/file/?path=… read one file PUT .../revisions/<id>/file/?path=… write one file (draft) DELETE .../revisions/<id>/file/?path=… delete one file (draft) GET .../revisions/<id>/bundle/ bulk pull all files PUT .../revisions/<id>/bundle/ bulk push (replace|merge)Connection1 scope
Revisions of an agent. Created in `draft`, promoted through `ready → live` once the bundle has been uploaded + frozen. URLs (nested under an application): Model CRUD: GET .../revisions/ list POST .../revisions/ create draft GET .../revisions/<id>/ retrieve PATCH .../revisions/<id>/ update spec (draft only) Lifecycle: POST .../revisions/<id>/promote/ ready → live POST .../revisions/<id>/archive/ → archived POST .../revisions/<id>/freeze/ draft → ready (stamps sha256) POST .../revisions/<id>/clone_from/ copy bundle from another rev POST .../revisions/new_draft/ create draft + clone_from atomically Bundle authoring (proxied to the janitor): GET .../revisions/<id>/manifest/ list paths + sha256 GET .../revisions/<id>/file/?path=… read one file PUT .../revisions/<id>/file/?path=… write one file (draft) DELETE .../revisions/<id>/file/?path=… delete one file (draft) GET .../revisions/<id>/bundle/ bulk pull all files PUT .../revisions/<id>/bundle/ bulk push (replace|merge)
Authentication
Connected account requiredScopes
agents:readTags
Agent Applications Revisions Set Env CreatePOSTHOG_AGENT_APPLICATIONS_REVISIONS_SET_ENV_CREATEReplace this revision's encrypted env block. The body is `{ "env": { "<KEY>": "<value>", ... } }`. The encrypted text is stored on `AgentRevision.encrypted_env`; the worker decrypts it at session start via the same Fernet schedule (see agent-shared/src/runtime/encryption.ts).Connection1 scope
Replace this revision's encrypted env block. The body is `{ "env": { "<KEY>": "<value>", ... } }`. The encrypted text is stored on `AgentRevision.encrypted_env`; the worker decrypts it at session start via the same Fernet schedule (see agent-shared/src/runtime/encryption.ts).
Authentication
Connected account requiredScopes
agents:writeTags
Agent Applications Revisions Skill Refs UpdatePOSTHOG_AGENT_APPLICATIONS_REVISIONS_SKILL_REFS_UPDATEFull-replace the draft's store-skill references. They are resolved and materialized into the bundle at freeze, not here — this only records which skills (and pinned versions) the freeze should pull in.Connection1 scope
Full-replace the draft's store-skill references. They are resolved and materialized into the bundle at freeze, not here — this only records which skills (and pinned versions) the freeze should pull in.
Authentication
Connected account requiredScopes
agents:writeTags
Agent Applications Revisions Slack ManifestPOSTHOG_AGENT_APPLICATIONS_REVISIONS_SLACK_MANIFESTBuild a Slack app manifest for this revision's slack trigger. Deterministic: the OAuth scopes and bot event subscriptions are derived from the slack trigger config (`mention_only` / `auto_resume_threads` / `ack_reaction`) and the agent's Slack tools, so the manifest already subscribes to exactly the events the config needs. 400 if the revision has no slack trigger.Connection1 scope
Build a Slack app manifest for this revision's slack trigger. Deterministic: the OAuth scopes and bot event subscriptions are derived from the slack trigger config (`mention_only` / `auto_resume_threads` / `ack_reaction`) and the agent's Slack tools, so the manifest already subscribes to exactly the events the config needs. 400 if the revision has no slack trigger.
Authentication
Connected account requiredScopes
agents:readTags
Agent Applications Revisions Spec UpdatePOSTHOG_AGENT_APPLICATIONS_REVISIONS_SPEC_UPDATERevisions of an agent. Created in `draft`, promoted through `ready → live` once the bundle has been uploaded + frozen. URLs (nested under an application): Model CRUD: GET .../revisions/ list POST .../revisions/ create draft GET .../revisions/<id>/ retrieve PATCH .../revisions/<id>/ update spec (draft only) Lifecycle: POST .../revisions/<id>/promote/ ready → live POST .../revisions/<id>/archive/ → archived POST .../revisions/<id>/freeze/ draft → ready (stamps sha256) POST .../revisions/<id>/clone_from/ copy bundle from another rev POST .../revisions/new_draft/ create draft + clone_from atomically Bundle authoring (proxied to the janitor): GET .../revisions/<id>/manifest/ list paths + sha256 GET .../revisions/<id>/file/?path=… read one file PUT .../revisions/<id>/file/?path=… write one file (draft) DELETE .../revisions/<id>/file/?path=… delete one file (draft) GET .../revisions/<id>/bundle/ bulk pull all files PUT .../revisions/<id>/bundle/ bulk push (replace|merge)Connection1 scope
Revisions of an agent. Created in `draft`, promoted through `ready → live` once the bundle has been uploaded + frozen. URLs (nested under an application): Model CRUD: GET .../revisions/ list POST .../revisions/ create draft GET .../revisions/<id>/ retrieve PATCH .../revisions/<id>/ update spec (draft only) Lifecycle: POST .../revisions/<id>/promote/ ready → live POST .../revisions/<id>/archive/ → archived POST .../revisions/<id>/freeze/ draft → ready (stamps sha256) POST .../revisions/<id>/clone_from/ copy bundle from another rev POST .../revisions/new_draft/ create draft + clone_from atomically Bundle authoring (proxied to the janitor): GET .../revisions/<id>/manifest/ list paths + sha256 GET .../revisions/<id>/file/?path=… read one file PUT .../revisions/<id>/file/?path=… write one file (draft) DELETE .../revisions/<id>/file/?path=… delete one file (draft) GET .../revisions/<id>/bundle/ bulk pull all files PUT .../revisions/<id>/bundle/ bulk push (replace|merge)
Authentication
Connected account requiredScopes
agents:writeTags
Agent Applications Revisions System PromptPOSTHOG_AGENT_APPLICATIONS_REVISIONS_SYSTEM_PROMPTReturn the fully-assembled system prompt for this revision. Authoring tools call this to preview what the model will actually see at session start — the platform framework preamble plus the bundle's `agent.md` plus the skills index. Useful for debugging author-vs-framework precedence conflicts and verifying `spec.framework_prompt.omit` overrides took effect.Connection1 scope
Return the fully-assembled system prompt for this revision. Authoring tools call this to preview what the model will actually see at session start — the platform framework preamble plus the bundle's `agent.md` plus the skills index. Useful for debugging author-vs-framework precedence conflicts and verifying `spec.framework_prompt.omit` overrides took effect.
Authentication
Connected account requiredScopes
agents:readTags
Agent Applications Revisions Tools DestroyPOSTHOG_AGENT_APPLICATIONS_REVISIONS_TOOLS_DESTROYRevisions of an agent. Created in `draft`, promoted through `ready → live` once the bundle has been uploaded + frozen. URLs (nested under an application): Model CRUD: GET .../revisions/ list POST .../revisions/ create draft GET .../revisions/<id>/ retrieve PATCH .../revisions/<id>/ update spec (draft only) Lifecycle: POST .../revisions/<id>/promote/ ready → live POST .../revisions/<id>/archive/ → archived POST .../revisions/<id>/freeze/ draft → ready (stamps sha256) POST .../revisions/<id>/clone_from/ copy bundle from another rev POST .../revisions/new_draft/ create draft + clone_from atomically Bundle authoring (proxied to the janitor): GET .../revisions/<id>/manifest/ list paths + sha256 GET .../revisions/<id>/file/?path=… read one file PUT .../revisions/<id>/file/?path=… write one file (draft) DELETE .../revisions/<id>/file/?path=… delete one file (draft) GET .../revisions/<id>/bundle/ bulk pull all files PUT .../revisions/<id>/bundle/ bulk push (replace|merge)Connection1 scope
Revisions of an agent. Created in `draft`, promoted through `ready → live` once the bundle has been uploaded + frozen. URLs (nested under an application): Model CRUD: GET .../revisions/ list POST .../revisions/ create draft GET .../revisions/<id>/ retrieve PATCH .../revisions/<id>/ update spec (draft only) Lifecycle: POST .../revisions/<id>/promote/ ready → live POST .../revisions/<id>/archive/ → archived POST .../revisions/<id>/freeze/ draft → ready (stamps sha256) POST .../revisions/<id>/clone_from/ copy bundle from another rev POST .../revisions/new_draft/ create draft + clone_from atomically Bundle authoring (proxied to the janitor): GET .../revisions/<id>/manifest/ list paths + sha256 GET .../revisions/<id>/file/?path=… read one file PUT .../revisions/<id>/file/?path=… write one file (draft) DELETE .../revisions/<id>/file/?path=… delete one file (draft) GET .../revisions/<id>/bundle/ bulk pull all files PUT .../revisions/<id>/bundle/ bulk push (replace|merge)
Authentication
Connected account requiredScopes
agents:writeTags
Agent Applications Revisions Tools Dry Run CreatePOSTHOG_AGENT_APPLICATIONS_REVISIONS_TOOLS_DRY_RUN_CREATEExecute one persisted custom tool in a single-shot sandbox. Authoring loop's "test this tool" button. The tool's source must already be PUT (compiled.js is what runs); this just invokes it with the caller-supplied args and a stubbed ctx. No real secrets leave Django — `mock_secrets` is a `{name → placeholder}` map.Connection1 scope
Execute one persisted custom tool in a single-shot sandbox. Authoring loop's "test this tool" button. The tool's source must already be PUT (compiled.js is what runs); this just invokes it with the caller-supplied args and a stubbed ctx. No real secrets leave Django — `mock_secrets` is a `{name → placeholder}` map.
Authentication
Connected account requiredScopes
agents:writeTags
Agent Applications Revisions Tools UpdatePOSTHOG_AGENT_APPLICATIONS_REVISIONS_TOOLS_UPDATERevisions of an agent. Created in `draft`, promoted through `ready → live` once the bundle has been uploaded + frozen. URLs (nested under an application): Model CRUD: GET .../revisions/ list POST .../revisions/ create draft GET .../revisions/<id>/ retrieve PATCH .../revisions/<id>/ update spec (draft only) Lifecycle: POST .../revisions/<id>/promote/ ready → live POST .../revisions/<id>/archive/ → archived POST .../revisions/<id>/freeze/ draft → ready (stamps sha256) POST .../revisions/<id>/clone_from/ copy bundle from another rev POST .../revisions/new_draft/ create draft + clone_from atomically Bundle authoring (proxied to the janitor): GET .../revisions/<id>/manifest/ list paths + sha256 GET .../revisions/<id>/file/?path=… read one file PUT .../revisions/<id>/file/?path=… write one file (draft) DELETE .../revisions/<id>/file/?path=… delete one file (draft) GET .../revisions/<id>/bundle/ bulk pull all files PUT .../revisions/<id>/bundle/ bulk push (replace|merge)Connection1 scope
Revisions of an agent. Created in `draft`, promoted through `ready → live` once the bundle has been uploaded + frozen. URLs (nested under an application): Model CRUD: GET .../revisions/ list POST .../revisions/ create draft GET .../revisions/<id>/ retrieve PATCH .../revisions/<id>/ update spec (draft only) Lifecycle: POST .../revisions/<id>/promote/ ready → live POST .../revisions/<id>/archive/ → archived POST .../revisions/<id>/freeze/ draft → ready (stamps sha256) POST .../revisions/<id>/clone_from/ copy bundle from another rev POST .../revisions/new_draft/ create draft + clone_from atomically Bundle authoring (proxied to the janitor): GET .../revisions/<id>/manifest/ list paths + sha256 GET .../revisions/<id>/file/?path=… read one file PUT .../revisions/<id>/file/?path=… write one file (draft) DELETE .../revisions/<id>/file/?path=… delete one file (draft) GET .../revisions/<id>/bundle/ bulk pull all files PUT .../revisions/<id>/bundle/ bulk push (replace|merge)
Authentication
Connected account requiredScopes
agents:writeTags
Agent Applications Revisions UpdatePOSTHOG_AGENT_APPLICATIONS_REVISIONS_UPDATESpec edits are only allowed while state='draft'. Once promoted to ready/live the spec is frozen — change requires a new revision.Connection1 scope
Spec edits are only allowed while state='draft'. Once promoted to ready/live the spec is frozen — change requires a new revision.
Authentication
Connected account requiredScopes
agents:writeTags
Agent Applications Revisions Validate CreatePOSTHOG_AGENT_APPLICATIONS_REVISIONS_VALIDATE_CREATEPre-flight checks before freeze + promote: agent.md exists, every native tool id is registered, every custom tool has its compiled.js + schema.json, every skill path exists, every declared secret has a value set in this revision's env block. Returns `{ ok, errors: [...] }`. Works on any revision state.Connection1 scope
Pre-flight checks before freeze + promote: agent.md exists, every native tool id is registered, every custom tool has its compiled.js + schema.json, every skill path exists, every declared secret has a value set in this revision's env block. Returns `{ ok, errors: [...] }`. Works on any revision state.
Authentication
Connected account requiredScopes
agents:readTags
Agent Applications Session LogsPOSTHOG_AGENT_APPLICATIONS_SESSION_LOGSRead the runner's structured event log for one session from ClickHouse. Filters (limit / after / before / level / search) match the shared `LogEntryMixin` helper used by hog_function + hog_flow.Connection1 scope
Read the runner's structured event log for one session from ClickHouse. Filters (limit / after / before / level / search) match the shared `LogEntryMixin` helper used by hog_function + hog_flow.
Authentication
Connected account requiredScopes
agents:readTags
Agent Applications Sessions ListPOSTHOG_AGENT_APPLICATIONS_SESSIONS_LISTList sessions for this application, newest first. Strips the conversation transcript from each summary, but includes a `preview` (last assistant text, ~120 chars) and `usage_total` (token + cost aggregate). Use `agent-applications-sessions-retrieve` for the full transcript of a single session.Connection1 scope
List sessions for this application, newest first. Strips the conversation transcript from each summary, but includes a `preview` (last assistant text, ~120 chars) and `usage_total` (token + cost aggregate). Use `agent-applications-sessions-retrieve` for the full transcript of a single session.
Authentication
Connected account requiredScopes
agents:readTags
Agent Applications Sessions RetrievePOSTHOG_AGENT_APPLICATIONS_SESSIONS_RETRIEVEFetch one session's state — full conversation by default, or just the trailing N messages with `?last_n=`. Always returns a `usage_total` block aggregated over the entire session, regardless of trim. The runner-side queue DB is the source of truth.Connection1 scope
Fetch one session's state — full conversation by default, or just the trailing N messages with `?last_n=`. Always returns a `usage_total` block aggregated over the entire session, regardless of trim. The runner-side queue DB is the source of truth.
Authentication
Connected account requiredScopes
agents:readTags
Agent Applications Spec SchemaPOSTHOG_AGENT_APPLICATIONS_SPEC_SCHEMAThe canonical JSON Schema for an agent `spec` — every field, type, enum, default, and the discriminated unions for `models` / `triggers[]` / `tools[]`, each with an inline description. Emitted from the same source the runner validates against (fields with a default are optional on write), so read it BEFORE composing a spec for create / revisions-spec-update instead of guessing the shape. Pass `section` to fetch just one part.Connection1 scope
The canonical JSON Schema for an agent `spec` — every field, type, enum, default, and the discriminated unions for `models` / `triggers[]` / `tools[]`, each with an inline description. Emitted from the same source the runner validates against (fields with a default are optional on write), so read it BEFORE composing a spec for create / revisions-spec-update instead of guessing the shape. Pass `section` to fetch just one part.
Authentication
Connected account requiredScopes
agents:readTags
Agent Applications StatsPOSTHOG_AGENT_APPLICATIONS_STATSRoll-up stats for the agent — drives the agent-detail overview tiles.Connection1 scope
Roll-up stats for the agent — drives the agent-detail overview tiles.
Authentication
Connected account requiredScopes
agents:readTags
Agent Applications UpdatePOSTHOG_AGENT_APPLICATIONS_UPDATEAgent applications — the deployable unit of the platform. URLs: GET /api/projects/<team>/agent_applications/ list POST /api/projects/<team>/agent_applications/ create GET /api/projects/<team>/agent_applications/<id|slug>/ retrieve PATCH /api/projects/<team>/agent_applications/<id|slug>/ update DELETE /api/projects/<team>/agent_applications/<id|slug>/ archive POST /api/projects/<team>/agent_applications/<id|slug>/set_env/ bulk replace env GET /api/projects/<team>/agent_applications/<id|slug>/env_keys/ list set keys GET /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ is one key set? PUT /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ set one key DELETE /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ clear one keyConnection1 scope
Agent applications — the deployable unit of the platform. URLs: GET /api/projects/<team>/agent_applications/ list POST /api/projects/<team>/agent_applications/ create GET /api/projects/<team>/agent_applications/<id|slug>/ retrieve PATCH /api/projects/<team>/agent_applications/<id|slug>/ update DELETE /api/projects/<team>/agent_applications/<id|slug>/ archive POST /api/projects/<team>/agent_applications/<id|slug>/set_env/ bulk replace env GET /api/projects/<team>/agent_applications/<id|slug>/env_keys/ list set keys GET /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ is one key set? PUT /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ set one key DELETE /api/projects/<team>/agent_applications/<id|slug>/env_keys/<KEY>/ clear one key
Authentication
Connected account requiredScopes
agents:writeTags
Agent Applications Users Connection DeletePOSTHOG_AGENT_APPLICATIONS_USERS_CONNECTION_DELETERevoke one of an end-user's linked connections. The credential is marked revoked (kept for audit), so the agent can no longer act as that user on the provider.Connection1 scope
Revoke one of an end-user's linked connections. The credential is marked revoked (kept for audit), so the agent can no longer act as that user on the provider.
Authentication
Connected account requiredScopes
agents:writeTags
Agent Applications Users ListPOSTHOG_AGENT_APPLICATIONS_USERS_LISTList this agent's end-users (the stable identities behind inbound principals) and each user's linked external connections. Connection metadata only — credential material is never returned.Connection1 scope
List this agent's end-users (the stable identities behind inbound principals) and each user's linked external connections. Connection metadata only — credential material is never returned.
Authentication
Connected account requiredScopes
agents:readTags
Agent Fleet Approvals ListPOSTHOG_AGENT_FLEET_APPROVALS_LISTApproval-gated tool requests across every agent in this team. Team-admin only.Connection1 scope
Approval-gated tool requests across every agent in this team. Team-admin only.
Authentication
Connected account requiredScopes
agents:readTags
Agent Fleet Live SessionsPOSTHOG_AGENT_FLEET_LIVE_SESSIONSLive (non-terminal) sessions across every agent owned by this team, newest activity first.Connection1 scope
Live (non-terminal) sessions across every agent owned by this team, newest activity first.
Authentication
Connected account requiredScopes
agents:readTags
Agent Fleet StatsPOSTHOG_AGENT_FLEET_STATSRoll-up stats across every agent owned by this team.Connection1 scope
Roll-up stats across every agent owned by this team.
Authentication
Connected account requiredScopes
agents:readTags
Agent Memory Create FilePOSTHOG_AGENT_MEMORY_CREATE_FILECreate a memory file. Fails if the path already exists — use the update endpoint to overwrite.Connection1 scope
Create a memory file. Fails if the path already exists — use the update endpoint to overwrite.
Authentication
Connected account requiredScopes
agents:writeTags
Agent Memory Delete FilePOSTHOG_AGENT_MEMORY_DELETE_FILEHard-delete a memory file. Activity log captures the action against the agent.Connection1 scope
Hard-delete a memory file. Activity log captures the action against the agent.
Authentication
Connected account requiredScopes
agents:writeTags
Agent Memory Get FilePOSTHOG_AGENT_MEMORY_GET_FILERead one memory file in full (frontmatter + markdown body).Connection1 scope
Read one memory file in full (frontmatter + markdown body).
Authentication
Connected account requiredScopes
agents:readTags
Agent Memory List FilesPOSTHOG_AGENT_MEMORY_LIST_FILESList memory file headers under the agent's prefix. Headers only — no bodies.Connection1 scope
List memory file headers under the agent's prefix. Headers only — no bodies.
Authentication
Connected account requiredScopes
agents:readTags
Agent Memory List TablesPOSTHOG_AGENT_MEMORY_LIST_TABLESList the agent's tabular-reference tables (the @posthog/table-* JSONL tables): name + byte size.Connection1 scope
List the agent's tabular-reference tables (the @posthog/table-* JSONL tables): name + byte size.
Authentication
Connected account requiredScopes
agents:readTags
Agent Memory Read TablePOSTHOG_AGENT_MEMORY_READ_TABLERead rows from one tabular-reference table (capped via ?limit).Connection1 scope
Read rows from one tabular-reference table (capped via ?limit).
Authentication
Connected account requiredScopes
agents:readTags
Agent Memory SearchPOSTHOG_AGENT_MEMORY_SEARCHBM25 search across the agent's memory files. Ranks by description+tags+path+body with field weighting.Connection1 scope
BM25 search across the agent's memory files. Ranks by description+tags+path+body with field weighting.
Authentication
Connected account requiredScopes
agents:readTags
Agent Memory TreePOSTHOG_AGENT_MEMORY_TREEPre-aggregated folder tree of memory files. Saves the frontend re-derivation work.Connection1 scope
Pre-aggregated folder tree of memory files. Saves the frontend re-derivation work.
Authentication
Connected account requiredScopes
agents:readTags
Agent Memory Update FilePOSTHOG_AGENT_MEMORY_UPDATE_FILEUpdate a memory file. Any field omitted is preserved from the existing file.Connection1 scope
Update a memory file. Any field omitted is preserved from the existing file.
Authentication
Connected account requiredScopes
agents:writeTags
Agent Native Tools ListPOSTHOG_AGENT_NATIVE_TOOLS_LISTRead-only catalog of every @posthog/* native tool the runner knows.Connection1 scope
Read-only catalog of every @posthog/* native tool the runner knows.
Authentication
Connected account requiredScopes
agents:readTags
Agent Revisions Env Keys ClearPOSTHOG_AGENT_REVISIONS_ENV_KEYS_CLEARGET / PUT / DELETE one secret by name on this revision. - `GET` → `{ key, is_set }` (never returns the value). - `PUT` → upserts `{ value }` into the env block. - `DELETE` → removes the key. No-op when it wasn't set. Per-method scope: GET is treated as a write action so the single action name maps to one consistent scope; reading whether a secret is set is restricted to writers in any case.Connection1 scope
GET / PUT / DELETE one secret by name on this revision. - `GET` → `{ key, is_set }` (never returns the value). - `PUT` → upserts `{ value }` into the env block. - `DELETE` → removes the key. No-op when it wasn't set. Per-method scope: GET is treated as a write action so the single action name maps to one consistent scope; reading whether a secret is set is restricted to writers in any case.
Authentication
Connected account requiredScopes
agents:writeTags
Agent Revisions Env Keys GetPOSTHOG_AGENT_REVISIONS_ENV_KEYS_GETGET / PUT / DELETE one secret by name on this revision. - `GET` → `{ key, is_set }` (never returns the value). - `PUT` → upserts `{ value }` into the env block. - `DELETE` → removes the key. No-op when it wasn't set. Per-method scope: GET is treated as a write action so the single action name maps to one consistent scope; reading whether a secret is set is restricted to writers in any case.Connection1 scope
GET / PUT / DELETE one secret by name on this revision. - `GET` → `{ key, is_set }` (never returns the value). - `PUT` → upserts `{ value }` into the env block. - `DELETE` → removes the key. No-op when it wasn't set. Per-method scope: GET is treated as a write action so the single action name maps to one consistent scope; reading whether a secret is set is restricted to writers in any case.
Authentication
Connected account requiredScopes
agents:writeTags
Agent Revisions Env Keys ListPOSTHOG_AGENT_REVISIONS_ENV_KEYS_LISTList the names of secrets currently set on this revision. Returns names only — values stay server-side under `EncryptedTextField`. Use this to drive the "set / unset" badge next to a declared secret in the editor UI.Connection1 scope
List the names of secrets currently set on this revision. Returns names only — values stay server-side under `EncryptedTextField`. Use this to drive the "set / unset" badge next to a declared secret in the editor UI.
Authentication
Connected account requiredScopes
agents:readTags
Agent Revisions Env Keys SetPOSTHOG_AGENT_REVISIONS_ENV_KEYS_SETGET / PUT / DELETE one secret by name on this revision. - `GET` → `{ key, is_set }` (never returns the value). - `PUT` → upserts `{ value }` into the env block. - `DELETE` → removes the key. No-op when it wasn't set. Per-method scope: GET is treated as a write action so the single action name maps to one consistent scope; reading whether a secret is set is restricted to writers in any case.Connection1 scope
GET / PUT / DELETE one secret by name on this revision. - `GET` → `{ key, is_set }` (never returns the value). - `PUT` → upserts `{ value }` into the env block. - `DELETE` → removes the key. No-op when it wasn't set. Per-method scope: GET is treated as a write action so the single action name maps to one consistent scope; reading whether a secret is set is restricted to writers in any case.
Authentication
Connected account requiredScopes
agents:writeTags
Alerts CreatePOSTHOG_ALERTS_CREATEAlerts CreateConnection1 scope
Alerts Create
Authentication
Connected account requiredScopes
alert:writeTags
Alerts DestroyPOSTHOG_ALERTS_DESTROYAlerts DestroyConnection1 scope
Alerts Destroy
Authentication
Connected account requiredScopes
alert:writeTags
Alerts ListPOSTHOG_ALERTS_LISTAlerts ListConnection1 scope
Alerts List
Authentication
Connected account requiredScopes
alert:readTags
Alerts Partial UpdatePOSTHOG_ALERTS_PARTIAL_UPDATEAlerts Partial UpdateConnection1 scope
Alerts Partial Update
Authentication
Connected account requiredScopes
alert:writeTags
Alerts RetrievePOSTHOG_ALERTS_RETRIEVEAlerts RetrieveConnection1 scope
Alerts Retrieve
Authentication
Connected account requiredScopes
alert:readTags
Alerts Simulate CreatePOSTHOG_ALERTS_SIMULATE_CREATESimulate a detector on an insight's historical data. Read-only — no AlertCheck records are created.Connection2 scopes
Simulate a detector on an insight's historical data. Read-only — no AlertCheck records are created.
Authentication
Connected account requiredScopes
alert:readinsight:readTags
Alerts UpdatePOSTHOG_ALERTS_UPDATEAlerts UpdateConnection1 scope
Alerts Update
Authentication
Connected account requiredScopes
alert:writeTags
Annotations CreatePOSTHOG_ANNOTATIONS_CREATECreate, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.Connection1 scope
Create, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.
Authentication
Connected account requiredScopes
annotation:writeTags
Annotations DestroyPOSTHOG_ANNOTATIONS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
annotation:writeTags
Annotations ListPOSTHOG_ANNOTATIONS_LISTCreate, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.Connection1 scope
Create, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.
Authentication
Connected account requiredScopes
annotation:readTags
Annotations Partial UpdatePOSTHOG_ANNOTATIONS_PARTIAL_UPDATECreate, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.Connection1 scope
Create, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.
Authentication
Connected account requiredScopes
annotation:writeTags
Annotations RetrievePOSTHOG_ANNOTATIONS_RETRIEVECreate, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.Connection1 scope
Create, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.
Authentication
Connected account requiredScopes
annotation:readTags
Annotations UpdatePOSTHOG_ANNOTATIONS_UPDATECreate, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.Connection1 scope
Create, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.
Authentication
Connected account requiredScopes
annotation:writeTags
Approval Policies CreatePOSTHOG_APPROVAL_POLICIES_CREATEApproval Policies CreateConnection1 scope
Approval Policies Create
Authentication
Connected account requiredScopes
approvals:writeTags
Approval Policies DestroyPOSTHOG_APPROVAL_POLICIES_DESTROYApproval Policies DestroyConnection1 scope
Approval Policies Destroy
Authentication
Connected account requiredScopes
approvals:writeTags
Approval Policies ListPOSTHOG_APPROVAL_POLICIES_LISTApproval Policies ListConnection1 scope
Approval Policies List
Authentication
Connected account requiredScopes
approvals:readTags
Approval Policies Partial UpdatePOSTHOG_APPROVAL_POLICIES_PARTIAL_UPDATEApproval Policies Partial UpdateConnection1 scope
Approval Policies Partial Update
Authentication
Connected account requiredScopes
approvals:writeTags
Approval Policies RetrievePOSTHOG_APPROVAL_POLICIES_RETRIEVEApproval Policies RetrieveConnection1 scope
Approval Policies Retrieve
Authentication
Connected account requiredScopes
approvals:readTags
Approval Policies UpdatePOSTHOG_APPROVAL_POLICIES_UPDATEApproval Policies UpdateConnection1 scope
Approval Policies Update
Authentication
Connected account requiredScopes
approvals:writeTags
Batch Exports Backfills Cancel CreatePOSTHOG_BATCH_EXPORTS_BACKFILLS_CANCEL_CREATECancel a batch export backfill.Connection1 scope
Cancel a batch export backfill.
Authentication
Connected account requiredScopes
batch_export:writeTags
Batch Exports Backfills CreatePOSTHOG_BATCH_EXPORTS_BACKFILLS_CREATECreate a new backfill for a BatchExport.Connection1 scope
Create a new backfill for a BatchExport.
Authentication
Connected account requiredScopes
batch_export:writeTags
Batch Exports Backfills ListPOSTHOG_BATCH_EXPORTS_BACKFILLS_LISTViewSet for BatchExportBackfill models. Allows creating and reading backfills, but not updating or deleting them.Connection1 scope
ViewSet for BatchExportBackfill models. Allows creating and reading backfills, but not updating or deleting them.
Authentication
Connected account requiredScopes
batch_export:readTags
Batch Exports Backfills RetrievePOSTHOG_BATCH_EXPORTS_BACKFILLS_RETRIEVEViewSet for BatchExportBackfill models. Allows creating and reading backfills, but not updating or deleting them.Connection1 scope
ViewSet for BatchExportBackfill models. Allows creating and reading backfills, but not updating or deleting them.
Authentication
Connected account requiredScopes
batch_export:readTags
Batch Exports CreatePOSTHOG_BATCH_EXPORTS_CREATEBatch Exports CreateConnection1 scope
Batch Exports Create
Authentication
Connected account requiredScopes
batch_export:writeTags
Batch Exports DestroyPOSTHOG_BATCH_EXPORTS_DESTROYBatch Exports DestroyConnection1 scope
Batch Exports Destroy
Authentication
Connected account requiredScopes
batch_export:writeTags
Batch Exports ListPOSTHOG_BATCH_EXPORTS_LISTBatch Exports ListConnection1 scope
Batch Exports List
Authentication
Connected account requiredScopes
batch_export:readTags
Batch Exports Logs RetrievePOSTHOG_BATCH_EXPORTS_LOGS_RETRIEVEBatch Exports Logs RetrieveConnection
Batch Exports Logs Retrieve
Authentication
Connected account requiredTags
Batch Exports Partial UpdatePOSTHOG_BATCH_EXPORTS_PARTIAL_UPDATEBatch Exports Partial UpdateConnection1 scope
Batch Exports Partial Update
Authentication
Connected account requiredScopes
batch_export:writeTags
Batch Exports Pause CreatePOSTHOG_BATCH_EXPORTS_PAUSE_CREATEPause a BatchExport.Connection1 scope
Pause a BatchExport.
Authentication
Connected account requiredScopes
batch_export:writeTags
Batch Exports RetrievePOSTHOG_BATCH_EXPORTS_RETRIEVEBatch Exports RetrieveConnection1 scope
Batch Exports Retrieve
Authentication
Connected account requiredScopes
batch_export:readTags
Batch Exports Run Test Step CreatePOSTHOG_BATCH_EXPORTS_RUN_TEST_STEP_CREATEBatch Exports Run Test Step CreateConnection1 scope
Batch Exports Run Test Step Create
Authentication
Connected account requiredScopes
batch_export:writeTags
Batch Exports Run Test Step New CreatePOSTHOG_BATCH_EXPORTS_RUN_TEST_STEP_NEW_CREATEBatch Exports Run Test Step New CreateConnection1 scope
Batch Exports Run Test Step New Create
Authentication
Connected account requiredScopes
batch_export:writeTags
Batch Exports Runs Cancel CreatePOSTHOG_BATCH_EXPORTS_RUNS_CANCEL_CREATECancel a batch export run.Connection1 scope
Cancel a batch export run.
Authentication
Connected account requiredScopes
batch_export:writeTags
Batch Exports Runs ListPOSTHOG_BATCH_EXPORTS_RUNS_LISTBatch Exports Runs ListConnection1 scope
Batch Exports Runs List
Authentication
Connected account requiredScopes
batch_export:readTags
Batch Exports Runs Logs RetrievePOSTHOG_BATCH_EXPORTS_RUNS_LOGS_RETRIEVEBatch Exports Runs Logs RetrieveConnection
Batch Exports Runs Logs Retrieve
Authentication
Connected account requiredTags
Batch Exports Runs RetrievePOSTHOG_BATCH_EXPORTS_RUNS_RETRIEVEBatch Exports Runs RetrieveConnection1 scope
Batch Exports Runs Retrieve
Authentication
Connected account requiredScopes
batch_export:readTags
Batch Exports Runs Retry CreatePOSTHOG_BATCH_EXPORTS_RUNS_RETRY_CREATERetry a batch export run. We use the same underlying mechanism as when backfilling a batch export, as retrying a run is the same as backfilling one run.Connection1 scope
Retry a batch export run. We use the same underlying mechanism as when backfilling a batch export, as retrying a run is the same as backfilling one run.
Authentication
Connected account requiredScopes
batch_export:writeTags
Batch Exports Test RetrievePOSTHOG_BATCH_EXPORTS_TEST_RETRIEVEBatch Exports Test RetrieveConnection1 scope
Batch Exports Test Retrieve
Authentication
Connected account requiredScopes
batch_export:readTags
Batch Exports Unpause CreatePOSTHOG_BATCH_EXPORTS_UNPAUSE_CREATEUnpause a BatchExport.Connection1 scope
Unpause a BatchExport.
Authentication
Connected account requiredScopes
batch_export:writeTags
Batch Exports UpdatePOSTHOG_BATCH_EXPORTS_UPDATEBatch Exports UpdateConnection1 scope
Batch Exports Update
Authentication
Connected account requiredScopes
batch_export:writeTags
Business Knowledge Documents Search ListPOSTHOG_BUSINESS_KNOWLEDGE_DOCUMENTS_SEARCH_LISTRead-only access to parsed knowledge documents. Exposes hybrid search (``search``) and a drill-down window (``window``) so an agent (PHAI or MCP) can find and explore business knowledge chunks.Connection1 scope
Read-only access to parsed knowledge documents. Exposes hybrid search (``search``) and a drill-down window (``window``) so an agent (PHAI or MCP) can find and explore business knowledge chunks.
Authentication
Connected account requiredScopes
business_knowledge:readTags
Business Knowledge Documents Window ListPOSTHOG_BUSINESS_KNOWLEDGE_DOCUMENTS_WINDOW_LISTRead-only access to parsed knowledge documents. Exposes hybrid search (``search``) and a drill-down window (``window``) so an agent (PHAI or MCP) can find and explore business knowledge chunks.Connection1 scope
Read-only access to parsed knowledge documents. Exposes hybrid search (``search``) and a drill-down window (``window``) so an agent (PHAI or MCP) can find and explore business knowledge chunks.
Authentication
Connected account requiredScopes
business_knowledge:readTags
Business Knowledge Gap Suggestions Accept CreatePOSTHOG_BUSINESS_KNOWLEDGE_GAP_SUGGESTIONS_ACCEPT_CREATESurfaces topics the support AI couldn't answer from the knowledge base. Two list shapes controlled by the ``ticket_id`` query param: - **per-ticket** (``?ticket_id=<uuid>``): individual gap rows for that ticket. - **aggregated** (no ``ticket_id``): gaps grouped by normalized topic with counts, for the Business knowledge suggestions panel.Connection2 scopes
Surfaces topics the support AI couldn't answer from the knowledge base. Two list shapes controlled by the ``ticket_id`` query param: - **per-ticket** (``?ticket_id=<uuid>``): individual gap rows for that ticket. - **aggregated** (no ``ticket_id``): gaps grouped by normalized topic with counts, for the Business knowledge suggestions panel.
Authentication
Connected account requiredScopes
business_knowledge:writeticket:readTags
Business Knowledge Gap Suggestions Accept Topic CreatePOSTHOG_BUSINESS_KNOWLEDGE_GAP_SUGGESTIONS_ACCEPT_TOPIC_CREATEAccept all pending suggestions for a normalized topic cluster.Connection
Accept all pending suggestions for a normalized topic cluster.
Authentication
Connected account requiredTags
Business Knowledge Gap Suggestions Dismiss CreatePOSTHOG_BUSINESS_KNOWLEDGE_GAP_SUGGESTIONS_DISMISS_CREATESurfaces topics the support AI couldn't answer from the knowledge base. Two list shapes controlled by the ``ticket_id`` query param: - **per-ticket** (``?ticket_id=<uuid>``): individual gap rows for that ticket. - **aggregated** (no ``ticket_id``): gaps grouped by normalized topic with counts, for the Business knowledge suggestions panel.Connection2 scopes
Surfaces topics the support AI couldn't answer from the knowledge base. Two list shapes controlled by the ``ticket_id`` query param: - **per-ticket** (``?ticket_id=<uuid>``): individual gap rows for that ticket. - **aggregated** (no ``ticket_id``): gaps grouped by normalized topic with counts, for the Business knowledge suggestions panel.
Authentication
Connected account requiredScopes
business_knowledge:writeticket:readTags
Business Knowledge Gap Suggestions Dismiss Topic CreatePOSTHOG_BUSINESS_KNOWLEDGE_GAP_SUGGESTIONS_DISMISS_TOPIC_CREATEDismiss all pending suggestions for a normalized topic cluster.Connection
Dismiss all pending suggestions for a normalized topic cluster.
Authentication
Connected account requiredTags
Business Knowledge Gap Suggestions ListPOSTHOG_BUSINESS_KNOWLEDGE_GAP_SUGGESTIONS_LISTSurfaces topics the support AI couldn't answer from the knowledge base. Two list shapes controlled by the ``ticket_id`` query param: - **per-ticket** (``?ticket_id=<uuid>``): individual gap rows for that ticket. - **aggregated** (no ``ticket_id``): gaps grouped by normalized topic with counts, for the Business knowledge suggestions panel.Connection1 scope
Surfaces topics the support AI couldn't answer from the knowledge base. Two list shapes controlled by the ``ticket_id`` query param: - **per-ticket** (``?ticket_id=<uuid>``): individual gap rows for that ticket. - **aggregated** (no ``ticket_id``): gaps grouped by normalized topic with counts, for the Business knowledge suggestions panel.
Authentication
Connected account requiredScopes
business_knowledge:readTags
Business Knowledge Sources CreatePOSTHOG_BUSINESS_KNOWLEDGE_SOURCES_CREATEBusiness Knowledge Sources CreateConnection1 scope
Business Knowledge Sources Create
Authentication
Connected account requiredScopes
business_knowledge:writeTags
Business Knowledge Sources DestroyPOSTHOG_BUSINESS_KNOWLEDGE_SOURCES_DESTROYBusiness Knowledge Sources DestroyConnection1 scope
Business Knowledge Sources Destroy
Authentication
Connected account requiredScopes
business_knowledge:writeTags
Business Knowledge Sources ListPOSTHOG_BUSINESS_KNOWLEDGE_SOURCES_LISTBusiness Knowledge Sources ListConnection1 scope
Business Knowledge Sources List
Authentication
Connected account requiredScopes
business_knowledge:readTags
Business Knowledge Sources Partial UpdatePOSTHOG_BUSINESS_KNOWLEDGE_SOURCES_PARTIAL_UPDATEBusiness Knowledge Sources Partial UpdateConnection1 scope
Business Knowledge Sources Partial Update
Authentication
Connected account requiredScopes
business_knowledge:writeTags
Business Knowledge Sources Refresh CreatePOSTHOG_BUSINESS_KNOWLEDGE_SOURCES_REFRESH_CREATEBusiness Knowledge Sources Refresh CreateConnection
Business Knowledge Sources Refresh Create
Authentication
Connected account requiredTags
Business Knowledge Sources RetrievePOSTHOG_BUSINESS_KNOWLEDGE_SOURCES_RETRIEVEBusiness Knowledge Sources RetrieveConnection1 scope
Business Knowledge Sources Retrieve
Authentication
Connected account requiredScopes
business_knowledge:readTags
Business Knowledge Sources Text RetrievePOSTHOG_BUSINESS_KNOWLEDGE_SOURCES_TEXT_RETRIEVEBusiness Knowledge Sources Text RetrieveConnection
Business Knowledge Sources Text Retrieve
Authentication
Connected account requiredTags
Change Requests Approve CreatePOSTHOG_CHANGE_REQUESTS_APPROVE_CREATEApprove a change request. If quorum is reached, automatically applies the change immediately.Connection1 scope
Approve a change request. If quorum is reached, automatically applies the change immediately.
Authentication
Connected account requiredScopes
approvals:writeTags
Change Requests Cancel CreatePOSTHOG_CHANGE_REQUESTS_CANCEL_CREATECancel a change request. Only the requester can cancel their own pending change request.Connection1 scope
Cancel a change request. Only the requester can cancel their own pending change request.
Authentication
Connected account requiredScopes
approvals:writeTags
Change Requests ListPOSTHOG_CHANGE_REQUESTS_LISTChange Requests ListConnection1 scope
Change Requests List
Authentication
Connected account requiredScopes
approvals:readTags
Change Requests Reject CreatePOSTHOG_CHANGE_REQUESTS_REJECT_CREATEReject a change request.Connection1 scope
Reject a change request.
Authentication
Connected account requiredScopes
approvals:writeTags
Change Requests RetrievePOSTHOG_CHANGE_REQUESTS_RETRIEVEChange Requests RetrieveConnection1 scope
Change Requests Retrieve
Authentication
Connected account requiredScopes
approvals:readTags
Cimd Verification Tokens CreatePOSTHOG_CIMD_VERIFICATION_TOKENS_CREATEManage CIMD verification tokens for an organization. A partner embeds the plaintext token in their CIMD metadata document as `verification_token` inside the `com.posthog` object (the legacy top-level `posthog_verification_token` field still works as a fallback). When PostHog fetches the metadata, matching the token links the partner app to this organization and grants a higher default rate limit for account provisioning. The plaintext value is only available on creation; we store a hash.Connection1 scope
Manage CIMD verification tokens for an organization. A partner embeds the plaintext token in their CIMD metadata document as `verification_token` inside the `com.posthog` object (the legacy top-level `posthog_verification_token` field still works as a fallback). When PostHog fetches the metadata, matching the token links the partner app to this organization and grants a higher default rate limit for account provisioning. The plaintext value is only available on creation; we store a hash.
Authentication
Connected account requiredScopes
organization:writeTags
Cimd Verification Tokens DestroyPOSTHOG_CIMD_VERIFICATION_TOKENS_DESTROYManage CIMD verification tokens for an organization. A partner embeds the plaintext token in their CIMD metadata document as `verification_token` inside the `com.posthog` object (the legacy top-level `posthog_verification_token` field still works as a fallback). When PostHog fetches the metadata, matching the token links the partner app to this organization and grants a higher default rate limit for account provisioning. The plaintext value is only available on creation; we store a hash.Connection1 scope
Manage CIMD verification tokens for an organization. A partner embeds the plaintext token in their CIMD metadata document as `verification_token` inside the `com.posthog` object (the legacy top-level `posthog_verification_token` field still works as a fallback). When PostHog fetches the metadata, matching the token links the partner app to this organization and grants a higher default rate limit for account provisioning. The plaintext value is only available on creation; we store a hash.
Authentication
Connected account requiredScopes
organization:writeTags
Cimd Verification Tokens ListPOSTHOG_CIMD_VERIFICATION_TOKENS_LISTManage CIMD verification tokens for an organization. A partner embeds the plaintext token in their CIMD metadata document as `verification_token` inside the `com.posthog` object (the legacy top-level `posthog_verification_token` field still works as a fallback). When PostHog fetches the metadata, matching the token links the partner app to this organization and grants a higher default rate limit for account provisioning. The plaintext value is only available on creation; we store a hash.Connection1 scope
Manage CIMD verification tokens for an organization. A partner embeds the plaintext token in their CIMD metadata document as `verification_token` inside the `com.posthog` object (the legacy top-level `posthog_verification_token` field still works as a fallback). When PostHog fetches the metadata, matching the token links the partner app to this organization and grants a higher default rate limit for account provisioning. The plaintext value is only available on creation; we store a hash.
Authentication
Connected account requiredScopes
organization:readTags
Cimd Verification Tokens RetrievePOSTHOG_CIMD_VERIFICATION_TOKENS_RETRIEVEManage CIMD verification tokens for an organization. A partner embeds the plaintext token in their CIMD metadata document as `verification_token` inside the `com.posthog` object (the legacy top-level `posthog_verification_token` field still works as a fallback). When PostHog fetches the metadata, matching the token links the partner app to this organization and grants a higher default rate limit for account provisioning. The plaintext value is only available on creation; we store a hash.Connection1 scope
Manage CIMD verification tokens for an organization. A partner embeds the plaintext token in their CIMD metadata document as `verification_token` inside the `com.posthog` object (the legacy top-level `posthog_verification_token` field still works as a fallback). When PostHog fetches the metadata, matching the token links the partner app to this organization and grants a higher default rate limit for account provisioning. The plaintext value is only available on creation; we store a hash.
Authentication
Connected account requiredScopes
organization:readTags
Check accessPOSTHOG_CODE_INVITES_CHECK_ACCESS_RETRIEVECheck whether the authenticated user has access to PostHog Code.Connection
Check whether the authenticated user has access to PostHog Code.
Authentication
Connected account requiredTags
Redeem invite codePOSTHOG_CODE_INVITES_REDEEM_CREATERedeem a PostHog Code invite code to enable access.Connection
Redeem a PostHog Code invite code to enable access.
Authentication
Connected account requiredTags
Cohorts Activity RetrievePOSTHOG_COHORTS_ACTIVITY_RETRIEVECohorts Activity RetrieveConnection1 scope
Cohorts Activity Retrieve
Authentication
Connected account requiredScopes
activity_log:readTags
Cohorts Add Persons To Static Cohort Partial UpdatePOSTHOG_COHORTS_ADD_PERSONS_TO_STATIC_COHORT_PARTIAL_UPDATECohorts Add Persons To Static Cohort Partial UpdateConnection1 scope
Cohorts Add Persons To Static Cohort Partial Update
Authentication
Connected account requiredScopes
cohort:writeTags
Cohorts All Activity RetrievePOSTHOG_COHORTS_ALL_ACTIVITY_RETRIEVECohorts All Activity RetrieveConnection1 scope
Cohorts All Activity Retrieve
Authentication
Connected account requiredScopes
activity_log:readTags
Cohorts Calculation History RetrievePOSTHOG_COHORTS_CALCULATION_HISTORY_RETRIEVECohorts Calculation History RetrieveConnection1 scope
Cohorts Calculation History Retrieve
Authentication
Connected account requiredScopes
cohort:readTags
Cohorts CreatePOSTHOG_COHORTS_CREATECohorts CreateConnection1 scope
Cohorts Create
Authentication
Connected account requiredScopes
cohort:writeTags
Cohorts DestroyPOSTHOG_COHORTS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
cohort:writeTags
Cohorts ListPOSTHOG_COHORTS_LISTCohorts ListConnection1 scope
Cohorts List
Authentication
Connected account requiredScopes
cohort:readTags
Cohorts Partial UpdatePOSTHOG_COHORTS_PARTIAL_UPDATECohorts Partial UpdateConnection1 scope
Cohorts Partial Update
Authentication
Connected account requiredScopes
cohort:writeTags
Cohorts Persons RetrievePOSTHOG_COHORTS_PERSONS_RETRIEVECohorts Persons RetrieveConnection2 scopes
Cohorts Persons Retrieve
Authentication
Connected account requiredScopes
cohort:readperson:readTags
Cohorts Remove Person From Static Cohort Partial UpdatePOSTHOG_COHORTS_REMOVE_PERSON_FROM_STATIC_COHORT_PARTIAL_UPDATECohorts Remove Person From Static Cohort Partial UpdateConnection1 scope
Cohorts Remove Person From Static Cohort Partial Update
Authentication
Connected account requiredScopes
cohort:writeTags
Cohorts RetrievePOSTHOG_COHORTS_RETRIEVECohorts RetrieveConnection1 scope
Cohorts Retrieve
Authentication
Connected account requiredScopes
cohort:readTags
Cohorts UpdatePOSTHOG_COHORTS_UPDATECohorts UpdateConnection1 scope
Cohorts Update
Authentication
Connected account requiredScopes
cohort:writeTags
Cohorts Used In RetrievePOSTHOG_COHORTS_USED_IN_RETRIEVECohorts Used In RetrieveConnection1 scope
Cohorts Used In Retrieve
Authentication
Connected account requiredScopes
cohort:readTags
Comments Complete CreatePOSTHOG_COMMENTS_COMPLETE_CREATEMark a task-comment as complete. Sets completed_at and completed_by. 400 if the comment is not a task or is already complete.Connection
Mark a task-comment as complete. Sets completed_at and completed_by. 400 if the comment is not a task or is already complete.
Authentication
Connected account requiredTags
Comments Count RetrievePOSTHOG_COMMENTS_COUNT_RETRIEVEComments Count RetrieveConnection1 scope
Comments Count Retrieve
Authentication
Connected account requiredScopes
comment:readTags
Comments CreatePOSTHOG_COMMENTS_CREATEComments CreateConnection1 scope
Comments Create
Authentication
Connected account requiredScopes
comment:writeTags
Comments DestroyPOSTHOG_COMMENTS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
comment:writeTags
Comments ListPOSTHOG_COMMENTS_LISTComments ListConnection1 scope
Comments List
Authentication
Connected account requiredScopes
comment:readTags
Comments Partial UpdatePOSTHOG_COMMENTS_PARTIAL_UPDATEComments Partial UpdateConnection1 scope
Comments Partial Update
Authentication
Connected account requiredScopes
comment:writeTags
Comments Reopen CreatePOSTHOG_COMMENTS_REOPEN_CREATEReopen a completed task-comment. Clears completed_at and completed_by. 400 if the comment is not a task or is already open.Connection
Reopen a completed task-comment. Clears completed_at and completed_by. 400 if the comment is not a task or is already open.
Authentication
Connected account requiredTags
Comments RetrievePOSTHOG_COMMENTS_RETRIEVEComments RetrieveConnection1 scope
Comments Retrieve
Authentication
Connected account requiredScopes
comment:readTags
Comments Thread RetrievePOSTHOG_COMMENTS_THREAD_RETRIEVEComments Thread RetrieveConnection1 scope
Comments Thread Retrieve
Authentication
Connected account requiredScopes
comment:readTags
Comments UpdatePOSTHOG_COMMENTS_UPDATEComments UpdateConnection1 scope
Comments Update
Authentication
Connected account requiredScopes
comment:writeTags
Conversations Append Message CreatePOSTHOG_CONVERSATIONS_APPEND_MESSAGE_CREATEAppends a message to an existing conversation without triggering AI processing. This is used for client-side generated messages that need to be persisted (e.g., support ticket confirmation messages).Connection
Appends a message to an existing conversation without triggering AI processing. This is used for client-side generated messages that need to be persisted (e.g., support ticket confirmation messages).
Authentication
Connected account requiredTags
Conversations Cancel Partial UpdatePOSTHOG_CONVERSATIONS_CANCEL_PARTIAL_UPDATECancel the conversation's in-progress LangGraph run.Connection
Cancel the conversation's in-progress LangGraph run.
Authentication
Connected account requiredTags
Conversations CreatePOSTHOG_CONVERSATIONS_CREATEUnified endpoint that handles both conversation creation and streaming. - If message is provided: Start new conversation processing - If no message: Stream from existing conversationConnection1 scope
Unified endpoint that handles both conversation creation and streaming. - If message is provided: Start new conversation processing - If no message: Stream from existing conversation
Authentication
Connected account requiredScopes
conversation:writeTags
Conversations DestroyPOSTHOG_CONVERSATIONS_DESTROYDelete a conversation.Connection1 scope
Delete a conversation.
Authentication
Connected account requiredScopes
conversation:writeTags
Conversations ListPOSTHOG_CONVERSATIONS_LISTConversations ListConnection1 scope
Conversations List
Authentication
Connected account requiredScopes
conversation:readTags
Conversations Open CreatePOSTHOG_CONVERSATIONS_OPEN_CREATECreate-or-resume a sandbox conversation — the single sandbox session opener. With `content`, processes the turn (first message, in-progress follow-up, or terminal resume); without `content`, warms a sandbox that idles awaiting the first message. Returns the `(task, run)` handle the frontend opens SSE against. The conversation row is created on first use from the URL id.Connection
Create-or-resume a sandbox conversation — the single sandbox session opener. With `content`, processes the turn (first message, in-progress follow-up, or terminal resume); without `content`, warms a sandbox that idles awaiting the first message. Returns the `(task, run)` handle the frontend opens SSE against. The conversation row is created on first use from the URL id.
Authentication
Connected account requiredTags
Conversations Queue Clear CreatePOSTHOG_CONVERSATIONS_QUEUE_CLEAR_CREATEConversations Queue Clear CreateConnection
Conversations Queue Clear Create
Authentication
Connected account requiredTags
Conversations Queue CreatePOSTHOG_CONVERSATIONS_QUEUE_CREATEConversations Queue CreateConnection
Conversations Queue Create
Authentication
Connected account requiredTags
Conversations Queue DestroyPOSTHOG_CONVERSATIONS_QUEUE_DESTROYConversations Queue DestroyConnection
Conversations Queue Destroy
Authentication
Connected account requiredTags
Conversations Queue Partial UpdatePOSTHOG_CONVERSATIONS_QUEUE_PARTIAL_UPDATEConversations Queue Partial UpdateConnection
Conversations Queue Partial Update
Authentication
Connected account requiredTags
Conversations Queue RetrievePOSTHOG_CONVERSATIONS_QUEUE_RETRIEVEConversations Queue RetrieveConnection
Conversations Queue Retrieve
Authentication
Connected account requiredTags
Conversations RetrievePOSTHOG_CONVERSATIONS_RETRIEVEConversations RetrieveConnection1 scope
Conversations Retrieve
Authentication
Connected account requiredScopes
conversation:readTags
Conversations Tickets Ai Feedback CreatePOSTHOG_CONVERSATIONS_TICKETS_AI_FEEDBACK_CREATERecord reviewer feedback on an AI reply, captured to the internal analytics project.Connection1 scope
Record reviewer feedback on an AI reply, captured to the internal analytics project.
Authentication
Connected account requiredScopes
ticket:writeTags
Conversations Tickets Bulk Update Status CreatePOSTHOG_CONVERSATIONS_TICKETS_BULK_UPDATE_STATUS_CREATEUpdate the status of multiple tickets in a single request. Only tickets belonging to the current team are affected; other-team UUIDs are silently ignored. Tickets already in the requested status are skipped.Connection
Update the status of multiple tickets in a single request. Only tickets belonging to the current team are affected; other-team UUIDs are silently ignored. Tickets already in the requested status are skipped.
Authentication
Connected account requiredTags
Conversations Tickets Bulk Update Tags CreatePOSTHOG_CONVERSATIONS_TICKETS_BULK_UPDATE_TAGS_CREATEBulk update tags on multiple objects. PAT access: this action has no ``required_scopes=`` on the decorator — inheriting viewsets must add ``"bulk_update_tags"`` to their ``scope_object_write_actions`` list to accept personal API keys. Without that opt-in, ``APIScopePermission`` rejects PAT requests with "This action does not support personal API key access". Done per-viewset so granting ``<scope>:write`` for one resource doesn't leak access to sibling resources that share this mixin. Accepts: - {"ids": [...], "action": "add"|"remove"|"set", "tags": ["tag1", "tag2"]} Actions: - "add": Add tags to existing tags on each object - "remove": Remove specific tags from each object - "set": Replace all tags on each object with the provided listConnection
Bulk update tags on multiple objects. PAT access: this action has no ``required_scopes=`` on the decorator — inheriting viewsets must add ``"bulk_update_tags"`` to their ``scope_object_write_actions`` list to accept personal API keys. Without that opt-in, ``APIScopePermission`` rejects PAT requests with "This action does not support personal API key access". Done per-viewset so granting ``<scope>:write`` for one resource doesn't leak access to sibling resources that share this mixin. Accepts: - {"ids": [...], "action": "add"|"remove"|"set", "tags": ["tag1", "tag2"]} Actions: - "add": Add tags to existing tags on each object - "remove": Remove specific tags from each object - "set": Replace all tags on each object with the provided list
Authentication
Connected account requiredTags
Conversations Tickets Compose CreatePOSTHOG_CONVERSATIONS_TICKETS_COMPOSE_CREATECreate a new outbound ticket and send the first message to the customer.Connection1 scope
Create a new outbound ticket and send the first message to the customer.
Authentication
Connected account requiredScopes
ticket:writeTags
Conversations Tickets CreatePOSTHOG_CONVERSATIONS_TICKETS_CREATEConversations Tickets CreateConnection1 scope
Conversations Tickets Create
Authentication
Connected account requiredScopes
ticket:writeTags
Conversations Tickets DestroyPOSTHOG_CONVERSATIONS_TICKETS_DESTROYConversations Tickets DestroyConnection
Conversations Tickets Destroy
Authentication
Connected account requiredTags
Conversations Tickets ListPOSTHOG_CONVERSATIONS_TICKETS_LISTList tickets with person data attached.Connection1 scope
List tickets with person data attached.
Authentication
Connected account requiredScopes
ticket:readTags
Conversations Tickets Messages ListPOSTHOG_CONVERSATIONS_TICKETS_MESSAGES_LISTReturn the message thread for a ticket, ordered chronologically (paginated).Connection1 scope
Return the message thread for a ticket, ordered chronologically (paginated).
Authentication
Connected account requiredScopes
ticket:readTags
Conversations Tickets Partial UpdatePOSTHOG_CONVERSATIONS_TICKETS_PARTIAL_UPDATEConversations Tickets Partial UpdateConnection1 scope
Conversations Tickets Partial Update
Authentication
Connected account requiredScopes
ticket:writeTags
Conversations Tickets Reply CreatePOSTHOG_CONVERSATIONS_TICKETS_REPLY_CREATEPost a reply or internal note to a ticket. With is_private=false, the reply is delivered to the customer via the ticket's channel (email, Slack, Teams, GitHub). With is_private=true, the message is stored as an internal note only visible to team members.Connection1 scope
Post a reply or internal note to a ticket. With is_private=false, the reply is delivered to the customer via the ticket's channel (email, Slack, Teams, GitHub). With is_private=true, the message is stored as an internal note only visible to team members.
Authentication
Connected account requiredScopes
ticket:writeTags
Conversations Tickets RetrievePOSTHOG_CONVERSATIONS_TICKETS_RETRIEVEGet single ticket and mark as read by team.Connection1 scope
Get single ticket and mark as read by team.
Authentication
Connected account requiredScopes
ticket:readTags
Conversations Tickets Unread Count RetrievePOSTHOG_CONVERSATIONS_TICKETS_UNREAD_COUNT_RETRIEVEGet total unread ticket count for the team. Returns the sum of unread_team_count for all non-resolved tickets. Cached in Redis for 30 seconds, invalidated on changes.Connection1 scope
Get total unread ticket count for the team. Returns the sum of unread_team_count for all non-resolved tickets. Cached in Redis for 30 seconds, invalidated on changes.
Authentication
Connected account requiredScopes
ticket:readTags
Conversations Tickets UpdatePOSTHOG_CONVERSATIONS_TICKETS_UPDATEHandle ticket updates including assignee changes.Connection1 scope
Handle ticket updates including assignee changes.
Authentication
Connected account requiredScopes
ticket:writeTags
Conversations Views CreatePOSTHOG_CONVERSATIONS_VIEWS_CREATEConversations Views CreateConnection1 scope
Conversations Views Create
Authentication
Connected account requiredScopes
conversation:writeTags
Conversations Views DestroyPOSTHOG_CONVERSATIONS_VIEWS_DESTROYConversations Views DestroyConnection1 scope
Conversations Views Destroy
Authentication
Connected account requiredScopes
conversation:writeTags
Conversations Views ListPOSTHOG_CONVERSATIONS_VIEWS_LISTConversations Views ListConnection1 scope
Conversations Views List
Authentication
Connected account requiredScopes
conversation:readTags
Conversations Views RetrievePOSTHOG_CONVERSATIONS_VIEWS_RETRIEVEConversations Views RetrieveConnection1 scope
Conversations Views Retrieve
Authentication
Connected account requiredScopes
conversation:readTags
CreatePOSTHOG_CREATECreateConnection1 scope
Create
Authentication
Connected account requiredScopes
organization:writeTags
Create Session SummariesPOSTHOG_CREATE_SESSION_SUMMARIESGenerate AI summary for a group of session recordings to find patterns and generate a notebook.Connection1 scope
Generate AI summary for a group of session recordings to find patterns and generate a notebook.
Authentication
Connected account requiredScopes
session_recording:readTags
Create Session Summaries IndividuallyPOSTHOG_CREATE_SESSION_SUMMARIES_INDIVIDUALLYGenerate AI individual summary for each session, without grouping.Connection1 scope
Generate AI individual summary for each session, without grouping.
Authentication
Connected account requiredScopes
session_recording:readTags
Custom Property Definitions CreatePOSTHOG_CUSTOM_PROPERTY_DEFINITIONS_CREATECustom Property Definitions CreateConnection1 scope
Custom Property Definitions Create
Authentication
Connected account requiredScopes
account:writeTags
Custom Property Definitions DestroyPOSTHOG_CUSTOM_PROPERTY_DEFINITIONS_DESTROYCustom Property Definitions DestroyConnection1 scope
Custom Property Definitions Destroy
Authentication
Connected account requiredScopes
account:writeTags
Custom Property Definitions ListPOSTHOG_CUSTOM_PROPERTY_DEFINITIONS_LISTCustom Property Definitions ListConnection1 scope
Custom Property Definitions List
Authentication
Connected account requiredScopes
account:readTags
Custom Property Definitions Partial UpdatePOSTHOG_CUSTOM_PROPERTY_DEFINITIONS_PARTIAL_UPDATECustom Property Definitions Partial UpdateConnection1 scope
Custom Property Definitions Partial Update
Authentication
Connected account requiredScopes
account:writeTags
Custom Property Definitions RetrievePOSTHOG_CUSTOM_PROPERTY_DEFINITIONS_RETRIEVECustom Property Definitions RetrieveConnection1 scope
Custom Property Definitions Retrieve
Authentication
Connected account requiredScopes
account:readTags
Custom Property Definitions UpdatePOSTHOG_CUSTOM_PROPERTY_DEFINITIONS_UPDATECustom Property Definitions UpdateConnection1 scope
Custom Property Definitions Update
Authentication
Connected account requiredScopes
account:writeTags
Custom Property Sources CreatePOSTHOG_CUSTOM_PROPERTY_SOURCES_CREATECustom Property Sources CreateConnection1 scope
Custom Property Sources Create
Authentication
Connected account requiredScopes
account:writeTags
Custom Property Sources DestroyPOSTHOG_CUSTOM_PROPERTY_SOURCES_DESTROYCustom Property Sources DestroyConnection1 scope
Custom Property Sources Destroy
Authentication
Connected account requiredScopes
account:writeTags
Custom Property Sources ListPOSTHOG_CUSTOM_PROPERTY_SOURCES_LISTCustom Property Sources ListConnection1 scope
Custom Property Sources List
Authentication
Connected account requiredScopes
account:readTags
Custom Property Sources Partial UpdatePOSTHOG_CUSTOM_PROPERTY_SOURCES_PARTIAL_UPDATECustom Property Sources Partial UpdateConnection1 scope
Custom Property Sources Partial Update
Authentication
Connected account requiredScopes
account:writeTags
Custom Property Sources RetrievePOSTHOG_CUSTOM_PROPERTY_SOURCES_RETRIEVECustom Property Sources RetrieveConnection1 scope
Custom Property Sources Retrieve
Authentication
Connected account requiredScopes
account:readTags
Custom Property Sources UpdatePOSTHOG_CUSTOM_PROPERTY_SOURCES_UPDATECustom Property Sources UpdateConnection1 scope
Custom Property Sources Update
Authentication
Connected account requiredScopes
account:writeTags
Customer Journeys CreatePOSTHOG_CUSTOMER_JOURNEYS_CREATECustomer Journeys CreateConnection1 scope
Customer Journeys Create
Authentication
Connected account requiredScopes
customer_journey:writeTags
Customer Journeys DestroyPOSTHOG_CUSTOMER_JOURNEYS_DESTROYCustomer Journeys DestroyConnection1 scope
Customer Journeys Destroy
Authentication
Connected account requiredScopes
customer_journey:writeTags
Customer Journeys ListPOSTHOG_CUSTOMER_JOURNEYS_LISTCustomer Journeys ListConnection1 scope
Customer Journeys List
Authentication
Connected account requiredScopes
customer_journey:readTags
Customer Journeys Partial UpdatePOSTHOG_CUSTOMER_JOURNEYS_PARTIAL_UPDATECustomer Journeys Partial UpdateConnection1 scope
Customer Journeys Partial Update
Authentication
Connected account requiredScopes
customer_journey:writeTags
Customer Journeys RetrievePOSTHOG_CUSTOMER_JOURNEYS_RETRIEVECustomer Journeys RetrieveConnection1 scope
Customer Journeys Retrieve
Authentication
Connected account requiredScopes
customer_journey:readTags
Customer Journeys UpdatePOSTHOG_CUSTOMER_JOURNEYS_UPDATECustomer Journeys UpdateConnection1 scope
Customer Journeys Update
Authentication
Connected account requiredScopes
customer_journey:writeTags
Customer Profile Configs CreatePOSTHOG_CUSTOMER_PROFILE_CONFIGS_CREATECustomer Profile Configs CreateConnection1 scope
Customer Profile Configs Create
Authentication
Connected account requiredScopes
customer_profile_config:writeTags
Customer Profile Configs DestroyPOSTHOG_CUSTOMER_PROFILE_CONFIGS_DESTROYCustomer Profile Configs DestroyConnection1 scope
Customer Profile Configs Destroy
Authentication
Connected account requiredScopes
customer_profile_config:writeTags
Customer Profile Configs ListPOSTHOG_CUSTOMER_PROFILE_CONFIGS_LISTCustomer Profile Configs ListConnection1 scope
Customer Profile Configs List
Authentication
Connected account requiredScopes
customer_profile_config:readTags
Customer Profile Configs Partial UpdatePOSTHOG_CUSTOMER_PROFILE_CONFIGS_PARTIAL_UPDATECustomer Profile Configs Partial UpdateConnection1 scope
Customer Profile Configs Partial Update
Authentication
Connected account requiredScopes
customer_profile_config:writeTags
Customer Profile Configs RetrievePOSTHOG_CUSTOMER_PROFILE_CONFIGS_RETRIEVECustomer Profile Configs RetrieveConnection1 scope
Customer Profile Configs Retrieve
Authentication
Connected account requiredScopes
customer_profile_config:readTags
Customer Profile Configs UpdatePOSTHOG_CUSTOMER_PROFILE_CONFIGS_UPDATECustomer Profile Configs UpdateConnection1 scope
Customer Profile Configs Update
Authentication
Connected account requiredScopes
customer_profile_config:writeTags
Copy a team template to this projectPOSTHOG_DASHBOARD_TEMPLATES_COPY_BETWEEN_PROJECTS_CREATECreates a new team-scoped template in the **target** project (URL) from a **team-scoped** source template in the same organization. Global and feature-flag templates return 400. Cross-organization or inaccessible sources return 404. Source and destination projects must differ (400 if equal). Conflicting `template_name` values on the destination are auto-suffixed with `(copy)`, `(copy 2)`, …Connection
Creates a new team-scoped template in the **target** project (URL) from a **team-scoped** source template in the same organization. Global and feature-flag templates return 400. Cross-organization or inaccessible sources return 404. Source and destination projects must differ (400 if equal). Conflicting `template_name` values on the destination are auto-suffixed with `(copy)`, `(copy 2)`, …
Authentication
Connected account requiredTags
Dashboard Templates CreatePOSTHOG_DASHBOARD_TEMPLATES_CREATEDashboard Templates CreateConnection1 scope
Dashboard Templates Create
Authentication
Connected account requiredScopes
dashboard_template:writeTags
Dashboard Templates DestroyPOSTHOG_DASHBOARD_TEMPLATES_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
dashboard_template:writeTags
Dashboard Templates Json Schema RetrievePOSTHOG_DASHBOARD_TEMPLATES_JSON_SCHEMA_RETRIEVEDashboard Templates Json Schema RetrieveConnection
Dashboard Templates Json Schema Retrieve
Authentication
Connected account requiredTags
Dashboard Templates ListPOSTHOG_DASHBOARD_TEMPLATES_LISTDashboard Templates ListConnection1 scope
Dashboard Templates List
Authentication
Connected account requiredScopes
dashboard_template:readTags
Dashboard Templates Partial UpdatePOSTHOG_DASHBOARD_TEMPLATES_PARTIAL_UPDATEDashboard Templates Partial UpdateConnection1 scope
Dashboard Templates Partial Update
Authentication
Connected account requiredScopes
dashboard_template:writeTags
Dashboard Templates RetrievePOSTHOG_DASHBOARD_TEMPLATES_RETRIEVEDashboard Templates RetrieveConnection1 scope
Dashboard Templates Retrieve
Authentication
Connected account requiredScopes
dashboard_template:readTags
Dashboard Templates UpdatePOSTHOG_DASHBOARD_TEMPLATES_UPDATEDashboard Templates UpdateConnection1 scope
Dashboard Templates Update
Authentication
Connected account requiredScopes
dashboard_template:writeTags
Dashboards Bulk Update Tags CreatePOSTHOG_DASHBOARDS_BULK_UPDATE_TAGS_CREATEBulk update tags on multiple objects. PAT access: this action has no ``required_scopes=`` on the decorator — inheriting viewsets must add ``"bulk_update_tags"`` to their ``scope_object_write_actions`` list to accept personal API keys. Without that opt-in, ``APIScopePermission`` rejects PAT requests with "This action does not support personal API key access". Done per-viewset so granting ``<scope>:write`` for one resource doesn't leak access to sibling resources that share this mixin. Accepts: - {"ids": [...], "action": "add"|"remove"|"set", "tags": ["tag1", "tag2"]} Actions: - "add": Add tags to existing tags on each object - "remove": Remove specific tags from each object - "set": Replace all tags on each object with the provided listConnection
Bulk update tags on multiple objects. PAT access: this action has no ``required_scopes=`` on the decorator — inheriting viewsets must add ``"bulk_update_tags"`` to their ``scope_object_write_actions`` list to accept personal API keys. Without that opt-in, ``APIScopePermission`` rejects PAT requests with "This action does not support personal API key access". Done per-viewset so granting ``<scope>:write`` for one resource doesn't leak access to sibling resources that share this mixin. Accepts: - {"ids": [...], "action": "add"|"remove"|"set", "tags": ["tag1", "tag2"]} Actions: - "add": Add tags to existing tags on each object - "remove": Remove specific tags from each object - "set": Replace all tags on each object with the provided list
Authentication
Connected account requiredTags
Dashboards Collaborators CreatePOSTHOG_DASHBOARDS_COLLABORATORS_CREATEDashboards Collaborators CreateConnection1 scope
Dashboards Collaborators Create
Authentication
Connected account requiredScopes
dashboard:writeTags
Dashboards Collaborators DestroyPOSTHOG_DASHBOARDS_COLLABORATORS_DESTROYDashboards Collaborators DestroyConnection1 scope
Dashboards Collaborators Destroy
Authentication
Connected account requiredScopes
dashboard:writeTags
Dashboards Collaborators ListPOSTHOG_DASHBOARDS_COLLABORATORS_LISTDashboards Collaborators ListConnection1 scope
Dashboards Collaborators List
Authentication
Connected account requiredScopes
dashboard:readTags
Dashboards Copy Tile CreatePOSTHOG_DASHBOARDS_COPY_TILE_CREATECopy an existing dashboard tile to another dashboard (insight, text card, or widget tile).Connection1 scope
Copy an existing dashboard tile to another dashboard (insight, text card, or widget tile).
Authentication
Connected account requiredScopes
dashboard:writeTags
Dashboards CreatePOSTHOG_DASHBOARDS_CREATEDashboards CreateConnection1 scope
Dashboards Create
Authentication
Connected account requiredScopes
dashboard:writeTags
Dashboards Create From Template Json CreatePOSTHOG_DASHBOARDS_CREATE_FROM_TEMPLATE_JSON_CREATEDashboards Create From Template Json CreateConnection
Dashboards Create From Template Json Create
Authentication
Connected account requiredTags
Dashboards Create Text Tile CreatePOSTHOG_DASHBOARDS_CREATE_TEXT_TILE_CREATEAdd a markdown text tile to a dashboard. Text tiles render as markdown blocks on the dashboard — useful as section headings, dividers, or annotations between insight tiles to give the dashboard structure.Connection1 scope
Add a markdown text tile to a dashboard. Text tiles render as markdown blocks on the dashboard — useful as section headings, dividers, or annotations between insight tiles to give the dashboard structure.
Authentication
Connected account requiredScopes
dashboard:writeTags
Dashboards Create Unlisted Dashboard CreatePOSTHOG_DASHBOARDS_CREATE_UNLISTED_DASHBOARD_CREATECreates an unlisted dashboard from template by tag. Enforces uniqueness (one per tag per team). Returns 409 if unlisted dashboard with this tag already exists.Connection
Creates an unlisted dashboard from template by tag. Enforces uniqueness (one per tag per team). Returns 409 if unlisted dashboard with this tag already exists.
Authentication
Connected account requiredTags
Dashboards Delete TilePOSTHOG_DASHBOARDS_DELETE_TILESoft-delete a single tile from a dashboard. Works for text, insight, and button tiles. The underlying Insight, Text, or ButtonTile object is preserved — only the dashboard tile is hidden. To delete the entire dashboard, use the dashboard delete endpoint instead.Connection1 scope
Soft-delete a single tile from a dashboard. Works for text, insight, and button tiles. The underlying Insight, Text, or ButtonTile object is preserved — only the dashboard tile is hidden. To delete the entire dashboard, use the dashboard delete endpoint instead.
Authentication
Connected account requiredScopes
dashboard:writeTags
Dashboards DestroyPOSTHOG_DASHBOARDS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
dashboard:writeTags
Dashboards ListPOSTHOG_DASHBOARDS_LISTDashboards ListConnection1 scope
Dashboards List
Authentication
Connected account requiredScopes
dashboard:readTags
Dashboards Move Tile CreatePOSTHOG_DASHBOARDS_MOVE_TILE_CREATEDashboards Move Tile CreateConnection1 scope
Dashboards Move Tile Create
Authentication
Connected account requiredScopes
dashboard:writeTags
Dashboards Move Tile Partial UpdatePOSTHOG_DASHBOARDS_MOVE_TILE_PARTIAL_UPDATEDashboards Move Tile Partial UpdateConnection1 scope
Dashboards Move Tile Partial Update
Authentication
Connected account requiredScopes
dashboard:writeTags
Dashboards Partial UpdatePOSTHOG_DASHBOARDS_PARTIAL_UPDATEDashboards Partial UpdateConnection1 scope
Dashboards Partial Update
Authentication
Connected account requiredScopes
dashboard:writeTags
Dashboards Reorder Tiles CreatePOSTHOG_DASHBOARDS_REORDER_TILES_CREATEDashboards Reorder Tiles CreateConnection1 scope
Dashboards Reorder Tiles Create
Authentication
Connected account requiredScopes
dashboard:writeTags
Dashboards RetrievePOSTHOG_DASHBOARDS_RETRIEVEDashboards RetrieveConnection1 scope
Dashboards Retrieve
Authentication
Connected account requiredScopes
dashboard:readTags
Dashboards Run Insights RetrievePOSTHOG_DASHBOARDS_RUN_INSIGHTS_RETRIEVERun all insights on a dashboard and return their results.Connection1 scope
Run all insights on a dashboard and return their results.
Authentication
Connected account requiredScopes
query:readTags
Dashboards Run Widgets RetrievePOSTHOG_DASHBOARDS_RUN_WIDGETS_RETRIEVEDashboards Run Widgets RetrieveConnection1 scope
Dashboards Run Widgets Retrieve
Authentication
Connected account requiredScopes
dashboard:readTags
Dashboards Sharing ListPOSTHOG_DASHBOARDS_SHARING_LISTDashboards Sharing ListConnection1 scope
Dashboards Sharing List
Authentication
Connected account requiredScopes
sharing_configuration:readTags
Dashboards Sharing Passwords CreatePOSTHOG_DASHBOARDS_SHARING_PASSWORDS_CREATECreate a new password for the sharing configuration.Connection1 scope
Create a new password for the sharing configuration.
Authentication
Connected account requiredScopes
sharing_configuration:writeTags
Dashboards Sharing Passwords DestroyPOSTHOG_DASHBOARDS_SHARING_PASSWORDS_DESTROYDelete a password from the sharing configuration.Connection1 scope
Delete a password from the sharing configuration.
Authentication
Connected account requiredScopes
sharing_configuration:writeTags
Dashboards Sharing Refresh CreatePOSTHOG_DASHBOARDS_SHARING_REFRESH_CREATEDashboards Sharing Refresh CreateConnection1 scope
Dashboards Sharing Refresh Create
Authentication
Connected account requiredScopes
sharing_configuration:writeTags
Dashboards Stream Tiles RetrievePOSTHOG_DASHBOARDS_STREAM_TILES_RETRIEVEStream dashboard metadata and tiles via Server-Sent Events. Sends metadata first, then tiles as they are rendered.Connection
Stream dashboard metadata and tiles via Server-Sent Events. Sends metadata first, then tiles as they are rendered.
Authentication
Connected account requiredTags
Dashboards UpdatePOSTHOG_DASHBOARDS_UPDATEDashboards UpdateConnection1 scope
Dashboards Update
Authentication
Connected account requiredScopes
dashboard:writeTags
Dashboards Update Text Tile CreatePOSTHOG_DASHBOARDS_UPDATE_TEXT_TILE_CREATEUpdate the markdown body, layout, or color of an existing text tile on a dashboard.Connection1 scope
Update the markdown body, layout, or color of an existing text tile on a dashboard.
Authentication
Connected account requiredScopes
dashboard:writeTags
Dashboards Update Widgets BatchPOSTHOG_DASHBOARDS_UPDATE_WIDGETS_BATCHUpdate the settings of existing widgets in place, atomically — config, name, and description. Each entry targets a widget by its tile_id and reuses the same write path as the dashboard PATCH endpoint. The widget_type is immutable. This edits widget settings only (config, name, description); tile placement (layouts, show_description) is a dashboard concern — use the dashboard PATCH endpoint or reorder_tiles for that. All updates succeed or fail together. To add new widgets, use the widgets/batch POST endpoint; to remove one, use delete_tile.Connection1 scope
Update the settings of existing widgets in place, atomically — config, name, and description. Each entry targets a widget by its tile_id and reuses the same write path as the dashboard PATCH endpoint. The widget_type is immutable. This edits widget settings only (config, name, description); tile placement (layouts, show_description) is a dashboard concern — use the dashboard PATCH endpoint or reorder_tiles for that. All updates succeed or fail together. To add new widgets, use the widgets/batch POST endpoint; to remove one, use delete_tile.
Authentication
Connected account requiredScopes
dashboard:writeTags
Dashboards Widget Catalog RetrievePOSTHOG_DASHBOARDS_WIDGET_CATALOG_RETRIEVEList registered dashboard widget types and per-type config_schema documentation for agents.Connection1 scope
List registered dashboard widget types and per-type config_schema documentation for agents.
Authentication
Connected account requiredScopes
dashboard:readTags
Dashboards Widgets Batch CreatePOSTHOG_DASHBOARDS_WIDGETS_BATCH_CREATEAdd multiple widget tiles to a dashboard in one atomic request.Connection1 scope
Add multiple widget tiles to a dashboard in one atomic request.
Authentication
Connected account requiredScopes
dashboard:writeTags
Data Color Themes CreatePOSTHOG_DATA_COLOR_THEMES_CREATEData Color Themes CreateConnection1 scope
Data Color Themes Create
Authentication
Connected account requiredScopes
project:writeTags
Data Color Themes DestroyPOSTHOG_DATA_COLOR_THEMES_DESTROYData Color Themes DestroyConnection1 scope
Data Color Themes Destroy
Authentication
Connected account requiredScopes
project:writeTags
Data Color Themes ListPOSTHOG_DATA_COLOR_THEMES_LISTData Color Themes ListConnection1 scope
Data Color Themes List
Authentication
Connected account requiredScopes
project:readTags
Data Color Themes Partial UpdatePOSTHOG_DATA_COLOR_THEMES_PARTIAL_UPDATEData Color Themes Partial UpdateConnection1 scope
Data Color Themes Partial Update
Authentication
Connected account requiredScopes
project:writeTags
Data Color Themes RetrievePOSTHOG_DATA_COLOR_THEMES_RETRIEVEData Color Themes RetrieveConnection1 scope
Data Color Themes Retrieve
Authentication
Connected account requiredScopes
project:readTags
Data Color Themes UpdatePOSTHOG_DATA_COLOR_THEMES_UPDATEData Color Themes UpdateConnection1 scope
Data Color Themes Update
Authentication
Connected account requiredScopes
project:writeTags
Data Modeling Jobs ListPOSTHOG_DATA_MODELING_JOBS_LISTList data modeling jobs which are "runs" for our saved queries.Connection1 scope
List data modeling jobs which are "runs" for our saved queries.
Authentication
Connected account requiredScopes
warehouse_view:readTags
Data Modeling Jobs Recent RetrievePOSTHOG_DATA_MODELING_JOBS_RECENT_RETRIEVEGet the most recent non-running job for each saved query from the v2 backend.Connection
Get the most recent non-running job for each saved query from the v2 backend.
Authentication
Connected account requiredTags
Data Modeling Jobs RetrievePOSTHOG_DATA_MODELING_JOBS_RETRIEVEList data modeling jobs which are "runs" for our saved queries.Connection1 scope
List data modeling jobs which are "runs" for our saved queries.
Authentication
Connected account requiredScopes
warehouse_view:readTags
Data Modeling Jobs Running RetrievePOSTHOG_DATA_MODELING_JOBS_RUNNING_RETRIEVEGet all currently running jobs from the v2 backend.Connection
Get all currently running jobs from the v2 backend.
Authentication
Connected account requiredTags
Data Warehouse Check Database Name RetrievePOSTHOG_DATA_WAREHOUSE_CHECK_DATABASE_NAME_RETRIEVECheck if a database name is available.Connection
Check if a database name is available.
Authentication
Connected account requiredTags
Data Warehouse Completed Activity RetrievePOSTHOG_DATA_WAREHOUSE_COMPLETED_ACTIVITY_RETRIEVEReturns completed/non-running activities (jobs with status 'Completed'). Supports pagination and cutoff time filtering.Connection
Returns completed/non-running activities (jobs with status 'Completed'). Supports pagination and cutoff time filtering.
Authentication
Connected account requiredTags
Data Warehouse Data Health Issues RetrievePOSTHOG_DATA_WAREHOUSE_DATA_HEALTH_ISSUES_RETRIEVEReturns failed/disabled data pipeline items for the Pipeline status side panel. Includes: materializations, syncs, sources, destinations, and transformations.Connection2 scopes
Returns failed/disabled data pipeline items for the Pipeline status side panel. Includes: materializations, syncs, sources, destinations, and transformations.
Authentication
Connected account requiredScopes
warehouse_view:readexternal_data_source:readTags
Data Warehouse Data Ops Dashboard RetrievePOSTHOG_DATA_WAREHOUSE_DATA_OPS_DASHBOARD_RETRIEVEReturns the data ops overview dashboard ID for this team, creating it if it doesn't exist yet.Connection1 scope
Returns the data ops overview dashboard ID for this team, creating it if it doesn't exist yet.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Data Warehouse Delete Org DestroyPOSTHOG_DATA_WAREHOUSE_DELETE_ORG_DESTROYRemove the organization's provisioning record after teardown, freeing its warehouse name. Called once the warehouse status reports `deleted`: deprovision tears the warehouse down, this removes the now-empty org row so the database_name can be reused. Restricted to organization admins.Connection1 scope
Remove the organization's provisioning record after teardown, freeing its warehouse name. Called once the warehouse status reports `deleted`: deprovision tears the warehouse down, this removes the now-empty org row so the database_name can be reused. Restricted to organization admins.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Data Warehouse Deprovision CreatePOSTHOG_DATA_WAREHOUSE_DEPROVISION_CREATEStart deprovisioning the organization's managed warehouse. Restricted to organization admins.Connection1 scope
Start deprovisioning the organization's managed warehouse. Restricted to organization admins.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Data Warehouse Enable Backfill CreatePOSTHOG_DATA_WAREHOUSE_ENABLE_BACKFILL_CREATEEnable warehouse backfill for this environment with a dedicated set of tables. Requires a table name and records the environment's membership in the organization's managed warehouse. Restricted to organization admins.Connection1 scope
Enable warehouse backfill for this environment with a dedicated set of tables. Requires a table name and records the environment's membership in the organization's managed warehouse. Restricted to organization admins.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Data Warehouse Job Stats RetrievePOSTHOG_DATA_WAREHOUSE_JOB_STATS_RETRIEVEReturns success and failed job statistics for the last 1, 7, or 30 days. Query parameter 'days' can be 1, 7, or 30 (default: 7).Connection
Returns success and failed job statistics for the last 1, 7, or 30 days. Query parameter 'days' can be 1, 7, or 30 (default: 7).
Authentication
Connected account requiredTags
Data Warehouse Property Values RetrievePOSTHOG_DATA_WAREHOUSE_PROPERTY_VALUES_RETRIEVEAPI endpoints for data warehouse aggregate statistics and operations.Connection1 scope
API endpoints for data warehouse aggregate statistics and operations.
Authentication
Connected account requiredScopes
query:readTags
Data Warehouse Provision CreatePOSTHOG_DATA_WAREHOUSE_PROVISION_CREATEStart provisioning a managed warehouse for this organization (shared by all its teams).Connection1 scope
Start provisioning a managed warehouse for this organization (shared by all its teams).
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Data Warehouse Reset Password CreatePOSTHOG_DATA_WAREHOUSE_RESET_PASSWORD_CREATEReset the root password for the managed warehouse.Connection1 scope
Reset the root password for the managed warehouse.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Data Warehouse Running Activity RetrievePOSTHOG_DATA_WAREHOUSE_RUNNING_ACTIVITY_RETRIEVEReturns currently running activities (jobs with status 'Running'). Supports pagination and cutoff time filtering.Connection
Returns currently running activities (jobs with status 'Running'). Supports pagination and cutoff time filtering.
Authentication
Connected account requiredTags
Data Warehouse Total Rows Stats RetrievePOSTHOG_DATA_WAREHOUSE_TOTAL_ROWS_STATS_RETRIEVEReturns aggregated statistics for the data warehouse total rows processed within the current billing period. Used by the frontend data warehouse scene to display usage information.Connection
Returns aggregated statistics for the data warehouse total rows processed within the current billing period. Used by the frontend data warehouse scene to display usage information.
Authentication
Connected account requiredTags
Data Warehouse Warehouse Status RetrievePOSTHOG_DATA_WAREHOUSE_WAREHOUSE_STATUS_RETRIEVEGet the current provisioning status of the managed warehouse, with this project's backfill state.Connection
Get the current provisioning status of the managed warehouse, with this project's backfill state.
Authentication
Connected account requiredTags
Dataset Items CreatePOSTHOG_DATASET_ITEMS_CREATEDataset Items CreateConnection1 scope
Dataset Items Create
Authentication
Connected account requiredScopes
dataset:writeTags
Dataset Items DestroyPOSTHOG_DATASET_ITEMS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
dataset:writeTags
Dataset Items ListPOSTHOG_DATASET_ITEMS_LISTDataset Items ListConnection1 scope
Dataset Items List
Authentication
Connected account requiredScopes
dataset:readTags
Dataset Items Partial UpdatePOSTHOG_DATASET_ITEMS_PARTIAL_UPDATEDataset Items Partial UpdateConnection1 scope
Dataset Items Partial Update
Authentication
Connected account requiredScopes
dataset:writeTags
Dataset Items RetrievePOSTHOG_DATASET_ITEMS_RETRIEVEDataset Items RetrieveConnection1 scope
Dataset Items Retrieve
Authentication
Connected account requiredScopes
dataset:readTags
Dataset Items UpdatePOSTHOG_DATASET_ITEMS_UPDATEDataset Items UpdateConnection1 scope
Dataset Items Update
Authentication
Connected account requiredScopes
dataset:writeTags
Datasets CreatePOSTHOG_DATASETS_CREATEDatasets CreateConnection1 scope
Datasets Create
Authentication
Connected account requiredScopes
dataset:writeTags
Datasets DestroyPOSTHOG_DATASETS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
dataset:writeTags
Datasets ListPOSTHOG_DATASETS_LISTDatasets ListConnection1 scope
Datasets List
Authentication
Connected account requiredScopes
dataset:readTags
Datasets Partial UpdatePOSTHOG_DATASETS_PARTIAL_UPDATEDatasets Partial UpdateConnection1 scope
Datasets Partial Update
Authentication
Connected account requiredScopes
dataset:writeTags
Datasets RetrievePOSTHOG_DATASETS_RETRIEVEDatasets RetrieveConnection1 scope
Datasets Retrieve
Authentication
Connected account requiredScopes
dataset:readTags
Datasets UpdatePOSTHOG_DATASETS_UPDATEDatasets UpdateConnection1 scope
Datasets Update
Authentication
Connected account requiredScopes
dataset:writeTags
Desktop File System Canvas Partial UpdatePOSTHOG_DESKTOP_FILE_SYSTEM_CANVAS_PARTIAL_UPDATEPublish a new version of a freeform canvas's React source. Merges into the dashboard row's `meta` (never replaces it), so existing keys like `channelId`/`templateId` survive. Appends a full-file version snapshot and points `currentVersionId` at it — the server-side mirror of the app's dashboardsService.saveFreeform.Connection1 scope
Publish a new version of a freeform canvas's React source. Merges into the dashboard row's `meta` (never replaces it), so existing keys like `channelId`/`templateId` survive. Appends a full-file version snapshot and points `currentVersionId` at it — the server-side mirror of the app's dashboardsService.saveFreeform.
Authentication
Connected account requiredScopes
file_system:writeTags
Desktop File System Context Generation RetrievePOSTHOG_DESKTOP_FILE_SYSTEM_CONTEXT_GENERATION_RETRIEVEReturn the Task currently generating this folder's CONTEXT.md, or null if none.Connection1 scope
Return the Task currently generating this folder's CONTEXT.md, or null if none.
Authentication
Connected account requiredScopes
file_system:readTags
Desktop File System Context Generation UpdatePOSTHOG_DESKTOP_FILE_SYSTEM_CONTEXT_GENERATION_UPDATESet or clear the Task associated with this folder's CONTEXT.md generation.Connection1 scope
Set or clear the Task associated with this folder's CONTEXT.md generation.
Authentication
Connected account requiredScopes
file_system:writeTags
Desktop File System Count By Path CreatePOSTHOG_DESKTOP_FILE_SYSTEM_COUNT_BY_PATH_CREATEGet count of all files in a folder.Connection1 scope
Get count of all files in a folder.
Authentication
Connected account requiredScopes
file_system:readTags
Desktop File System Count CreatePOSTHOG_DESKTOP_FILE_SYSTEM_COUNT_CREATEGet count of all files in a folder.Connection1 scope
Get count of all files in a folder.
Authentication
Connected account requiredScopes
file_system:readTags
Desktop File System CreatePOSTHOG_DESKTOP_FILE_SYSTEM_CREATEThe file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree. Adds per-folder, versioned markdown instructions describing the contents of a folder.Connection1 scope
The file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree. Adds per-folder, versioned markdown instructions describing the contents of a folder.
Authentication
Connected account requiredScopes
file_system:writeTags
Desktop File System DestroyPOSTHOG_DESKTOP_FILE_SYSTEM_DESTROYThe file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree. Adds per-folder, versioned markdown instructions describing the contents of a folder.Connection1 scope
The file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree. Adds per-folder, versioned markdown instructions describing the contents of a folder.
Authentication
Connected account requiredScopes
file_system:writeTags
Desktop File System Instructions DestroyPOSTHOG_DESKTOP_FILE_SYSTEM_INSTRUCTIONS_DESTROYSoft-delete every version of this folder's instructions.Connection1 scope
Soft-delete every version of this folder's instructions.
Authentication
Connected account requiredScopes
file_system:writeTags
Desktop File System Instructions Partial UpdatePOSTHOG_DESKTOP_FILE_SYSTEM_INSTRUCTIONS_PARTIAL_UPDATEPublish a new version of the folder's instructions.Connection1 scope
Publish a new version of the folder's instructions.
Authentication
Connected account requiredScopes
file_system:writeTags
Desktop File System Instructions RetrievePOSTHOG_DESKTOP_FILE_SYSTEM_INSTRUCTIONS_RETRIEVEReturn the latest non-deleted instructions for this folder.Connection1 scope
Return the latest non-deleted instructions for this folder.
Authentication
Connected account requiredScopes
file_system:readTags
Desktop File System Instructions UpdatePOSTHOG_DESKTOP_FILE_SYSTEM_INSTRUCTIONS_UPDATEPublish a new version of the folder's instructions.Connection1 scope
Publish a new version of the folder's instructions.
Authentication
Connected account requiredScopes
file_system:writeTags
Desktop File System Instructions Versions ListPOSTHOG_DESKTOP_FILE_SYSTEM_INSTRUCTIONS_VERSIONS_LISTList the version history for this folder's instructions, newest first.Connection1 scope
List the version history for this folder's instructions, newest first.
Authentication
Connected account requiredScopes
file_system:readTags
Desktop File System Link CreatePOSTHOG_DESKTOP_FILE_SYSTEM_LINK_CREATEThe file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree. Adds per-folder, versioned markdown instructions describing the contents of a folder.Connection1 scope
The file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree. Adds per-folder, versioned markdown instructions describing the contents of a folder.
Authentication
Connected account requiredScopes
file_system:writeTags
Desktop File System ListPOSTHOG_DESKTOP_FILE_SYSTEM_LISTThe file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree. Adds per-folder, versioned markdown instructions describing the contents of a folder.Connection1 scope
The file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree. Adds per-folder, versioned markdown instructions describing the contents of a folder.
Authentication
Connected account requiredScopes
file_system:readTags
Desktop File System Log View CreatePOSTHOG_DESKTOP_FILE_SYSTEM_LOG_VIEW_CREATEThe file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree. Adds per-folder, versioned markdown instructions describing the contents of a folder.Connection1 scope
The file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree. Adds per-folder, versioned markdown instructions describing the contents of a folder.
Authentication
Connected account requiredScopes
file_system:writeTags
Desktop File System Log View RetrievePOSTHOG_DESKTOP_FILE_SYSTEM_LOG_VIEW_RETRIEVEThe file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree. Adds per-folder, versioned markdown instructions describing the contents of a folder.Connection1 scope
The file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree. Adds per-folder, versioned markdown instructions describing the contents of a folder.
Authentication
Connected account requiredScopes
file_system:writeTags
Desktop File System Move CreatePOSTHOG_DESKTOP_FILE_SYSTEM_MOVE_CREATEThe file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree. Adds per-folder, versioned markdown instructions describing the contents of a folder.Connection1 scope
The file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree. Adds per-folder, versioned markdown instructions describing the contents of a folder.
Authentication
Connected account requiredScopes
file_system:writeTags
Desktop File System Partial UpdatePOSTHOG_DESKTOP_FILE_SYSTEM_PARTIAL_UPDATEThe file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree. Adds per-folder, versioned markdown instructions describing the contents of a folder.Connection1 scope
The file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree. Adds per-folder, versioned markdown instructions describing the contents of a folder.
Authentication
Connected account requiredScopes
file_system:writeTags
Desktop File System RetrievePOSTHOG_DESKTOP_FILE_SYSTEM_RETRIEVEThe file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree. Adds per-folder, versioned markdown instructions describing the contents of a folder.Connection1 scope
The file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree. Adds per-folder, versioned markdown instructions describing the contents of a folder.
Authentication
Connected account requiredScopes
file_system:readTags
Desktop File System Shortcut CreatePOSTHOG_DESKTOP_FILE_SYSTEM_SHORTCUT_CREATESidebar shortcuts for the desktop product surface. Reuses all FileSystemShortcutViewSet behaviour but is scoped to the "desktop" surface, so its shortcuts are fully isolated from the default "web" surface.Connection1 scope
Sidebar shortcuts for the desktop product surface. Reuses all FileSystemShortcutViewSet behaviour but is scoped to the "desktop" surface, so its shortcuts are fully isolated from the default "web" surface.
Authentication
Connected account requiredScopes
file_system_shortcut:writeTags
Desktop File System Shortcut DestroyPOSTHOG_DESKTOP_FILE_SYSTEM_SHORTCUT_DESTROYSidebar shortcuts for the desktop product surface. Reuses all FileSystemShortcutViewSet behaviour but is scoped to the "desktop" surface, so its shortcuts are fully isolated from the default "web" surface.Connection1 scope
Sidebar shortcuts for the desktop product surface. Reuses all FileSystemShortcutViewSet behaviour but is scoped to the "desktop" surface, so its shortcuts are fully isolated from the default "web" surface.
Authentication
Connected account requiredScopes
file_system_shortcut:writeTags
Desktop File System Shortcut ListPOSTHOG_DESKTOP_FILE_SYSTEM_SHORTCUT_LISTSidebar shortcuts for the desktop product surface. Reuses all FileSystemShortcutViewSet behaviour but is scoped to the "desktop" surface, so its shortcuts are fully isolated from the default "web" surface.Connection1 scope
Sidebar shortcuts for the desktop product surface. Reuses all FileSystemShortcutViewSet behaviour but is scoped to the "desktop" surface, so its shortcuts are fully isolated from the default "web" surface.
Authentication
Connected account requiredScopes
file_system_shortcut:readTags
Desktop File System Shortcut Partial UpdatePOSTHOG_DESKTOP_FILE_SYSTEM_SHORTCUT_PARTIAL_UPDATESidebar shortcuts for the desktop product surface. Reuses all FileSystemShortcutViewSet behaviour but is scoped to the "desktop" surface, so its shortcuts are fully isolated from the default "web" surface.Connection1 scope
Sidebar shortcuts for the desktop product surface. Reuses all FileSystemShortcutViewSet behaviour but is scoped to the "desktop" surface, so its shortcuts are fully isolated from the default "web" surface.
Authentication
Connected account requiredScopes
file_system_shortcut:writeTags
Desktop File System Shortcut Reorder CreatePOSTHOG_DESKTOP_FILE_SYSTEM_SHORTCUT_REORDER_CREATESet the display order of the current user's shortcuts. `ordered_ids` becomes the new top-to-bottom order; any unknown IDs are rejected.Connection
Set the display order of the current user's shortcuts. `ordered_ids` becomes the new top-to-bottom order; any unknown IDs are rejected.
Authentication
Connected account requiredTags
Desktop File System Shortcut RetrievePOSTHOG_DESKTOP_FILE_SYSTEM_SHORTCUT_RETRIEVESidebar shortcuts for the desktop product surface. Reuses all FileSystemShortcutViewSet behaviour but is scoped to the "desktop" surface, so its shortcuts are fully isolated from the default "web" surface.Connection1 scope
Sidebar shortcuts for the desktop product surface. Reuses all FileSystemShortcutViewSet behaviour but is scoped to the "desktop" surface, so its shortcuts are fully isolated from the default "web" surface.
Authentication
Connected account requiredScopes
file_system_shortcut:readTags
Desktop File System Shortcut UpdatePOSTHOG_DESKTOP_FILE_SYSTEM_SHORTCUT_UPDATESidebar shortcuts for the desktop product surface. Reuses all FileSystemShortcutViewSet behaviour but is scoped to the "desktop" surface, so its shortcuts are fully isolated from the default "web" surface.Connection1 scope
Sidebar shortcuts for the desktop product surface. Reuses all FileSystemShortcutViewSet behaviour but is scoped to the "desktop" surface, so its shortcuts are fully isolated from the default "web" surface.
Authentication
Connected account requiredScopes
file_system_shortcut:writeTags
Desktop File System Undo Delete CreatePOSTHOG_DESKTOP_FILE_SYSTEM_UNDO_DELETE_CREATEThe file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree. Adds per-folder, versioned markdown instructions describing the contents of a folder.Connection1 scope
The file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree. Adds per-folder, versioned markdown instructions describing the contents of a folder.
Authentication
Connected account requiredScopes
file_system:writeTags
Desktop File System Unfiled RetrievePOSTHOG_DESKTOP_FILE_SYSTEM_UNFILED_RETRIEVEThe file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree. Adds per-folder, versioned markdown instructions describing the contents of a folder.Connection1 scope
The file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree. Adds per-folder, versioned markdown instructions describing the contents of a folder.
Authentication
Connected account requiredScopes
file_system:readTags
Desktop File System UpdatePOSTHOG_DESKTOP_FILE_SYSTEM_UPDATEThe file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree. Adds per-folder, versioned markdown instructions describing the contents of a folder.Connection1 scope
The file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree. Adds per-folder, versioned markdown instructions describing the contents of a folder.
Authentication
Connected account requiredScopes
file_system:writeTags
DestroyPOSTHOG_DESTROYDestroyConnection1 scope
Destroy
Authentication
Connected account requiredScopes
organization:writeTags
Search PostHog documentationPOSTHOG_DOCS_SEARCHRun a hybrid (semantic + full-text) RAG search over the PostHog documentation via Inkeep. Returns a markdown body with title, URL, and excerpt for each match for the agent to cite back to the user.Connection1 scope
Run a hybrid (semantic + full-text) RAG search over the PostHog documentation via Inkeep. Returns a markdown body with title, URL, and excerpt for each match for the agent to cite back to the user.
Authentication
Connected account requiredScopes
project:readTags
Domains CreatePOSTHOG_DOMAINS_CREATEDomains CreateConnection1 scope
Domains Create
Authentication
Connected account requiredScopes
organization:writeTags
Domains DestroyPOSTHOG_DOMAINS_DESTROYDomains DestroyConnection1 scope
Domains Destroy
Authentication
Connected account requiredScopes
organization:writeTags
Domains ListPOSTHOG_DOMAINS_LISTDomains ListConnection1 scope
Domains List
Authentication
Connected account requiredScopes
organization:readTags
Domains Partial UpdatePOSTHOG_DOMAINS_PARTIAL_UPDATEDomains Partial UpdateConnection1 scope
Domains Partial Update
Authentication
Connected account requiredScopes
organization:writeTags
Domains RetrievePOSTHOG_DOMAINS_RETRIEVEDomains RetrieveConnection1 scope
Domains Retrieve
Authentication
Connected account requiredScopes
organization:readTags
Domains Scim Logs RetrievePOSTHOG_DOMAINS_SCIM_LOGS_RETRIEVEDomains Scim Logs RetrieveConnection
Domains Scim Logs Retrieve
Authentication
Connected account requiredTags
Domains Scim Token CreatePOSTHOG_DOMAINS_SCIM_TOKEN_CREATERegenerate SCIM bearer token.Connection
Regenerate SCIM bearer token.
Authentication
Connected account requiredTags
Domains UpdatePOSTHOG_DOMAINS_UPDATEDomains UpdateConnection1 scope
Domains Update
Authentication
Connected account requiredScopes
organization:writeTags
Domains Verify CreatePOSTHOG_DOMAINS_VERIFY_CREATEDomains Verify CreateConnection
Domains Verify Create
Authentication
Connected account requiredTags
Early Access Feature CreatePOSTHOG_EARLY_ACCESS_FEATURE_CREATEEarly Access Feature CreateConnection1 scope
Early Access Feature Create
Authentication
Connected account requiredScopes
early_access_feature:writeTags
Early Access Feature DestroyPOSTHOG_EARLY_ACCESS_FEATURE_DESTROYEarly Access Feature DestroyConnection1 scope
Early Access Feature Destroy
Authentication
Connected account requiredScopes
early_access_feature:writeTags
Early Access Feature ListPOSTHOG_EARLY_ACCESS_FEATURE_LISTEarly Access Feature ListConnection1 scope
Early Access Feature List
Authentication
Connected account requiredScopes
early_access_feature:readTags
Early Access Feature Partial UpdatePOSTHOG_EARLY_ACCESS_FEATURE_PARTIAL_UPDATEEarly Access Feature Partial UpdateConnection1 scope
Early Access Feature Partial Update
Authentication
Connected account requiredScopes
early_access_feature:writeTags
Early Access Feature RetrievePOSTHOG_EARLY_ACCESS_FEATURE_RETRIEVEEarly Access Feature RetrieveConnection1 scope
Early Access Feature Retrieve
Authentication
Connected account requiredScopes
early_access_feature:readTags
Early Access Feature UpdatePOSTHOG_EARLY_ACCESS_FEATURE_UPDATEEarly Access Feature UpdateConnection1 scope
Early Access Feature Update
Authentication
Connected account requiredScopes
early_access_feature:writeTags
Elements CreatePOSTHOG_ELEMENTS_CREATEElements CreateConnection1 scope
Elements Create
Authentication
Connected account requiredScopes
element:writeTags
Elements DestroyPOSTHOG_ELEMENTS_DESTROYElements DestroyConnection1 scope
Elements Destroy
Authentication
Connected account requiredScopes
element:writeTags
Elements ListPOSTHOG_ELEMENTS_LISTElements ListConnection1 scope
Elements List
Authentication
Connected account requiredScopes
element:readTags
Elements Partial UpdatePOSTHOG_ELEMENTS_PARTIAL_UPDATEElements Partial UpdateConnection1 scope
Elements Partial Update
Authentication
Connected account requiredScopes
element:writeTags
Elements RetrievePOSTHOG_ELEMENTS_RETRIEVEElements RetrieveConnection1 scope
Elements Retrieve
Authentication
Connected account requiredScopes
element:readTags
Elements Stats RetrievePOSTHOG_ELEMENTS_STATS_RETRIEVECounts of $autocapture, $rageclick, and $dead_click events grouped by the element chain they occurred on, ordered by count. Defaults to all three event types; narrow with the include parameter.Connection1 scope
Counts of $autocapture, $rageclick, and $dead_click events grouped by the element chain they occurred on, ordered by count. Defaults to all three event types; narrow with the include parameter.
Authentication
Connected account requiredScopes
element:readTags
Elements UpdatePOSTHOG_ELEMENTS_UPDATEElements UpdateConnection1 scope
Elements Update
Authentication
Connected account requiredScopes
element:writeTags
Elements Values ListPOSTHOG_ELEMENTS_VALUES_LISTElements Values ListConnection1 scope
Elements Values List
Authentication
Connected account requiredScopes
element:readTags
Endpoints CreatePOSTHOG_ENDPOINTS_CREATECreate a new endpoint.Connection1 scope
Create a new endpoint.
Authentication
Connected account requiredScopes
endpoint:writeTags
Endpoints DestroyPOSTHOG_ENDPOINTS_DESTROYDelete an endpoint and clean up materialized query.Connection1 scope
Delete an endpoint and clean up materialized query.
Authentication
Connected account requiredScopes
endpoint:writeTags
Endpoints Last Execution Times CreatePOSTHOG_ENDPOINTS_LAST_EXECUTION_TIMES_CREATEGet the most recent execution time per endpoint (endpoint-level). Timestamps are recorded by the run path for personal-API-key calls. For per-version usage, query the query_log table directly.Connection1 scope
Get the most recent execution time per endpoint (endpoint-level). Timestamps are recorded by the run path for personal-API-key calls. For per-version usage, query the query_log table directly.
Authentication
Connected account requiredScopes
endpoint:readTags
Endpoints ListPOSTHOG_ENDPOINTS_LISTList all endpoints for the team.Connection1 scope
List all endpoints for the team.
Authentication
Connected account requiredScopes
endpoint:readTags
Endpoints Logs RetrievePOSTHOG_ENDPOINTS_LOGS_RETRIEVEEndpoints Logs RetrieveConnection1 scope
Endpoints Logs Retrieve
Authentication
Connected account requiredScopes
endpoint:readTags
Endpoints Materialization Conditions RetrievePOSTHOG_ENDPOINTS_MATERIALIZATION_CONDITIONS_RETRIEVEGet the source code of the live materialization checks, plus the rewrite contract. Lets an agent rewrite a rejected endpoint query itself: fetch these conditions, produce a semantically equivalent query that passes every check, update the endpoint with it, then confirm via materialization_status. The source is read from the running system, so it always matches the checks this instance enforces.Connection1 scope
Get the source code of the live materialization checks, plus the rewrite contract. Lets an agent rewrite a rejected endpoint query itself: fetch these conditions, produce a semantically equivalent query that passes every check, update the endpoint with it, then confirm via materialization_status. The source is read from the running system, so it always matches the checks this instance enforces.
Authentication
Connected account requiredScopes
endpoint:readTags
Endpoints Materialization Preview CreatePOSTHOG_ENDPOINTS_MATERIALIZATION_PREVIEW_CREATEPreview the materialization transform for an endpoint. Shows what the query will look like after materialization, including range pair detection and bucket functions.Connection1 scope
Preview the materialization transform for an endpoint. Shows what the query will look like after materialization, including range pair detection and bucket functions.
Authentication
Connected account requiredScopes
endpoint:readTags
Endpoints Materialization Status RetrievePOSTHOG_ENDPOINTS_MATERIALIZATION_STATUS_RETRIEVEGet materialization status for an endpoint. Supports ?version=N query param.Connection1 scope
Get materialization status for an endpoint. Supports ?version=N query param.
Authentication
Connected account requiredScopes
endpoint:readTags
Endpoints Materialization Suggestion CreatePOSTHOG_ENDPOINTS_MATERIALIZATION_SUGGESTION_CREATEAsk AI to rewrite the endpoint's query into a semantically equivalent form that can be materialized. Only applicable to SQL (HogQL) endpoints that currently fail the materialization checks. The suggestion is validated against the live checks before being returned; nothing is saved. Requires the organization's AI data processing approval.Connection1 scope
Ask AI to rewrite the endpoint's query into a semantically equivalent form that can be materialized. Only applicable to SQL (HogQL) endpoints that currently fail the materialization checks. The suggestion is validated against the live checks before being returned; nothing is saved. Requires the organization's AI data processing approval.
Authentication
Connected account requiredScopes
endpoint:readTags
Endpoints Openapi Spec RetrievePOSTHOG_ENDPOINTS_OPENAPI_SPEC_RETRIEVEGet OpenAPI 3.0 specification for this endpoint. Use this to generate typed SDK clients.Connection1 scope
Get OpenAPI 3.0 specification for this endpoint. Use this to generate typed SDK clients.
Authentication
Connected account requiredScopes
endpoint:readTags
Endpoints Partial UpdatePOSTHOG_ENDPOINTS_PARTIAL_UPDATEUpdate an existing endpoint.Connection1 scope
Update an existing endpoint.
Authentication
Connected account requiredScopes
endpoint:writeTags
Endpoints RetrievePOSTHOG_ENDPOINTS_RETRIEVERetrieve an endpoint, or a specific version via ?version=N.Connection1 scope
Retrieve an endpoint, or a specific version via ?version=N.
Authentication
Connected account requiredScopes
endpoint:readTags
Endpoints Run CreatePOSTHOG_ENDPOINTS_RUN_CREATEExecute endpoint with optional materialization. Supports version parameter, runs latest version if not set.Connection1 scope
Execute endpoint with optional materialization. Supports version parameter, runs latest version if not set.
Authentication
Connected account requiredScopes
endpoint:readTags
Endpoints Run RetrievePOSTHOG_ENDPOINTS_RUN_RETRIEVEExecute endpoint with optional materialization. Supports version parameter, runs latest version if not set.Connection1 scope
Execute endpoint with optional materialization. Supports version parameter, runs latest version if not set.
Authentication
Connected account requiredScopes
endpoint:readTags
Endpoints UpdatePOSTHOG_ENDPOINTS_UPDATEUpdate an existing endpoint. Parameters are optional. Pass version in body or ?version=N query param to target a specific version.Connection1 scope
Update an existing endpoint. Parameters are optional. Pass version in body or ?version=N query param to target a specific version.
Authentication
Connected account requiredScopes
endpoint:writeTags
Endpoints Versions ListPOSTHOG_ENDPOINTS_VERSIONS_LISTList all versions for an endpoint.Connection1 scope
List all versions for an endpoint.
Authentication
Connected account requiredScopes
endpoint:readTags
Engineering Analytics Author Workflow CostsPOSTHOG_ENGINEERING_ANALYTICS_AUTHOR_WORKFLOW_COSTSOne author's estimated CI cost split by workflow over a window (date_from default -30d), highest spend first. Runs are attributed to the author through their pull requests (attribution is by PR number). Returns an empty list when the job-level source isn't synced.Connection1 scope
One author's estimated CI cost split by workflow over a window (date_from default -30d), highest spend first. Runs are attributed to the author through their pull requests (attribution is by PR number). Returns an empty list when the job-level source isn't synced.
Authentication
Connected account requiredScopes
engineering_analytics:readTags
Engineering Analytics Ci CardsPOSTHOG_ENGINEERING_ANALYTICS_CI_CARDSHeadline counts for the open-PR backlog: open PRs, distinct repos, stuck PRs (open, non-draft, non-bot, older than 7 days), and PRs with failing CI. The failing-CI count rests on the head-SHA join and can lag until late CI completions settle.Connection1 scope
Headline counts for the open-PR backlog: open PRs, distinct repos, stuck PRs (open, non-draft, non-bot, older than 7 days), and PRs with failing CI. The failing-CI count rests on the head-SHA join and can lag until late CI completions settle.
Authentication
Connected account requiredScopes
engineering_analytics:readTags
Engineering Analytics Ci Failure LogsPOSTHOG_ENGINEERING_ANALYTICS_CI_FAILURE_LOGSThe thinned CI failure logs for a pull request, grouped by failed job. Resolves the PR to its workflow runs via the pull_requests association (all of the PR's pushes, not just the latest commit), then reads the Logs product joined on run_id. Returns failed jobs only (the worker fetches logs for failures); logs_available is false when CI hasn't failed, the logs aged out of the short Logs retention, or a fork PR has no run association. Each line carries its original 1-based line number in the full pre-thinning log; lines are the failure region (errors plus surrounding context, with omission markers), capped per job and overall.Connection1 scope
The thinned CI failure logs for a pull request, grouped by failed job. Resolves the PR to its workflow runs via the pull_requests association (all of the PR's pushes, not just the latest commit), then reads the Logs product joined on run_id. Returns failed jobs only (the worker fetches logs for failures); logs_available is false when CI hasn't failed, the logs aged out of the short Logs retention, or a fork PR has no run association. Each line carries its original 1-based line number in the full pre-thinning log; lines are the failure region (errors plus surrounding context, with omission markers), capped per job and overall.
Authentication
Connected account requiredScopes
engineering_analytics:readTags
Engineering Analytics Flaky TestsPOSTHOG_ENGINEERING_ANALYTICS_FLAKY_TESTSThe flaky-test leaderboard: backend tests ranked by flakiness signal from the per-test CI spans, over a window (default -7d, maximum 30 days). A test qualifies by passing on retry at least min_rerun_passes times OR failing on at least min_failed_prs distinct PRs. All figures are absolute counts, never rates: fast passing runs are not emitted, so denominators are biased. Pass-on-retry counts only flow from CI lanes running with reruns enabled; in other lanes a flake surfaces as a plain failure, which the distinct-PR count catches.Connection1 scope
The flaky-test leaderboard: backend tests ranked by flakiness signal from the per-test CI spans, over a window (default -7d, maximum 30 days). A test qualifies by passing on retry at least min_rerun_passes times OR failing on at least min_failed_prs distinct PRs. All figures are absolute counts, never rates: fast passing runs are not emitted, so denominators are biased. Pass-on-retry counts only flow from CI lanes running with reruns enabled; in other lanes a flake surfaces as a plain failure, which the distinct-PR count catches.
Authentication
Connected account requiredScopes
engineering_analytics:readTags
Engineering Analytics Job AggregatesPOSTHOG_ENGINEERING_ANALYTICS_JOB_AGGREGATESPer-job aggregates for one workflow over a window (default -30d), one row per de-sharded job name (matrix shards aggregate together), busiest first: queue p50, duration p50/p95, failure rate, retry pressure, run share (below 1.0 = conditional job), and billable cost. Jobs always need their run as context — this is the aggregate view; use workflow_jobs for one run's jobs. Empty when the job-level source isn't synced.Connection1 scope
Per-job aggregates for one workflow over a window (default -30d), one row per de-sharded job name (matrix shards aggregate together), busiest first: queue p50, duration p50/p95, failure rate, retry pressure, run share (below 1.0 = conditional job), and billable cost. Jobs always need their run as context — this is the aggregate view; use workflow_jobs for one run's jobs. Empty when the job-level source isn't synced.
Authentication
Connected account requiredScopes
engineering_analytics:readTags
Engineering Analytics Master FailuresPOSTHOG_ENGINEERING_ANALYTICS_MASTER_FAILURESDefault-branch failures over a window (default -24h), grouped error-tracking style by (workflow, de-sharded failing job) with a run count and first/last seen, newest group first. `branch` overrides the detected default branch. PR-branch failures are deliberately excluded — at monorepo volume a flat feed is a firehose; those surface per PR. Groups degrade to workflow level (failed_job '') when the job-level source isn't synced.Connection1 scope
Default-branch failures over a window (default -24h), grouped error-tracking style by (workflow, de-sharded failing job) with a run count and first/last seen, newest group first. `branch` overrides the detected default branch. PR-branch failures are deliberately excluded — at monorepo volume a flat feed is a firehose; those surface per PR. Groups degrade to workflow level (failed_job '') when the job-level source isn't synced.
Authentication
Connected account requiredScopes
engineering_analytics:readTags
Engineering Analytics Pr CostPOSTHOG_ENGINEERING_ANALYTICS_PR_COSTEstimated CI cost for a pull request, summed over the jobs of all its workflow runs. Billable self-hosted Linux runners only — provider-hosted (free GitHub-hosted) and non-Linux jobs are excluded. Every figure is zero/null with `jobs_available` false when the job-level source isn't synced yet.Connection1 scope
Estimated CI cost for a pull request, summed over the jobs of all its workflow runs. Billable self-hosted Linux runners only — provider-hosted (free GitHub-hosted) and non-Linux jobs are excluded. Every figure is zero/null with `jobs_available` false when the job-level source isn't synced yet.
Authentication
Connected account requiredScopes
engineering_analytics:readTags
Engineering Analytics Pr LifecyclePOSTHOG_ENGINEERING_ANALYTICS_PR_LIFECYCLEThe timeline of a single pull request: header plus ordered events (opened, CI started/finished, merged or closed). Use this to answer 'where is this PR stuck and what happened to it'. This is a partial view: review and comment events are not yet available.Connection1 scope
The timeline of a single pull request: header plus ordered events (opened, CI started/finished, merged or closed). Use this to answer 'where is this PR stuck and what happened to it'. This is a partial view: review and comment events are not yet available.
Authentication
Connected account requiredScopes
engineering_analytics:readTags
Engineering Analytics Pr RunsPOSTHOG_ENGINEERING_ANALYTICS_PR_RUNSEvery workflow run attributed to a pull request, across all its commits (grouped by head SHA client-side), newest first. Run-level only.Connection1 scope
Every workflow run attributed to a pull request, across all its commits (grouped by head SHA client-side), newest first. Run-level only.
Authentication
Connected account requiredScopes
engineering_analytics:readTags
Engineering Analytics Pull RequestsPOSTHOG_ENGINEERING_ANALYTICS_PULL_REQUESTSOpen pull requests plus any merged or closed since date_from (default -30d), newest first, each with its head-SHA CI rollup. The list is capped; when more match, `truncated` is true and the ci_cards counts can exceed it. open_to_merge_seconds is coarse — it fuses draft and ready-for-review time; CI counts can lag until late completions settle.Connection1 scope
Open pull requests plus any merged or closed since date_from (default -30d), newest first, each with its head-SHA CI rollup. The list is capped; when more match, `truncated` is true and the ci_cards counts can exceed it. open_to_merge_seconds is coarse — it fuses draft and ready-for-review time; CI counts can lag until late completions settle.
Authentication
Connected account requiredScopes
engineering_analytics:readTags
Flaky-test quarantine filePOSTHOG_ENGINEERING_ANALYTICS_QUARANTINEThe repository's checked-in .test_quarantine.json: flaky tests temporarily quarantined with a hard expiry, classified by urgency (overdue, in grace, expiring soon, active). `available` is false when the repo has no quarantine file — that is not an error. Parsing is fail-open: malformed entries are reported in parse_errors while well-formed ones are kept.Connection1 scope
The repository's checked-in .test_quarantine.json: flaky tests temporarily quarantined with a hard expiry, classified by urgency (overdue, in grace, expiring soon, active). `available` is false when the repo has no quarantine file — that is not an error. Parsing is fail-open: malformed entries are reported in parse_errors while well-formed ones are kept.
Authentication
Connected account requiredScopes
engineering_analytics:readTags
Quarantine, extend, or unquarantine a flaky testPOSTHOG_ENGINEERING_ANALYTICS_QUARANTINE_REQUESTOpens a pull request that edits the repository's checked-in .test_quarantine.json — and, for a new quarantine, a tracking issue the PR links but does not close. The file stays the source of truth that CI enforces; this never bypasses it. A quarantine only affects CI runs that start after the PR merges.Connection1 scope
Opens a pull request that edits the repository's checked-in .test_quarantine.json — and, for a new quarantine, a tracking issue the PR links but does not close. The file stays the source of truth that CI enforces; this never bypasses it. A quarantine only affects CI runs that start after the PR merges.
Authentication
Connected account requiredScopes
engineering_analytics:writeTags
Engineering Analytics Repo OverviewPOSTHOG_ENGINEERING_ANALYTICS_REPO_OVERVIEWRepo-level headline aggregates over a window (default -30d): run count, success rate, re-run cycles, median PR open-to-merge (bots and drafts excluded; coarse — draft and ready time fused), and billable minutes + estimated cost — each with its equal-length previous-window twin so a caller can render honest deltas. Also carries the detected default branch and its completed-run history series. Cost figures are null until the job-level source is synced.Connection1 scope
Repo-level headline aggregates over a window (default -30d): run count, success rate, re-run cycles, median PR open-to-merge (bots and drafts excluded; coarse — draft and ready time fused), and billable minutes + estimated cost — each with its equal-length previous-window twin so a caller can render honest deltas. Also carries the detected default branch and its completed-run history series. Cost figures are null until the job-level source is synced.
Authentication
Connected account requiredScopes
engineering_analytics:readTags
Engineering Analytics Repo Run ActivityPOSTHOG_ENGINEERING_ANALYTICS_REPO_RUN_ACTIVITYDefault-branch health as compact chart points over a window (default -30d), newest first, for the repo-hub run-activity chart. All of a commit's workflow runs are collapsed into ONE point per commit (head SHA): its earliest workflow start, wall-clock duration until the last workflow settled (null while any is still running), and an overall conclusion that is 'failure' if any workflow decisively failed, else 'success' when at least one passed, else 'neutral'. `branch` overrides the detected default branch. `truncated` is true when more commits matched than the cap, so the chart covers only the most recent commits.Connection1 scope
Default-branch health as compact chart points over a window (default -30d), newest first, for the repo-hub run-activity chart. All of a commit's workflow runs are collapsed into ONE point per commit (head SHA): its earliest workflow start, wall-clock duration until the last workflow settled (null while any is still running), and an overall conclusion that is 'failure' if any workflow decisively failed, else 'success' when at least one passed, else 'neutral'. `branch` overrides the detected default branch. `truncated` is true when more commits matched than the cap, so the chart covers only the most recent commits.
Authentication
Connected account requiredScopes
engineering_analytics:readTags
Engineering Analytics Run Failure LogsPOSTHOG_ENGINEERING_ANALYTICS_RUN_FAILURE_LOGSThe thinned CI failure logs of one workflow run, grouped by failed job — the run-scoped twin of ci_failure_logs for surfaces that aren't PR-scoped (default-branch failures, the run page). logs_available is false when the run didn't fail or its logs aged out of the short Logs retention.Connection1 scope
The thinned CI failure logs of one workflow run, grouped by failed job — the run-scoped twin of ci_failure_logs for surfaces that aren't PR-scoped (default-branch failures, the run page). logs_available is false when the run didn't fail or its logs aged out of the short Logs retention.
Authentication
Connected account requiredScopes
engineering_analytics:readTags
Engineering Analytics SourcesPOSTHOG_ENGINEERING_ANALYTICS_SOURCESThe team's connected GitHub data warehouse sources, oldest first. Populate a source picker from this and pass a chosen `id` back as `source_id` to the other endpoints. A team can connect GitHub more than once (e.g. one source per repository); this lists them all, including any whose tables aren't fully synced yet.Connection1 scope
The team's connected GitHub data warehouse sources, oldest first. Populate a source picker from this and pass a chosen `id` back as `source_id` to the other endpoints. A team can connect GitHub more than once (e.g. one source per repository); this lists them all, including any whose tables aren't fully synced yet.
Authentication
Connected account requiredScopes
engineering_analytics:readTags
Engineering Analytics Workflow HealthPOSTHOG_ENGINEERING_ANALYTICS_WORKFLOW_HEALTHPer-workflow CI health over a window (default last 24 hours, maximum 366 days): run count, success rate, p50/p95 duration over completed runs, last failure time, latest-run status, and a zero-filled run history bucketed by hour/day/week to fit the window. Optionally scope to a single git branch via `branch`. Use this for 'is CI getting slower' and 'which workflow is the long pole'; compare two windows to get a trend.Connection1 scope
Per-workflow CI health over a window (default last 24 hours, maximum 366 days): run count, success rate, p50/p95 duration over completed runs, last failure time, latest-run status, and a zero-filled run history bucketed by hour/day/week to fit the window. Optionally scope to a single git branch via `branch`. Use this for 'is CI getting slower' and 'which workflow is the long pole'; compare two windows to get a trend.
Authentication
Connected account requiredScopes
engineering_analytics:readTags
Engineering Analytics Workflow JobsPOSTHOG_ENGINEERING_ANALYTICS_WORKFLOW_JOBSJobs of a single workflow run attempt, with per-job duration, runner tier, and estimated cost. Scoped to one run_attempt (the latest unless specified) so a re-run's attempts don't merge. Returns an empty list when the job-level source isn't synced yet.Connection1 scope
Jobs of a single workflow run attempt, with per-job duration, runner tier, and estimated cost. Scoped to one run_attempt (the latest unless specified) so a re-run's attempts don't merge. Returns an empty list when the job-level source isn't synced yet.
Authentication
Connected account requiredScopes
engineering_analytics:readTags
Engineering Analytics Workflow RunPOSTHOG_ENGINEERING_ANALYTICS_WORKFLOW_RUNA single workflow run: status, conclusion, duration, branch, attempt, and the attributed pull request. Run-level only — per-job and per-step detail are not tracked yet.Connection1 scope
A single workflow run: status, conclusion, duration, branch, attempt, and the attributed pull request. Run-level only — per-job and per-step detail are not tracked yet.
Authentication
Connected account requiredScopes
engineering_analytics:readTags
Engineering Analytics Workflow Run ActivityPOSTHOG_ENGINEERING_ANALYTICS_WORKFLOW_RUN_ACTIVITYCompact per-run points for a single workflow over a window (date_from default -30d), newest first, for the run-activity chart: each run's start time, duration, conclusion, branch, and attributed PR. Optionally scope to a single git branch via `branch`, matching workflow_runs. Leaner and higher-capped than workflow_runs so the chart spans the full window even on busy workflows; `truncated` is true when the cap is hit, so the chart covers only the most recent runs.Connection1 scope
Compact per-run points for a single workflow over a window (date_from default -30d), newest first, for the run-activity chart: each run's start time, duration, conclusion, branch, and attributed PR. Optionally scope to a single git branch via `branch`, matching workflow_runs. Leaner and higher-capped than workflow_runs so the chart spans the full window even on busy workflows; `truncated` is true when the cap is hit, so the chart covers only the most recent runs.
Authentication
Connected account requiredScopes
engineering_analytics:readTags
Engineering Analytics Workflow Runner CostsPOSTHOG_ENGINEERING_ANALYTICS_WORKFLOW_RUNNER_COSTSA workflow's estimated CI cost broken down by runner tier over a window (date_from default -30d), highest spend first. Optionally scope to a single git branch via `branch`. Returns an empty list when the job-level source isn't synced.Connection1 scope
A workflow's estimated CI cost broken down by runner tier over a window (date_from default -30d), highest spend first. Optionally scope to a single git branch via `branch`. Returns an empty list when the job-level source isn't synced.
Authentication
Connected account requiredScopes
engineering_analytics:readTags
Engineering Analytics Workflow RunsPOSTHOG_ENGINEERING_ANALYTICS_WORKFLOW_RUNSRuns of a single workflow within a repo over a window (date_from default -30d), newest first. Optionally scope to a single git branch via `branch`. Each row is run-level — per-job and per-step detail are not tracked yet. Use this as the GitHub 'workflow' page between the workflow list and a single run.Connection1 scope
Runs of a single workflow within a repo over a window (date_from default -30d), newest first. Optionally scope to a single git branch via `branch`. Each row is run-level — per-job and per-step detail are not tracked yet. Use this as the GitHub 'workflow' page between the workflow list and a single run.
Authentication
Connected account requiredScopes
engineering_analytics:readTags
Environment Vision Quota RetrievePOSTHOG_ENVIRONMENT_VISION_QUOTA_RETRIEVEEnvironment Vision Quota RetrieveConnection1 scope
Environment Vision Quota Retrieve
Authentication
Connected account requiredScopes
replay_scanner:readTags
Environments Accounts CreatePOSTHOG_ENVIRONMENTS_ACCOUNTS_CREATEEnvironments Accounts CreateConnection1 scope
Environments Accounts Create
Authentication
Connected account requiredScopes
account:writeTags
Environments Accounts DestroyPOSTHOG_ENVIRONMENTS_ACCOUNTS_DESTROYEnvironments Accounts DestroyConnection1 scope
Environments Accounts Destroy
Authentication
Connected account requiredScopes
account:writeTags
Environments Accounts ListPOSTHOG_ENVIRONMENTS_ACCOUNTS_LISTEnvironments Accounts ListConnection1 scope
Environments Accounts List
Authentication
Connected account requiredScopes
account:readTags
Environments Accounts Notebooks CreatePOSTHOG_ENVIRONMENTS_ACCOUNTS_NOTEBOOKS_CREATEEnvironments Accounts Notebooks CreateConnection1 scope
Environments Accounts Notebooks Create
Authentication
Connected account requiredScopes
account:writeTags
Environments Accounts Notebooks DestroyPOSTHOG_ENVIRONMENTS_ACCOUNTS_NOTEBOOKS_DESTROYEnvironments Accounts Notebooks DestroyConnection1 scope
Environments Accounts Notebooks Destroy
Authentication
Connected account requiredScopes
account:writeTags
Environments Accounts Notebooks ListPOSTHOG_ENVIRONMENTS_ACCOUNTS_NOTEBOOKS_LISTEnvironments Accounts Notebooks ListConnection1 scope
Environments Accounts Notebooks List
Authentication
Connected account requiredScopes
account:readTags
Environments Accounts Notebooks RetrievePOSTHOG_ENVIRONMENTS_ACCOUNTS_NOTEBOOKS_RETRIEVEEnvironments Accounts Notebooks RetrieveConnection1 scope
Environments Accounts Notebooks Retrieve
Authentication
Connected account requiredScopes
account:readTags
Environments Accounts Partial UpdatePOSTHOG_ENVIRONMENTS_ACCOUNTS_PARTIAL_UPDATEEnvironments Accounts Partial UpdateConnection1 scope
Environments Accounts Partial Update
Authentication
Connected account requiredScopes
account:writeTags
Environments Accounts RetrievePOSTHOG_ENVIRONMENTS_ACCOUNTS_RETRIEVEEnvironments Accounts RetrieveConnection1 scope
Environments Accounts Retrieve
Authentication
Connected account requiredScopes
account:readTags
Environments Accounts UpdatePOSTHOG_ENVIRONMENTS_ACCOUNTS_UPDATEEnvironments Accounts UpdateConnection1 scope
Environments Accounts Update
Authentication
Connected account requiredScopes
account:writeTags
Environments Activity RetrievePOSTHOG_ENVIRONMENTS_ACTIVITY_RETRIEVEDeprecated: use /api/environments/{id}/ instead.Connection
Deprecated: use /api/environments/{id}/ instead.
Authentication
Connected account requiredTags
Environments Add Product Intent Partial UpdatePOSTHOG_ENVIRONMENTS_ADD_PRODUCT_INTENT_PARTIAL_UPDATEDeprecated: use /api/environments/{id}/ instead.Connection1 scope
Deprecated: use /api/environments/{id}/ instead.
Authentication
Connected account requiredScopes
project:readTags
Environments Alerts CreatePOSTHOG_ENVIRONMENTS_ALERTS_CREATEEnvironments Alerts CreateConnection1 scope
Environments Alerts Create
Authentication
Connected account requiredScopes
alert:writeTags
Environments Alerts DestroyPOSTHOG_ENVIRONMENTS_ALERTS_DESTROYEnvironments Alerts DestroyConnection1 scope
Environments Alerts Destroy
Authentication
Connected account requiredScopes
alert:writeTags
Environments Alerts ListPOSTHOG_ENVIRONMENTS_ALERTS_LISTEnvironments Alerts ListConnection1 scope
Environments Alerts List
Authentication
Connected account requiredScopes
alert:readTags
Environments Alerts Partial UpdatePOSTHOG_ENVIRONMENTS_ALERTS_PARTIAL_UPDATEEnvironments Alerts Partial UpdateConnection1 scope
Environments Alerts Partial Update
Authentication
Connected account requiredScopes
alert:writeTags
Environments Alerts RetrievePOSTHOG_ENVIRONMENTS_ALERTS_RETRIEVEEnvironments Alerts RetrieveConnection1 scope
Environments Alerts Retrieve
Authentication
Connected account requiredScopes
alert:readTags
Environments Alerts Simulate CreatePOSTHOG_ENVIRONMENTS_ALERTS_SIMULATE_CREATESimulate a detector on an insight's historical data. Read-only — no AlertCheck records are created.Connection2 scopes
Simulate a detector on an insight's historical data. Read-only — no AlertCheck records are created.
Authentication
Connected account requiredScopes
alert:readinsight:readTags
Environments Alerts UpdatePOSTHOG_ENVIRONMENTS_ALERTS_UPDATEEnvironments Alerts UpdateConnection1 scope
Environments Alerts Update
Authentication
Connected account requiredScopes
alert:writeTags
Environments Approval Policies CreatePOSTHOG_ENVIRONMENTS_APPROVAL_POLICIES_CREATEEnvironments Approval Policies CreateConnection1 scope
Environments Approval Policies Create
Authentication
Connected account requiredScopes
approvals:writeTags
Environments Approval Policies DestroyPOSTHOG_ENVIRONMENTS_APPROVAL_POLICIES_DESTROYEnvironments Approval Policies DestroyConnection1 scope
Environments Approval Policies Destroy
Authentication
Connected account requiredScopes
approvals:writeTags
Environments Approval Policies ListPOSTHOG_ENVIRONMENTS_APPROVAL_POLICIES_LISTEnvironments Approval Policies ListConnection1 scope
Environments Approval Policies List
Authentication
Connected account requiredScopes
approvals:readTags
Environments Approval Policies Partial UpdatePOSTHOG_ENVIRONMENTS_APPROVAL_POLICIES_PARTIAL_UPDATEEnvironments Approval Policies Partial UpdateConnection1 scope
Environments Approval Policies Partial Update
Authentication
Connected account requiredScopes
approvals:writeTags
Environments Approval Policies RetrievePOSTHOG_ENVIRONMENTS_APPROVAL_POLICIES_RETRIEVEEnvironments Approval Policies RetrieveConnection1 scope
Environments Approval Policies Retrieve
Authentication
Connected account requiredScopes
approvals:readTags
Environments Approval Policies UpdatePOSTHOG_ENVIRONMENTS_APPROVAL_POLICIES_UPDATEEnvironments Approval Policies UpdateConnection1 scope
Environments Approval Policies Update
Authentication
Connected account requiredScopes
approvals:writeTags
Environments Batch Exports Backfills Cancel CreatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_BACKFILLS_CANCEL_CREATECancel a batch export backfill.Connection1 scope
Cancel a batch export backfill.
Authentication
Connected account requiredScopes
batch_export:writeTags
Environments Batch Exports Backfills CreatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_BACKFILLS_CREATECreate a new backfill for a BatchExport.Connection1 scope
Create a new backfill for a BatchExport.
Authentication
Connected account requiredScopes
batch_export:writeTags
Environments Batch Exports Backfills ListPOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_BACKFILLS_LISTViewSet for BatchExportBackfill models. Allows creating and reading backfills, but not updating or deleting them.Connection1 scope
ViewSet for BatchExportBackfill models. Allows creating and reading backfills, but not updating or deleting them.
Authentication
Connected account requiredScopes
batch_export:readTags
Environments Batch Exports Backfills RetrievePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_BACKFILLS_RETRIEVEViewSet for BatchExportBackfill models. Allows creating and reading backfills, but not updating or deleting them.Connection1 scope
ViewSet for BatchExportBackfill models. Allows creating and reading backfills, but not updating or deleting them.
Authentication
Connected account requiredScopes
batch_export:readTags
Environments Batch Exports CreatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_CREATEEnvironments Batch Exports CreateConnection1 scope
Environments Batch Exports Create
Authentication
Connected account requiredScopes
batch_export:writeTags
Environments Batch Exports DestroyPOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_DESTROYEnvironments Batch Exports DestroyConnection1 scope
Environments Batch Exports Destroy
Authentication
Connected account requiredScopes
batch_export:writeTags
Environments Batch Exports ListPOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_LISTEnvironments Batch Exports ListConnection1 scope
Environments Batch Exports List
Authentication
Connected account requiredScopes
batch_export:readTags
Environments Batch Exports Logs RetrievePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_LOGS_RETRIEVEEnvironments Batch Exports Logs RetrieveConnection
Environments Batch Exports Logs Retrieve
Authentication
Connected account requiredTags
Environments Batch Exports Partial UpdatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_PARTIAL_UPDATEEnvironments Batch Exports Partial UpdateConnection1 scope
Environments Batch Exports Partial Update
Authentication
Connected account requiredScopes
batch_export:writeTags
Environments Batch Exports Pause CreatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_PAUSE_CREATEPause a BatchExport.Connection1 scope
Pause a BatchExport.
Authentication
Connected account requiredScopes
batch_export:writeTags
Environments Batch Exports RetrievePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_RETRIEVEEnvironments Batch Exports RetrieveConnection1 scope
Environments Batch Exports Retrieve
Authentication
Connected account requiredScopes
batch_export:readTags
Environments Batch Exports Run Test Step CreatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_RUN_TEST_STEP_CREATEEnvironments Batch Exports Run Test Step CreateConnection1 scope
Environments Batch Exports Run Test Step Create
Authentication
Connected account requiredScopes
batch_export:writeTags
Environments Batch Exports Run Test Step New CreatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_RUN_TEST_STEP_NEW_CREATEEnvironments Batch Exports Run Test Step New CreateConnection1 scope
Environments Batch Exports Run Test Step New Create
Authentication
Connected account requiredScopes
batch_export:writeTags
Environments Batch Exports Runs Cancel CreatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_RUNS_CANCEL_CREATECancel a batch export run.Connection1 scope
Cancel a batch export run.
Authentication
Connected account requiredScopes
batch_export:writeTags
Environments Batch Exports Runs ListPOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_RUNS_LISTEnvironments Batch Exports Runs ListConnection1 scope
Environments Batch Exports Runs List
Authentication
Connected account requiredScopes
batch_export:readTags
Environments Batch Exports Runs Logs RetrievePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_RUNS_LOGS_RETRIEVEEnvironments Batch Exports Runs Logs RetrieveConnection
Environments Batch Exports Runs Logs Retrieve
Authentication
Connected account requiredTags
Environments Batch Exports Runs RetrievePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_RUNS_RETRIEVEEnvironments Batch Exports Runs RetrieveConnection1 scope
Environments Batch Exports Runs Retrieve
Authentication
Connected account requiredScopes
batch_export:readTags
Environments Batch Exports Runs Retry CreatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_RUNS_RETRY_CREATERetry a batch export run. We use the same underlying mechanism as when backfilling a batch export, as retrying a run is the same as backfilling one run.Connection1 scope
Retry a batch export run. We use the same underlying mechanism as when backfilling a batch export, as retrying a run is the same as backfilling one run.
Authentication
Connected account requiredScopes
batch_export:writeTags
Environments Batch Exports Test RetrievePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_TEST_RETRIEVEEnvironments Batch Exports Test RetrieveConnection1 scope
Environments Batch Exports Test Retrieve
Authentication
Connected account requiredScopes
batch_export:readTags
Environments Batch Exports Unpause CreatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_UNPAUSE_CREATEUnpause a BatchExport.Connection1 scope
Unpause a BatchExport.
Authentication
Connected account requiredScopes
batch_export:writeTags
Environments Batch Exports UpdatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_UPDATEEnvironments Batch Exports UpdateConnection1 scope
Environments Batch Exports Update
Authentication
Connected account requiredScopes
batch_export:writeTags
Environments Change Requests Approve CreatePOSTHOG_ENVIRONMENTS_CHANGE_REQUESTS_APPROVE_CREATEApprove a change request. If quorum is reached, automatically applies the change immediately.Connection1 scope
Approve a change request. If quorum is reached, automatically applies the change immediately.
Authentication
Connected account requiredScopes
approvals:writeTags
Environments Change Requests Cancel CreatePOSTHOG_ENVIRONMENTS_CHANGE_REQUESTS_CANCEL_CREATECancel a change request. Only the requester can cancel their own pending change request.Connection1 scope
Cancel a change request. Only the requester can cancel their own pending change request.
Authentication
Connected account requiredScopes
approvals:writeTags
Environments Change Requests ListPOSTHOG_ENVIRONMENTS_CHANGE_REQUESTS_LISTEnvironments Change Requests ListConnection1 scope
Environments Change Requests List
Authentication
Connected account requiredScopes
approvals:readTags
Environments Change Requests Reject CreatePOSTHOG_ENVIRONMENTS_CHANGE_REQUESTS_REJECT_CREATEReject a change request.Connection1 scope
Reject a change request.
Authentication
Connected account requiredScopes
approvals:writeTags
Environments Change Requests RetrievePOSTHOG_ENVIRONMENTS_CHANGE_REQUESTS_RETRIEVEEnvironments Change Requests RetrieveConnection1 scope
Environments Change Requests Retrieve
Authentication
Connected account requiredScopes
approvals:readTags
Environments Complete Product Onboarding Partial UpdatePOSTHOG_ENVIRONMENTS_COMPLETE_PRODUCT_ONBOARDING_PARTIAL_UPDATEDeprecated: use /api/environments/{id}/ instead.Connection1 scope
Deprecated: use /api/environments/{id}/ instead.
Authentication
Connected account requiredScopes
project:readTags
Environments Conversations Append Message CreatePOSTHOG_ENVIRONMENTS_CONVERSATIONS_APPEND_MESSAGE_CREATEAppends a message to an existing conversation without triggering AI processing. This is used for client-side generated messages that need to be persisted (e.g., support ticket confirmation messages).Connection
Appends a message to an existing conversation without triggering AI processing. This is used for client-side generated messages that need to be persisted (e.g., support ticket confirmation messages).
Authentication
Connected account requiredTags
Environments Conversations Cancel Partial UpdatePOSTHOG_ENVIRONMENTS_CONVERSATIONS_CANCEL_PARTIAL_UPDATECancel the conversation's in-progress LangGraph run.Connection
Cancel the conversation's in-progress LangGraph run.
Authentication
Connected account requiredTags
Environments Conversations CreatePOSTHOG_ENVIRONMENTS_CONVERSATIONS_CREATEUnified endpoint that handles both conversation creation and streaming. - If message is provided: Start new conversation processing - If no message: Stream from existing conversationConnection1 scope
Unified endpoint that handles both conversation creation and streaming. - If message is provided: Start new conversation processing - If no message: Stream from existing conversation
Authentication
Connected account requiredScopes
conversation:writeTags
Environments Conversations DestroyPOSTHOG_ENVIRONMENTS_CONVERSATIONS_DESTROYDelete a conversation.Connection1 scope
Delete a conversation.
Authentication
Connected account requiredScopes
conversation:writeTags
Environments Conversations ListPOSTHOG_ENVIRONMENTS_CONVERSATIONS_LISTEnvironments Conversations ListConnection1 scope
Environments Conversations List
Authentication
Connected account requiredScopes
conversation:readTags
Environments Conversations Open CreatePOSTHOG_ENVIRONMENTS_CONVERSATIONS_OPEN_CREATECreate-or-resume a sandbox conversation — the single sandbox session opener. With `content`, processes the turn (first message, in-progress follow-up, or terminal resume); without `content`, warms a sandbox that idles awaiting the first message. Returns the `(task, run)` handle the frontend opens SSE against. The conversation row is created on first use from the URL id.Connection
Create-or-resume a sandbox conversation — the single sandbox session opener. With `content`, processes the turn (first message, in-progress follow-up, or terminal resume); without `content`, warms a sandbox that idles awaiting the first message. Returns the `(task, run)` handle the frontend opens SSE against. The conversation row is created on first use from the URL id.
Authentication
Connected account requiredTags
Environments Conversations Queue Clear CreatePOSTHOG_ENVIRONMENTS_CONVERSATIONS_QUEUE_CLEAR_CREATEEnvironments Conversations Queue Clear CreateConnection
Environments Conversations Queue Clear Create
Authentication
Connected account requiredTags
Environments Conversations Queue CreatePOSTHOG_ENVIRONMENTS_CONVERSATIONS_QUEUE_CREATEEnvironments Conversations Queue CreateConnection
Environments Conversations Queue Create
Authentication
Connected account requiredTags
Environments Conversations Queue DestroyPOSTHOG_ENVIRONMENTS_CONVERSATIONS_QUEUE_DESTROYEnvironments Conversations Queue DestroyConnection
Environments Conversations Queue Destroy
Authentication
Connected account requiredTags
Environments Conversations Queue Partial UpdatePOSTHOG_ENVIRONMENTS_CONVERSATIONS_QUEUE_PARTIAL_UPDATEEnvironments Conversations Queue Partial UpdateConnection
Environments Conversations Queue Partial Update
Authentication
Connected account requiredTags
Environments Conversations Queue RetrievePOSTHOG_ENVIRONMENTS_CONVERSATIONS_QUEUE_RETRIEVEEnvironments Conversations Queue RetrieveConnection
Environments Conversations Queue Retrieve
Authentication
Connected account requiredTags
Environments Conversations RetrievePOSTHOG_ENVIRONMENTS_CONVERSATIONS_RETRIEVEEnvironments Conversations RetrieveConnection1 scope
Environments Conversations Retrieve
Authentication
Connected account requiredScopes
conversation:readTags
Environments Conversations Views CreatePOSTHOG_ENVIRONMENTS_CONVERSATIONS_VIEWS_CREATEEnvironments Conversations Views CreateConnection1 scope
Environments Conversations Views Create
Authentication
Connected account requiredScopes
conversation:writeTags
Environments Conversations Views DestroyPOSTHOG_ENVIRONMENTS_CONVERSATIONS_VIEWS_DESTROYEnvironments Conversations Views DestroyConnection1 scope
Environments Conversations Views Destroy
Authentication
Connected account requiredScopes
conversation:writeTags
Environments Conversations Views ListPOSTHOG_ENVIRONMENTS_CONVERSATIONS_VIEWS_LISTEnvironments Conversations Views ListConnection1 scope
Environments Conversations Views List
Authentication
Connected account requiredScopes
conversation:readTags
Environments Conversations Views RetrievePOSTHOG_ENVIRONMENTS_CONVERSATIONS_VIEWS_RETRIEVEEnvironments Conversations Views RetrieveConnection1 scope
Environments Conversations Views Retrieve
Authentication
Connected account requiredScopes
conversation:readTags
Environments CreatePOSTHOG_ENVIRONMENTS_CREATEDeprecated: use /api/environments/{id}/ instead.Connection1 scope
Deprecated: use /api/environments/{id}/ instead.
Authentication
Connected account requiredScopes
project:writeTags
Environments Create Session SummariesPOSTHOG_ENVIRONMENTS_CREATE_SESSION_SUMMARIESGenerate AI summary for a group of session recordings to find patterns and generate a notebook.Connection1 scope
Generate AI summary for a group of session recordings to find patterns and generate a notebook.
Authentication
Connected account requiredScopes
session_recording:readTags
Environments Create Session Summaries IndividuallyPOSTHOG_ENVIRONMENTS_CREATE_SESSION_SUMMARIES_INDIVIDUALLYGenerate AI individual summary for each session, without grouping.Connection1 scope
Generate AI individual summary for each session, without grouping.
Authentication
Connected account requiredScopes
session_recording:readTags
Environments Custom Property Definitions CreatePOSTHOG_ENVIRONMENTS_CUSTOM_PROPERTY_DEFINITIONS_CREATEEnvironments Custom Property Definitions CreateConnection1 scope
Environments Custom Property Definitions Create
Authentication
Connected account requiredScopes
account:writeTags
Environments Custom Property Definitions DestroyPOSTHOG_ENVIRONMENTS_CUSTOM_PROPERTY_DEFINITIONS_DESTROYEnvironments Custom Property Definitions DestroyConnection1 scope
Environments Custom Property Definitions Destroy
Authentication
Connected account requiredScopes
account:writeTags
Environments Custom Property Definitions ListPOSTHOG_ENVIRONMENTS_CUSTOM_PROPERTY_DEFINITIONS_LISTEnvironments Custom Property Definitions ListConnection1 scope
Environments Custom Property Definitions List
Authentication
Connected account requiredScopes
account:readTags
Environments Custom Property Definitions Partial UpdatePOSTHOG_ENVIRONMENTS_CUSTOM_PROPERTY_DEFINITIONS_PARTIAL_UPDATEEnvironments Custom Property Definitions Partial UpdateConnection1 scope
Environments Custom Property Definitions Partial Update
Authentication
Connected account requiredScopes
account:writeTags
Environments Custom Property Definitions RetrievePOSTHOG_ENVIRONMENTS_CUSTOM_PROPERTY_DEFINITIONS_RETRIEVEEnvironments Custom Property Definitions RetrieveConnection1 scope
Environments Custom Property Definitions Retrieve
Authentication
Connected account requiredScopes
account:readTags
Environments Custom Property Definitions UpdatePOSTHOG_ENVIRONMENTS_CUSTOM_PROPERTY_DEFINITIONS_UPDATEEnvironments Custom Property Definitions UpdateConnection1 scope
Environments Custom Property Definitions Update
Authentication
Connected account requiredScopes
account:writeTags
Environments Customer Journeys CreatePOSTHOG_ENVIRONMENTS_CUSTOMER_JOURNEYS_CREATEEnvironments Customer Journeys CreateConnection1 scope
Environments Customer Journeys Create
Authentication
Connected account requiredScopes
customer_journey:writeTags
Environments Customer Journeys DestroyPOSTHOG_ENVIRONMENTS_CUSTOMER_JOURNEYS_DESTROYEnvironments Customer Journeys DestroyConnection1 scope
Environments Customer Journeys Destroy
Authentication
Connected account requiredScopes
customer_journey:writeTags
Environments Customer Journeys ListPOSTHOG_ENVIRONMENTS_CUSTOMER_JOURNEYS_LISTEnvironments Customer Journeys ListConnection1 scope
Environments Customer Journeys List
Authentication
Connected account requiredScopes
customer_journey:readTags
Environments Customer Journeys Partial UpdatePOSTHOG_ENVIRONMENTS_CUSTOMER_JOURNEYS_PARTIAL_UPDATEEnvironments Customer Journeys Partial UpdateConnection1 scope
Environments Customer Journeys Partial Update
Authentication
Connected account requiredScopes
customer_journey:writeTags
Environments Customer Journeys RetrievePOSTHOG_ENVIRONMENTS_CUSTOMER_JOURNEYS_RETRIEVEEnvironments Customer Journeys RetrieveConnection1 scope
Environments Customer Journeys Retrieve
Authentication
Connected account requiredScopes
customer_journey:readTags
Environments Customer Journeys UpdatePOSTHOG_ENVIRONMENTS_CUSTOMER_JOURNEYS_UPDATEEnvironments Customer Journeys UpdateConnection1 scope
Environments Customer Journeys Update
Authentication
Connected account requiredScopes
customer_journey:writeTags
Environments Customer Profile Configs CreatePOSTHOG_ENVIRONMENTS_CUSTOMER_PROFILE_CONFIGS_CREATEEnvironments Customer Profile Configs CreateConnection1 scope
Environments Customer Profile Configs Create
Authentication
Connected account requiredScopes
customer_profile_config:writeTags
Environments Customer Profile Configs DestroyPOSTHOG_ENVIRONMENTS_CUSTOMER_PROFILE_CONFIGS_DESTROYEnvironments Customer Profile Configs DestroyConnection1 scope
Environments Customer Profile Configs Destroy
Authentication
Connected account requiredScopes
customer_profile_config:writeTags
Environments Customer Profile Configs ListPOSTHOG_ENVIRONMENTS_CUSTOMER_PROFILE_CONFIGS_LISTEnvironments Customer Profile Configs ListConnection1 scope
Environments Customer Profile Configs List
Authentication
Connected account requiredScopes
customer_profile_config:readTags
Environments Customer Profile Configs Partial UpdatePOSTHOG_ENVIRONMENTS_CUSTOMER_PROFILE_CONFIGS_PARTIAL_UPDATEEnvironments Customer Profile Configs Partial UpdateConnection1 scope
Environments Customer Profile Configs Partial Update
Authentication
Connected account requiredScopes
customer_profile_config:writeTags
Environments Customer Profile Configs RetrievePOSTHOG_ENVIRONMENTS_CUSTOMER_PROFILE_CONFIGS_RETRIEVEEnvironments Customer Profile Configs RetrieveConnection1 scope
Environments Customer Profile Configs Retrieve
Authentication
Connected account requiredScopes
customer_profile_config:readTags
Environments Customer Profile Configs UpdatePOSTHOG_ENVIRONMENTS_CUSTOMER_PROFILE_CONFIGS_UPDATEEnvironments Customer Profile Configs UpdateConnection1 scope
Environments Customer Profile Configs Update
Authentication
Connected account requiredScopes
customer_profile_config:writeTags
Environments Dashboards Bulk Update Tags CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_BULK_UPDATE_TAGS_CREATEBulk update tags on multiple objects. PAT access: this action has no ``required_scopes=`` on the decorator — inheriting viewsets must add ``"bulk_update_tags"`` to their ``scope_object_write_actions`` list to accept personal API keys. Without that opt-in, ``APIScopePermission`` rejects PAT requests with "This action does not support personal API key access". Done per-viewset so granting ``<scope>:write`` for one resource doesn't leak access to sibling resources that share this mixin. Accepts: - {"ids": [...], "action": "add"|"remove"|"set", "tags": ["tag1", "tag2"]} Actions: - "add": Add tags to existing tags on each object - "remove": Remove specific tags from each object - "set": Replace all tags on each object with the provided listConnection
Bulk update tags on multiple objects. PAT access: this action has no ``required_scopes=`` on the decorator — inheriting viewsets must add ``"bulk_update_tags"`` to their ``scope_object_write_actions`` list to accept personal API keys. Without that opt-in, ``APIScopePermission`` rejects PAT requests with "This action does not support personal API key access". Done per-viewset so granting ``<scope>:write`` for one resource doesn't leak access to sibling resources that share this mixin. Accepts: - {"ids": [...], "action": "add"|"remove"|"set", "tags": ["tag1", "tag2"]} Actions: - "add": Add tags to existing tags on each object - "remove": Remove specific tags from each object - "set": Replace all tags on each object with the provided list
Authentication
Connected account requiredTags
Environments Dashboards Collaborators CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_COLLABORATORS_CREATEEnvironments Dashboards Collaborators CreateConnection1 scope
Environments Dashboards Collaborators Create
Authentication
Connected account requiredScopes
dashboard:writeTags
Environments Dashboards Collaborators DestroyPOSTHOG_ENVIRONMENTS_DASHBOARDS_COLLABORATORS_DESTROYEnvironments Dashboards Collaborators DestroyConnection1 scope
Environments Dashboards Collaborators Destroy
Authentication
Connected account requiredScopes
dashboard:writeTags
Environments Dashboards Collaborators ListPOSTHOG_ENVIRONMENTS_DASHBOARDS_COLLABORATORS_LISTEnvironments Dashboards Collaborators ListConnection1 scope
Environments Dashboards Collaborators List
Authentication
Connected account requiredScopes
dashboard:readTags
Environments Dashboards Copy Tile CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_COPY_TILE_CREATECopy an existing dashboard tile to another dashboard (insight, text card, or widget tile).Connection1 scope
Copy an existing dashboard tile to another dashboard (insight, text card, or widget tile).
Authentication
Connected account requiredScopes
dashboard:writeTags
Environments Dashboards CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_CREATEEnvironments Dashboards CreateConnection1 scope
Environments Dashboards Create
Authentication
Connected account requiredScopes
dashboard:writeTags
Environments Dashboards Create From Template Json CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_CREATE_FROM_TEMPLATE_JSON_CREATEEnvironments Dashboards Create From Template Json CreateConnection
Environments Dashboards Create From Template Json Create
Authentication
Connected account requiredTags
Environments Dashboards Create Text Tile CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_CREATE_TEXT_TILE_CREATEAdd a markdown text tile to a dashboard. Text tiles render as markdown blocks on the dashboard — useful as section headings, dividers, or annotations between insight tiles to give the dashboard structure.Connection1 scope
Add a markdown text tile to a dashboard. Text tiles render as markdown blocks on the dashboard — useful as section headings, dividers, or annotations between insight tiles to give the dashboard structure.
Authentication
Connected account requiredScopes
dashboard:writeTags
Environments Dashboards Create Unlisted Dashboard CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_CREATE_UNLISTED_DASHBOARD_CREATECreates an unlisted dashboard from template by tag. Enforces uniqueness (one per tag per team). Returns 409 if unlisted dashboard with this tag already exists.Connection
Creates an unlisted dashboard from template by tag. Enforces uniqueness (one per tag per team). Returns 409 if unlisted dashboard with this tag already exists.
Authentication
Connected account requiredTags
Environments Dashboards Delete TilePOSTHOG_ENVIRONMENTS_DASHBOARDS_DELETE_TILESoft-delete a single tile from a dashboard. Works for text, insight, and button tiles. The underlying Insight, Text, or ButtonTile object is preserved — only the dashboard tile is hidden. To delete the entire dashboard, use the dashboard delete endpoint instead.Connection1 scope
Soft-delete a single tile from a dashboard. Works for text, insight, and button tiles. The underlying Insight, Text, or ButtonTile object is preserved — only the dashboard tile is hidden. To delete the entire dashboard, use the dashboard delete endpoint instead.
Authentication
Connected account requiredScopes
dashboard:writeTags
Environments Dashboards DestroyPOSTHOG_ENVIRONMENTS_DASHBOARDS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
dashboard:writeTags
Environments Dashboards ListPOSTHOG_ENVIRONMENTS_DASHBOARDS_LISTEnvironments Dashboards ListConnection1 scope
Environments Dashboards List
Authentication
Connected account requiredScopes
dashboard:readTags
Environments Dashboards Move Tile CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_MOVE_TILE_CREATEEnvironments Dashboards Move Tile CreateConnection1 scope
Environments Dashboards Move Tile Create
Authentication
Connected account requiredScopes
dashboard:writeTags
Environments Dashboards Move Tile Partial UpdatePOSTHOG_ENVIRONMENTS_DASHBOARDS_MOVE_TILE_PARTIAL_UPDATEEnvironments Dashboards Move Tile Partial UpdateConnection1 scope
Environments Dashboards Move Tile Partial Update
Authentication
Connected account requiredScopes
dashboard:writeTags
Environments Dashboards Partial UpdatePOSTHOG_ENVIRONMENTS_DASHBOARDS_PARTIAL_UPDATEEnvironments Dashboards Partial UpdateConnection1 scope
Environments Dashboards Partial Update
Authentication
Connected account requiredScopes
dashboard:writeTags
Environments Dashboards Reorder Tiles CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_REORDER_TILES_CREATEEnvironments Dashboards Reorder Tiles CreateConnection1 scope
Environments Dashboards Reorder Tiles Create
Authentication
Connected account requiredScopes
dashboard:writeTags
Environments Dashboards RetrievePOSTHOG_ENVIRONMENTS_DASHBOARDS_RETRIEVEEnvironments Dashboards RetrieveConnection1 scope
Environments Dashboards Retrieve
Authentication
Connected account requiredScopes
dashboard:readTags
Environments Dashboards Run Insights RetrievePOSTHOG_ENVIRONMENTS_DASHBOARDS_RUN_INSIGHTS_RETRIEVERun all insights on a dashboard and return their results.Connection1 scope
Run all insights on a dashboard and return their results.
Authentication
Connected account requiredScopes
query:readTags
Environments Dashboards Run Widgets RetrievePOSTHOG_ENVIRONMENTS_DASHBOARDS_RUN_WIDGETS_RETRIEVEEnvironments Dashboards Run Widgets RetrieveConnection1 scope
Environments Dashboards Run Widgets Retrieve
Authentication
Connected account requiredScopes
dashboard:readTags
Environments Dashboards Sharing ListPOSTHOG_ENVIRONMENTS_DASHBOARDS_SHARING_LISTEnvironments Dashboards Sharing ListConnection1 scope
Environments Dashboards Sharing List
Authentication
Connected account requiredScopes
sharing_configuration:readTags
Environments Dashboards Sharing Passwords CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_SHARING_PASSWORDS_CREATECreate a new password for the sharing configuration.Connection1 scope
Create a new password for the sharing configuration.
Authentication
Connected account requiredScopes
sharing_configuration:writeTags
Environments Dashboards Sharing Passwords DestroyPOSTHOG_ENVIRONMENTS_DASHBOARDS_SHARING_PASSWORDS_DESTROYDelete a password from the sharing configuration.Connection1 scope
Delete a password from the sharing configuration.
Authentication
Connected account requiredScopes
sharing_configuration:writeTags
Environments Dashboards Sharing Refresh CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_SHARING_REFRESH_CREATEEnvironments Dashboards Sharing Refresh CreateConnection1 scope
Environments Dashboards Sharing Refresh Create
Authentication
Connected account requiredScopes
sharing_configuration:writeTags
Environments Dashboards Stream Tiles RetrievePOSTHOG_ENVIRONMENTS_DASHBOARDS_STREAM_TILES_RETRIEVEStream dashboard metadata and tiles via Server-Sent Events. Sends metadata first, then tiles as they are rendered.Connection
Stream dashboard metadata and tiles via Server-Sent Events. Sends metadata first, then tiles as they are rendered.
Authentication
Connected account requiredTags
Environments Dashboards UpdatePOSTHOG_ENVIRONMENTS_DASHBOARDS_UPDATEEnvironments Dashboards UpdateConnection1 scope
Environments Dashboards Update
Authentication
Connected account requiredScopes
dashboard:writeTags
Environments Dashboards Update Text Tile CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_UPDATE_TEXT_TILE_CREATEUpdate the markdown body, layout, or color of an existing text tile on a dashboard.Connection1 scope
Update the markdown body, layout, or color of an existing text tile on a dashboard.
Authentication
Connected account requiredScopes
dashboard:writeTags
Environments Dashboards Update Widgets BatchPOSTHOG_ENVIRONMENTS_DASHBOARDS_UPDATE_WIDGETS_BATCHUpdate the settings of existing widgets in place, atomically — config, name, and description. Each entry targets a widget by its tile_id and reuses the same write path as the dashboard PATCH endpoint. The widget_type is immutable. This edits widget settings only (config, name, description); tile placement (layouts, show_description) is a dashboard concern — use the dashboard PATCH endpoint or reorder_tiles for that. All updates succeed or fail together. To add new widgets, use the widgets/batch POST endpoint; to remove one, use delete_tile.Connection1 scope
Update the settings of existing widgets in place, atomically — config, name, and description. Each entry targets a widget by its tile_id and reuses the same write path as the dashboard PATCH endpoint. The widget_type is immutable. This edits widget settings only (config, name, description); tile placement (layouts, show_description) is a dashboard concern — use the dashboard PATCH endpoint or reorder_tiles for that. All updates succeed or fail together. To add new widgets, use the widgets/batch POST endpoint; to remove one, use delete_tile.
Authentication
Connected account requiredScopes
dashboard:writeTags
Environments Dashboards Widget Catalog RetrievePOSTHOG_ENVIRONMENTS_DASHBOARDS_WIDGET_CATALOG_RETRIEVEList registered dashboard widget types and per-type config_schema documentation for agents.Connection1 scope
List registered dashboard widget types and per-type config_schema documentation for agents.
Authentication
Connected account requiredScopes
dashboard:readTags
Environments Dashboards Widgets Batch CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_WIDGETS_BATCH_CREATEAdd multiple widget tiles to a dashboard in one atomic request.Connection1 scope
Add multiple widget tiles to a dashboard in one atomic request.
Authentication
Connected account requiredScopes
dashboard:writeTags
Environments Data Color Themes CreatePOSTHOG_ENVIRONMENTS_DATA_COLOR_THEMES_CREATEEnvironments Data Color Themes CreateConnection1 scope
Environments Data Color Themes Create
Authentication
Connected account requiredScopes
project:writeTags
Environments Data Color Themes DestroyPOSTHOG_ENVIRONMENTS_DATA_COLOR_THEMES_DESTROYEnvironments Data Color Themes DestroyConnection1 scope
Environments Data Color Themes Destroy
Authentication
Connected account requiredScopes
project:writeTags
Environments Data Color Themes ListPOSTHOG_ENVIRONMENTS_DATA_COLOR_THEMES_LISTEnvironments Data Color Themes ListConnection1 scope
Environments Data Color Themes List
Authentication
Connected account requiredScopes
project:readTags
Environments Data Color Themes Partial UpdatePOSTHOG_ENVIRONMENTS_DATA_COLOR_THEMES_PARTIAL_UPDATEEnvironments Data Color Themes Partial UpdateConnection1 scope
Environments Data Color Themes Partial Update
Authentication
Connected account requiredScopes
project:writeTags
Environments Data Color Themes RetrievePOSTHOG_ENVIRONMENTS_DATA_COLOR_THEMES_RETRIEVEEnvironments Data Color Themes RetrieveConnection1 scope
Environments Data Color Themes Retrieve
Authentication
Connected account requiredScopes
project:readTags
Environments Data Color Themes UpdatePOSTHOG_ENVIRONMENTS_DATA_COLOR_THEMES_UPDATEEnvironments Data Color Themes UpdateConnection1 scope
Environments Data Color Themes Update
Authentication
Connected account requiredScopes
project:writeTags
Environments Data Modeling Jobs ListPOSTHOG_ENVIRONMENTS_DATA_MODELING_JOBS_LISTList data modeling jobs which are "runs" for our saved queries.Connection1 scope
List data modeling jobs which are "runs" for our saved queries.
Authentication
Connected account requiredScopes
warehouse_view:readTags
Environments Data Modeling Jobs Recent RetrievePOSTHOG_ENVIRONMENTS_DATA_MODELING_JOBS_RECENT_RETRIEVEGet the most recent non-running job for each saved query from the v2 backend.Connection
Get the most recent non-running job for each saved query from the v2 backend.
Authentication
Connected account requiredTags
Environments Data Modeling Jobs RetrievePOSTHOG_ENVIRONMENTS_DATA_MODELING_JOBS_RETRIEVEList data modeling jobs which are "runs" for our saved queries.Connection1 scope
List data modeling jobs which are "runs" for our saved queries.
Authentication
Connected account requiredScopes
warehouse_view:readTags
Environments Data Modeling Jobs Running RetrievePOSTHOG_ENVIRONMENTS_DATA_MODELING_JOBS_RUNNING_RETRIEVEGet all currently running jobs from the v2 backend.Connection
Get all currently running jobs from the v2 backend.
Authentication
Connected account requiredTags
Environments Data Warehouse Check Database Name RetrievePOSTHOG_ENVIRONMENTS_DATA_WAREHOUSE_CHECK_DATABASE_NAME_RETRIEVECheck if a database name is available.Connection
Check if a database name is available.
Authentication
Connected account requiredTags
Environments Data Warehouse Completed Activity RetrievePOSTHOG_ENVIRONMENTS_DATA_WAREHOUSE_COMPLETED_ACTIVITY_RETRIEVEReturns completed/non-running activities (jobs with status 'Completed'). Supports pagination and cutoff time filtering.Connection
Returns completed/non-running activities (jobs with status 'Completed'). Supports pagination and cutoff time filtering.
Authentication
Connected account requiredTags
Environments Data Warehouse Data Health Issues RetrievePOSTHOG_ENVIRONMENTS_DATA_WAREHOUSE_DATA_HEALTH_ISSUES_RETRIEVEReturns failed/disabled data pipeline items for the Pipeline status side panel. Includes: materializations, syncs, sources, destinations, and transformations.Connection2 scopes
Returns failed/disabled data pipeline items for the Pipeline status side panel. Includes: materializations, syncs, sources, destinations, and transformations.
Authentication
Connected account requiredScopes
warehouse_view:readexternal_data_source:readTags
Environments Data Warehouse Data Ops Dashboard RetrievePOSTHOG_ENVIRONMENTS_DATA_WAREHOUSE_DATA_OPS_DASHBOARD_RETRIEVEReturns the data ops overview dashboard ID for this team, creating it if it doesn't exist yet.Connection1 scope
Returns the data ops overview dashboard ID for this team, creating it if it doesn't exist yet.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Environments Data Warehouse Delete Org DestroyPOSTHOG_ENVIRONMENTS_DATA_WAREHOUSE_DELETE_ORG_DESTROYRemove the organization's provisioning record after teardown, freeing its warehouse name. Called once the warehouse status reports `deleted`: deprovision tears the warehouse down, this removes the now-empty org row so the database_name can be reused. Restricted to organization admins.Connection1 scope
Remove the organization's provisioning record after teardown, freeing its warehouse name. Called once the warehouse status reports `deleted`: deprovision tears the warehouse down, this removes the now-empty org row so the database_name can be reused. Restricted to organization admins.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Environments Data Warehouse Deprovision CreatePOSTHOG_ENVIRONMENTS_DATA_WAREHOUSE_DEPROVISION_CREATEStart deprovisioning the organization's managed warehouse. Restricted to organization admins.Connection1 scope
Start deprovisioning the organization's managed warehouse. Restricted to organization admins.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Environments Data Warehouse Enable Backfill CreatePOSTHOG_ENVIRONMENTS_DATA_WAREHOUSE_ENABLE_BACKFILL_CREATEEnable warehouse backfill for this environment with a dedicated set of tables. Requires a table name and records the environment's membership in the organization's managed warehouse. Restricted to organization admins.Connection1 scope
Enable warehouse backfill for this environment with a dedicated set of tables. Requires a table name and records the environment's membership in the organization's managed warehouse. Restricted to organization admins.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Environments Data Warehouse Job Stats RetrievePOSTHOG_ENVIRONMENTS_DATA_WAREHOUSE_JOB_STATS_RETRIEVEReturns success and failed job statistics for the last 1, 7, or 30 days. Query parameter 'days' can be 1, 7, or 30 (default: 7).Connection
Returns success and failed job statistics for the last 1, 7, or 30 days. Query parameter 'days' can be 1, 7, or 30 (default: 7).
Authentication
Connected account requiredTags
Environments Data Warehouse Property Values RetrievePOSTHOG_ENVIRONMENTS_DATA_WAREHOUSE_PROPERTY_VALUES_RETRIEVEAPI endpoints for data warehouse aggregate statistics and operations.Connection1 scope
API endpoints for data warehouse aggregate statistics and operations.
Authentication
Connected account requiredScopes
query:readTags
Environments Data Warehouse Provision CreatePOSTHOG_ENVIRONMENTS_DATA_WAREHOUSE_PROVISION_CREATEStart provisioning a managed warehouse for this organization (shared by all its teams).Connection1 scope
Start provisioning a managed warehouse for this organization (shared by all its teams).
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Environments Data Warehouse Reset Password CreatePOSTHOG_ENVIRONMENTS_DATA_WAREHOUSE_RESET_PASSWORD_CREATEReset the root password for the managed warehouse.Connection1 scope
Reset the root password for the managed warehouse.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Environments Data Warehouse Running Activity RetrievePOSTHOG_ENVIRONMENTS_DATA_WAREHOUSE_RUNNING_ACTIVITY_RETRIEVEReturns currently running activities (jobs with status 'Running'). Supports pagination and cutoff time filtering.Connection
Returns currently running activities (jobs with status 'Running'). Supports pagination and cutoff time filtering.
Authentication
Connected account requiredTags
Environments Data Warehouse Total Rows Stats RetrievePOSTHOG_ENVIRONMENTS_DATA_WAREHOUSE_TOTAL_ROWS_STATS_RETRIEVEReturns aggregated statistics for the data warehouse total rows processed within the current billing period. Used by the frontend data warehouse scene to display usage information.Connection
Returns aggregated statistics for the data warehouse total rows processed within the current billing period. Used by the frontend data warehouse scene to display usage information.
Authentication
Connected account requiredTags
Environments Data Warehouse Warehouse Status RetrievePOSTHOG_ENVIRONMENTS_DATA_WAREHOUSE_WAREHOUSE_STATUS_RETRIEVEGet the current provisioning status of the managed warehouse, with this project's backfill state.Connection
Get the current provisioning status of the managed warehouse, with this project's backfill state.
Authentication
Connected account requiredTags
Environments Dataset Items CreatePOSTHOG_ENVIRONMENTS_DATASET_ITEMS_CREATEEnvironments Dataset Items CreateConnection1 scope
Environments Dataset Items Create
Authentication
Connected account requiredScopes
dataset:writeTags
Environments Dataset Items DestroyPOSTHOG_ENVIRONMENTS_DATASET_ITEMS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
dataset:writeTags
Environments Dataset Items ListPOSTHOG_ENVIRONMENTS_DATASET_ITEMS_LISTEnvironments Dataset Items ListConnection1 scope
Environments Dataset Items List
Authentication
Connected account requiredScopes
dataset:readTags
Environments Dataset Items Partial UpdatePOSTHOG_ENVIRONMENTS_DATASET_ITEMS_PARTIAL_UPDATEEnvironments Dataset Items Partial UpdateConnection1 scope
Environments Dataset Items Partial Update
Authentication
Connected account requiredScopes
dataset:writeTags
Environments Dataset Items RetrievePOSTHOG_ENVIRONMENTS_DATASET_ITEMS_RETRIEVEEnvironments Dataset Items RetrieveConnection1 scope
Environments Dataset Items Retrieve
Authentication
Connected account requiredScopes
dataset:readTags
Environments Dataset Items UpdatePOSTHOG_ENVIRONMENTS_DATASET_ITEMS_UPDATEEnvironments Dataset Items UpdateConnection1 scope
Environments Dataset Items Update
Authentication
Connected account requiredScopes
dataset:writeTags
Environments Datasets CreatePOSTHOG_ENVIRONMENTS_DATASETS_CREATEEnvironments Datasets CreateConnection1 scope
Environments Datasets Create
Authentication
Connected account requiredScopes
dataset:writeTags
Environments Datasets DestroyPOSTHOG_ENVIRONMENTS_DATASETS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
dataset:writeTags
Environments Datasets ListPOSTHOG_ENVIRONMENTS_DATASETS_LISTEnvironments Datasets ListConnection1 scope
Environments Datasets List
Authentication
Connected account requiredScopes
dataset:readTags
Environments Datasets Partial UpdatePOSTHOG_ENVIRONMENTS_DATASETS_PARTIAL_UPDATEEnvironments Datasets Partial UpdateConnection1 scope
Environments Datasets Partial Update
Authentication
Connected account requiredScopes
dataset:writeTags
Environments Datasets RetrievePOSTHOG_ENVIRONMENTS_DATASETS_RETRIEVEEnvironments Datasets RetrieveConnection1 scope
Environments Datasets Retrieve
Authentication
Connected account requiredScopes
dataset:readTags
Environments Datasets UpdatePOSTHOG_ENVIRONMENTS_DATASETS_UPDATEEnvironments Datasets UpdateConnection1 scope
Environments Datasets Update
Authentication
Connected account requiredScopes
dataset:writeTags
Environments Default Evaluation Contexts CreatePOSTHOG_ENVIRONMENTS_DEFAULT_EVALUATION_CONTEXTS_CREATEManage default evaluation contexts for a team.Connection
Manage default evaluation contexts for a team.
Authentication
Connected account requiredTags
Environments Default Evaluation Contexts DestroyPOSTHOG_ENVIRONMENTS_DEFAULT_EVALUATION_CONTEXTS_DESTROYManage default evaluation contexts for a team.Connection
Manage default evaluation contexts for a team.
Authentication
Connected account requiredTags
Environments Default Evaluation Contexts RetrievePOSTHOG_ENVIRONMENTS_DEFAULT_EVALUATION_CONTEXTS_RETRIEVEManage default evaluation contexts for a team.Connection
Manage default evaluation contexts for a team.
Authentication
Connected account requiredTags
Environments Default Release Conditions RetrievePOSTHOG_ENVIRONMENTS_DEFAULT_RELEASE_CONDITIONS_RETRIEVEManage default release conditions for new feature flags in this team.Connection
Manage default release conditions for new feature flags in this team.
Authentication
Connected account requiredTags
Environments Default Release Conditions UpdatePOSTHOG_ENVIRONMENTS_DEFAULT_RELEASE_CONDITIONS_UPDATEManage default release conditions for new feature flags in this team.Connection
Manage default release conditions for new feature flags in this team.
Authentication
Connected account requiredTags
Environments Delete Secret Token Backup Partial UpdatePOSTHOG_ENVIRONMENTS_DELETE_SECRET_TOKEN_BACKUP_PARTIAL_UPDATEDeprecated: use /api/environments/{id}/ instead.Connection
Deprecated: use /api/environments/{id}/ instead.
Authentication
Connected account requiredTags
Environments DestroyPOSTHOG_ENVIRONMENTS_DESTROYDeprecated: use /api/environments/{id}/ instead.Connection1 scope
Deprecated: use /api/environments/{id}/ instead.
Authentication
Connected account requiredScopes
project:writeTags
Search PostHog documentationPOSTHOG_ENVIRONMENTS_DOCS_SEARCHRun a hybrid (semantic + full-text) RAG search over the PostHog documentation via Inkeep. Returns a markdown body with title, URL, and excerpt for each match for the agent to cite back to the user.Connection1 scope
Run a hybrid (semantic + full-text) RAG search over the PostHog documentation via Inkeep. Returns a markdown body with title, URL, and excerpt for each match for the agent to cite back to the user.
Authentication
Connected account requiredScopes
project:readTags
Environments Elements CreatePOSTHOG_ENVIRONMENTS_ELEMENTS_CREATEEnvironments Elements CreateConnection1 scope
Environments Elements Create
Authentication
Connected account requiredScopes
element:writeTags
Environments Elements DestroyPOSTHOG_ENVIRONMENTS_ELEMENTS_DESTROYEnvironments Elements DestroyConnection1 scope
Environments Elements Destroy
Authentication
Connected account requiredScopes
element:writeTags
Environments Elements ListPOSTHOG_ENVIRONMENTS_ELEMENTS_LISTEnvironments Elements ListConnection1 scope
Environments Elements List
Authentication
Connected account requiredScopes
element:readTags
Environments Elements Partial UpdatePOSTHOG_ENVIRONMENTS_ELEMENTS_PARTIAL_UPDATEEnvironments Elements Partial UpdateConnection1 scope
Environments Elements Partial Update
Authentication
Connected account requiredScopes
element:writeTags
Environments Elements RetrievePOSTHOG_ENVIRONMENTS_ELEMENTS_RETRIEVEEnvironments Elements RetrieveConnection1 scope
Environments Elements Retrieve
Authentication
Connected account requiredScopes
element:readTags
Environments Elements Stats RetrievePOSTHOG_ENVIRONMENTS_ELEMENTS_STATS_RETRIEVECounts of $autocapture, $rageclick, and $dead_click events grouped by the element chain they occurred on, ordered by count. Defaults to all three event types; narrow with the include parameter.Connection1 scope
Counts of $autocapture, $rageclick, and $dead_click events grouped by the element chain they occurred on, ordered by count. Defaults to all three event types; narrow with the include parameter.
Authentication
Connected account requiredScopes
element:readTags
Environments Elements UpdatePOSTHOG_ENVIRONMENTS_ELEMENTS_UPDATEEnvironments Elements UpdateConnection1 scope
Environments Elements Update
Authentication
Connected account requiredScopes
element:writeTags
Environments Elements Values ListPOSTHOG_ENVIRONMENTS_ELEMENTS_VALUES_LISTEnvironments Elements Values ListConnection1 scope
Environments Elements Values List
Authentication
Connected account requiredScopes
element:readTags
Environments Endpoints CreatePOSTHOG_ENVIRONMENTS_ENDPOINTS_CREATECreate a new endpoint.Connection1 scope
Create a new endpoint.
Authentication
Connected account requiredScopes
endpoint:writeTags
Environments Endpoints DestroyPOSTHOG_ENVIRONMENTS_ENDPOINTS_DESTROYDelete an endpoint and clean up materialized query.Connection1 scope
Delete an endpoint and clean up materialized query.
Authentication
Connected account requiredScopes
endpoint:writeTags
Environments Endpoints Last Execution Times CreatePOSTHOG_ENVIRONMENTS_ENDPOINTS_LAST_EXECUTION_TIMES_CREATEGet the most recent execution time per endpoint (endpoint-level). Timestamps are recorded by the run path for personal-API-key calls. For per-version usage, query the query_log table directly.Connection1 scope
Get the most recent execution time per endpoint (endpoint-level). Timestamps are recorded by the run path for personal-API-key calls. For per-version usage, query the query_log table directly.
Authentication
Connected account requiredScopes
endpoint:readTags
Environments Endpoints ListPOSTHOG_ENVIRONMENTS_ENDPOINTS_LISTList all endpoints for the team.Connection1 scope
List all endpoints for the team.
Authentication
Connected account requiredScopes
endpoint:readTags
Environments Endpoints Logs RetrievePOSTHOG_ENVIRONMENTS_ENDPOINTS_LOGS_RETRIEVEEnvironments Endpoints Logs RetrieveConnection1 scope
Environments Endpoints Logs Retrieve
Authentication
Connected account requiredScopes
endpoint:readTags
Environments Endpoints Materialization Conditions RetrievePOSTHOG_ENVIRONMENTS_ENDPOINTS_MATERIALIZATION_CONDITIONS_RETRIEVEGet the source code of the live materialization checks, plus the rewrite contract. Lets an agent rewrite a rejected endpoint query itself: fetch these conditions, produce a semantically equivalent query that passes every check, update the endpoint with it, then confirm via materialization_status. The source is read from the running system, so it always matches the checks this instance enforces.Connection1 scope
Get the source code of the live materialization checks, plus the rewrite contract. Lets an agent rewrite a rejected endpoint query itself: fetch these conditions, produce a semantically equivalent query that passes every check, update the endpoint with it, then confirm via materialization_status. The source is read from the running system, so it always matches the checks this instance enforces.
Authentication
Connected account requiredScopes
endpoint:readTags
Environments Endpoints Materialization Preview CreatePOSTHOG_ENVIRONMENTS_ENDPOINTS_MATERIALIZATION_PREVIEW_CREATEPreview the materialization transform for an endpoint. Shows what the query will look like after materialization, including range pair detection and bucket functions.Connection1 scope
Preview the materialization transform for an endpoint. Shows what the query will look like after materialization, including range pair detection and bucket functions.
Authentication
Connected account requiredScopes
endpoint:readTags
Environments Endpoints Materialization Status RetrievePOSTHOG_ENVIRONMENTS_ENDPOINTS_MATERIALIZATION_STATUS_RETRIEVEGet materialization status for an endpoint. Supports ?version=N query param.Connection1 scope
Get materialization status for an endpoint. Supports ?version=N query param.
Authentication
Connected account requiredScopes
endpoint:readTags
Environments Endpoints Materialization Suggestion CreatePOSTHOG_ENVIRONMENTS_ENDPOINTS_MATERIALIZATION_SUGGESTION_CREATEAsk AI to rewrite the endpoint's query into a semantically equivalent form that can be materialized. Only applicable to SQL (HogQL) endpoints that currently fail the materialization checks. The suggestion is validated against the live checks before being returned; nothing is saved. Requires the organization's AI data processing approval.Connection1 scope
Ask AI to rewrite the endpoint's query into a semantically equivalent form that can be materialized. Only applicable to SQL (HogQL) endpoints that currently fail the materialization checks. The suggestion is validated against the live checks before being returned; nothing is saved. Requires the organization's AI data processing approval.
Authentication
Connected account requiredScopes
endpoint:readTags
Environments Endpoints Openapi Spec RetrievePOSTHOG_ENVIRONMENTS_ENDPOINTS_OPENAPI_SPEC_RETRIEVEGet OpenAPI 3.0 specification for this endpoint. Use this to generate typed SDK clients.Connection1 scope
Get OpenAPI 3.0 specification for this endpoint. Use this to generate typed SDK clients.
Authentication
Connected account requiredScopes
endpoint:readTags
Environments Endpoints Partial UpdatePOSTHOG_ENVIRONMENTS_ENDPOINTS_PARTIAL_UPDATEUpdate an existing endpoint.Connection1 scope
Update an existing endpoint.
Authentication
Connected account requiredScopes
endpoint:writeTags
Environments Endpoints RetrievePOSTHOG_ENVIRONMENTS_ENDPOINTS_RETRIEVERetrieve an endpoint, or a specific version via ?version=N.Connection1 scope
Retrieve an endpoint, or a specific version via ?version=N.
Authentication
Connected account requiredScopes
endpoint:readTags
Environments Endpoints Run CreatePOSTHOG_ENVIRONMENTS_ENDPOINTS_RUN_CREATEExecute endpoint with optional materialization. Supports version parameter, runs latest version if not set.Connection1 scope
Execute endpoint with optional materialization. Supports version parameter, runs latest version if not set.
Authentication
Connected account requiredScopes
endpoint:readTags
Environments Endpoints Run RetrievePOSTHOG_ENVIRONMENTS_ENDPOINTS_RUN_RETRIEVEExecute endpoint with optional materialization. Supports version parameter, runs latest version if not set.Connection1 scope
Execute endpoint with optional materialization. Supports version parameter, runs latest version if not set.
Authentication
Connected account requiredScopes
endpoint:readTags
Environments Endpoints UpdatePOSTHOG_ENVIRONMENTS_ENDPOINTS_UPDATEUpdate an existing endpoint. Parameters are optional. Pass version in body or ?version=N query param to target a specific version.Connection1 scope
Update an existing endpoint. Parameters are optional. Pass version in body or ?version=N query param to target a specific version.
Authentication
Connected account requiredScopes
endpoint:writeTags
Environments Endpoints Versions ListPOSTHOG_ENVIRONMENTS_ENDPOINTS_VERSIONS_LISTList all versions for an endpoint.Connection1 scope
List all versions for an endpoint.
Authentication
Connected account requiredScopes
endpoint:readTags
Environments Environment Vision Quota RetrievePOSTHOG_ENVIRONMENTS_ENVIRONMENT_VISION_QUOTA_RETRIEVEEnvironments Environment Vision Quota RetrieveConnection1 scope
Environments Environment Vision Quota Retrieve
Authentication
Connected account requiredScopes
replay_scanner:readTags
Environments Error Tracking Assignment Rules CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ASSIGNMENT_RULES_CREATEEnvironments Error Tracking Assignment Rules CreateConnection1 scope
Environments Error Tracking Assignment Rules Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Assignment Rules DestroyPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ASSIGNMENT_RULES_DESTROYEnvironments Error Tracking Assignment Rules DestroyConnection1 scope
Environments Error Tracking Assignment Rules Destroy
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Assignment Rules ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ASSIGNMENT_RULES_LISTEnvironments Error Tracking Assignment Rules ListConnection1 scope
Environments Error Tracking Assignment Rules List
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Error Tracking Assignment Rules Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ASSIGNMENT_RULES_PARTIAL_UPDATEEnvironments Error Tracking Assignment Rules Partial UpdateConnection1 scope
Environments Error Tracking Assignment Rules Partial Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Assignment Rules Reorder Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ASSIGNMENT_RULES_REORDER_PARTIAL_UPDATEEnvironments Error Tracking Assignment Rules Reorder Partial UpdateConnection
Environments Error Tracking Assignment Rules Reorder Partial Update
Authentication
Connected account requiredTags
Environments Error Tracking Assignment Rules RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ASSIGNMENT_RULES_RETRIEVEEnvironments Error Tracking Assignment Rules RetrieveConnection1 scope
Environments Error Tracking Assignment Rules Retrieve
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Error Tracking Assignment Rules UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ASSIGNMENT_RULES_UPDATEEnvironments Error Tracking Assignment Rules UpdateConnection1 scope
Environments Error Tracking Assignment Rules Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Bypass Rules CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_BYPASS_RULES_CREATEEnvironments Error Tracking Bypass Rules CreateConnection1 scope
Environments Error Tracking Bypass Rules Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Bypass Rules DestroyPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_BYPASS_RULES_DESTROYEnvironments Error Tracking Bypass Rules DestroyConnection1 scope
Environments Error Tracking Bypass Rules Destroy
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Bypass Rules ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_BYPASS_RULES_LISTEnvironments Error Tracking Bypass Rules ListConnection1 scope
Environments Error Tracking Bypass Rules List
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Error Tracking Bypass Rules Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_BYPASS_RULES_PARTIAL_UPDATEEnvironments Error Tracking Bypass Rules Partial UpdateConnection1 scope
Environments Error Tracking Bypass Rules Partial Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Bypass Rules Reorder Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_BYPASS_RULES_REORDER_PARTIAL_UPDATEEnvironments Error Tracking Bypass Rules Reorder Partial UpdateConnection
Environments Error Tracking Bypass Rules Reorder Partial Update
Authentication
Connected account requiredTags
Environments Error Tracking Bypass Rules RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_BYPASS_RULES_RETRIEVEEnvironments Error Tracking Bypass Rules RetrieveConnection1 scope
Environments Error Tracking Bypass Rules Retrieve
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Error Tracking Bypass Rules UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_BYPASS_RULES_UPDATEEnvironments Error Tracking Bypass Rules UpdateConnection1 scope
Environments Error Tracking Bypass Rules Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking External References CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_EXTERNAL_REFERENCES_CREATEEnvironments Error Tracking External References CreateConnection1 scope
Environments Error Tracking External References Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking External References DestroyPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_EXTERNAL_REFERENCES_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking External References ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_EXTERNAL_REFERENCES_LISTEnvironments Error Tracking External References ListConnection1 scope
Environments Error Tracking External References List
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Error Tracking External References RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_EXTERNAL_REFERENCES_RETRIEVEEnvironments Error Tracking External References RetrieveConnection1 scope
Environments Error Tracking External References Retrieve
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Error Tracking Fingerprints DestroyPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_FINGERPRINTS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredTags
Environments Error Tracking Fingerprints ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_FINGERPRINTS_LISTEnvironments Error Tracking Fingerprints ListConnection1 scope
Environments Error Tracking Fingerprints List
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Error Tracking Fingerprints RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_FINGERPRINTS_RETRIEVEEnvironments Error Tracking Fingerprints RetrieveConnection1 scope
Environments Error Tracking Fingerprints Retrieve
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Error Tracking Git Provider File Links Resolve Github RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_GIT_PROVIDER_FILE_LINKS_RESOLVE_GITHUB_RETRIEVEEnvironments Error Tracking Git Provider File Links Resolve Github RetrieveConnection
Environments Error Tracking Git Provider File Links Resolve Github Retrieve
Authentication
Connected account requiredTags
Environments Error Tracking Git Provider File Links Resolve Gitlab RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_GIT_PROVIDER_FILE_LINKS_RESOLVE_GITLAB_RETRIEVEEnvironments Error Tracking Git Provider File Links Resolve Gitlab RetrieveConnection
Environments Error Tracking Git Provider File Links Resolve Gitlab Retrieve
Authentication
Connected account requiredTags
Environments Error Tracking Grouping Rules CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_GROUPING_RULES_CREATEEnvironments Error Tracking Grouping Rules CreateConnection1 scope
Environments Error Tracking Grouping Rules Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Grouping Rules DestroyPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_GROUPING_RULES_DESTROYEnvironments Error Tracking Grouping Rules DestroyConnection1 scope
Environments Error Tracking Grouping Rules Destroy
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Grouping Rules ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_GROUPING_RULES_LISTEnvironments Error Tracking Grouping Rules ListConnection1 scope
Environments Error Tracking Grouping Rules List
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Error Tracking Grouping Rules Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_GROUPING_RULES_PARTIAL_UPDATEEnvironments Error Tracking Grouping Rules Partial UpdateConnection1 scope
Environments Error Tracking Grouping Rules Partial Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Grouping Rules Reorder Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_GROUPING_RULES_REORDER_PARTIAL_UPDATEEnvironments Error Tracking Grouping Rules Reorder Partial UpdateConnection
Environments Error Tracking Grouping Rules Reorder Partial Update
Authentication
Connected account requiredTags
Environments Error Tracking Grouping Rules RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_GROUPING_RULES_RETRIEVEEnvironments Error Tracking Grouping Rules RetrieveConnection1 scope
Environments Error Tracking Grouping Rules Retrieve
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Error Tracking Grouping Rules UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_GROUPING_RULES_UPDATEEnvironments Error Tracking Grouping Rules UpdateConnection1 scope
Environments Error Tracking Grouping Rules Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Issues Activity RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_ACTIVITY_RETRIEVEEnvironments Error Tracking Issues Activity RetrieveConnection1 scope
Environments Error Tracking Issues Activity Retrieve
Authentication
Connected account requiredScopes
activity_log:readTags
Environments Error Tracking Issues All Activity RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_ALL_ACTIVITY_RETRIEVEEnvironments Error Tracking Issues All Activity RetrieveConnection1 scope
Environments Error Tracking Issues All Activity Retrieve
Authentication
Connected account requiredScopes
activity_log:readTags
Environments Error Tracking Issues Assign Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_ASSIGN_PARTIAL_UPDATEEnvironments Error Tracking Issues Assign Partial UpdateConnection1 scope
Environments Error Tracking Issues Assign Partial Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Issues Bulk CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_BULK_CREATEEnvironments Error Tracking Issues Bulk CreateConnection1 scope
Environments Error Tracking Issues Bulk Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Issues Cohort UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_COHORT_UPDATEEnvironments Error Tracking Issues Cohort UpdateConnection1 scope
Environments Error Tracking Issues Cohort Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Issues DestroyPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Issues Exists RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_EXISTS_RETRIEVEEnvironments Error Tracking Issues Exists RetrieveConnection1 scope
Environments Error Tracking Issues Exists Retrieve
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Error Tracking Issues ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_LISTEnvironments Error Tracking Issues ListConnection1 scope
Environments Error Tracking Issues List
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Error Tracking Issues Merge CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_MERGE_CREATEEnvironments Error Tracking Issues Merge CreateConnection1 scope
Environments Error Tracking Issues Merge Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Issues Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_PARTIAL_UPDATEEnvironments Error Tracking Issues Partial UpdateConnection1 scope
Environments Error Tracking Issues Partial Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Issues RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_RETRIEVEEnvironments Error Tracking Issues RetrieveConnection1 scope
Environments Error Tracking Issues Retrieve
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Error Tracking Issues Split CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_SPLIT_CREATEEnvironments Error Tracking Issues Split CreateConnection1 scope
Environments Error Tracking Issues Split Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Issues UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_UPDATEEnvironments Error Tracking Issues UpdateConnection1 scope
Environments Error Tracking Issues Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Issues Values RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_VALUES_RETRIEVEEnvironments Error Tracking Issues Values RetrieveConnection1 scope
Environments Error Tracking Issues Values Retrieve
Authentication
Connected account requiredScopes
error_tracking:readTags
Get compact error tracking issue detailsPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_QUERY_ISSUE_CREATEFetch one error tracking issue with impact counts, top in_app frame, latest release, and optional sparkline.Connection1 scope
Fetch one error tracking issue with impact counts, top in_app frame, latest release, and optional sparkline.
Authentication
Connected account requiredScopes
error_tracking:readTags
List sampled exception events for an error tracking issuePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_QUERY_ISSUE_EVENTS_CREATEFetch sampled exception events, stack traces, browser/SDK context, URL, and $session_id values for one issue.Connection1 scope
Fetch sampled exception events, stack traces, browser/SDK context, URL, and $session_id values for one issue.
Authentication
Connected account requiredScopes
error_tracking:readTags
List compact error tracking issuesPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_QUERY_ISSUES_LIST_CREATEList error tracking issues with typed filters and compact aggregate counts.Connection1 scope
List error tracking issues with typed filters and compact aggregate counts.
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Error Tracking Recommendations Dismiss CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RECOMMENDATIONS_DISMISS_CREATEEnvironments Error Tracking Recommendations Dismiss CreateConnection1 scope
Environments Error Tracking Recommendations Dismiss Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Recommendations ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RECOMMENDATIONS_LISTEnvironments Error Tracking Recommendations ListConnection1 scope
Environments Error Tracking Recommendations List
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Error Tracking Recommendations Refresh CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RECOMMENDATIONS_REFRESH_CREATEEnvironments Error Tracking Recommendations Refresh CreateConnection1 scope
Environments Error Tracking Recommendations Refresh Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Recommendations Restore CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RECOMMENDATIONS_RESTORE_CREATEEnvironments Error Tracking Recommendations Restore CreateConnection1 scope
Environments Error Tracking Recommendations Restore Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Releases CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RELEASES_CREATEEnvironments Error Tracking Releases CreateConnection1 scope
Environments Error Tracking Releases Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Releases DestroyPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RELEASES_DESTROYEnvironments Error Tracking Releases DestroyConnection1 scope
Environments Error Tracking Releases Destroy
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Releases Hash RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RELEASES_HASH_RETRIEVEEnvironments Error Tracking Releases Hash RetrieveConnection1 scope
Environments Error Tracking Releases Hash Retrieve
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Error Tracking Releases ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RELEASES_LISTEnvironments Error Tracking Releases ListConnection1 scope
Environments Error Tracking Releases List
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Error Tracking Releases Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RELEASES_PARTIAL_UPDATEEnvironments Error Tracking Releases Partial UpdateConnection1 scope
Environments Error Tracking Releases Partial Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Releases RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RELEASES_RETRIEVEEnvironments Error Tracking Releases RetrieveConnection1 scope
Environments Error Tracking Releases Retrieve
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Error Tracking Releases UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RELEASES_UPDATEEnvironments Error Tracking Releases UpdateConnection1 scope
Environments Error Tracking Releases Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Settings Retrieve Settings RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SETTINGS_RETRIEVE_SETTINGS_RETRIEVEEnvironments Error Tracking Settings Retrieve Settings RetrieveConnection1 scope
Environments Error Tracking Settings Retrieve Settings Retrieve
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Error Tracking Settings Update Settings Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SETTINGS_UPDATE_SETTINGS_PARTIAL_UPDATEEnvironments Error Tracking Settings Update Settings Partial UpdateConnection1 scope
Environments Error Tracking Settings Update Settings Partial Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Spike Detection Config ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SPIKE_DETECTION_CONFIG_LISTEnvironments Error Tracking Spike Detection Config ListConnection1 scope
Environments Error Tracking Spike Detection Config List
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Error Tracking Spike Detection Config Update Config Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SPIKE_DETECTION_CONFIG_UPDATE_CONFIG_PARTIAL_UPDATEEnvironments Error Tracking Spike Detection Config Update Config Partial UpdateConnection
Environments Error Tracking Spike Detection Config Update Config Partial Update
Authentication
Connected account requiredTags
Environments Error Tracking Spike Events ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SPIKE_EVENTS_LISTEnvironments Error Tracking Spike Events ListConnection1 scope
Environments Error Tracking Spike Events List
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Error Tracking Stack Frames Batch Get CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_STACK_FRAMES_BATCH_GET_CREATEEnvironments Error Tracking Stack Frames Batch Get CreateConnection1 scope
Environments Error Tracking Stack Frames Batch Get Create
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Error Tracking Stack Frames DestroyPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_STACK_FRAMES_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredTags
Environments Error Tracking Stack Frames ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_STACK_FRAMES_LISTEnvironments Error Tracking Stack Frames ListConnection1 scope
Environments Error Tracking Stack Frames List
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Error Tracking Stack Frames RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_STACK_FRAMES_RETRIEVEEnvironments Error Tracking Stack Frames RetrieveConnection1 scope
Environments Error Tracking Stack Frames Retrieve
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Error Tracking Suppression Rules CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SUPPRESSION_RULES_CREATEEnvironments Error Tracking Suppression Rules CreateConnection1 scope
Environments Error Tracking Suppression Rules Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Suppression Rules DestroyPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SUPPRESSION_RULES_DESTROYEnvironments Error Tracking Suppression Rules DestroyConnection1 scope
Environments Error Tracking Suppression Rules Destroy
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Suppression Rules ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SUPPRESSION_RULES_LISTEnvironments Error Tracking Suppression Rules ListConnection1 scope
Environments Error Tracking Suppression Rules List
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Error Tracking Suppression Rules Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SUPPRESSION_RULES_PARTIAL_UPDATEEnvironments Error Tracking Suppression Rules Partial UpdateConnection1 scope
Environments Error Tracking Suppression Rules Partial Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Suppression Rules Reorder Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SUPPRESSION_RULES_REORDER_PARTIAL_UPDATEEnvironments Error Tracking Suppression Rules Reorder Partial UpdateConnection
Environments Error Tracking Suppression Rules Reorder Partial Update
Authentication
Connected account requiredTags
Environments Error Tracking Suppression Rules RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SUPPRESSION_RULES_RETRIEVEEnvironments Error Tracking Suppression Rules RetrieveConnection1 scope
Environments Error Tracking Suppression Rules Retrieve
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Error Tracking Suppression Rules UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SUPPRESSION_RULES_UPDATEEnvironments Error Tracking Suppression Rules UpdateConnection1 scope
Environments Error Tracking Suppression Rules Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Symbol Sets Bulk Delete CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SYMBOL_SETS_BULK_DELETE_CREATEEnvironments Error Tracking Symbol Sets Bulk Delete CreateConnection1 scope
Environments Error Tracking Symbol Sets Bulk Delete Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Symbol Sets Bulk Finish Upload CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SYMBOL_SETS_BULK_FINISH_UPLOAD_CREATEEnvironments Error Tracking Symbol Sets Bulk Finish Upload CreateConnection1 scope
Environments Error Tracking Symbol Sets Bulk Finish Upload Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Symbol Sets Bulk Start Upload CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SYMBOL_SETS_BULK_START_UPLOAD_CREATEEnvironments Error Tracking Symbol Sets Bulk Start Upload CreateConnection1 scope
Environments Error Tracking Symbol Sets Bulk Start Upload Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Symbol Sets DestroyPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SYMBOL_SETS_DESTROYEnvironments Error Tracking Symbol Sets DestroyConnection1 scope
Environments Error Tracking Symbol Sets Destroy
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Symbol Sets Download RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SYMBOL_SETS_DOWNLOAD_RETRIEVEReturn a presigned URL for downloading the symbol set's source map.Connection1 scope
Return a presigned URL for downloading the symbol set's source map.
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Error Tracking Symbol Sets Finish Upload UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SYMBOL_SETS_FINISH_UPLOAD_UPDATEEnvironments Error Tracking Symbol Sets Finish Upload UpdateConnection1 scope
Environments Error Tracking Symbol Sets Finish Upload Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Environments Error Tracking Symbol Sets ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SYMBOL_SETS_LISTEnvironments Error Tracking Symbol Sets ListConnection1 scope
Environments Error Tracking Symbol Sets List
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Error Tracking Symbol Sets RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SYMBOL_SETS_RETRIEVEEnvironments Error Tracking Symbol Sets RetrieveConnection1 scope
Environments Error Tracking Symbol Sets Retrieve
Authentication
Connected account requiredScopes
error_tracking:readTags
Environments Evaluation Context Suggestions CreatePOSTHOG_ENVIRONMENTS_EVALUATION_CONTEXT_SUGGESTIONS_CREATEHide an evaluation context name from the flag editor's suggestion list, or restore it. POST hides the name; DELETE restores it. The underlying context row and any flags already using it are never modified — this only controls what gets suggested.Connection
Hide an evaluation context name from the flag editor's suggestion list, or restore it. POST hides the name; DELETE restores it. The underlying context row and any flags already using it are never modified — this only controls what gets suggested.
Authentication
Connected account requiredTags
Environments Evaluation Context Suggestions DestroyPOSTHOG_ENVIRONMENTS_EVALUATION_CONTEXT_SUGGESTIONS_DESTROYHide an evaluation context name from the flag editor's suggestion list, or restore it. POST hides the name; DELETE restores it. The underlying context row and any flags already using it are never modified — this only controls what gets suggested.Connection
Hide an evaluation context name from the flag editor's suggestion list, or restore it. POST hides the name; DELETE restores it. The underlying context row and any flags already using it are never modified — this only controls what gets suggested.
Authentication
Connected account requiredTags
Environments Evaluation Runs CreatePOSTHOG_ENVIRONMENTS_EVALUATION_RUNS_CREATECreate a new evaluation run. This endpoint validates the request and enqueues a Temporal workflow to asynchronously execute the evaluation.Connection1 scope
Create a new evaluation run. This endpoint validates the request and enqueues a Temporal workflow to asynchronously execute the evaluation.
Authentication
Connected account requiredScopes
evaluation:writeTags
Environments Evaluations CreatePOSTHOG_ENVIRONMENTS_EVALUATIONS_CREATEEnvironments Evaluations CreateConnection1 scope
Environments Evaluations Create
Authentication
Connected account requiredScopes
evaluation:writeTags
Environments Evaluations DestroyPOSTHOG_ENVIRONMENTS_EVALUATIONS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
evaluation:writeTags
Environments Evaluations ListPOSTHOG_ENVIRONMENTS_EVALUATIONS_LISTEnvironments Evaluations ListConnection1 scope
Environments Evaluations List
Authentication
Connected account requiredScopes
evaluation:readTags
Environments Evaluations Partial UpdatePOSTHOG_ENVIRONMENTS_EVALUATIONS_PARTIAL_UPDATEEnvironments Evaluations Partial UpdateConnection1 scope
Environments Evaluations Partial Update
Authentication
Connected account requiredScopes
evaluation:writeTags
Environments Evaluations RetrievePOSTHOG_ENVIRONMENTS_EVALUATIONS_RETRIEVEEnvironments Evaluations RetrieveConnection1 scope
Environments Evaluations Retrieve
Authentication
Connected account requiredScopes
evaluation:readTags
Environments Evaluations Test Hog CreatePOSTHOG_ENVIRONMENTS_EVALUATIONS_TEST_HOG_CREATETest Hog evaluation code against sample events without saving.Connection1 scope
Test Hog evaluation code against sample events without saving.
Authentication
Connected account requiredScopes
evaluation:readTags
Environments Evaluations UpdatePOSTHOG_ENVIRONMENTS_EVALUATIONS_UPDATEEnvironments Evaluations UpdateConnection1 scope
Environments Evaluations Update
Authentication
Connected account requiredScopes
evaluation:writeTags
Environments Event Filter CreatePOSTHOG_ENVIRONMENTS_EVENT_FILTER_CREATECreate or update the event filter config.Connection1 scope
Create or update the event filter config.
Authentication
Connected account requiredScopes
event_filter:writeTags
Environments Event Filter Metrics RetrievePOSTHOG_ENVIRONMENTS_EVENT_FILTER_METRICS_RETRIEVESingle event filter per team. GET /event_filter/ — returns the config (or null if not yet created) POST /event_filter/ — creates or updates the config (upsert) GET /event_filter/metrics/ — time-series metrics GET /event_filter/metrics/totals/ — aggregate totalsConnection1 scope
Single event filter per team. GET /event_filter/ — returns the config (or null if not yet created) POST /event_filter/ — creates or updates the config (upsert) GET /event_filter/metrics/ — time-series metrics GET /event_filter/metrics/totals/ — aggregate totals
Authentication
Connected account requiredScopes
event_filter:readTags
Environments Event Filter Metrics Totals RetrievePOSTHOG_ENVIRONMENTS_EVENT_FILTER_METRICS_TOTALS_RETRIEVESingle event filter per team. GET /event_filter/ — returns the config (or null if not yet created) POST /event_filter/ — creates or updates the config (upsert) GET /event_filter/metrics/ — time-series metrics GET /event_filter/metrics/totals/ — aggregate totalsConnection1 scope
Single event filter per team. GET /event_filter/ — returns the config (or null if not yet created) POST /event_filter/ — creates or updates the config (upsert) GET /event_filter/metrics/ — time-series metrics GET /event_filter/metrics/totals/ — aggregate totals
Authentication
Connected account requiredScopes
event_filter:readTags
Environments Event Filter RetrievePOSTHOG_ENVIRONMENTS_EVENT_FILTER_RETRIEVEReturns the event filter config for the team, or null if not yet created.Connection1 scope
Returns the event filter config for the team, or null if not yet created.
Authentication
Connected account requiredScopes
event_filter:readTags
Environments Event Ingestion Restrictions RetrievePOSTHOG_ENVIRONMENTS_EVENT_INGESTION_RESTRICTIONS_RETRIEVEDeprecated: use /api/environments/{id}/ instead.Connection1 scope
Deprecated: use /api/environments/{id}/ instead.
Authentication
Connected account requiredScopes
project:readTags
Environments Events ListPOSTHOG_ENVIRONMENTS_EVENTS_LISTThis endpoint allows you to list and filter events. It is effectively deprecated and is kept only for backwards compatibility. If you ever ask about it you will be advised to not use it... If you want to ad-hoc list or aggregate events, use the Query endpoint instead. If you want to export all events or many pages of events you should use our CDP/Batch Exports products instead.Connection1 scope
This endpoint allows you to list and filter events. It is effectively deprecated and is kept only for backwards compatibility. If you ever ask about it you will be advised to not use it... If you want to ad-hoc list or aggregate events, use the Query endpoint instead. If you want to export all events or many pages of events you should use our CDP/Batch Exports products instead.
Authentication
Connected account requiredScopes
query:readTags
Environments Events RetrievePOSTHOG_ENVIRONMENTS_EVENTS_RETRIEVEEnvironments Events RetrieveConnection1 scope
Environments Events Retrieve
Authentication
Connected account requiredScopes
query:readTags
Environments Events Values RetrievePOSTHOG_ENVIRONMENTS_EVENTS_VALUES_RETRIEVEEnvironments Events Values RetrieveConnection1 scope
Environments Events Values Retrieve
Authentication
Connected account requiredScopes
query:readTags
Environments Experiments Config Partial UpdatePOSTHOG_ENVIRONMENTS_EXPERIMENTS_CONFIG_PARTIAL_UPDATEManage experiment configuration for this environment.Connection
Manage experiment configuration for this environment.
Authentication
Connected account requiredTags
Environments Experiments Config RetrievePOSTHOG_ENVIRONMENTS_EXPERIMENTS_CONFIG_RETRIEVEManage experiment configuration for this environment.Connection
Manage experiment configuration for this environment.
Authentication
Connected account requiredTags
Environments Exports Content RetrievePOSTHOG_ENVIRONMENTS_EXPORTS_CONTENT_RETRIEVEEnvironments Exports Content RetrieveConnection1 scope
Environments Exports Content Retrieve
Authentication
Connected account requiredScopes
export:readTags
Environments Exports CreatePOSTHOG_ENVIRONMENTS_EXPORTS_CREATEEnvironments Exports CreateConnection1 scope
Environments Exports Create
Authentication
Connected account requiredScopes
export:writeTags
Environments Exports ListPOSTHOG_ENVIRONMENTS_EXPORTS_LISTEnvironments Exports ListConnection1 scope
Environments Exports List
Authentication
Connected account requiredScopes
export:readTags
Environments Exports RetrievePOSTHOG_ENVIRONMENTS_EXPORTS_RETRIEVEEnvironments Exports RetrieveConnection1 scope
Environments Exports Retrieve
Authentication
Connected account requiredScopes
export:readTags
Environments External Data Schemas Cancel CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_CANCEL_CREATEEnvironments External Data Schemas Cancel CreateConnection1 scope
Environments External Data Schemas Cancel Create
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Schemas CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_CREATEEnvironments External Data Schemas CreateConnection1 scope
Environments External Data Schemas Create
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Schemas Delete Data DestroyPOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_DELETE_DATA_DESTROYEnvironments External Data Schemas Delete Data DestroyConnection1 scope
Environments External Data Schemas Delete Data Destroy
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Schemas DestroyPOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_DESTROYEnvironments External Data Schemas DestroyConnection1 scope
Environments External Data Schemas Destroy
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Schemas Incremental Fields CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_INCREMENTAL_FIELDS_CREATEEnvironments External Data Schemas Incremental Fields CreateConnection1 scope
Environments External Data Schemas Incremental Fields Create
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Schemas ListPOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_LISTEnvironments External Data Schemas ListConnection1 scope
Environments External Data Schemas List
Authentication
Connected account requiredScopes
external_data_source:readTags
Environments External Data Schemas Logs RetrievePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_LOGS_RETRIEVEEnvironments External Data Schemas Logs RetrieveConnection1 scope
Environments External Data Schemas Logs Retrieve
Authentication
Connected account requiredScopes
external_data_source:readTags
Environments External Data Schemas Partial UpdatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_PARTIAL_UPDATEEnvironments External Data Schemas Partial UpdateConnection1 scope
Environments External Data Schemas Partial Update
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Schemas Reload CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_RELOAD_CREATEEnvironments External Data Schemas Reload CreateConnection1 scope
Environments External Data Schemas Reload Create
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Schemas Resync CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_RESYNC_CREATEEnvironments External Data Schemas Resync CreateConnection1 scope
Environments External Data Schemas Resync Create
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Schemas RetrievePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_RETRIEVEEnvironments External Data Schemas RetrieveConnection1 scope
Environments External Data Schemas Retrieve
Authentication
Connected account requiredScopes
external_data_source:readTags
Environments External Data Schemas UpdatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_UPDATEEnvironments External Data Schemas UpdateConnection1 scope
Environments External Data Schemas Update
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Sources Bulk Update Schemas Partial UpdatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_BULK_UPDATE_SCHEMAS_PARTIAL_UPDATECreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
Environments External Data Sources Cdc Status RetrievePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_CDC_STATUS_RETRIEVELive CDC health for an existing source: slot/publication existence and WAL lag. Reads from the source DB via the engine adapter. Returns ``{"enabled": false}`` when CDC is off, or the stored config plus live ``slot_exists`` / ``publication_exists`` / ``lag_bytes`` when on. 400s if the source DB is unreachable so the UI can show a degraded/unreachable state.Connection1 scope
Live CDC health for an existing source: slot/publication existence and WAL lag. Reads from the source DB via the engine adapter. Returns ``{"enabled": false}`` when CDC is off, or the stored config plus live ``slot_exists`` / ``publication_exists`` / ``lag_bytes`` when on. 400s if the source DB is unreachable so the UI can show a degraded/unreachable state.
Authentication
Connected account requiredScopes
external_data_source:readTags
Environments External Data Sources Check Cdc Prerequisites CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_CHECK_CDC_PREREQUISITES_CREATEValidate CDC prerequisites against a live Postgres connection. Used by the source wizard to surface ✅/❌ checks before source creation, and by the self-managed setup popup to verify user-created publications.Connection1 scope
Validate CDC prerequisites against a live Postgres connection. Used by the source wizard to surface ✅/❌ checks before source creation, and by the self-managed setup popup to verify user-created publications.
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Sources Check Cdc Prerequisites For Source CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_CHECK_CDC_PREREQUISITES_FOR_SOURCE_CREATEValidate CDC prerequisites for an existing source using its stored credentials. The detail=False ``check_cdc_prerequisites`` action is for the creation wizard, where the client still holds the raw connection config (incl. password) in the form. On the Configuration page the source already exists and secret fields are stripped from API responses — so the client can't supply them. This reads the stored (encrypted) credentials from the DB via the adapter instead. Body params: ``cdc_management_mode`` (``"posthog"`` | ``"self_managed"``), ``cdc_slot_name`` (optional), ``cdc_publication_name`` (optional).Connection1 scope
Validate CDC prerequisites for an existing source using its stored credentials. The detail=False ``check_cdc_prerequisites`` action is for the creation wizard, where the client still holds the raw connection config (incl. password) in the form. On the Configuration page the source already exists and secret fields are stripped from API responses — so the client can't supply them. This reads the stored (encrypted) credentials from the DB via the adapter instead. Body params: ``cdc_management_mode`` (``"posthog"`` | ``"self_managed"``), ``cdc_slot_name`` (optional), ``cdc_publication_name`` (optional).
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Sources Connect Link RetrievePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_CONNECT_LINK_RETRIEVEReturn a secure browser link for connecting a data warehouse source. The link opens a minimal connect page rendering the source's full connection form — OAuth options included — with no table selection and no source creation. The user authenticates in their browser, secrets never pass through the agent, and the agent finishes setup afterwards by passing the stored credential id to data-warehouse-source-setup.Connection1 scope
Return a secure browser link for connecting a data warehouse source. The link opens a minimal connect page rendering the source's full connection form — OAuth options included — with no table selection and no source creation. The user authenticates in their browser, secrets never pass through the agent, and the agent finishes setup afterwards by passing the stored credential id to data-warehouse-source-setup.
Authentication
Connected account requiredScopes
external_data_source:readTags
Environments External Data Sources Connections ListPOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_CONNECTIONS_LISTCreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:readTags
Environments External Data Sources CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_CREATECreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Sources Create Webhook CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_CREATE_WEBHOOK_CREATECreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Sources Database Schema CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_DATABASE_SCHEMA_CREATECreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Sources Delete Webhook CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_DELETE_WEBHOOK_CREATECreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Sources DestroyPOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_DESTROYCreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Sources Disable Cdc CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_DISABLE_CDC_CREATEDisable CDC on an existing source. Cancels any running CDC extraction workflow, deletes the extraction schedule, delegates engine-side teardown to the source's adapter (drops slot/publication for Postgres; equivalent for other engines), clears ``cdc_*`` keys from ``job_inputs``, soft-deletes companion CDC tables, and sets all CDC schemas to ``sync_type=None``, ``should_sync=False`` so the user must pick a new sync strategy before they resume.Connection1 scope
Disable CDC on an existing source. Cancels any running CDC extraction workflow, deletes the extraction schedule, delegates engine-side teardown to the source's adapter (drops slot/publication for Postgres; equivalent for other engines), clears ``cdc_*`` keys from ``job_inputs``, soft-deletes companion CDC tables, and sets all CDC schemas to ``sync_type=None``, ``should_sync=False`` so the user must pick a new sync strategy before they resume.
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Sources Draft Custom Manifest CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_DRAFT_CUSTOM_MANIFEST_CREATEDraft a Custom REST source manifest from API documentation using an LLM. Reads the docs (a URL fetched server-side, or pasted text / OpenAPI spec), asks the model to author a RESTAPIConfig manifest, and validates it against the create-path checks — repairing against validation errors up to a small budget. Returns the manifest for the user to review and tweak in the builder before creating the source; it does NOT create anything. Gated by the `dwh-custom-source-ai-builder` flag, and requires the org to have approved AI data processing, since the docs are sent to the LLM gateway.Connection1 scope
Draft a Custom REST source manifest from API documentation using an LLM. Reads the docs (a URL fetched server-side, or pasted text / OpenAPI spec), asks the model to author a RESTAPIConfig manifest, and validates it against the create-path checks — repairing against validation errors up to a small budget. Returns the manifest for the user to review and tweak in the builder before creating the source; it does NOT create anything. Gated by the `dwh-custom-source-ai-builder` flag, and requires the org to have approved AI data processing, since the docs are sent to the LLM gateway.
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Sources Enable Cdc CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_ENABLE_CDC_CREATEEnable CDC on an existing source. Provisions engine-side CDC resources via the source's adapter, writes the CDC config into ``source.job_inputs``, and ensures the CDC extraction schedule exists. Re-runs prereq checks server-side so we never trust a stale client-side check. Body params: ``cdc_management_mode`` (``"posthog"`` | ``"self_managed"``), plus engine-specific identifier hints (e.g. ``cdc_slot_name``, ``cdc_publication_name`` for Postgres). Universal tuning fields: ``cdc_auto_drop_slot`` (optional bool), ``cdc_lag_warning_threshold_mb`` (optional int), ``cdc_lag_critical_threshold_mb`` (optional int).Connection1 scope
Enable CDC on an existing source. Provisions engine-side CDC resources via the source's adapter, writes the CDC config into ``source.job_inputs``, and ensures the CDC extraction schedule exists. Re-runs prereq checks server-side so we never trust a stale client-side check. Body params: ``cdc_management_mode`` (``"posthog"`` | ``"self_managed"``), plus engine-specific identifier hints (e.g. ``cdc_slot_name``, ``cdc_publication_name`` for Postgres). Universal tuning fields: ``cdc_auto_drop_slot`` (optional bool), ``cdc_lag_warning_threshold_mb`` (optional int), ``cdc_lag_critical_threshold_mb`` (optional int).
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Sources Jobs RetrievePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_JOBS_RETRIEVECreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:readTags
Environments External Data Sources ListPOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_LISTCreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:readTags
Environments External Data Sources Partial UpdatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_PARTIAL_UPDATECreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Sources Preview Resource CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_PREVIEW_RESOURCE_CREATERead a bounded sample of rows for one resource of a Custom REST source. Lets a manifest author verify `data_selector`, `primary_key`, and the incremental `cursor_path` against live data before creating the source. Only `source_type: "Custom"` is supported — other source types return 400. The read is bounded (single page per resource, capped row count, short timeouts, no redirects). Manifest, validation, and SSRF problems return 400; a live fetch failure returns 200 with `error` set and empty `rows`.Connection1 scope
Read a bounded sample of rows for one resource of a Custom REST source. Lets a manifest author verify `data_selector`, `primary_key`, and the incremental `cursor_path` against live data before creating the source. Only `source_type: "Custom"` is supported — other source types return 400. The read is bounded (single page per resource, capped row count, short timeouts, no redirects). Manifest, validation, and SSRF problems return 400; a live fetch failure returns 200 with `error` set and empty `rows`.
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Sources Refresh Schemas CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_REFRESH_SCHEMAS_CREATEFetch current schema/table list from the source and create any new ExternalDataSchema rows (no data sync).Connection1 scope
Fetch current schema/table list from the source and create any new ExternalDataSchema rows (no data sync).
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Sources Reload CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_RELOAD_CREATECreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Sources Repair Cdc CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_REPAIR_CDC_CREATERepair CDC on a source whose replication resources were lost. Only proceeds on evidence of breakage (a persisted broken marker, or a live probe showing the slot/publication missing) — repairing a healthy source would drop its slot and force a full re-sync. Cancels running CDC jobs, recreates the engine-side slot/publication against the stored CDC config, resets every active CDC schema to snapshot mode for a full re-sync (changes since the old slot died are unrecoverable), clears the broken markers, and resumes the paused schedules. Idempotent: safe to retry after a partial failure. Concurrent repairs of the same source are rejected with a 409.Connection1 scope
Repair CDC on a source whose replication resources were lost. Only proceeds on evidence of breakage (a persisted broken marker, or a live probe showing the slot/publication missing) — repairing a healthy source would drop its slot and force a full re-sync. Cancels running CDC jobs, recreates the engine-side slot/publication against the stored CDC config, resets every active CDC schema to snapshot mode for a full re-sync (changes since the old slot died are unrecoverable), clears the broken markers, and resumes the paused schedules. Idempotent: safe to retry after a partial failure. Concurrent repairs of the same source are rejected with a 409.
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Sources RetrievePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_RETRIEVECreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:readTags
Environments External Data Sources Revenue Analytics Config Partial UpdatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_REVENUE_ANALYTICS_CONFIG_PARTIAL_UPDATEUpdate the revenue analytics configuration and return the full external data source.Connection1 scope
Update the revenue analytics configuration and return the full external data source.
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Sources Setup CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_SETUP_CREATEOne-shot data warehouse source setup. Validate credentials, discover available tables, enable them all with sensible sync defaults (incremental where supported, else append, else full refresh), and create the source in a single call — the caller never has to assemble a `schemas` array. For sources that support webhooks (e.g. Stripe), a webhook is auto-registered after creation: on success webhook-capable tables switch to real-time webhook sync (unlocking webhook-only tables); on failure the polling defaults stay in place. For fine-grained table/sync control, use the lower-level `database_schema` + `create` flow instead.Connection1 scope
One-shot data warehouse source setup. Validate credentials, discover available tables, enable them all with sensible sync defaults (incremental where supported, else append, else full refresh), and create the source in a single call — the caller never has to assemble a `schemas` array. For sources that support webhooks (e.g. Stripe), a webhook is auto-registered after creation: on success webhook-capable tables switch to real-time webhook sync (unlocking webhook-only tables); on failure the polling defaults stay in place. For fine-grained table/sync control, use the lower-level `database_schema` + `create` flow instead.
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Sources Source Prefix CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_SOURCE_PREFIX_CREATECreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Sources Store Credentials CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_STORE_CREDENTIALS_CREATEValidate and store credentials for a data warehouse source without creating the source. Backs the source connect page: the user enters credentials directly in PostHog, they are checked against a live connection, then stashed encrypted in a temporary store. The returned credential id can be passed to `setup` as {'credential_id': <id>} to create the source — so secrets never travel through an agent conversation. The stash is single-use: it is deleted as soon as `setup` consumes it, and expires after 24 hours if never consumed.Connection1 scope
Validate and store credentials for a data warehouse source without creating the source. Backs the source connect page: the user enters credentials directly in PostHog, they are checked against a live connection, then stashed encrypted in a temporary store. The returned credential id can be passed to `setup` as {'credential_id': <id>} to create the source — so secrets never travel through an agent conversation. The stash is single-use: it is deleted as soon as `setup` consumes it, and expires after 24 hours if never consumed.
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Sources Stored Credentials ListPOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_STORED_CREDENTIALS_LISTList credentials stored via the source connect page that haven't been consumed yet. Returns metadata only (id, source type, timestamps) — never the secrets themselves. Stored credentials are temporary: they disappear once consumed by `setup` or when they expire. Newest first, so after a user confirms they've finished the connect page, the first entry for the source type is the one to pass to `setup`.Connection1 scope
List credentials stored via the source connect page that haven't been consumed yet. Returns metadata only (id, source type, timestamps) — never the secrets themselves. Stored credentials are temporary: they disappear once consumed by `setup` or when they expire. Newest first, so after a user confirms they've finished the connect page, the first entry for the source type is the one to pass to `setup`.
Authentication
Connected account requiredScopes
external_data_source:readTags
Environments External Data Sources UpdatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_UPDATECreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Sources Update Cdc Settings CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_UPDATE_CDC_SETTINGS_CREATEUpdate CDC tuning fields without enabling/disabling. Lets users edit ``cdc_auto_drop_slot``, ``cdc_lag_warning_threshold_mb``, and ``cdc_lag_critical_threshold_mb`` independently. These fields are universal across engines. Engine-specific identifiers (slot name, management mode, …) are immutable post-enable — switching them requires disable + enable.Connection1 scope
Update CDC tuning fields without enabling/disabling. Lets users edit ``cdc_auto_drop_slot``, ``cdc_lag_warning_threshold_mb``, and ``cdc_lag_critical_threshold_mb`` independently. These fields are universal across engines. Engine-specific identifiers (slot name, management mode, …) are immutable post-enable — switching them requires disable + enable.
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Sources Update Webhook Inputs CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_UPDATE_WEBHOOK_INPUTS_CREATECreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:writeTags
Environments External Data Sources Webhook Info RetrievePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_WEBHOOK_INFO_RETRIEVECreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:readTags
Environments External Data Sources Wizard RetrievePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_WIZARD_RETRIEVECreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:readTags
Environments File Download Batch Exports Cancel CreatePOSTHOG_ENVIRONMENTS_FILE_DOWNLOAD_BATCH_EXPORTS_CANCEL_CREATECancel an ongoing file-download batch export.Connection1 scope
Cancel an ongoing file-download batch export.
Authentication
Connected account requiredScopes
batch_export:writeTags
Environments File Download Batch Exports CreatePOSTHOG_ENVIRONMENTS_FILE_DOWNLOAD_BATCH_EXPORTS_CREATECreate and start a batch export on demand run to download a file.Connection1 scope
Create and start a batch export on demand run to download a file.
Authentication
Connected account requiredScopes
batch_export:writeTags
Environments File Download Batch Exports Download RetrievePOSTHOG_ENVIRONMENTS_FILE_DOWNLOAD_BATCH_EXPORTS_DOWNLOAD_RETRIEVEDownload a file (or a part) from this batch export run. Users can provide a part component with an id or index, or no part component at all: * If part id is included: The file download matching the id is downloaded. * If part index is included: The file download matching the index (as ordered by key) is downloaded. * If no part component is present: If there is only one file downloaded, that is downloaded. Otherwise the first one as sorted by key is downloaded.Connection1 scope
Download a file (or a part) from this batch export run. Users can provide a part component with an id or index, or no part component at all: * If part id is included: The file download matching the id is downloaded. * If part index is included: The file download matching the index (as ordered by key) is downloaded. * If no part component is present: If there is only one file downloaded, that is downloaded. Otherwise the first one as sorted by key is downloaded.
Authentication
Connected account requiredScopes
batch_export:readTags
Environments File Download Batch Exports ListPOSTHOG_ENVIRONMENTS_FILE_DOWNLOAD_BATCH_EXPORTS_LISTEnvironments File Download Batch Exports ListConnection1 scope
Environments File Download Batch Exports List
Authentication
Connected account requiredScopes
batch_export:readTags
Environments File Download Batch Exports Logs RetrievePOSTHOG_ENVIRONMENTS_FILE_DOWNLOAD_BATCH_EXPORTS_LOGS_RETRIEVEEnvironments File Download Batch Exports Logs RetrieveConnection
Environments File Download Batch Exports Logs Retrieve
Authentication
Connected account requiredTags
Environments File Download Batch Exports RetrievePOSTHOG_ENVIRONMENTS_FILE_DOWNLOAD_BATCH_EXPORTS_RETRIEVEGet a batch export on demand run. If the underlying batch export run has completed, we return keys to the generated file downloads so that users may download them by making a request to /download.Connection1 scope
Get a batch export on demand run. If the underlying batch export run has completed, we return keys to the generated file downloads so that users may download them by making a request to /download.
Authentication
Connected account requiredScopes
batch_export:readTags
Environments File System Count By Path CreatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_COUNT_BY_PATH_CREATEGet count of all files in a folder.Connection1 scope
Get count of all files in a folder.
Authentication
Connected account requiredScopes
file_system:readTags
Environments File System Count CreatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_COUNT_CREATEGet count of all files in a folder.Connection1 scope
Get count of all files in a folder.
Authentication
Connected account requiredScopes
file_system:readTags
Environments File System CreatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_CREATEEnvironments File System CreateConnection1 scope
Environments File System Create
Authentication
Connected account requiredScopes
file_system:writeTags
Environments File System DestroyPOSTHOG_ENVIRONMENTS_FILE_SYSTEM_DESTROYEnvironments File System DestroyConnection1 scope
Environments File System Destroy
Authentication
Connected account requiredScopes
file_system:writeTags
Environments File System Link CreatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_LINK_CREATEEnvironments File System Link CreateConnection1 scope
Environments File System Link Create
Authentication
Connected account requiredScopes
file_system:writeTags
Environments File System ListPOSTHOG_ENVIRONMENTS_FILE_SYSTEM_LISTEnvironments File System ListConnection1 scope
Environments File System List
Authentication
Connected account requiredScopes
file_system:readTags
Environments File System Log View CreatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_LOG_VIEW_CREATEEnvironments File System Log View CreateConnection1 scope
Environments File System Log View Create
Authentication
Connected account requiredScopes
file_system:writeTags
Environments File System Log View RetrievePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_LOG_VIEW_RETRIEVEEnvironments File System Log View RetrieveConnection1 scope
Environments File System Log View Retrieve
Authentication
Connected account requiredScopes
file_system:writeTags
Environments File System Move CreatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_MOVE_CREATEEnvironments File System Move CreateConnection1 scope
Environments File System Move Create
Authentication
Connected account requiredScopes
file_system:writeTags
Environments File System Partial UpdatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_PARTIAL_UPDATEEnvironments File System Partial UpdateConnection1 scope
Environments File System Partial Update
Authentication
Connected account requiredScopes
file_system:writeTags
Environments File System RetrievePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_RETRIEVEEnvironments File System RetrieveConnection1 scope
Environments File System Retrieve
Authentication
Connected account requiredScopes
file_system:readTags
Environments File System Shortcut CreatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_SHORTCUT_CREATEEnvironments File System Shortcut CreateConnection1 scope
Environments File System Shortcut Create
Authentication
Connected account requiredScopes
file_system_shortcut:writeTags
Environments File System Shortcut DestroyPOSTHOG_ENVIRONMENTS_FILE_SYSTEM_SHORTCUT_DESTROYEnvironments File System Shortcut DestroyConnection1 scope
Environments File System Shortcut Destroy
Authentication
Connected account requiredScopes
file_system_shortcut:writeTags
Environments File System Shortcut ListPOSTHOG_ENVIRONMENTS_FILE_SYSTEM_SHORTCUT_LISTEnvironments File System Shortcut ListConnection1 scope
Environments File System Shortcut List
Authentication
Connected account requiredScopes
file_system_shortcut:readTags
Environments File System Shortcut Partial UpdatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_SHORTCUT_PARTIAL_UPDATEEnvironments File System Shortcut Partial UpdateConnection1 scope
Environments File System Shortcut Partial Update
Authentication
Connected account requiredScopes
file_system_shortcut:writeTags
Environments File System Shortcut Reorder CreatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_SHORTCUT_REORDER_CREATESet the display order of the current user's shortcuts. `ordered_ids` becomes the new top-to-bottom order; any unknown IDs are rejected.Connection
Set the display order of the current user's shortcuts. `ordered_ids` becomes the new top-to-bottom order; any unknown IDs are rejected.
Authentication
Connected account requiredTags
Environments File System Shortcut RetrievePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_SHORTCUT_RETRIEVEEnvironments File System Shortcut RetrieveConnection1 scope
Environments File System Shortcut Retrieve
Authentication
Connected account requiredScopes
file_system_shortcut:readTags
Environments File System Shortcut UpdatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_SHORTCUT_UPDATEEnvironments File System Shortcut UpdateConnection1 scope
Environments File System Shortcut Update
Authentication
Connected account requiredScopes
file_system_shortcut:writeTags
Environments File System Undo Delete CreatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_UNDO_DELETE_CREATEEnvironments File System Undo Delete CreateConnection1 scope
Environments File System Undo Delete Create
Authentication
Connected account requiredScopes
file_system:writeTags
Environments File System Unfiled RetrievePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_UNFILED_RETRIEVEEnvironments File System Unfiled RetrieveConnection1 scope
Environments File System Unfiled Retrieve
Authentication
Connected account requiredScopes
file_system:readTags
Environments File System UpdatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_UPDATEEnvironments File System UpdateConnection1 scope
Environments File System Update
Authentication
Connected account requiredScopes
file_system:writeTags
Environments Generate Conversations Public Token CreatePOSTHOG_ENVIRONMENTS_GENERATE_CONVERSATIONS_PUBLIC_TOKEN_CREATEDeprecated: use /api/environments/{id}/ instead.Connection
Deprecated: use /api/environments/{id}/ instead.
Authentication
Connected account requiredTags
Environments Groups Activity RetrievePOSTHOG_ENVIRONMENTS_GROUPS_ACTIVITY_RETRIEVEEnvironments Groups Activity RetrieveConnection1 scope
Environments Groups Activity Retrieve
Authentication
Connected account requiredScopes
activity_log:readTags
Environments Groups CreatePOSTHOG_ENVIRONMENTS_GROUPS_CREATEEnvironments Groups CreateConnection1 scope
Environments Groups Create
Authentication
Connected account requiredScopes
group:writeTags
Environments Groups Delete Property CreatePOSTHOG_ENVIRONMENTS_GROUPS_DELETE_PROPERTY_CREATEEnvironments Groups Delete Property CreateConnection1 scope
Environments Groups Delete Property Create
Authentication
Connected account requiredScopes
group:writeTags
Environments Groups Find RetrievePOSTHOG_ENVIRONMENTS_GROUPS_FIND_RETRIEVEEnvironments Groups Find RetrieveConnection1 scope
Environments Groups Find Retrieve
Authentication
Connected account requiredScopes
group:readTags
Environments Groups ListPOSTHOG_ENVIRONMENTS_GROUPS_LISTList all groups of a specific group type. You must pass ?group_type_index= in the URL. To get a list of valid group types, call /api/:project_id/groups_types/. Uses forward-only keyset pagination via the `cursor` parameter. The `previous` field in the response envelope is always null.Connection1 scope
List all groups of a specific group type. You must pass ?group_type_index= in the URL. To get a list of valid group types, call /api/:project_id/groups_types/. Uses forward-only keyset pagination via the `cursor` parameter. The `previous` field in the response envelope is always null.
Authentication
Connected account requiredScopes
group:readTags
Environments Groups Property Values RetrievePOSTHOG_ENVIRONMENTS_GROUPS_PROPERTY_VALUES_RETRIEVEEnvironments Groups Property Values RetrieveConnection1 scope
Environments Groups Property Values Retrieve
Authentication
Connected account requiredScopes
group:readTags
Environments Groups Related RetrievePOSTHOG_ENVIRONMENTS_GROUPS_RELATED_RETRIEVEEnvironments Groups Related RetrieveConnection1 scope
Environments Groups Related Retrieve
Authentication
Connected account requiredScopes
group:readTags
Environments Groups Update Property CreatePOSTHOG_ENVIRONMENTS_GROUPS_UPDATE_PROPERTY_CREATEEnvironments Groups Update Property CreateConnection1 scope
Environments Groups Update Property Create
Authentication
Connected account requiredScopes
group:writeTags
List health issuesPOSTHOG_ENVIRONMENTS_HEALTH_ISSUES_LISTLists health issues detected across all of this project's PostHog health checks (outdated SDKs, data warehouse sync failures, missing web analytics events, ingestion warnings, and more). Filter by status, severity, kind, or dismissed state.Connection1 scope
Lists health issues detected across all of this project's PostHog health checks (outdated SDKs, data warehouse sync failures, missing web analytics events, ingestion warnings, and more). Filter by status, severity, kind, or dismissed state.
Authentication
Connected account requiredScopes
health_issue:readTags
Environments Health Issues Partial UpdatePOSTHOG_ENVIRONMENTS_HEALTH_ISSUES_PARTIAL_UPDATEEnvironments Health Issues Partial UpdateConnection1 scope
Environments Health Issues Partial Update
Authentication
Connected account requiredScopes
health_issue:writeTags
Environments Health Issues Refresh CreatePOSTHOG_ENVIRONMENTS_HEALTH_ISSUES_REFRESH_CREATEEnvironments Health Issues Refresh CreateConnection1 scope
Environments Health Issues Refresh Create
Authentication
Connected account requiredScopes
health_issue:writeTags
Environments Health Issues Resolve CreatePOSTHOG_ENVIRONMENTS_HEALTH_ISSUES_RESOLVE_CREATEEnvironments Health Issues Resolve CreateConnection
Environments Health Issues Resolve Create
Authentication
Connected account requiredTags
Get a health issuePOSTHOG_ENVIRONMENTS_HEALTH_ISSUES_RETRIEVEFetches a single health issue, enriched with the owning check's rendered explanation: a title, a one-line summary of what's wrong, a deep link to the relevant page, and remediation guidance for how to fix it.Connection1 scope
Fetches a single health issue, enriched with the owning check's rendered explanation: a title, a one-line summary of what's wrong, a deep link to the relevant page, and remediation guidance for how to fix it.
Authentication
Connected account requiredScopes
health_issue:readTags
Summarize active health issuesPOSTHOG_ENVIRONMENTS_HEALTH_ISSUES_SUMMARY_RETRIEVEReturns aggregated counts of active, non-dismissed health issues for the project, broken down by severity and by kind. Use for a quick overview of overall project health before drilling in with the list endpoint.Connection1 scope
Returns aggregated counts of active, non-dismissed health issues for the project, broken down by severity and by kind. Use for a quick overview of overall project health before drilling in with the list endpoint.
Authentication
Connected account requiredScopes
health_issue:readTags
Environments Heatmap Screenshots Content RetrievePOSTHOG_ENVIRONMENTS_HEATMAP_SCREENSHOTS_CONTENT_RETRIEVEFetch the rendered screenshot image (JPEG bytes) for a saved heatmap at a given viewport width. Returns 202 with the saved-heatmap metadata while the screenshot is still being generated.Connection1 scope
Fetch the rendered screenshot image (JPEG bytes) for a saved heatmap at a given viewport width. Returns 202 with the saved-heatmap metadata while the screenshot is still being generated.
Authentication
Connected account requiredScopes
heatmap:readTags
Environments Heatmaps Events RetrievePOSTHOG_ENVIRONMENTS_HEATMAPS_EVENTS_RETRIEVEDrill into the individual session interactions behind one or more heatmap coordinates. Pass the 'points' you want to inspect (from the heatmaps list response) to get the underlying per-session events, so you can jump to the session recordings that produced a hotspot.Connection1 scope
Drill into the individual session interactions behind one or more heatmap coordinates. Pass the 'points' you want to inspect (from the heatmaps list response) to get the underlying per-session events, so you can jump to the session recordings that produced a hotspot.
Authentication
Connected account requiredScopes
heatmap:readTags
Environments Heatmaps ListPOSTHOG_ENVIRONMENTS_HEATMAPS_LISTAggregated heatmap interactions for a page. For type 'click'/'rageclick'/'mousemove' each result is a point with relative x, absolute client-y, and a count. For type 'scrolldepth' the response is scroll-depth buckets instead (cumulative reach down the page).Connection1 scope
Aggregated heatmap interactions for a page. For type 'click'/'rageclick'/'mousemove' each result is a point with relative x, absolute client-y, and a count. For type 'scrolldepth' the response is scroll-depth buckets instead (cumulative reach down the page).
Authentication
Connected account requiredScopes
heatmap:readTags
Environments Hog Flows Asset Content RetrievePOSTHOG_ENVIRONMENTS_HOG_FLOWS_ASSET_CONTENT_RETRIEVEEnvironments Hog Flows Asset Content RetrieveConnection2 scopes
Environments Hog Flows Asset Content Retrieve
Authentication
Connected account requiredScopes
hog_flow:readperson:readTags
Environments Hog Flows Assets RetrievePOSTHOG_ENVIRONMENTS_HOG_FLOWS_ASSETS_RETRIEVEEnvironments Hog Flows Assets RetrieveConnection2 scopes
Environments Hog Flows Assets Retrieve
Authentication
Connected account requiredScopes
hog_flow:readperson:readTags
Environments Hog Flows Batch Jobs CreatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_BATCH_JOBS_CREATEEnvironments Hog Flows Batch Jobs CreateConnection1 scope
Environments Hog Flows Batch Jobs Create
Authentication
Connected account requiredScopes
hog_flow:writeTags
Environments Hog Flows Batch Jobs ListPOSTHOG_ENVIRONMENTS_HOG_FLOWS_BATCH_JOBS_LISTEnvironments Hog Flows Batch Jobs ListConnection1 scope
Environments Hog Flows Batch Jobs List
Authentication
Connected account requiredScopes
hog_flow:readTags
Environments Hog Flows Bulk Delete CreatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_BULK_DELETE_CREATEEnvironments Hog Flows Bulk Delete CreateConnection1 scope
Environments Hog Flows Bulk Delete Create
Authentication
Connected account requiredScopes
hog_flow:writeTags
Environments Hog Flows CreatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_CREATEEnvironments Hog Flows CreateConnection1 scope
Environments Hog Flows Create
Authentication
Connected account requiredScopes
hog_flow:writeTags
Environments Hog Flows DestroyPOSTHOG_ENVIRONMENTS_HOG_FLOWS_DESTROYEnvironments Hog Flows DestroyConnection1 scope
Environments Hog Flows Destroy
Authentication
Connected account requiredScopes
hog_flow:writeTags
Environments Hog Flows Graph Partial UpdatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_GRAPH_PARTIAL_UPDATEEnvironments Hog Flows Graph Partial UpdateConnection1 scope
Environments Hog Flows Graph Partial Update
Authentication
Connected account requiredScopes
hog_flow:writeTags
Environments Hog Flows Invocation Result RetrievePOSTHOG_ENVIRONMENTS_HOG_FLOWS_INVOCATION_RESULT_RETRIEVEEnvironments Hog Flows Invocation Result RetrieveConnection2 scopes
Environments Hog Flows Invocation Result Retrieve
Authentication
Connected account requiredScopes
hog_flow:readperson:readTags
Environments Hog Flows Invocation Results RetrievePOSTHOG_ENVIRONMENTS_HOG_FLOWS_INVOCATION_RESULTS_RETRIEVEEnvironments Hog Flows Invocation Results RetrieveConnection2 scopes
Environments Hog Flows Invocation Results Retrieve
Authentication
Connected account requiredScopes
hog_flow:readperson:readTags
Environments Hog Flows Invocations CreatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_INVOCATIONS_CREATEEnvironments Hog Flows Invocations CreateConnection2 scopes
Environments Hog Flows Invocations Create
Authentication
Connected account requiredScopes
hog_flow:writegroup:readTags
Environments Hog Flows ListPOSTHOG_ENVIRONMENTS_HOG_FLOWS_LISTEnvironments Hog Flows ListConnection1 scope
Environments Hog Flows List
Authentication
Connected account requiredScopes
hog_flow:readTags
Environments Hog Flows Logs RetrievePOSTHOG_ENVIRONMENTS_HOG_FLOWS_LOGS_RETRIEVEEnvironments Hog Flows Logs RetrieveConnection1 scope
Environments Hog Flows Logs Retrieve
Authentication
Connected account requiredScopes
hog_flow:readTags
Environments Hog Flows Metrics Global RetrievePOSTHOG_ENVIRONMENTS_HOG_FLOWS_METRICS_GLOBAL_RETRIEVEEnvironments Hog Flows Metrics Global RetrieveConnection1 scope
Environments Hog Flows Metrics Global Retrieve
Authentication
Connected account requiredScopes
hog_flow:readTags
Environments Hog Flows Metrics RetrievePOSTHOG_ENVIRONMENTS_HOG_FLOWS_METRICS_RETRIEVEEnvironments Hog Flows Metrics RetrieveConnection1 scope
Environments Hog Flows Metrics Retrieve
Authentication
Connected account requiredScopes
hog_flow:readTags
Environments Hog Flows Metrics Totals RetrievePOSTHOG_ENVIRONMENTS_HOG_FLOWS_METRICS_TOTALS_RETRIEVEEnvironments Hog Flows Metrics Totals RetrieveConnection1 scope
Environments Hog Flows Metrics Totals Retrieve
Authentication
Connected account requiredScopes
hog_flow:readTags
Environments Hog Flows Partial UpdatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_PARTIAL_UPDATEEnvironments Hog Flows Partial UpdateConnection1 scope
Environments Hog Flows Partial Update
Authentication
Connected account requiredScopes
hog_flow:writeTags
Environments Hog Flows Rerun CreatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_RERUN_CREATERerun past invocations of this hog flow from their stored payloads. Same shape and semantics as the hog function rerun endpoint — proxies through to the CDP worker, which reads matching rows from ClickHouse, rehydrates from `invocation_globals`, and re-enqueues onto cyclotron with `is_retry=1`. Because rerun replays historical event/person/group data, it requires `person:read` and `group:read` on top of `hog_flow:write`.Connection3 scopes
Rerun past invocations of this hog flow from their stored payloads. Same shape and semantics as the hog function rerun endpoint — proxies through to the CDP worker, which reads matching rows from ClickHouse, rehydrates from `invocation_globals`, and re-enqueues onto cyclotron with `is_retry=1`. Because rerun replays historical event/person/group data, it requires `person:read` and `group:read` on top of `hog_flow:write`.
Authentication
Connected account requiredScopes
hog_flow:writeperson:readgroup:readTags
Environments Hog Flows RetrievePOSTHOG_ENVIRONMENTS_HOG_FLOWS_RETRIEVEEnvironments Hog Flows RetrieveConnection1 scope
Environments Hog Flows Retrieve
Authentication
Connected account requiredScopes
hog_flow:readTags
Environments Hog Flows Schedules CreatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_SCHEDULES_CREATEEnvironments Hog Flows Schedules CreateConnection1 scope
Environments Hog Flows Schedules Create
Authentication
Connected account requiredScopes
hog_flow:writeTags
Environments Hog Flows Schedules DestroyPOSTHOG_ENVIRONMENTS_HOG_FLOWS_SCHEDULES_DESTROYEnvironments Hog Flows Schedules DestroyConnection1 scope
Environments Hog Flows Schedules Destroy
Authentication
Connected account requiredScopes
hog_flow:writeTags
Environments Hog Flows Schedules ListPOSTHOG_ENVIRONMENTS_HOG_FLOWS_SCHEDULES_LISTEnvironments Hog Flows Schedules ListConnection1 scope
Environments Hog Flows Schedules List
Authentication
Connected account requiredScopes
hog_flow:readTags
Environments Hog Flows Schedules Partial UpdatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_SCHEDULES_PARTIAL_UPDATEEnvironments Hog Flows Schedules Partial UpdateConnection1 scope
Environments Hog Flows Schedules Partial Update
Authentication
Connected account requiredScopes
hog_flow:writeTags
Environments Hog Flows UpdatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_UPDATEEnvironments Hog Flows UpdateConnection1 scope
Environments Hog Flows Update
Authentication
Connected account requiredScopes
hog_flow:writeTags
Environments Hog Flows User Blast Radius CreatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_USER_BLAST_RADIUS_CREATEEnvironments Hog Flows User Blast Radius CreateConnection2 scopes
Environments Hog Flows User Blast Radius Create
Authentication
Connected account requiredScopes
hog_flow:readperson:readTags
Environments Hog Functions CreatePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_CREATEEnvironments Hog Functions CreateConnection1 scope
Environments Hog Functions Create
Authentication
Connected account requiredScopes
hog_function:writeTags
Environments Hog Functions DestroyPOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredTags
Environments Hog Functions Enable Backfills CreatePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_ENABLE_BACKFILLS_CREATEEnvironments Hog Functions Enable Backfills CreateConnection
Environments Hog Functions Enable Backfills Create
Authentication
Connected account requiredTags
Environments Hog Functions Icon RetrievePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_ICON_RETRIEVEEnvironments Hog Functions Icon RetrieveConnection
Environments Hog Functions Icon Retrieve
Authentication
Connected account requiredTags
Environments Hog Functions Icons RetrievePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_ICONS_RETRIEVEEnvironments Hog Functions Icons RetrieveConnection
Environments Hog Functions Icons Retrieve
Authentication
Connected account requiredTags
Environments Hog Functions Invocations CreatePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_INVOCATIONS_CREATEEnvironments Hog Functions Invocations CreateConnection1 scope
Environments Hog Functions Invocations Create
Authentication
Connected account requiredScopes
hog_function:writeTags
Environments Hog Functions ListPOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_LISTEnvironments Hog Functions ListConnection1 scope
Environments Hog Functions List
Authentication
Connected account requiredScopes
hog_function:readTags
Environments Hog Functions Logs RetrievePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_LOGS_RETRIEVEEnvironments Hog Functions Logs RetrieveConnection1 scope
Environments Hog Functions Logs Retrieve
Authentication
Connected account requiredScopes
hog_function:readTags
Environments Hog Functions Metrics RetrievePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_METRICS_RETRIEVEEnvironments Hog Functions Metrics RetrieveConnection1 scope
Environments Hog Functions Metrics Retrieve
Authentication
Connected account requiredScopes
hog_function:readTags
Environments Hog Functions Metrics Totals RetrievePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_METRICS_TOTALS_RETRIEVEEnvironments Hog Functions Metrics Totals RetrieveConnection1 scope
Environments Hog Functions Metrics Totals Retrieve
Authentication
Connected account requiredScopes
hog_function:readTags
Environments Hog Functions Partial UpdatePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_PARTIAL_UPDATEEnvironments Hog Functions Partial UpdateConnection1 scope
Environments Hog Functions Partial Update
Authentication
Connected account requiredScopes
hog_function:writeTags
Environments Hog Functions Rearrange Partial UpdatePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_REARRANGE_PARTIAL_UPDATEUpdate the execution order of multiple HogFunctions.Connection1 scope
Update the execution order of multiple HogFunctions.
Authentication
Connected account requiredScopes
hog_function:writeTags
Environments Hog Functions Rerun CreatePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_RERUN_CREATERerun past invocations of this hog function from their stored payloads. The CDP worker reads matching rows from the `hog_invocation_results` ClickHouse table, rehydrates the invocation from the stored `invocation_globals`, and re-enqueues onto cyclotron. Each rerun run reuses the original `invocation_id` with `is_retry=1` set on the new lifecycle row so the UI can surface that it was a rerun. For source-webhook functions the worker strips `request.headers` from the rehydrated globals before re-enqueuing (see the rerun paginator): those headers carry the inbound sender's credentials, and replaying them through a reconfigured function would let a write-access user exfiltrate stored secrets. Because rerun replays historical event/person/group data, it requires `person:read` and `group:read` on top of `hog_function:write`.Connection3 scopes
Rerun past invocations of this hog function from their stored payloads. The CDP worker reads matching rows from the `hog_invocation_results` ClickHouse table, rehydrates the invocation from the stored `invocation_globals`, and re-enqueues onto cyclotron. Each rerun run reuses the original `invocation_id` with `is_retry=1` set on the new lifecycle row so the UI can surface that it was a rerun. For source-webhook functions the worker strips `request.headers` from the rehydrated globals before re-enqueuing (see the rerun paginator): those headers carry the inbound sender's credentials, and replaying them through a reconfigured function would let a write-access user exfiltrate stored secrets. Because rerun replays historical event/person/group data, it requires `person:read` and `group:read` on top of `hog_function:write`.
Authentication
Connected account requiredScopes
hog_function:writeperson:readgroup:readTags
Environments Hog Functions RetrievePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_RETRIEVEEnvironments Hog Functions RetrieveConnection1 scope
Environments Hog Functions Retrieve
Authentication
Connected account requiredScopes
hog_function:readTags
Environments Hog Functions UpdatePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_UPDATEEnvironments Hog Functions UpdateConnection1 scope
Environments Hog Functions Update
Authentication
Connected account requiredScopes
hog_function:writeTags
Environments Insight Variables CreatePOSTHOG_ENVIRONMENTS_INSIGHT_VARIABLES_CREATEEnvironments Insight Variables CreateConnection1 scope
Environments Insight Variables Create
Authentication
Connected account requiredScopes
insight_variable:writeTags
Environments Insight Variables DestroyPOSTHOG_ENVIRONMENTS_INSIGHT_VARIABLES_DESTROYEnvironments Insight Variables DestroyConnection1 scope
Environments Insight Variables Destroy
Authentication
Connected account requiredScopes
insight_variable:writeTags
Environments Insight Variables ListPOSTHOG_ENVIRONMENTS_INSIGHT_VARIABLES_LISTEnvironments Insight Variables ListConnection1 scope
Environments Insight Variables List
Authentication
Connected account requiredScopes
insight_variable:readTags
Environments Insight Variables Partial UpdatePOSTHOG_ENVIRONMENTS_INSIGHT_VARIABLES_PARTIAL_UPDATEEnvironments Insight Variables Partial UpdateConnection1 scope
Environments Insight Variables Partial Update
Authentication
Connected account requiredScopes
insight_variable:writeTags
Environments Insight Variables RetrievePOSTHOG_ENVIRONMENTS_INSIGHT_VARIABLES_RETRIEVEEnvironments Insight Variables RetrieveConnection1 scope
Environments Insight Variables Retrieve
Authentication
Connected account requiredScopes
insight_variable:readTags
Environments Insight Variables UpdatePOSTHOG_ENVIRONMENTS_INSIGHT_VARIABLES_UPDATEEnvironments Insight Variables UpdateConnection1 scope
Environments Insight Variables Update
Authentication
Connected account requiredScopes
insight_variable:writeTags
Environments Insights Activity RetrievePOSTHOG_ENVIRONMENTS_INSIGHTS_ACTIVITY_RETRIEVEAudit trail for a single insight — every change made to it, by whom, and when. Use this when you want the change history of a specific insight; use the project-wide activity endpoint for a broader view.Connection1 scope
Audit trail for a single insight — every change made to it, by whom, and when. Use this when you want the change history of a specific insight; use the project-wide activity endpoint for a broader view.
Authentication
Connected account requiredScopes
activity_log:readTags
Environments Insights All Activity RetrievePOSTHOG_ENVIRONMENTS_INSIGHTS_ALL_ACTIVITY_RETRIEVEProject-wide audit trail across all insights — who created, edited, deleted, or restored insights, what changed (with before/after diffs), and when. Useful for surfacing what people (or agents) have been working on recently.Connection1 scope
Project-wide audit trail across all insights — who created, edited, deleted, or restored insights, what changed (with before/after diffs), and when. Useful for surfacing what people (or agents) have been working on recently.
Authentication
Connected account requiredScopes
activity_log:readTags
Environments Insights Analyze RetrievePOSTHOG_ENVIRONMENTS_INSIGHTS_ANALYZE_RETRIEVEDRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.Connection
DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.
Authentication
Connected account requiredTags
Environments Insights Bulk Delete CreatePOSTHOG_ENVIRONMENTS_INSIGHTS_BULK_DELETE_CREATESoft-delete insights in bulk by ID. Mirrors the single-insight delete: sets deleted=True, soft-deletes the insights' dashboard tiles, and removes their linked alerts. Insights the requester cannot edit are skipped and reported in `skipped`. Reversible via the bulk_restore endpoint.Connection1 scope
Soft-delete insights in bulk by ID. Mirrors the single-insight delete: sets deleted=True, soft-deletes the insights' dashboard tiles, and removes their linked alerts. Insights the requester cannot edit are skipped and reported in `skipped`. Reversible via the bulk_restore endpoint.
Authentication
Connected account requiredScopes
insight:writeTags
Environments Insights Bulk Restore CreatePOSTHOG_ENVIRONMENTS_INSIGHTS_BULK_RESTORE_CREATERestore soft-deleted insights in bulk by ID — the inverse of bulk_delete. Sets deleted=False and re-activates the insights' dashboard tiles on dashboards that still exist. Linked alerts are not restored (they are removed on delete). Insights the requester cannot edit are reported in `skipped`.Connection1 scope
Restore soft-deleted insights in bulk by ID — the inverse of bulk_delete. Sets deleted=False and re-activates the insights' dashboard tiles on dashboards that still exist. Linked alerts are not restored (they are removed on delete). Insights the requester cannot edit are reported in `skipped`.
Authentication
Connected account requiredScopes
insight:writeTags
Environments Insights Bulk Update Tags CreatePOSTHOG_ENVIRONMENTS_INSIGHTS_BULK_UPDATE_TAGS_CREATEBulk update tags on multiple objects. PAT access: this action has no ``required_scopes=`` on the decorator — inheriting viewsets must add ``"bulk_update_tags"`` to their ``scope_object_write_actions`` list to accept personal API keys. Without that opt-in, ``APIScopePermission`` rejects PAT requests with "This action does not support personal API key access". Done per-viewset so granting ``<scope>:write`` for one resource doesn't leak access to sibling resources that share this mixin. Accepts: - {"ids": [...], "action": "add"|"remove"|"set", "tags": ["tag1", "tag2"]} Actions: - "add": Add tags to existing tags on each object - "remove": Remove specific tags from each object - "set": Replace all tags on each object with the provided listConnection
Bulk update tags on multiple objects. PAT access: this action has no ``required_scopes=`` on the decorator — inheriting viewsets must add ``"bulk_update_tags"`` to their ``scope_object_write_actions`` list to accept personal API keys. Without that opt-in, ``APIScopePermission`` rejects PAT requests with "This action does not support personal API key access". Done per-viewset so granting ``<scope>:write`` for one resource doesn't leak access to sibling resources that share this mixin. Accepts: - {"ids": [...], "action": "add"|"remove"|"set", "tags": ["tag1", "tag2"]} Actions: - "add": Add tags to existing tags on each object - "remove": Remove specific tags from each object - "set": Replace all tags on each object with the provided list
Authentication
Connected account requiredTags
Environments Insights Cancel CreatePOSTHOG_ENVIRONMENTS_INSIGHTS_CANCEL_CREATEDRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.Connection
DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.
Authentication
Connected account requiredTags
Environments Insights CreatePOSTHOG_ENVIRONMENTS_INSIGHTS_CREATEDRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.Connection1 scope
DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.
Authentication
Connected account requiredScopes
insight:writeTags
Environments Insights DestroyPOSTHOG_ENVIRONMENTS_INSIGHTS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
insight:writeTags
Environments Insights Generate Metadata CreatePOSTHOG_ENVIRONMENTS_INSIGHTS_GENERATE_METADATA_CREATEGenerate an AI-suggested name and description for an insight based on its query configuration.Connection1 scope
Generate an AI-suggested name and description for an insight based on its query configuration.
Authentication
Connected account requiredScopes
insight:writeTags
Environments Insights ListPOSTHOG_ENVIRONMENTS_INSIGHTS_LISTDRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.Connection1 scope
DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.
Authentication
Connected account requiredScopes
insight:readTags
Environments Insights My Last Viewed RetrievePOSTHOG_ENVIRONMENTS_INSIGHTS_MY_LAST_VIEWED_RETRIEVEReturns basic details about the last 5 insights viewed by this user. Most recently viewed first.Connection
Returns basic details about the last 5 insights viewed by this user. Most recently viewed first.
Authentication
Connected account requiredTags
Environments Insights Partial UpdatePOSTHOG_ENVIRONMENTS_INSIGHTS_PARTIAL_UPDATEDRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.Connection1 scope
DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.
Authentication
Connected account requiredScopes
insight:writeTags
Environments Insights RetrievePOSTHOG_ENVIRONMENTS_INSIGHTS_RETRIEVEDRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.Connection1 scope
DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.
Authentication
Connected account requiredScopes
insight:readTags
Environments Insights Sharing ListPOSTHOG_ENVIRONMENTS_INSIGHTS_SHARING_LISTEnvironments Insights Sharing ListConnection1 scope
Environments Insights Sharing List
Authentication
Connected account requiredScopes
sharing_configuration:readTags
Environments Insights Sharing Passwords CreatePOSTHOG_ENVIRONMENTS_INSIGHTS_SHARING_PASSWORDS_CREATECreate a new password for the sharing configuration.Connection1 scope
Create a new password for the sharing configuration.
Authentication
Connected account requiredScopes
sharing_configuration:writeTags
Environments Insights Sharing Passwords DestroyPOSTHOG_ENVIRONMENTS_INSIGHTS_SHARING_PASSWORDS_DESTROYDelete a password from the sharing configuration.Connection1 scope
Delete a password from the sharing configuration.
Authentication
Connected account requiredScopes
sharing_configuration:writeTags
Environments Insights Sharing Refresh CreatePOSTHOG_ENVIRONMENTS_INSIGHTS_SHARING_REFRESH_CREATEEnvironments Insights Sharing Refresh CreateConnection1 scope
Environments Insights Sharing Refresh Create
Authentication
Connected account requiredScopes
sharing_configuration:writeTags
Environments Insights Suggestions CreatePOSTHOG_ENVIRONMENTS_INSIGHTS_SUGGESTIONS_CREATEDRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.Connection
DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.
Authentication
Connected account requiredTags
Environments Insights Suggestions RetrievePOSTHOG_ENVIRONMENTS_INSIGHTS_SUGGESTIONS_RETRIEVEDRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.Connection
DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.
Authentication
Connected account requiredTags
Environments Insights Thresholds ListPOSTHOG_ENVIRONMENTS_INSIGHTS_THRESHOLDS_LISTEnvironments Insights Thresholds ListConnection1 scope
Environments Insights Thresholds List
Authentication
Connected account requiredScopes
alert:readTags
Environments Insights Thresholds RetrievePOSTHOG_ENVIRONMENTS_INSIGHTS_THRESHOLDS_RETRIEVEEnvironments Insights Thresholds RetrieveConnection1 scope
Environments Insights Thresholds Retrieve
Authentication
Connected account requiredScopes
alert:readTags
Environments Insights Trending RetrievePOSTHOG_ENVIRONMENTS_INSIGHTS_TRENDING_RETRIEVEReturns insights ranked by view count over the last N days (default 7), highest first. Each result includes the same metadata as the standard insights list, plus a `view_count` and up to 3 recent `viewers`. Useful for surfacing the most-used insights in a project.Connection1 scope
Returns insights ranked by view count over the last N days (default 7), highest first. Each result includes the same metadata as the standard insights list, plus a `view_count` and up to 3 recent `viewers`. Useful for surfacing the most-used insights in a project.
Authentication
Connected account requiredScopes
insight:readTags
Environments Insights UpdatePOSTHOG_ENVIRONMENTS_INSIGHTS_UPDATEDRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.Connection1 scope
DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.
Authentication
Connected account requiredScopes
insight:writeTags
Environments Insights Viewed CreatePOSTHOG_ENVIRONMENTS_INSIGHTS_VIEWED_CREATERecord that the current user has just viewed one or more insights. Submitted ids that do not belong to the current project or that point at deleted insights are silently dropped. Returns 201 on success regardless of how many ids were retained.Connection1 scope
Record that the current user has just viewed one or more insights. Submitted ids that do not belong to the current project or that point at deleted insights are silently dropped. Returns 201 on success regardless of how many ids were retained.
Authentication
Connected account requiredScopes
insight:readTags
Environments Integrations Anthropic Managed Agent Envs RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_ANTHROPIC_MANAGED_AGENT_ENVS_RETRIEVEEnvironments Integrations Anthropic Managed Agent Envs RetrieveConnection1 scope
Environments Integrations Anthropic Managed Agent Envs Retrieve
Authentication
Connected account requiredScopes
integration:readTags
Environments Integrations Anthropic Managed Agent Vaults RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_ANTHROPIC_MANAGED_AGENT_VAULTS_RETRIEVEEnvironments Integrations Anthropic Managed Agent Vaults RetrieveConnection1 scope
Environments Integrations Anthropic Managed Agent Vaults Retrieve
Authentication
Connected account requiredScopes
integration:readTags
Environments Integrations Anthropic Managed Agents RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_ANTHROPIC_MANAGED_AGENTS_RETRIEVEEnvironments Integrations Anthropic Managed Agents RetrieveConnection1 scope
Environments Integrations Anthropic Managed Agents Retrieve
Authentication
Connected account requiredScopes
integration:readTags
Environments Integrations Authorize RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_AUTHORIZE_RETRIEVEEnvironments Integrations Authorize RetrieveConnection
Environments Integrations Authorize Retrieve
Authentication
Connected account requiredTags
Environments Integrations Channels RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_CHANNELS_RETRIEVEEnvironments Integrations Channels RetrieveConnection1 scope
Environments Integrations Channels Retrieve
Authentication
Connected account requiredScopes
integration:readTags
Environments Integrations Clickup Lists RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_CLICKUP_LISTS_RETRIEVEEnvironments Integrations Clickup Lists RetrieveConnection
Environments Integrations Clickup Lists Retrieve
Authentication
Connected account requiredTags
Environments Integrations Clickup Spaces RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_CLICKUP_SPACES_RETRIEVEEnvironments Integrations Clickup Spaces RetrieveConnection
Environments Integrations Clickup Spaces Retrieve
Authentication
Connected account requiredTags
Environments Integrations Clickup Workspaces RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_CLICKUP_WORKSPACES_RETRIEVEEnvironments Integrations Clickup Workspaces RetrieveConnection
Environments Integrations Clickup Workspaces Retrieve
Authentication
Connected account requiredTags
Environments Integrations CreatePOSTHOG_ENVIRONMENTS_INTEGRATIONS_CREATEEnvironments Integrations CreateConnection1 scope
Environments Integrations Create
Authentication
Connected account requiredScopes
integration:writeTags
Environments Integrations DestroyPOSTHOG_ENVIRONMENTS_INTEGRATIONS_DESTROYEnvironments Integrations DestroyConnection1 scope
Environments Integrations Destroy
Authentication
Connected account requiredScopes
integration:writeTags
Environments Integrations Domain Connect Apply Url CreatePOSTHOG_ENVIRONMENTS_INTEGRATIONS_DOMAIN_CONNECT_APPLY_URL_CREATEUnified endpoint for generating Domain Connect apply URLs. Accepts a context ("email" or "proxy") and the relevant resource ID. The backend resolves the domain, template variables, and service ID based on context, then builds the signed apply URL.Connection
Unified endpoint for generating Domain Connect apply URLs. Accepts a context ("email" or "proxy") and the relevant resource ID. The backend resolves the domain, template variables, and service ID based on context, then builds the signed apply URL.
Authentication
Connected account requiredTags
Environments Integrations Domain Connect Check RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_DOMAIN_CONNECT_CHECK_RETRIEVEEnvironments Integrations Domain Connect Check RetrieveConnection
Environments Integrations Domain Connect Check Retrieve
Authentication
Connected account requiredTags
Environments Integrations Email Partial UpdatePOSTHOG_ENVIRONMENTS_INTEGRATIONS_EMAIL_PARTIAL_UPDATEEnvironments Integrations Email Partial UpdateConnection
Environments Integrations Email Partial Update
Authentication
Connected account requiredTags
Environments Integrations Email Verify CreatePOSTHOG_ENVIRONMENTS_INTEGRATIONS_EMAIL_VERIFY_CREATEEnvironments Integrations Email Verify CreateConnection
Environments Integrations Email Verify Create
Authentication
Connected account requiredTags
Environments Integrations Github Branches RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_GITHUB_BRANCHES_RETRIEVEEnvironments Integrations Github Branches RetrieveConnection1 scope
Environments Integrations Github Branches Retrieve
Authentication
Connected account requiredScopes
integration:readTags
Environments Integrations Github Link Existing CreatePOSTHOG_ENVIRONMENTS_INTEGRATIONS_GITHUB_LINK_EXISTING_CREATEReuse a GitHub installation already linked to a sibling team in the same organization.Connection1 scope
Reuse a GitHub installation already linked to a sibling team in the same organization.
Authentication
Connected account requiredScopes
integration:writeTags
Environments Integrations Github Oauth Authorize CreatePOSTHOG_ENVIRONMENTS_INTEGRATIONS_GITHUB_OAUTH_AUTHORIZE_CREATEMint a User OAuth URL to bootstrap a fresh `code` when the install flow returns without one.Connection1 scope
Mint a User OAuth URL to bootstrap a fresh `code` when the install flow returns without one.
Authentication
Connected account requiredScopes
integration:writeTags
Environments Integrations Github Prepare Callback CreatePOSTHOG_ENVIRONMENTS_INTEGRATIONS_GITHUB_PREPARE_CALLBACK_CREATESeed GitHub setup callback state without redirecting to GitHub. Used when the user opens an existing installation's settings on github.com (e.g. PostHog Code "Update in GitHub") so the subsequent Setup URL redirect can be validated.Connection1 scope
Seed GitHub setup callback state without redirecting to GitHub. Used when the user opens an existing installation's settings on github.com (e.g. PostHog Code "Update in GitHub") so the subsequent Setup URL redirect can be validated.
Authentication
Connected account requiredScopes
integration:writeTags
Environments Integrations Github Repos Refresh CreatePOSTHOG_ENVIRONMENTS_INTEGRATIONS_GITHUB_REPOS_REFRESH_CREATEEnvironments Integrations Github Repos Refresh CreateConnection1 scope
Environments Integrations Github Repos Refresh Create
Authentication
Connected account requiredScopes
integration:writeTags
Environments Integrations Github Repos RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_GITHUB_REPOS_RETRIEVEEnvironments Integrations Github Repos RetrieveConnection1 scope
Environments Integrations Github Repos Retrieve
Authentication
Connected account requiredScopes
integration:readTags
Environments Integrations Github Teams RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_GITHUB_TEAMS_RETRIEVEEnvironments Integrations Github Teams RetrieveConnection1 scope
Environments Integrations Github Teams Retrieve
Authentication
Connected account requiredScopes
integration:readTags
Environments Integrations Google Accessible Accounts RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_GOOGLE_ACCESSIBLE_ACCOUNTS_RETRIEVEEnvironments Integrations Google Accessible Accounts RetrieveConnection
Environments Integrations Google Accessible Accounts Retrieve
Authentication
Connected account requiredTags
Environments Integrations Google Conversion Actions RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_GOOGLE_CONVERSION_ACTIONS_RETRIEVEEnvironments Integrations Google Conversion Actions RetrieveConnection
Environments Integrations Google Conversion Actions Retrieve
Authentication
Connected account requiredTags
Environments Integrations Google Search Console Sites RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_GOOGLE_SEARCH_CONSOLE_SITES_RETRIEVEList the Search Console properties the connected Google account has access to.Connection1 scope
List the Search Console properties the connected Google account has access to.
Authentication
Connected account requiredScopes
integration:writeTags
Environments Integrations Jira Projects RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_JIRA_PROJECTS_RETRIEVEEnvironments Integrations Jira Projects RetrieveConnection1 scope
Environments Integrations Jira Projects Retrieve
Authentication
Connected account requiredScopes
integration:readTags
Environments Integrations Linear Teams RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_LINEAR_TEAMS_RETRIEVEEnvironments Integrations Linear Teams RetrieveConnection1 scope
Environments Integrations Linear Teams Retrieve
Authentication
Connected account requiredScopes
integration:readTags
Environments Integrations Linkedin Ads Accounts RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_LINKEDIN_ADS_ACCOUNTS_RETRIEVEEnvironments Integrations Linkedin Ads Accounts RetrieveConnection
Environments Integrations Linkedin Ads Accounts Retrieve
Authentication
Connected account requiredTags
Environments Integrations Linkedin Ads Conversion Rules RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_LINKEDIN_ADS_CONVERSION_RULES_RETRIEVEEnvironments Integrations Linkedin Ads Conversion Rules RetrieveConnection
Environments Integrations Linkedin Ads Conversion Rules Retrieve
Authentication
Connected account requiredTags
Environments Integrations ListPOSTHOG_ENVIRONMENTS_INTEGRATIONS_LISTEnvironments Integrations ListConnection1 scope
Environments Integrations List
Authentication
Connected account requiredScopes
integration:readTags
Environments Integrations Request Access CreatePOSTHOG_ENVIRONMENTS_INTEGRATIONS_REQUEST_ACCESS_CREATENotify project admins that a member is requesting an integration be connected.Connection1 scope
Notify project admins that a member is requesting an integration be connected.
Authentication
Connected account requiredScopes
integration:writeTags
Environments Integrations RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_RETRIEVEEnvironments Integrations RetrieveConnection1 scope
Environments Integrations Retrieve
Authentication
Connected account requiredScopes
integration:readTags
Environments Integrations Twilio Phone Numbers RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_TWILIO_PHONE_NUMBERS_RETRIEVEEnvironments Integrations Twilio Phone Numbers RetrieveConnection
Environments Integrations Twilio Phone Numbers Retrieve
Authentication
Connected account requiredTags
Environments Is Generating Demo Data RetrievePOSTHOG_ENVIRONMENTS_IS_GENERATING_DEMO_DATA_RETRIEVEDeprecated: use /api/environments/{id}/ instead.Connection
Deprecated: use /api/environments/{id}/ instead.
Authentication
Connected account requiredTags
Environments ListPOSTHOG_ENVIRONMENTS_LISTDeprecated: use /api/environments/{id}/ instead.Connection1 scope
Deprecated: use /api/environments/{id}/ instead.
Authentication
Connected account requiredScopes
project:readTags
Environments Llm Analytics Clustering Config ListPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_CLUSTERING_CONFIG_LISTTeam-level clustering configuration (event filters for automated pipelines).Connection1 scope
Team-level clustering configuration (event filters for automated pipelines).
Authentication
Connected account requiredScopes
llm_analytics:readTags
Environments Llm Analytics Clustering Config Set Event Filters CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_CLUSTERING_CONFIG_SET_EVENT_FILTERS_CREATETeam-level clustering configuration (event filters for automated pipelines).Connection1 scope
Team-level clustering configuration (event filters for automated pipelines).
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Environments Llm Analytics Clustering Jobs CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_CLUSTERING_JOBS_CREATECRUD for clustering job configurations (max 10 per team).Connection1 scope
CRUD for clustering job configurations (max 10 per team).
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Environments Llm Analytics Clustering Jobs DestroyPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_CLUSTERING_JOBS_DESTROYCRUD for clustering job configurations (max 10 per team).Connection1 scope
CRUD for clustering job configurations (max 10 per team).
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Environments Llm Analytics Clustering Jobs ListPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_CLUSTERING_JOBS_LISTCRUD for clustering job configurations (max 10 per team).Connection1 scope
CRUD for clustering job configurations (max 10 per team).
Authentication
Connected account requiredScopes
llm_analytics:readTags
Environments Llm Analytics Clustering Jobs Partial UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_CLUSTERING_JOBS_PARTIAL_UPDATECRUD for clustering job configurations (max 10 per team).Connection1 scope
CRUD for clustering job configurations (max 10 per team).
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Environments Llm Analytics Clustering Jobs RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_CLUSTERING_JOBS_RETRIEVECRUD for clustering job configurations (max 10 per team).Connection1 scope
CRUD for clustering job configurations (max 10 per team).
Authentication
Connected account requiredScopes
llm_analytics:readTags
Environments Llm Analytics Clustering Jobs UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_CLUSTERING_JOBS_UPDATECRUD for clustering job configurations (max 10 per team).Connection1 scope
CRUD for clustering job configurations (max 10 per team).
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Environments Llm Analytics Evaluation Config RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_CONFIG_RETRIEVEGet the evaluation config for this teamConnection1 scope
Get the evaluation config for this team
Authentication
Connected account requiredScopes
evaluation:readTags
Environments Llm Analytics Evaluation Config Set Active Key CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_CONFIG_SET_ACTIVE_KEY_CREATESet the active provider key for evaluationsConnection1 scope
Set the active provider key for evaluations
Authentication
Connected account requiredScopes
evaluation:writeTags
Environments Llm Analytics Evaluation Reports CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_REPORTS_CREATECRUD for evaluation report configurations + report run history.Connection1 scope
CRUD for evaluation report configurations + report run history.
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Environments Llm Analytics Evaluation Reports DestroyPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_REPORTS_DESTROYEvaluation report configs are deleted only when their evaluation is deleted. Use PATCH enabled=false to stop delivery.Connection1 scope
Evaluation report configs are deleted only when their evaluation is deleted. Use PATCH enabled=false to stop delivery.
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Environments Llm Analytics Evaluation Reports Generate CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_REPORTS_GENERATE_CREATETrigger immediate report generation.Connection1 scope
Trigger immediate report generation.
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Environments Llm Analytics Evaluation Reports ListPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_REPORTS_LISTCRUD for evaluation report configurations + report run history.Connection1 scope
CRUD for evaluation report configurations + report run history.
Authentication
Connected account requiredScopes
llm_analytics:readTags
Environments Llm Analytics Evaluation Reports Partial UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_REPORTS_PARTIAL_UPDATECRUD for evaluation report configurations + report run history.Connection1 scope
CRUD for evaluation report configurations + report run history.
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Environments Llm Analytics Evaluation Reports RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_REPORTS_RETRIEVECRUD for evaluation report configurations + report run history.Connection1 scope
CRUD for evaluation report configurations + report run history.
Authentication
Connected account requiredScopes
llm_analytics:readTags
Environments Llm Analytics Evaluation Reports Runs ListPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_REPORTS_RUNS_LISTList report runs (history) for this report.Connection1 scope
List report runs (history) for this report.
Authentication
Connected account requiredScopes
llm_analytics:readTags
Environments Llm Analytics Evaluation Reports UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_REPORTS_UPDATECRUD for evaluation report configurations + report run history.Connection1 scope
CRUD for evaluation report configurations + report run history.
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Environments Llm Analytics Evaluation Summary CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_SUMMARY_CREATEGenerate an AI-powered summary of evaluation results. This endpoint analyzes evaluation runs and identifies patterns in passing and failing evaluations, providing actionable recommendations. Data is fetched server-side by evaluation ID to ensure data integrity. **Use Cases:** - Understand why evaluations are passing or failing - Identify systematic issues in LLM responses - Get recommendations for improving response quality - Review patterns across many evaluation runs at onceConnection1 scope
Generate an AI-powered summary of evaluation results. This endpoint analyzes evaluation runs and identifies patterns in passing and failing evaluations, providing actionable recommendations. Data is fetched server-side by evaluation ID to ensure data integrity. **Use Cases:** - Understand why evaluations are passing or failing - Identify systematic issues in LLM responses - Get recommendations for improving response quality - Review patterns across many evaluation runs at once
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Environments Llm Analytics Models RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_MODELS_RETRIEVEList available models for a provider.Connection1 scope
List available models for a provider.
Authentication
Connected account requiredScopes
evaluation:readTags
Environments Llm Analytics Offline Evaluations Experiment Items CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_OFFLINE_EVALUATIONS_EXPERIMENT_ITEMS_CREATEEnvironments Llm Analytics Offline Evaluations Experiment Items CreateConnection1 scope
Environments Llm Analytics Offline Evaluations Experiment Items Create
Authentication
Connected account requiredScopes
llm_analytics:readTags
Environments Llm Analytics Provider Key Validations CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_PROVIDER_KEY_VALIDATIONS_CREATEValidate LLM provider API keys without persisting themConnection1 scope
Validate LLM provider API keys without persisting them
Authentication
Connected account requiredScopes
llm_provider_key:writeTags
Environments Llm Analytics Provider Keys Assign CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_PROVIDER_KEYS_ASSIGN_CREATEAssign this key to evaluations and optionally re-enable them.Connection
Assign this key to evaluations and optionally re-enable them.
Authentication
Connected account requiredTags
Environments Llm Analytics Provider Keys CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_PROVIDER_KEYS_CREATEEnvironments Llm Analytics Provider Keys CreateConnection1 scope
Environments Llm Analytics Provider Keys Create
Authentication
Connected account requiredScopes
llm_provider_key:writeTags
Environments Llm Analytics Provider Keys Dependent Configs RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_PROVIDER_KEYS_DEPENDENT_CONFIGS_RETRIEVEGet evaluations using this key and alternative keys for replacement.Connection
Get evaluations using this key and alternative keys for replacement.
Authentication
Connected account requiredTags
Environments Llm Analytics Provider Keys DestroyPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_PROVIDER_KEYS_DESTROYEnvironments Llm Analytics Provider Keys DestroyConnection1 scope
Environments Llm Analytics Provider Keys Destroy
Authentication
Connected account requiredScopes
llm_provider_key:writeTags
Environments Llm Analytics Provider Keys ListPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_PROVIDER_KEYS_LISTEnvironments Llm Analytics Provider Keys ListConnection1 scope
Environments Llm Analytics Provider Keys List
Authentication
Connected account requiredScopes
llm_provider_key:readTags
Environments Llm Analytics Provider Keys Partial UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_PROVIDER_KEYS_PARTIAL_UPDATEEnvironments Llm Analytics Provider Keys Partial UpdateConnection1 scope
Environments Llm Analytics Provider Keys Partial Update
Authentication
Connected account requiredScopes
llm_provider_key:writeTags
Environments Llm Analytics Provider Keys RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_PROVIDER_KEYS_RETRIEVEEnvironments Llm Analytics Provider Keys RetrieveConnection1 scope
Environments Llm Analytics Provider Keys Retrieve
Authentication
Connected account requiredScopes
llm_provider_key:readTags
Environments Llm Analytics Provider Keys Trial Evaluations RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_PROVIDER_KEYS_TRIAL_EVALUATIONS_RETRIEVEList enabled evaluations currently using trial credits for a given provider.Connection
List enabled evaluations currently using trial credits for a given provider.
Authentication
Connected account requiredTags
Environments Llm Analytics Provider Keys UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_PROVIDER_KEYS_UPDATEEnvironments Llm Analytics Provider Keys UpdateConnection1 scope
Environments Llm Analytics Provider Keys Update
Authentication
Connected account requiredScopes
llm_provider_key:writeTags
Environments Llm Analytics Provider Keys Validate CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_PROVIDER_KEYS_VALIDATE_CREATEEnvironments Llm Analytics Provider Keys Validate CreateConnection
Environments Llm Analytics Provider Keys Validate Create
Authentication
Connected account requiredTags
Environments Llm Analytics Review Queue Items CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_CREATEEnvironments Llm Analytics Review Queue Items CreateConnection1 scope
Environments Llm Analytics Review Queue Items Create
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Environments Llm Analytics Review Queue Items DestroyPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_DESTROYEnvironments Llm Analytics Review Queue Items DestroyConnection1 scope
Environments Llm Analytics Review Queue Items Destroy
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Environments Llm Analytics Review Queue Items ListPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_LISTEnvironments Llm Analytics Review Queue Items ListConnection1 scope
Environments Llm Analytics Review Queue Items List
Authentication
Connected account requiredScopes
llm_analytics:readTags
Environments Llm Analytics Review Queue Items Partial UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_PARTIAL_UPDATEEnvironments Llm Analytics Review Queue Items Partial UpdateConnection1 scope
Environments Llm Analytics Review Queue Items Partial Update
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Environments Llm Analytics Review Queue Items RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_RETRIEVEEnvironments Llm Analytics Review Queue Items RetrieveConnection1 scope
Environments Llm Analytics Review Queue Items Retrieve
Authentication
Connected account requiredScopes
llm_analytics:readTags
Environments Llm Analytics Review Queues CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUES_CREATEEnvironments Llm Analytics Review Queues CreateConnection1 scope
Environments Llm Analytics Review Queues Create
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Environments Llm Analytics Review Queues DestroyPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUES_DESTROYEnvironments Llm Analytics Review Queues DestroyConnection1 scope
Environments Llm Analytics Review Queues Destroy
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Environments Llm Analytics Review Queues ListPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUES_LISTEnvironments Llm Analytics Review Queues ListConnection1 scope
Environments Llm Analytics Review Queues List
Authentication
Connected account requiredScopes
llm_analytics:readTags
Environments Llm Analytics Review Queues Partial UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUES_PARTIAL_UPDATEEnvironments Llm Analytics Review Queues Partial UpdateConnection1 scope
Environments Llm Analytics Review Queues Partial Update
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Environments Llm Analytics Review Queues RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUES_RETRIEVEEnvironments Llm Analytics Review Queues RetrieveConnection1 scope
Environments Llm Analytics Review Queues Retrieve
Authentication
Connected account requiredScopes
llm_analytics:readTags
Environments Llm Analytics Score Definitions CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_SCORE_DEFINITIONS_CREATEEnvironments Llm Analytics Score Definitions CreateConnection1 scope
Environments Llm Analytics Score Definitions Create
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Environments Llm Analytics Score Definitions ListPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_SCORE_DEFINITIONS_LISTEnvironments Llm Analytics Score Definitions ListConnection1 scope
Environments Llm Analytics Score Definitions List
Authentication
Connected account requiredScopes
llm_analytics:readTags
Environments Llm Analytics Score Definitions New Version CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_SCORE_DEFINITIONS_NEW_VERSION_CREATEEnvironments Llm Analytics Score Definitions New Version CreateConnection1 scope
Environments Llm Analytics Score Definitions New Version Create
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Environments Llm Analytics Score Definitions Partial UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_SCORE_DEFINITIONS_PARTIAL_UPDATEEnvironments Llm Analytics Score Definitions Partial UpdateConnection1 scope
Environments Llm Analytics Score Definitions Partial Update
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Environments Llm Analytics Score Definitions RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_SCORE_DEFINITIONS_RETRIEVEEnvironments Llm Analytics Score Definitions RetrieveConnection1 scope
Environments Llm Analytics Score Definitions Retrieve
Authentication
Connected account requiredScopes
llm_analytics:readTags
Environments Llm Analytics Summarization Batch Check CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_SUMMARIZATION_BATCH_CHECK_CREATECheck which traces have cached summaries available. This endpoint allows batch checking of multiple trace IDs to see which ones have cached summaries. Returns only the traces that have cached summaries with their titles. **Use Cases:** - Load cached summaries on session view load - Avoid unnecessary LLM calls for already-summarized traces - Display summary previews without generating new summariesConnection
Check which traces have cached summaries available. This endpoint allows batch checking of multiple trace IDs to see which ones have cached summaries. Returns only the traces that have cached summaries with their titles. **Use Cases:** - Load cached summaries on session view load - Avoid unnecessary LLM calls for already-summarized traces - Display summary previews without generating new summaries
Authentication
Connected account requiredTags
Environments Llm Analytics Summarization CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_SUMMARIZATION_CREATEGenerate an AI-powered summary of an LLM trace or event. This endpoint analyzes the provided trace/event, generates a line-numbered text representation, and uses an LLM to create a concise summary with line references. **Two ways to use this endpoint:** 1. **By ID (recommended):** Pass `trace_id` or `generation_id` with an optional `date_from`/`date_to`. The backend fetches the data automatically. `summarize_type` is inferred. 2. **By data:** Pass the full trace/event data blob in `data` with `summarize_type`. This is how the frontend uses it. **Summary Format:** - Title (concise, max 10 words) - Mermaid flow diagram showing the main flow - 3-10 summary bullets with line references - "Interesting Notes" section for failures, successes, or unusual patterns - Line references in [L45] or [L45-52] format pointing to relevant sections The response includes the structured summary, the text representation, and metadata.Connection1 scope
Generate an AI-powered summary of an LLM trace or event. This endpoint analyzes the provided trace/event, generates a line-numbered text representation, and uses an LLM to create a concise summary with line references. **Two ways to use this endpoint:** 1. **By ID (recommended):** Pass `trace_id` or `generation_id` with an optional `date_from`/`date_to`. The backend fetches the data automatically. `summarize_type` is inferred. 2. **By data:** Pass the full trace/event data blob in `data` with `summarize_type`. This is how the frontend uses it. **Summary Format:** - Title (concise, max 10 words) - Mermaid flow diagram showing the main flow - 3-10 summary bullets with line references - "Interesting Notes" section for failures, successes, or unusual patterns - Line references in [L45] or [L45-52] format pointing to relevant sections The response includes the structured summary, the text representation, and metadata.
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Environments Llm Analytics Text Repr CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_TEXT_REPR_CREATEGenerate a human-readable text representation of an LLM trace event. This endpoint converts AI observability events ($ai_generation, $ai_span, $ai_embedding, or $ai_trace) into formatted text representations suitable for display, logging, or analysis. **Supported Event Types:** - `$ai_generation`: Individual LLM API calls with input/output messages - `$ai_span`: Logical spans with state transitions - `$ai_embedding`: Embedding generation events (text input → vector) - `$ai_trace`: Full traces with hierarchical structure **Options:** - `max_length`: Maximum character count (default: 2000000) - `truncated`: Enable middle-content truncation within events (default: true) - `truncate_buffer`: Characters at start/end when truncating (default: 1000) - `include_markers`: Use interactive markers vs plain text indicators (default: true) - Frontend: set true for `<<<TRUNCATED|base64|...>>>` markers - Backend/LLM: set false for `... (X chars truncated) ...` text - `collapsed`: Show summary vs full trace tree (default: false) - `include_hierarchy`: Include tree structure for traces (default: true) - `max_depth`: Maximum depth for hierarchical rendering (default: unlimited) - `tools_collapse_threshold`: Number of tools before auto-collapsing list (default: 5) - Tool lists >5 items show `<<<TOOLS_EXPANDABLE|...>>>` marker for frontend - Or `[+] AVAILABLE TOOLS: N` for backend when `include_markers: false` - `include_line_numbers`: Prefix each line with line number like L001:, L010: (default: false) **Use Cases:** - Frontend display: `truncated: true, include_markers: true, include_line_numbers: true` - Backend LLM context (summary): `truncated: true, include_markers: false, collapsed: true` - Backend LLM context (full): `truncated: false` The response includes the formatted text and metadata about the rendering.Connection1 scope
Generate a human-readable text representation of an LLM trace event. This endpoint converts AI observability events ($ai_generation, $ai_span, $ai_embedding, or $ai_trace) into formatted text representations suitable for display, logging, or analysis. **Supported Event Types:** - `$ai_generation`: Individual LLM API calls with input/output messages - `$ai_span`: Logical spans with state transitions - `$ai_embedding`: Embedding generation events (text input → vector) - `$ai_trace`: Full traces with hierarchical structure **Options:** - `max_length`: Maximum character count (default: 2000000) - `truncated`: Enable middle-content truncation within events (default: true) - `truncate_buffer`: Characters at start/end when truncating (default: 1000) - `include_markers`: Use interactive markers vs plain text indicators (default: true) - Frontend: set true for `<<<TRUNCATED|base64|...>>>` markers - Backend/LLM: set false for `... (X chars truncated) ...` text - `collapsed`: Show summary vs full trace tree (default: false) - `include_hierarchy`: Include tree structure for traces (default: true) - `max_depth`: Maximum depth for hierarchical rendering (default: unlimited) - `tools_collapse_threshold`: Number of tools before auto-collapsing list (default: 5) - Tool lists >5 items show `<<<TOOLS_EXPANDABLE|...>>>` marker for frontend - Or `[+] AVAILABLE TOOLS: N` for backend when `include_markers: false` - `include_line_numbers`: Prefix each line with line number like L001:, L010: (default: false) **Use Cases:** - Frontend display: `truncated: true, include_markers: true, include_line_numbers: true` - Backend LLM context (summary): `truncated: true, include_markers: false, collapsed: true` - Backend LLM context (full): `truncated: false` The response includes the formatted text and metadata about the rendering.
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Environments Llm Analytics Trace Reviews CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_TRACE_REVIEWS_CREATEEnvironments Llm Analytics Trace Reviews CreateConnection1 scope
Environments Llm Analytics Trace Reviews Create
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Environments Llm Analytics Trace Reviews DestroyPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_TRACE_REVIEWS_DESTROYEnvironments Llm Analytics Trace Reviews DestroyConnection1 scope
Environments Llm Analytics Trace Reviews Destroy
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Environments Llm Analytics Trace Reviews ListPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_TRACE_REVIEWS_LISTEnvironments Llm Analytics Trace Reviews ListConnection1 scope
Environments Llm Analytics Trace Reviews List
Authentication
Connected account requiredScopes
llm_analytics:readTags
Environments Llm Analytics Trace Reviews Partial UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_TRACE_REVIEWS_PARTIAL_UPDATEEnvironments Llm Analytics Trace Reviews Partial UpdateConnection1 scope
Environments Llm Analytics Trace Reviews Partial Update
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Environments Llm Analytics Trace Reviews RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_TRACE_REVIEWS_RETRIEVEEnvironments Llm Analytics Trace Reviews RetrieveConnection1 scope
Environments Llm Analytics Trace Reviews Retrieve
Authentication
Connected account requiredScopes
llm_analytics:readTags
Environments Llm Analytics Translate CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_TRANSLATE_CREATETranslate text to target language.Connection1 scope
Translate text to target language.
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Environments Llm Prompts CreatePOSTHOG_ENVIRONMENTS_LLM_PROMPTS_CREATEEnvironments Llm Prompts CreateConnection1 scope
Environments Llm Prompts Create
Authentication
Connected account requiredScopes
llm_prompt:writeTags
Environments Llm Prompts ListPOSTHOG_ENVIRONMENTS_LLM_PROMPTS_LISTEnvironments Llm Prompts ListConnection1 scope
Environments Llm Prompts List
Authentication
Connected account requiredScopes
llm_prompt:readTags
Environments Llm Prompts Name Archive CreatePOSTHOG_ENVIRONMENTS_LLM_PROMPTS_NAME_ARCHIVE_CREATEEnvironments Llm Prompts Name Archive CreateConnection1 scope
Environments Llm Prompts Name Archive Create
Authentication
Connected account requiredScopes
llm_prompt:writeTags
Environments Llm Prompts Name Duplicate CreatePOSTHOG_ENVIRONMENTS_LLM_PROMPTS_NAME_DUPLICATE_CREATEEnvironments Llm Prompts Name Duplicate CreateConnection1 scope
Environments Llm Prompts Name Duplicate Create
Authentication
Connected account requiredScopes
llm_prompt:writeTags
Environments Llm Prompts Name Partial UpdatePOSTHOG_ENVIRONMENTS_LLM_PROMPTS_NAME_PARTIAL_UPDATEEnvironments Llm Prompts Name Partial UpdateConnection1 scope
Environments Llm Prompts Name Partial Update
Authentication
Connected account requiredScopes
llm_prompt:writeTags
Environments Llm Prompts Name RetrievePOSTHOG_ENVIRONMENTS_LLM_PROMPTS_NAME_RETRIEVEEnvironments Llm Prompts Name RetrieveConnection1 scope
Environments Llm Prompts Name Retrieve
Authentication
Connected account requiredScopes
llm_prompt:readTags
Environments Llm Prompts Resolve Name RetrievePOSTHOG_ENVIRONMENTS_LLM_PROMPTS_RESOLVE_NAME_RETRIEVEEnvironments Llm Prompts Resolve Name RetrieveConnection1 scope
Environments Llm Prompts Resolve Name Retrieve
Authentication
Connected account requiredScopes
llm_prompt:readTags
Environments Llm Skills CreatePOSTHOG_ENVIRONMENTS_LLM_SKILLS_CREATEEnvironments Llm Skills CreateConnection1 scope
Environments Llm Skills Create
Authentication
Connected account requiredScopes
llm_skill:writeTags
Environments Llm Skills Import CreatePOSTHOG_ENVIRONMENTS_LLM_SKILLS_IMPORT_CREATEEnvironments Llm Skills Import CreateConnection1 scope
Environments Llm Skills Import Create
Authentication
Connected account requiredScopes
llm_skill:writeTags
Environments Llm Skills ListPOSTHOG_ENVIRONMENTS_LLM_SKILLS_LISTEnvironments Llm Skills ListConnection1 scope
Environments Llm Skills List
Authentication
Connected account requiredScopes
llm_skill:readTags
Environments Llm Skills Marketplace Install Command CreatePOSTHOG_ENVIRONMENTS_LLM_SKILLS_MARKETPLACE_INSTALL_COMMAND_CREATEMint the user's read-only marketplace credential (or rotate it) and return the install command. Per-user: rotating only ever invalidates this user's own credential, never a teammate's.Connection1 scope
Mint the user's read-only marketplace credential (or rotate it) and return the install command. Per-user: rotating only ever invalidates this user's own credential, never a teammate's.
Authentication
Connected account requiredScopes
llm_skill:writeTags
Environments Llm Skills Marketplace Install Command RetrievePOSTHOG_ENVIRONMENTS_LLM_SKILLS_MARKETPLACE_INSTALL_COMMAND_RETRIEVEReport whether the user already has a marketplace credential, without minting one. The token is unrecoverable, so an existing credential returns its mask only — the UI shows "already connected, existing setups keep working" and offers an explicit rotate.Connection1 scope
Report whether the user already has a marketplace credential, without minting one. The token is unrecoverable, so an existing credential returns its mask only — the UI shows "already connected, existing setups keep working" and offers an explicit rotate.
Authentication
Connected account requiredScopes
llm_skill:readTags
Environments Llm Skills Name Archive CreatePOSTHOG_ENVIRONMENTS_LLM_SKILLS_NAME_ARCHIVE_CREATEEnvironments Llm Skills Name Archive CreateConnection1 scope
Environments Llm Skills Name Archive Create
Authentication
Connected account requiredScopes
llm_skill:writeTags
Environments Llm Skills Name Duplicate CreatePOSTHOG_ENVIRONMENTS_LLM_SKILLS_NAME_DUPLICATE_CREATEEnvironments Llm Skills Name Duplicate CreateConnection1 scope
Environments Llm Skills Name Duplicate Create
Authentication
Connected account requiredScopes
llm_skill:writeTags
Environments Llm Skills Name Export RetrievePOSTHOG_ENVIRONMENTS_LLM_SKILLS_NAME_EXPORT_RETRIEVEEnvironments Llm Skills Name Export RetrieveConnection
Environments Llm Skills Name Export Retrieve
Authentication
Connected account requiredTags
Environments Llm Skills Name Files CreatePOSTHOG_ENVIRONMENTS_LLM_SKILLS_NAME_FILES_CREATEEnvironments Llm Skills Name Files CreateConnection1 scope
Environments Llm Skills Name Files Create
Authentication
Connected account requiredScopes
llm_skill:writeTags
Environments Llm Skills Name Files DestroyPOSTHOG_ENVIRONMENTS_LLM_SKILLS_NAME_FILES_DESTROYEnvironments Llm Skills Name Files DestroyConnection1 scope
Environments Llm Skills Name Files Destroy
Authentication
Connected account requiredScopes
llm_skill:writeTags
Environments Llm Skills Name Files Rename CreatePOSTHOG_ENVIRONMENTS_LLM_SKILLS_NAME_FILES_RENAME_CREATEEnvironments Llm Skills Name Files Rename CreateConnection1 scope
Environments Llm Skills Name Files Rename Create
Authentication
Connected account requiredScopes
llm_skill:writeTags
Environments Llm Skills Name Files RetrievePOSTHOG_ENVIRONMENTS_LLM_SKILLS_NAME_FILES_RETRIEVEEnvironments Llm Skills Name Files RetrieveConnection1 scope
Environments Llm Skills Name Files Retrieve
Authentication
Connected account requiredScopes
llm_skill:readTags
Environments Llm Skills Name Partial UpdatePOSTHOG_ENVIRONMENTS_LLM_SKILLS_NAME_PARTIAL_UPDATEEnvironments Llm Skills Name Partial UpdateConnection1 scope
Environments Llm Skills Name Partial Update
Authentication
Connected account requiredScopes
llm_skill:writeTags
Environments Llm Skills Name RetrievePOSTHOG_ENVIRONMENTS_LLM_SKILLS_NAME_RETRIEVEEnvironments Llm Skills Name RetrieveConnection1 scope
Environments Llm Skills Name Retrieve
Authentication
Connected account requiredScopes
llm_skill:readTags
Environments Llm Skills Resolve Name RetrievePOSTHOG_ENVIRONMENTS_LLM_SKILLS_RESOLVE_NAME_RETRIEVEEnvironments Llm Skills Resolve Name RetrieveConnection1 scope
Environments Llm Skills Resolve Name Retrieve
Authentication
Connected account requiredScopes
llm_skill:readTags
Environments Logs Alerts CreatePOSTHOG_ENVIRONMENTS_LOGS_ALERTS_CREATEEnvironments Logs Alerts CreateConnection1 scope
Environments Logs Alerts Create
Authentication
Connected account requiredScopes
logs:writeTags
Environments Logs Alerts Destinations CreatePOSTHOG_ENVIRONMENTS_LOGS_ALERTS_DESTINATIONS_CREATECreate a notification destination for this alert. One HogFunction is created per alert event kind (firing, resolved, ...) atomically.Connection1 scope
Create a notification destination for this alert. One HogFunction is created per alert event kind (firing, resolved, ...) atomically.
Authentication
Connected account requiredScopes
logs:writeTags
Environments Logs Alerts Destinations Delete CreatePOSTHOG_ENVIRONMENTS_LOGS_ALERTS_DESTINATIONS_DELETE_CREATEDelete a notification destination by deleting its HogFunction group atomically.Connection1 scope
Delete a notification destination by deleting its HogFunction group atomically.
Authentication
Connected account requiredScopes
logs:writeTags
Environments Logs Alerts DestroyPOSTHOG_ENVIRONMENTS_LOGS_ALERTS_DESTROYEnvironments Logs Alerts DestroyConnection1 scope
Environments Logs Alerts Destroy
Authentication
Connected account requiredScopes
logs:writeTags
Environments Logs Alerts Events ListPOSTHOG_ENVIRONMENTS_LOGS_ALERTS_EVENTS_LISTPaginated event history for this alert, newest first. Returns state transitions, errored checks, and user-initiated control-plane rows (reset, enable/disable, snooze/unsnooze, threshold change) — quiet no-op check rows (where state didn't change and there was no error) are filtered out since only the last 10 are kept and they carry no forensic value. Optional `?kind=...` narrows to a single kind.Connection1 scope
Paginated event history for this alert, newest first. Returns state transitions, errored checks, and user-initiated control-plane rows (reset, enable/disable, snooze/unsnooze, threshold change) — quiet no-op check rows (where state didn't change and there was no error) are filtered out since only the last 10 are kept and they carry no forensic value. Optional `?kind=...` narrows to a single kind.
Authentication
Connected account requiredScopes
logs:readTags
Environments Logs Alerts ListPOSTHOG_ENVIRONMENTS_LOGS_ALERTS_LISTEnvironments Logs Alerts ListConnection1 scope
Environments Logs Alerts List
Authentication
Connected account requiredScopes
logs:readTags
Environments Logs Alerts Partial UpdatePOSTHOG_ENVIRONMENTS_LOGS_ALERTS_PARTIAL_UPDATEEnvironments Logs Alerts Partial UpdateConnection1 scope
Environments Logs Alerts Partial Update
Authentication
Connected account requiredScopes
logs:writeTags
Environments Logs Alerts Reset CreatePOSTHOG_ENVIRONMENTS_LOGS_ALERTS_RESET_CREATEReset a broken alert. Clears the consecutive-failure counter and schedules an immediate recheck.Connection1 scope
Reset a broken alert. Clears the consecutive-failure counter and schedules an immediate recheck.
Authentication
Connected account requiredScopes
logs:writeTags
Environments Logs Alerts RetrievePOSTHOG_ENVIRONMENTS_LOGS_ALERTS_RETRIEVEEnvironments Logs Alerts RetrieveConnection1 scope
Environments Logs Alerts Retrieve
Authentication
Connected account requiredScopes
logs:readTags
Environments Logs Alerts Simulate CreatePOSTHOG_ENVIRONMENTS_LOGS_ALERTS_SIMULATE_CREATESimulate a logs alert on historical data using the full state machine. Read-only — no alert check records are created.Connection1 scope
Simulate a logs alert on historical data using the full state machine. Read-only — no alert check records are created.
Authentication
Connected account requiredScopes
logs:readTags
Environments Logs Alerts UpdatePOSTHOG_ENVIRONMENTS_LOGS_ALERTS_UPDATEEnvironments Logs Alerts UpdateConnection1 scope
Environments Logs Alerts Update
Authentication
Connected account requiredScopes
logs:writeTags
Environments Logs Attributes RetrievePOSTHOG_ENVIRONMENTS_LOGS_ATTRIBUTES_RETRIEVEEnvironments Logs Attributes RetrieveConnection1 scope
Environments Logs Attributes Retrieve
Authentication
Connected account requiredScopes
logs:readTags
Environments Logs Config Partial UpdatePOSTHOG_ENVIRONMENTS_LOGS_CONFIG_PARTIAL_UPDATEManage logs product configuration for this environment.Connection
Manage logs product configuration for this environment.
Authentication
Connected account requiredTags
Environments Logs Config RetrievePOSTHOG_ENVIRONMENTS_LOGS_CONFIG_RETRIEVEManage logs product configuration for this environment.Connection
Manage logs product configuration for this environment.
Authentication
Connected account requiredTags
Environments Logs Count CreatePOSTHOG_ENVIRONMENTS_LOGS_COUNT_CREATEEnvironments Logs Count CreateConnection1 scope
Environments Logs Count Create
Authentication
Connected account requiredScopes
logs:readTags
Environments Logs Count Ranges CreatePOSTHOG_ENVIRONMENTS_LOGS_COUNT_RANGES_CREATEEnvironments Logs Count Ranges CreateConnection1 scope
Environments Logs Count Ranges Create
Authentication
Connected account requiredScopes
logs:readTags
Environments Logs ExplainLogWithAI CreatePOSTHOG_ENVIRONMENTS_LOGS_EXPLAIN_LOG_WITH_AI_CREATEExplain a log entry using AI. POST /api/environments/:id/logs/explainLogWithAI/Connection1 scope
Explain a log entry using AI. POST /api/environments/:id/logs/explainLogWithAI/
Authentication
Connected account requiredScopes
logs:writeTags
Environments Logs Export CreatePOSTHOG_ENVIRONMENTS_LOGS_EXPORT_CREATEEnvironments Logs Export CreateConnection1 scope
Environments Logs Export Create
Authentication
Connected account requiredScopes
logs:readTags
Environments Logs Facet Values CreatePOSTHOG_ENVIRONMENTS_LOGS_FACET_VALUES_CREATEEnvironments Logs Facet Values CreateConnection1 scope
Environments Logs Facet Values Create
Authentication
Connected account requiredScopes
logs:readTags
Environments Logs Group By CreatePOSTHOG_ENVIRONMENTS_LOGS_GROUP_BY_CREATEEnvironments Logs Group By CreateConnection1 scope
Environments Logs Group By Create
Authentication
Connected account requiredScopes
logs:readTags
Environments Logs Has Logs RetrievePOSTHOG_ENVIRONMENTS_LOGS_HAS_LOGS_RETRIEVEEnvironments Logs Has Logs RetrieveConnection1 scope
Environments Logs Has Logs Retrieve
Authentication
Connected account requiredScopes
logs:readTags
Environments Logs Patterns CreatePOSTHOG_ENVIRONMENTS_LOGS_PATTERNS_CREATEEnvironments Logs Patterns CreateConnection1 scope
Environments Logs Patterns Create
Authentication
Connected account requiredScopes
logs:readTags
Environments Logs Query CreatePOSTHOG_ENVIRONMENTS_LOGS_QUERY_CREATEEnvironments Logs Query CreateConnection1 scope
Environments Logs Query Create
Authentication
Connected account requiredScopes
logs:readTags
Environments Logs Sampling Rules CreatePOSTHOG_ENVIRONMENTS_LOGS_SAMPLING_RULES_CREATEEnvironments Logs Sampling Rules CreateConnection1 scope
Environments Logs Sampling Rules Create
Authentication
Connected account requiredScopes
logs:writeTags
Environments Logs Sampling Rules DestroyPOSTHOG_ENVIRONMENTS_LOGS_SAMPLING_RULES_DESTROYEnvironments Logs Sampling Rules DestroyConnection1 scope
Environments Logs Sampling Rules Destroy
Authentication
Connected account requiredScopes
logs:writeTags
Environments Logs Sampling Rules ListPOSTHOG_ENVIRONMENTS_LOGS_SAMPLING_RULES_LISTEnvironments Logs Sampling Rules ListConnection1 scope
Environments Logs Sampling Rules List
Authentication
Connected account requiredScopes
logs:readTags
Environments Logs Sampling Rules Partial UpdatePOSTHOG_ENVIRONMENTS_LOGS_SAMPLING_RULES_PARTIAL_UPDATEEnvironments Logs Sampling Rules Partial UpdateConnection1 scope
Environments Logs Sampling Rules Partial Update
Authentication
Connected account requiredScopes
logs:writeTags
Environments Logs Sampling Rules Reorder CreatePOSTHOG_ENVIRONMENTS_LOGS_SAMPLING_RULES_REORDER_CREATEAtomically reassign priorities so the given ID order maps to ascending priorities (0..n-1).Connection
Atomically reassign priorities so the given ID order maps to ascending priorities (0..n-1).
Authentication
Connected account requiredTags
Environments Logs Sampling Rules RetrievePOSTHOG_ENVIRONMENTS_LOGS_SAMPLING_RULES_RETRIEVEEnvironments Logs Sampling Rules RetrieveConnection1 scope
Environments Logs Sampling Rules Retrieve
Authentication
Connected account requiredScopes
logs:readTags
Environments Logs Sampling Rules Simulate CreatePOSTHOG_ENVIRONMENTS_LOGS_SAMPLING_RULES_SIMULATE_CREATEDry-run estimate for how much volume this rule would remove (placeholder response until CH-backed simulation is wired).Connection
Dry-run estimate for how much volume this rule would remove (placeholder response until CH-backed simulation is wired).
Authentication
Connected account requiredTags
Environments Logs Sampling Rules UpdatePOSTHOG_ENVIRONMENTS_LOGS_SAMPLING_RULES_UPDATEEnvironments Logs Sampling Rules UpdateConnection1 scope
Environments Logs Sampling Rules Update
Authentication
Connected account requiredScopes
logs:writeTags
Environments Logs Services CreatePOSTHOG_ENVIRONMENTS_LOGS_SERVICES_CREATEEnvironments Logs Services CreateConnection1 scope
Environments Logs Services Create
Authentication
Connected account requiredScopes
logs:readTags
Environments Logs Sparkline CreatePOSTHOG_ENVIRONMENTS_LOGS_SPARKLINE_CREATEEnvironments Logs Sparkline CreateConnection1 scope
Environments Logs Sparkline Create
Authentication
Connected account requiredScopes
logs:readTags
Environments Logs Values RetrievePOSTHOG_ENVIRONMENTS_LOGS_VALUES_RETRIEVEEnvironments Logs Values RetrieveConnection1 scope
Environments Logs Values Retrieve
Authentication
Connected account requiredScopes
logs:readTags
Environments Logs Views CreatePOSTHOG_ENVIRONMENTS_LOGS_VIEWS_CREATEEnvironments Logs Views CreateConnection1 scope
Environments Logs Views Create
Authentication
Connected account requiredScopes
logs:writeTags
Environments Logs Views DestroyPOSTHOG_ENVIRONMENTS_LOGS_VIEWS_DESTROYEnvironments Logs Views DestroyConnection1 scope
Environments Logs Views Destroy
Authentication
Connected account requiredScopes
logs:writeTags
Environments Logs Views ListPOSTHOG_ENVIRONMENTS_LOGS_VIEWS_LISTEnvironments Logs Views ListConnection1 scope
Environments Logs Views List
Authentication
Connected account requiredScopes
logs:readTags
Environments Logs Views Partial UpdatePOSTHOG_ENVIRONMENTS_LOGS_VIEWS_PARTIAL_UPDATEEnvironments Logs Views Partial UpdateConnection1 scope
Environments Logs Views Partial Update
Authentication
Connected account requiredScopes
logs:writeTags
Environments Logs Views RetrievePOSTHOG_ENVIRONMENTS_LOGS_VIEWS_RETRIEVEEnvironments Logs Views RetrieveConnection1 scope
Environments Logs Views Retrieve
Authentication
Connected account requiredScopes
logs:readTags
Environments Logs Views UpdatePOSTHOG_ENVIRONMENTS_LOGS_VIEWS_UPDATEEnvironments Logs Views UpdateConnection1 scope
Environments Logs Views Update
Authentication
Connected account requiredScopes
logs:writeTags
Environments Managed Viewsets RetrievePOSTHOG_ENVIRONMENTS_MANAGED_VIEWSETS_RETRIEVEGet all views associated with a specific managed viewset. GET /api/environments/{team_id}/managed_viewsets/{kind}/Connection1 scope
Get all views associated with a specific managed viewset. GET /api/environments/{team_id}/managed_viewsets/{kind}/
Authentication
Connected account requiredScopes
warehouse_view:readTags
Environments Managed Viewsets UpdatePOSTHOG_ENVIRONMENTS_MANAGED_VIEWSETS_UPDATEEnable or disable a managed viewset by kind. PUT /api/environments/{team_id}/managed_viewsets/{kind}/ with body {"enabled": true/false}Connection1 scope
Enable or disable a managed viewset by kind. PUT /api/environments/{team_id}/managed_viewsets/{kind}/ with body {"enabled": true/false}
Authentication
Connected account requiredScopes
warehouse_view:writeTags
List conversion goalsPOSTHOG_ENVIRONMENTS_MARKETING_ANALYTICS_CONVERSION_GOALS_RETRIEVERead the configured conversion goals for the current project — each with its kind, target, last-30d count, integrated vs non-integrated split, and a misconfiguration flag. Read-only.Connection1 scope
Read the configured conversion goals for the current project — each with its kind, target, last-30d count, integrated vs non-integrated split, and a misconfiguration flag. Read-only.
Authentication
Connected account requiredScopes
marketing_analytics:readTags
List marketing data sourcesPOSTHOG_ENVIRONMENTS_MARKETING_ANALYTICS_DATA_SOURCES_RETRIEVECheck the platform → data-warehouse side of every native marketing integration: connection state, sync recency, row counts, required-table status, and schema-mapping coverage. Read-only.Connection1 scope
Check the platform → data-warehouse side of every native marketing integration: connection state, sync recency, row counts, required-table status, and schema-mapping coverage. Read-only.
Authentication
Connected account requiredScopes
marketing_analytics:readTags
Diagnose marketing analyticsPOSTHOG_ENVIRONMENTS_MARKETING_ANALYTICS_DIAGNOSE_RETRIEVEAggregate data-source sync health, UTM attribution health, and conversion-goal config into a single per-integration diagnostic with recommended actions. Read-only.Connection1 scope
Aggregate data-source sync health, UTM attribution health, and conversion-goal config into a single per-integration diagnostic with recommended actions. Read-only.
Authentication
Connected account requiredScopes
marketing_analytics:readTags
Explain a conversion goalPOSTHOG_ENVIRONMENTS_MARKETING_ANALYTICS_EXPLAIN_CONVERSION_GOAL_RETRIEVEBreak down a single conversion goal's events over a period by event name, utm_source, and matched integration, with a small sample of events. Read-only.Connection1 scope
Break down a single conversion goal's events over a period by event name, utm_source, and matched integration, with a small sample of events. Read-only.
Authentication
Connected account requiredScopes
marketing_analytics:readTags
Suggest conversion goalsPOSTHOG_ENVIRONMENTS_MARKETING_ANALYTICS_SUGGEST_CONVERSION_GOALS_RETRIEVERank existing custom events as conversion-goal candidates by volume, UTM-tag coverage, and unique users, excluding system/autocaptured events. Read-only.Connection1 scope
Rank existing custom events as conversion-goal candidates by volume, UTM-tag coverage, and unique users, excluding system/autocaptured events. Read-only.
Authentication
Connected account requiredScopes
marketing_analytics:readTags
Suggest UTM source mappingsPOSTHOG_ENVIRONMENTS_MARKETING_ANALYTICS_SUGGEST_UTM_MAPPINGS_RETRIEVEDetect unmatched utm_source values from recent events and propose custom_source_mappings entries, alongside the full utm_source catalogue and current mappings. Read-only.Connection1 scope
Detect unmatched utm_source values from recent events and propose custom_source_mappings entries, alongside the full utm_source catalogue and current mappings. Read-only.
Authentication
Connected account requiredScopes
marketing_analytics:readTags
Environments Marketing Analytics Test Mapping CreatePOSTHOG_ENVIRONMENTS_MARKETING_ANALYTICS_TEST_MAPPING_CREATEEnvironments Marketing Analytics Test Mapping CreateConnection
Environments Marketing Analytics Test Mapping Create
Authentication
Connected account requiredTags
Run UTM auditPOSTHOG_ENVIRONMENTS_MARKETING_ANALYTICS_UTM_AUDIT_RETRIEVECross-reference campaigns with spend from ad platforms against pageview events with UTM parameters to identify tracking issues.Connection1 scope
Cross-reference campaigns with spend from ad platforms against pageview events with UTM parameters to identify tracking issues.
Authentication
Connected account requiredScopes
marketing_analytics:readTags
Environments Max Tools Create And Query Insight CreatePOSTHOG_ENVIRONMENTS_MAX_TOOLS_CREATE_AND_QUERY_INSIGHT_CREATEEnvironments Max Tools Create And Query Insight CreateConnection2 scopes
Environments Max Tools Create And Query Insight Create
Authentication
Connected account requiredScopes
insight:readquery:readTags
Environments Mcp Analytics Feedback CreatePOSTHOG_ENVIRONMENTS_MCP_ANALYTICS_FEEDBACK_CREATECreate a new MCP feedback submission for the current project.Connection1 scope
Create a new MCP feedback submission for the current project.
Authentication
Connected account requiredScopes
mcp_analytics:writeTags
Environments Mcp Analytics Feedback ListPOSTHOG_ENVIRONMENTS_MCP_ANALYTICS_FEEDBACK_LISTList MCP feedback submissions for the current project, newest first.Connection1 scope
List MCP feedback submissions for the current project, newest first.
Authentication
Connected account requiredScopes
mcp_analytics:readTags
Environments Mcp Analytics Intent Clusters RecomputePOSTHOG_ENVIRONMENTS_MCP_ANALYTICS_INTENT_CLUSTERS_RECOMPUTETrigger an asynchronous recompute of the intent cluster snapshot. The task runs in the background; poll the GET endpoint for progress (status transitions to 'idle' or 'error').Connection1 scope
Trigger an asynchronous recompute of the intent cluster snapshot. The task runs in the background; poll the GET endpoint for progress (status transitions to 'idle' or 'error').
Authentication
Connected account requiredScopes
mcp_analytics:writeTags
Environments Mcp Analytics Intent Clusters RetrievePOSTHOG_ENVIRONMENTS_MCP_ANALYTICS_INTENT_CLUSTERS_RETRIEVEReturn the most recent intent cluster snapshot for the current project. Returns an empty IDLE snapshot when no clustering run has happened yet.Connection1 scope
Return the most recent intent cluster snapshot for the current project. Returns an empty IDLE snapshot when no clustering run has happened yet.
Authentication
Connected account requiredScopes
mcp_analytics:readTags
Environments Mcp Analytics Missing Capabilities CreatePOSTHOG_ENVIRONMENTS_MCP_ANALYTICS_MISSING_CAPABILITIES_CREATECreate a new missing capability report for the current project.Connection1 scope
Create a new missing capability report for the current project.
Authentication
Connected account requiredScopes
mcp_analytics:writeTags
Environments Mcp Analytics Missing Capabilities ListPOSTHOG_ENVIRONMENTS_MCP_ANALYTICS_MISSING_CAPABILITIES_LISTList missing capability reports for the current project, newest first.Connection1 scope
List missing capability reports for the current project, newest first.
Authentication
Connected account requiredScopes
mcp_analytics:readTags
Environments Mcp Analytics Sessions Activity OverviewPOSTHOG_ENVIRONMENTS_MCP_ANALYTICS_SESSIONS_ACTIVITY_OVERVIEWAggregate counters, top tools, agent clients, and the most recent tool calls for the last 30 days, computed in one request. Powers the dashboard's activity view; always computed fresh so polling callers watch data arrive.Connection1 scope
Aggregate counters, top tools, agent clients, and the most recent tool calls for the last 30 days, computed in one request. Powers the dashboard's activity view; always computed fresh so polling callers watch data arrive.
Authentication
Connected account requiredScopes
mcp_analytics:readTags
Environments Mcp Analytics Sessions Generate IntentPOSTHOG_ENVIRONMENTS_MCP_ANALYTICS_SESSIONS_GENERATE_INTENTGenerate (or return the cached) LLM summary of the agent's goal for a session, derived from its recorded $mcp_intents. The first call summarises and persists the result; subsequent calls return the stored summary.Connection1 scope
Generate (or return the cached) LLM summary of the agent's goal for a session, derived from its recorded $mcp_intents. The first call summarises and persists the result; subsequent calls return the stored summary.
Authentication
Connected account requiredScopes
mcp_analytics:writeTags
Environments Mcp Analytics Sessions Intent DigestPOSTHOG_ENVIRONMENTS_MCP_ANALYTICS_SESSIONS_INTENT_DIGESTGenerate (or return the cached) LLM digest of what agents are trying to do with this MCP server, derived from the most recent recorded $mcp_intents across all sessions. Content-addressed cache: only regenerates when new intents arrive. Powers the dashboard's low-volume activity stage.Connection1 scope
Generate (or return the cached) LLM digest of what agents are trying to do with this MCP server, derived from the most recent recorded $mcp_intents across all sessions. Content-addressed cache: only regenerates when new intents arrive. Powers the dashboard's low-volume activity stage.
Authentication
Connected account requiredScopes
mcp_analytics:writeTags
Environments Mcp Analytics Sessions ListPOSTHOG_ENVIRONMENTS_MCP_ANALYTICS_SESSIONS_LISTList MCP sessions for the current project, derived by grouping $mcp_tool_call events by $mcp_session_id. Ordered by newest session start first by default.Connection1 scope
List MCP sessions for the current project, derived by grouping $mcp_tool_call events by $mcp_session_id. Ordered by newest session start first by default.
Authentication
Connected account requiredScopes
mcp_analytics:readTags
Environments Mcp Analytics Sessions Tool CallsPOSTHOG_ENVIRONMENTS_MCP_ANALYTICS_SESSIONS_TOOL_CALLSList a page of the $mcp_tool_call events that belong to a given $session_id, in chronological order.Connection1 scope
List a page of the $mcp_tool_call events that belong to a given $session_id, in chronological order.
Authentication
Connected account requiredScopes
mcp_analytics:readTags
Environments Mcp Server Installations Authorize RetrievePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_AUTHORIZE_RETRIEVEStart (or re-start) an OAuth flow. Pass ``template_id`` to (re)connect a catalog template, or ``installation_id`` to reconnect an existing custom install using its cached metadata and per-user DCR creds.Connection1 scope
Start (or re-start) an OAuth flow. Pass ``template_id`` to (re)connect a catalog template, or ``installation_id`` to reconnect an existing custom install using its cached metadata and per-user DCR creds.
Authentication
Connected account requiredScopes
project:readTags
Environments Mcp Server Installations CreatePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_CREATEEnvironments Mcp Server Installations CreateConnection1 scope
Environments Mcp Server Installations Create
Authentication
Connected account requiredScopes
project:writeTags
Environments Mcp Server Installations DestroyPOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_DESTROYEnvironments Mcp Server Installations DestroyConnection1 scope
Environments Mcp Server Installations Destroy
Authentication
Connected account requiredScopes
project:readTags
Environments Mcp Server Installations Install Custom CreatePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_INSTALL_CUSTOM_CREATEEnvironments Mcp Server Installations Install Custom CreateConnection1 scope
Environments Mcp Server Installations Install Custom Create
Authentication
Connected account requiredScopes
project:readTags
Environments Mcp Server Installations Install Template CreatePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_INSTALL_TEMPLATE_CREATEEnvironments Mcp Server Installations Install Template CreateConnection1 scope
Environments Mcp Server Installations Install Template Create
Authentication
Connected account requiredScopes
project:readTags
Environments Mcp Server Installations ListPOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_LISTEnvironments Mcp Server Installations ListConnection1 scope
Environments Mcp Server Installations List
Authentication
Connected account requiredScopes
project:readTags
Environments Mcp Server Installations Partial UpdatePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_PARTIAL_UPDATEEnvironments Mcp Server Installations Partial UpdateConnection1 scope
Environments Mcp Server Installations Partial Update
Authentication
Connected account requiredScopes
project:readTags
Environments Mcp Server Installations Proxy CreatePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_PROXY_CREATEEnvironments Mcp Server Installations Proxy CreateConnection1 scope
Environments Mcp Server Installations Proxy Create
Authentication
Connected account requiredScopes
project:readTags
Environments Mcp Server Installations RetrievePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_RETRIEVEEnvironments Mcp Server Installations RetrieveConnection1 scope
Environments Mcp Server Installations Retrieve
Authentication
Connected account requiredScopes
project:readTags
Environments Mcp Server Installations Tools Partial UpdatePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_TOOLS_PARTIAL_UPDATEEnvironments Mcp Server Installations Tools Partial UpdateConnection1 scope
Environments Mcp Server Installations Tools Partial Update
Authentication
Connected account requiredScopes
project:readTags
Environments Mcp Server Installations Tools Refresh CreatePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_TOOLS_REFRESH_CREATEEnvironments Mcp Server Installations Tools Refresh CreateConnection1 scope
Environments Mcp Server Installations Tools Refresh Create
Authentication
Connected account requiredScopes
project:readTags
Environments Mcp Server Installations Tools RetrievePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_TOOLS_RETRIEVEEnvironments Mcp Server Installations Tools RetrieveConnection1 scope
Environments Mcp Server Installations Tools Retrieve
Authentication
Connected account requiredScopes
project:readTags
Environments Mcp Server Installations UpdatePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_UPDATEEnvironments Mcp Server Installations UpdateConnection1 scope
Environments Mcp Server Installations Update
Authentication
Connected account requiredScopes
project:writeTags
Environments Mcp Servers ListPOSTHOG_ENVIRONMENTS_MCP_SERVERS_LISTLists curated MCP server templates that users can install with one click. Templates are seeded by PostHog operators and carry shared, encrypted OAuth client credentials. Inactive templates are hidden from the catalog.Connection1 scope
Lists curated MCP server templates that users can install with one click. Templates are seeded by PostHog operators and carry shared, encrypted OAuth client credentials. Inactive templates are hidden from the catalog.
Authentication
Connected account requiredScopes
project:readTags
Environments Mcp Tools CreatePOSTHOG_ENVIRONMENTS_MCP_TOOLS_CREATEInvoke an MCP tool by name. This endpoint allows MCP callers to invoke Max AI tools directly without going through the full LangChain conversation flow. Scopes are resolved dynamically per tool via dangerously_get_required_scopes.Connection
Invoke an MCP tool by name. This endpoint allows MCP callers to invoke Max AI tools directly without going through the full LangChain conversation flow. Scopes are resolved dynamically per tool via dangerously_get_required_scopes.
Authentication
Connected account requiredTags
Environments Messaging Templates CreatePOSTHOG_ENVIRONMENTS_MESSAGING_TEMPLATES_CREATEEnvironments Messaging Templates CreateConnection1 scope
Environments Messaging Templates Create
Authentication
Connected account requiredScopes
hog_flow:writeTags
Environments Messaging Templates Design Partial UpdatePOSTHOG_ENVIRONMENTS_MESSAGING_TEMPLATES_DESIGN_PARTIAL_UPDATEEnvironments Messaging Templates Design Partial UpdateConnection1 scope
Environments Messaging Templates Design Partial Update
Authentication
Connected account requiredScopes
hog_flow:writeTags
Environments Messaging Templates DestroyPOSTHOG_ENVIRONMENTS_MESSAGING_TEMPLATES_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
hog_flow:writeTags
Environments Messaging Templates ListPOSTHOG_ENVIRONMENTS_MESSAGING_TEMPLATES_LISTEnvironments Messaging Templates ListConnection1 scope
Environments Messaging Templates List
Authentication
Connected account requiredScopes
hog_flow:readTags
Environments Messaging Templates Partial UpdatePOSTHOG_ENVIRONMENTS_MESSAGING_TEMPLATES_PARTIAL_UPDATEEnvironments Messaging Templates Partial UpdateConnection1 scope
Environments Messaging Templates Partial Update
Authentication
Connected account requiredScopes
hog_flow:writeTags
Environments Messaging Templates RetrievePOSTHOG_ENVIRONMENTS_MESSAGING_TEMPLATES_RETRIEVEEnvironments Messaging Templates RetrieveConnection1 scope
Environments Messaging Templates Retrieve
Authentication
Connected account requiredScopes
hog_flow:readTags
Environments Messaging Templates UpdatePOSTHOG_ENVIRONMENTS_MESSAGING_TEMPLATES_UPDATEEnvironments Messaging Templates UpdateConnection1 scope
Environments Messaging Templates Update
Authentication
Connected account requiredScopes
hog_flow:writeTags
Environments Metrics Characterize CreatePOSTHOG_ENVIRONMENTS_METRICS_CHARACTERIZE_CREATECharacterize a metric anomaly: compare an anomaly window against a baseline, find the onset, and rank which label values moved.Connection1 scope
Characterize a metric anomaly: compare an anomaly window against a baseline, find the onset, and rank which label values moved.
Authentication
Connected account requiredScopes
metrics:readTags
Environments Metrics Has Metrics RetrievePOSTHOG_ENVIRONMENTS_METRICS_HAS_METRICS_RETRIEVEEnvironments Metrics Has Metrics RetrieveConnection1 scope
Environments Metrics Has Metrics Retrieve
Authentication
Connected account requiredScopes
metrics:readTags
Environments Metrics Query CreatePOSTHOG_ENVIRONMENTS_METRICS_QUERY_CREATEEnvironments Metrics Query CreateConnection1 scope
Environments Metrics Query Create
Authentication
Connected account requiredScopes
metrics:readTags
Environments Metrics Samples CreatePOSTHOG_ENVIRONMENTS_METRICS_SAMPLES_CREATERaw individual emissions for a metric (the events model), newest first — backs the Samples view and the metric->trace pivot.Connection1 scope
Raw individual emissions for a metric (the events model), newest first — backs the Samples view and the metric->trace pivot.
Authentication
Connected account requiredScopes
metrics:readTags
Environments Metrics Values RetrievePOSTHOG_ENVIRONMENTS_METRICS_VALUES_RETRIEVEDistinct metric names for the team. Backs the picker UI.Connection1 scope
Distinct metric names for the team. Backs the picker UI.
Authentication
Connected account requiredScopes
metrics:readTags
Environments Partial UpdatePOSTHOG_ENVIRONMENTS_PARTIAL_UPDATEDeprecated: use /api/environments/{id}/ instead.Connection1 scope
Deprecated: use /api/environments/{id}/ instead.
Authentication
Connected account requiredScopes
project:writeTags
Environments Persons Activity RetrievePOSTHOG_ENVIRONMENTS_PERSONS_ACTIVITY_RETRIEVEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection1 scope
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredScopes
activity_log:readTags
Environments Persons All Activity RetrievePOSTHOG_ENVIRONMENTS_PERSONS_ALL_ACTIVITY_RETRIEVEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection1 scope
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredScopes
activity_log:readTags
Environments Persons Batch By Distinct Ids CreatePOSTHOG_ENVIRONMENTS_PERSONS_BATCH_BY_DISTINCT_IDS_CREATEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection1 scope
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredScopes
person:readTags
Environments Persons Batch By Uuids CreatePOSTHOG_ENVIRONMENTS_PERSONS_BATCH_BY_UUIDS_CREATEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection1 scope
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredScopes
person:readTags
Environments Persons Bulk Delete CreatePOSTHOG_ENVIRONMENTS_PERSONS_BULK_DELETE_CREATEThis endpoint allows you to bulk delete persons, either by the PostHog person IDs or by distinct IDs. You can pass in a maximum of 1000 IDs per call. Only events captured before the request will be deleted.Connection1 scope
This endpoint allows you to bulk delete persons, either by the PostHog person IDs or by distinct IDs. You can pass in a maximum of 1000 IDs per call. Only events captured before the request will be deleted.
Authentication
Connected account requiredScopes
person:writeTags
Environments Persons Cohorts RetrievePOSTHOG_ENVIRONMENTS_PERSONS_COHORTS_RETRIEVEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection2 scopes
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredScopes
person:readcohort:readTags
Environments Persons Delete Property CreatePOSTHOG_ENVIRONMENTS_PERSONS_DELETE_PROPERTY_CREATEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection1 scope
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredScopes
person:writeTags
Environments Persons Deletion Status ListPOSTHOG_ENVIRONMENTS_PERSONS_DELETION_STATUS_LISTList the status of queued event deletions for persons. When you delete a person with `delete_events=true`, an async deletion is queued. Use this endpoint to check whether those deletions are still pending or have been completed.Connection1 scope
List the status of queued event deletions for persons. When you delete a person with `delete_events=true`, an async deletion is queued. Use this endpoint to check whether those deletions are still pending or have been completed.
Authentication
Connected account requiredScopes
person:readTags
Environments Persons Emails ListPOSTHOG_ENVIRONMENTS_PERSONS_EMAILS_LISTThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection1 scope
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredScopes
person:readTags
Environments Persons Funnel CreatePOSTHOG_ENVIRONMENTS_PERSONS_FUNNEL_CREATEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredTags
Environments Persons Funnel RetrievePOSTHOG_ENVIRONMENTS_PERSONS_FUNNEL_RETRIEVEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredTags
Environments Persons Lifecycle RetrievePOSTHOG_ENVIRONMENTS_PERSONS_LIFECYCLE_RETRIEVEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredTags
Environments Persons ListPOSTHOG_ENVIRONMENTS_PERSONS_LISTThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection1 scope
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredScopes
person:readTags
Environments Persons Partial UpdatePOSTHOG_ENVIRONMENTS_PERSONS_PARTIAL_UPDATEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection1 scope
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredScopes
person:writeTags
Environments Persons Properties At Time RetrievePOSTHOG_ENVIRONMENTS_PERSONS_PROPERTIES_AT_TIME_RETRIEVEGet person properties as they existed at a specific point in time. This endpoint reconstructs person properties by querying ClickHouse events for $set and $set_once operations up to the specified timestamp. Query parameters: - distinct_id: The distinct_id of the person - timestamp: ISO datetime string for the point in time (e.g., "2023-06-15T14:30:00Z") - include_set_once: Whether to handle $set_once operations (default: false)Connection1 scope
Get person properties as they existed at a specific point in time. This endpoint reconstructs person properties by querying ClickHouse events for $set and $set_once operations up to the specified timestamp. Query parameters: - distinct_id: The distinct_id of the person - timestamp: ISO datetime string for the point in time (e.g., "2023-06-15T14:30:00Z") - include_set_once: Whether to handle $set_once operations (default: false)
Authentication
Connected account requiredScopes
person:readTags
Environments Persons Properties Timeline RetrievePOSTHOG_ENVIRONMENTS_PERSONS_PROPERTIES_TIMELINE_RETRIEVEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredTags
Environments Persons Reset Person Distinct Id CreatePOSTHOG_ENVIRONMENTS_PERSONS_RESET_PERSON_DISTINCT_ID_CREATEReset a distinct_id for a deleted person. This allows the distinct_id to be used again.Connection1 scope
Reset a distinct_id for a deleted person. This allows the distinct_id to be used again.
Authentication
Connected account requiredScopes
person:writeTags
Environments Persons RetrievePOSTHOG_ENVIRONMENTS_PERSONS_RETRIEVEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection1 scope
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredScopes
person:readTags
Environments Persons Split CreatePOSTHOG_ENVIRONMENTS_PERSONS_SPLIT_CREATESplit distinct_ids off a merged person. Two mutually exclusive modes: - **`distinct_ids_to_split`** (recommended for surgical edits): moves only the listed distinct_ids off this person onto new single-id persons. The original person keeps every other distinct_id and its properties. - **`main_distinct_id`**: keeps only the specified distinct_id on this person; moves every *other* distinct_id off onto its own new person. If omitted, the first distinct_id is kept. The original person always retains its properties. To clear individual properties afterward, use the `delete_property` endpoint. The split runs asynchronously: a 201 response means the task was enqueued. Newly-created split-off persons get a deterministic UUID derived from `(team_id, distinct_id)`, so they can be located client-side without polling. If you need to delete a split-off person after this call, prefer looking it up by that deterministic UUID rather than by distinct_id, since the latter still resolves to the original merged person until the async task completes.Connection1 scope
Split distinct_ids off a merged person. Two mutually exclusive modes: - **`distinct_ids_to_split`** (recommended for surgical edits): moves only the listed distinct_ids off this person onto new single-id persons. The original person keeps every other distinct_id and its properties. - **`main_distinct_id`**: keeps only the specified distinct_id on this person; moves every *other* distinct_id off onto its own new person. If omitted, the first distinct_id is kept. The original person always retains its properties. To clear individual properties afterward, use the `delete_property` endpoint. The split runs asynchronously: a 201 response means the task was enqueued. Newly-created split-off persons get a deterministic UUID derived from `(team_id, distinct_id)`, so they can be located client-side without polling. If you need to delete a split-off person after this call, prefer looking it up by that deterministic UUID rather than by distinct_id, since the latter still resolves to the original merged person until the async task completes.
Authentication
Connected account requiredScopes
person:writeTags
Environments Persons Trends RetrievePOSTHOG_ENVIRONMENTS_PERSONS_TRENDS_RETRIEVEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredTags
Environments Persons UpdatePOSTHOG_ENVIRONMENTS_PERSONS_UPDATEOnly for setting properties on the person. "properties" from the request data will be updated via a "$set" event. This means that only the properties listed will be updated, but other properties won't be removed nor updated. If you would like to remove a property use the `delete_property` endpoint.Connection1 scope
Only for setting properties on the person. "properties" from the request data will be updated via a "$set" event. This means that only the properties listed will be updated, but other properties won't be removed nor updated. If you would like to remove a property use the `delete_property` endpoint.
Authentication
Connected account requiredScopes
person:writeTags
Environments Persons Update Property CreatePOSTHOG_ENVIRONMENTS_PERSONS_UPDATE_PROPERTY_CREATEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection1 scope
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredScopes
person:writeTags
Environments Persons Values RetrievePOSTHOG_ENVIRONMENTS_PERSONS_VALUES_RETRIEVEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection1 scope
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredScopes
person:readTags
Environments Plugin Configs Logs ListPOSTHOG_ENVIRONMENTS_PLUGIN_CONFIGS_LOGS_LISTEnvironments Plugin Configs Logs ListConnection1 scope
Environments Plugin Configs Logs List
Authentication
Connected account requiredScopes
plugin:readTags
Environments Project Secret Api Keys CreatePOSTHOG_ENVIRONMENTS_PROJECT_SECRET_API_KEYS_CREATEEnvironments Project Secret Api Keys CreateConnection1 scope
Environments Project Secret Api Keys Create
Authentication
Connected account requiredScopes
project:writeTags
Environments Project Secret Api Keys DestroyPOSTHOG_ENVIRONMENTS_PROJECT_SECRET_API_KEYS_DESTROYEnvironments Project Secret Api Keys DestroyConnection1 scope
Environments Project Secret Api Keys Destroy
Authentication
Connected account requiredScopes
project:writeTags
Environments Project Secret Api Keys ListPOSTHOG_ENVIRONMENTS_PROJECT_SECRET_API_KEYS_LISTEnvironments Project Secret Api Keys ListConnection1 scope
Environments Project Secret Api Keys List
Authentication
Connected account requiredScopes
project:readTags
Environments Project Secret Api Keys Partial UpdatePOSTHOG_ENVIRONMENTS_PROJECT_SECRET_API_KEYS_PARTIAL_UPDATEEnvironments Project Secret Api Keys Partial UpdateConnection1 scope
Environments Project Secret Api Keys Partial Update
Authentication
Connected account requiredScopes
project:writeTags
Environments Project Secret Api Keys RetrievePOSTHOG_ENVIRONMENTS_PROJECT_SECRET_API_KEYS_RETRIEVEEnvironments Project Secret Api Keys RetrieveConnection1 scope
Environments Project Secret Api Keys Retrieve
Authentication
Connected account requiredScopes
project:readTags
Environments Project Secret Api Keys Roll CreatePOSTHOG_ENVIRONMENTS_PROJECT_SECRET_API_KEYS_ROLL_CREATERoll a project secret API keyConnection1 scope
Roll a project secret API key
Authentication
Connected account requiredScopes
project:writeTags
Environments Project Secret Api Keys UpdatePOSTHOG_ENVIRONMENTS_PROJECT_SECRET_API_KEYS_UPDATEEnvironments Project Secret Api Keys UpdateConnection1 scope
Environments Project Secret Api Keys Update
Authentication
Connected account requiredScopes
project:writeTags
Environments Property Access Controls CreatePOSTHOG_ENVIRONMENTS_PROPERTY_ACCESS_CONTROLS_CREATECreate or update a property access control rule.Connection1 scope
Create or update a property access control rule.
Authentication
Connected account requiredScopes
access_control:writeTags
Environments Property Access Controls DestroyPOSTHOG_ENVIRONMENTS_PROPERTY_ACCESS_CONTROLS_DESTROYDelete a property access control rule. The rule is identified by `property_definition_id` plus an optional `organization_member` or `role` query parameter. Omitting both targets deletes the default rule.Connection1 scope
Delete a property access control rule. The rule is identified by `property_definition_id` plus an optional `organization_member` or `role` query parameter. Omitting both targets deletes the default rule.
Authentication
Connected account requiredScopes
access_control:writeTags
Environments Property Access Controls RetrievePOSTHOG_ENVIRONMENTS_PROPERTY_ACCESS_CONTROLS_RETRIEVEGet all property access control rules for a property definition.Connection1 scope
Get all property access control rules for a property definition.
Authentication
Connected account requiredScopes
access_control:readTags
Environments Query Check Auth For Async CreatePOSTHOG_ENVIRONMENTS_QUERY_CHECK_AUTH_FOR_ASYNC_CREATEDRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.Connection
DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.
Authentication
Connected account requiredTags
Environments Query CreatePOSTHOG_ENVIRONMENTS_QUERY_CREATEDRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.Connection1 scope
DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.
Authentication
Connected account requiredScopes
query:readTags
Environments Query Create With KindPOSTHOG_ENVIRONMENTS_QUERY_CREATE_WITH_KINDDRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.Connection
DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.
Authentication
Connected account requiredTags
Environments Query DestroyPOSTHOG_ENVIRONMENTS_QUERY_DESTROY(Experimental)Connection1 scope
(Experimental)
Authentication
Connected account requiredScopes
query:readTags
Environments Query Draft Sql RetrievePOSTHOG_ENVIRONMENTS_QUERY_DRAFT_SQL_RETRIEVEDRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.Connection
DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.
Authentication
Connected account requiredTags
Environments Query Log RetrievePOSTHOG_ENVIRONMENTS_QUERY_LOG_RETRIEVEGet query log details from query_log_archive table for a specific query_id, the query must have been issued in last 24 hours.Connection
Get query log details from query_log_archive table for a specific query_id, the query must have been issued in last 24 hours.
Authentication
Connected account requiredTags
Environments Query RetrievePOSTHOG_ENVIRONMENTS_QUERY_RETRIEVE(Experimental)Connection1 scope
(Experimental)
Authentication
Connected account requiredScopes
query:readTags
Environments Query Upgrade CreatePOSTHOG_ENVIRONMENTS_QUERY_UPGRADE_CREATEUpgrades a query without executing it. Returns a query with all nodes migrated to the latest version.Connection
Upgrades a query without executing it. Returns a query with all nodes migrated to the latest version.
Authentication
Connected account requiredTags
Environments Reset Token Partial UpdatePOSTHOG_ENVIRONMENTS_RESET_TOKEN_PARTIAL_UPDATEDeprecated: use /api/environments/{id}/ instead.Connection
Deprecated: use /api/environments/{id}/ instead.
Authentication
Connected account requiredTags
Environments RetrievePOSTHOG_ENVIRONMENTS_RETRIEVEDeprecated: use /api/environments/{id}/ instead.Connection1 scope
Deprecated: use /api/environments/{id}/ instead.
Authentication
Connected account requiredScopes
project:readTags
Environments Retrieve Session Summaries ConfigPOSTHOG_ENVIRONMENTS_RETRIEVE_SESSION_SUMMARIES_CONFIGRetrieve the team's session summaries configuration (product context used to tailor single-session replay summaries).Connection
Retrieve the team's session summaries configuration (product context used to tailor single-session replay summaries).
Authentication
Connected account requiredTags
Environments Rotate Secret Token Partial UpdatePOSTHOG_ENVIRONMENTS_ROTATE_SECRET_TOKEN_PARTIAL_UPDATEDeprecated: use /api/environments/{id}/ instead.Connection
Deprecated: use /api/environments/{id}/ instead.
Authentication
Connected account requiredTags
Environments Saved CreatePOSTHOG_ENVIRONMENTS_SAVED_CREATECreate a saved heatmap for a page URL. For type 'screenshot' (the default) this enqueues a headless render of the page at each target width; poll the saved heatmap or its content endpoint until status is 'completed'. Provide 'widths' to control which viewport widths are rendered.Connection1 scope
Create a saved heatmap for a page URL. For type 'screenshot' (the default) this enqueues a headless render of the page at each target width; poll the saved heatmap or its content endpoint until status is 'completed'. Provide 'widths' to control which viewport widths are rendered.
Authentication
Connected account requiredScopes
heatmap:writeTags
Environments Saved DestroyPOSTHOG_ENVIRONMENTS_SAVED_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
heatmap:writeTags
Environments Saved ListPOSTHOG_ENVIRONMENTS_SAVED_LISTList saved heatmaps for the project. A saved heatmap pins a page URL and a set of viewport widths, and (for type 'screenshot') renders the page so heatmap data can be overlaid on it.Connection1 scope
List saved heatmaps for the project. A saved heatmap pins a page URL and a set of viewport widths, and (for type 'screenshot') renders the page so heatmap data can be overlaid on it.
Authentication
Connected account requiredScopes
heatmap:readTags
Environments Saved Partial UpdatePOSTHOG_ENVIRONMENTS_SAVED_PARTIAL_UPDATEUpdate a saved heatmap (e.g. rename, change widths, or soft-delete via 'deleted'). Changing the URL of a 'screenshot' heatmap triggers a re-render.Connection1 scope
Update a saved heatmap (e.g. rename, change widths, or soft-delete via 'deleted'). Changing the URL of a 'screenshot' heatmap triggers a re-render.
Authentication
Connected account requiredScopes
heatmap:writeTags
Environments Saved Regenerate CreatePOSTHOG_ENVIRONMENTS_SAVED_REGENERATE_CREATERe-run screenshot generation for a saved heatmap of type 'screenshot'. Clears existing renders and re-renders at every target width; status returns to 'processing'.Connection1 scope
Re-run screenshot generation for a saved heatmap of type 'screenshot'. Clears existing renders and re-renders at every target width; status returns to 'processing'.
Authentication
Connected account requiredScopes
heatmap:writeTags
Environments Saved RetrievePOSTHOG_ENVIRONMENTS_SAVED_RETRIEVEGet a single saved heatmap by its short_id, including per-width render status.Connection1 scope
Get a single saved heatmap by its short_id, including per-width render status.
Authentication
Connected account requiredScopes
heatmap:readTags
Environments Session Recording Playlists CreatePOSTHOG_ENVIRONMENTS_SESSION_RECORDING_PLAYLISTS_CREATEEnvironments Session Recording Playlists CreateConnection1 scope
Environments Session Recording Playlists Create
Authentication
Connected account requiredScopes
session_recording_playlist:writeTags
Environments Session Recording Playlists DestroyPOSTHOG_ENVIRONMENTS_SESSION_RECORDING_PLAYLISTS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
session_recording_playlist:writeTags
Environments Session Recording Playlists ListPOSTHOG_ENVIRONMENTS_SESSION_RECORDING_PLAYLISTS_LISTOverride list to include synthetic playlists. Synthetics have no DB row, so we compute each one's position in the merged sort and split the requested page between synthetics and a DB queryset slice. The merge/rank/sort is all in-memory, so each phase is wrapped in a span and the input sizes are recorded as span attributes — a slow response on a team with many playlists then shows up as a wide span against a large db_count.Connection1 scope
Override list to include synthetic playlists. Synthetics have no DB row, so we compute each one's position in the merged sort and split the requested page between synthetics and a DB queryset slice. The merge/rank/sort is all in-memory, so each phase is wrapped in a span and the input sizes are recorded as span attributes — a slow response on a team with many playlists then shows up as a wide span against a large db_count.
Authentication
Connected account requiredScopes
session_recording_playlist:readTags
Environments Session Recording Playlists Partial UpdatePOSTHOG_ENVIRONMENTS_SESSION_RECORDING_PLAYLISTS_PARTIAL_UPDATEEnvironments Session Recording Playlists Partial UpdateConnection1 scope
Environments Session Recording Playlists Partial Update
Authentication
Connected account requiredScopes
session_recording_playlist:writeTags
Environments Session Recording Playlists Recordings CreatePOSTHOG_ENVIRONMENTS_SESSION_RECORDING_PLAYLISTS_RECORDINGS_CREATEEnvironments Session Recording Playlists Recordings CreateConnection
Environments Session Recording Playlists Recordings Create
Authentication
Connected account requiredTags
Environments Session Recording Playlists Recordings DestroyPOSTHOG_ENVIRONMENTS_SESSION_RECORDING_PLAYLISTS_RECORDINGS_DESTROYEnvironments Session Recording Playlists Recordings DestroyConnection
Environments Session Recording Playlists Recordings Destroy
Authentication
Connected account requiredTags
Environments Session Recording Playlists Recordings RetrievePOSTHOG_ENVIRONMENTS_SESSION_RECORDING_PLAYLISTS_RECORDINGS_RETRIEVEEnvironments Session Recording Playlists Recordings RetrieveConnection1 scope
Environments Session Recording Playlists Recordings Retrieve
Authentication
Connected account requiredScopes
session_recording_playlist:readTags
Environments Session Recording Playlists RetrievePOSTHOG_ENVIRONMENTS_SESSION_RECORDING_PLAYLISTS_RETRIEVEEnvironments Session Recording Playlists RetrieveConnection1 scope
Environments Session Recording Playlists Retrieve
Authentication
Connected account requiredScopes
session_recording_playlist:readTags
Environments Session Recording Playlists UpdatePOSTHOG_ENVIRONMENTS_SESSION_RECORDING_PLAYLISTS_UPDATEEnvironments Session Recording Playlists UpdateConnection1 scope
Environments Session Recording Playlists Update
Authentication
Connected account requiredScopes
session_recording_playlist:writeTags
Environments Session Recordings Bulk Delete CreatePOSTHOG_ENVIRONMENTS_SESSION_RECORDINGS_BULK_DELETE_CREATEDelete a batch of session recordings by session ID. Deletion is permanent and cannot be undone. IDs that don't match an existing recording are skipped and counted in `total_requested` but not `deleted_count`.Connection
Delete a batch of session recordings by session ID. Deletion is permanent and cannot be undone. IDs that don't match an existing recording are skipped and counted in `total_requested` but not `deleted_count`.
Authentication
Connected account requiredTags
Environments Session Recordings DestroyPOSTHOG_ENVIRONMENTS_SESSION_RECORDINGS_DESTROYEnvironments Session Recordings DestroyConnection1 scope
Environments Session Recordings Destroy
Authentication
Connected account requiredScopes
session_recording:writeTags
Environments Session Recordings ListPOSTHOG_ENVIRONMENTS_SESSION_RECORDINGS_LISTEnvironments Session Recordings ListConnection1 scope
Environments Session Recordings List
Authentication
Connected account requiredScopes
session_recording:readTags
Environments Session Recordings Partial UpdatePOSTHOG_ENVIRONMENTS_SESSION_RECORDINGS_PARTIAL_UPDATEEnvironments Session Recordings Partial UpdateConnection1 scope
Environments Session Recordings Partial Update
Authentication
Connected account requiredScopes
session_recording:writeTags
Environments Session Recordings RetrievePOSTHOG_ENVIRONMENTS_SESSION_RECORDINGS_RETRIEVEEnvironments Session Recordings RetrieveConnection1 scope
Environments Session Recordings Retrieve
Authentication
Connected account requiredScopes
session_recording:readTags
Environments Session Recordings Sharing ListPOSTHOG_ENVIRONMENTS_SESSION_RECORDINGS_SHARING_LISTEnvironments Session Recordings Sharing ListConnection1 scope
Environments Session Recordings Sharing List
Authentication
Connected account requiredScopes
sharing_configuration:readTags
Environments Session Recordings Sharing Passwords CreatePOSTHOG_ENVIRONMENTS_SESSION_RECORDINGS_SHARING_PASSWORDS_CREATECreate a new password for the sharing configuration.Connection1 scope
Create a new password for the sharing configuration.
Authentication
Connected account requiredScopes
sharing_configuration:writeTags
Environments Session Recordings Sharing Passwords DestroyPOSTHOG_ENVIRONMENTS_SESSION_RECORDINGS_SHARING_PASSWORDS_DESTROYDelete a password from the sharing configuration.Connection1 scope
Delete a password from the sharing configuration.
Authentication
Connected account requiredScopes
sharing_configuration:writeTags
Environments Session Recordings Sharing Refresh CreatePOSTHOG_ENVIRONMENTS_SESSION_RECORDINGS_SHARING_REFRESH_CREATEEnvironments Session Recordings Sharing Refresh CreateConnection1 scope
Environments Session Recordings Sharing Refresh Create
Authentication
Connected account requiredScopes
sharing_configuration:writeTags
Environments Session Recordings UpdatePOSTHOG_ENVIRONMENTS_SESSION_RECORDINGS_UPDATEEnvironments Session Recordings UpdateConnection1 scope
Environments Session Recordings Update
Authentication
Connected account requiredScopes
session_recording:writeTags
Environments Sessions Property Definitions RetrievePOSTHOG_ENVIRONMENTS_SESSIONS_PROPERTY_DEFINITIONS_RETRIEVEEnvironments Sessions Property Definitions RetrieveConnection1 scope
Environments Sessions Property Definitions Retrieve
Authentication
Connected account requiredScopes
query:readTags
Environments Sessions Values RetrievePOSTHOG_ENVIRONMENTS_SESSIONS_VALUES_RETRIEVEEnvironments Sessions Values RetrieveConnection1 scope
Environments Sessions Values Retrieve
Authentication
Connected account requiredScopes
query:readTags
Environments Settings As Of RetrievePOSTHOG_ENVIRONMENTS_SETTINGS_AS_OF_RETRIEVEReturn the team settings as of the provided timestamp. Query params: - at: ISO8601 datetime (required) - scope: optional, one or multiple keys to filter the returned settingsConnection
Return the team settings as of the provided timestamp. Query params: - at: ISO8601 datetime (required) - scope: optional, one or multiple keys to filter the returned settings
Authentication
Connected account requiredTags
Environments Subscriptions CreatePOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_CREATEEnvironments Subscriptions CreateConnection1 scope
Environments Subscriptions Create
Authentication
Connected account requiredScopes
subscription:writeTags
List subscription deliveriesPOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_DELIVERIES_LISTPaginated delivery history for a subscription. Requires premium subscriptions.Connection1 scope
Paginated delivery history for a subscription. Requires premium subscriptions.
Authentication
Connected account requiredScopes
subscription:readTags
Retrieve subscription deliveryPOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_DELIVERIES_RETRIEVEFetch one delivery row by id.Connection1 scope
Fetch one delivery row by id.
Authentication
Connected account requiredScopes
subscription:readTags
Environments Subscriptions DestroyPOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
subscription:writeTags
Environments Subscriptions ListPOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_LISTEnvironments Subscriptions ListConnection1 scope
Environments Subscriptions List
Authentication
Connected account requiredScopes
subscription:readTags
Environments Subscriptions Partial UpdatePOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_PARTIAL_UPDATEEnvironments Subscriptions Partial UpdateConnection1 scope
Environments Subscriptions Partial Update
Authentication
Connected account requiredScopes
subscription:writeTags
Environments Subscriptions RetrievePOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_RETRIEVEEnvironments Subscriptions RetrieveConnection1 scope
Environments Subscriptions Retrieve
Authentication
Connected account requiredScopes
subscription:readTags
Environments Subscriptions Summary Quota RetrievePOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_SUMMARY_QUOTA_RETRIEVEEnvironments Subscriptions Summary Quota RetrieveConnection1 scope
Environments Subscriptions Summary Quota Retrieve
Authentication
Connected account requiredScopes
subscription:readTags
Environments Subscriptions Test Delivery CreatePOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_TEST_DELIVERY_CREATEEnvironments Subscriptions Test Delivery CreateConnection1 scope
Environments Subscriptions Test Delivery Create
Authentication
Connected account requiredScopes
subscription:writeTags
Environments Subscriptions UpdatePOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_UPDATEEnvironments Subscriptions UpdateConnection1 scope
Environments Subscriptions Update
Authentication
Connected account requiredScopes
subscription:writeTags
Environments Taggers CreatePOSTHOG_ENVIRONMENTS_TAGGERS_CREATEEnvironments Taggers CreateConnection1 scope
Environments Taggers Create
Authentication
Connected account requiredScopes
tagger:writeTags
Environments Taggers DestroyPOSTHOG_ENVIRONMENTS_TAGGERS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
tagger:writeTags
Environments Taggers ListPOSTHOG_ENVIRONMENTS_TAGGERS_LISTEnvironments Taggers ListConnection1 scope
Environments Taggers List
Authentication
Connected account requiredScopes
tagger:readTags
Environments Taggers Partial UpdatePOSTHOG_ENVIRONMENTS_TAGGERS_PARTIAL_UPDATEEnvironments Taggers Partial UpdateConnection1 scope
Environments Taggers Partial Update
Authentication
Connected account requiredScopes
tagger:writeTags
Environments Taggers RetrievePOSTHOG_ENVIRONMENTS_TAGGERS_RETRIEVEEnvironments Taggers RetrieveConnection1 scope
Environments Taggers Retrieve
Authentication
Connected account requiredScopes
tagger:readTags
Environments Taggers Test Hog CreatePOSTHOG_ENVIRONMENTS_TAGGERS_TEST_HOG_CREATETest Hog tagger code against sample events without saving.Connection1 scope
Test Hog tagger code against sample events without saving.
Authentication
Connected account requiredScopes
tagger:readTags
Environments Taggers UpdatePOSTHOG_ENVIRONMENTS_TAGGERS_UPDATEEnvironments Taggers UpdateConnection1 scope
Environments Taggers Update
Authentication
Connected account requiredScopes
tagger:writeTags
Environments Tracing Spans Aggregate CreatePOSTHOG_ENVIRONMENTS_TRACING_SPANS_AGGREGATE_CREATEEnvironments Tracing Spans Aggregate CreateConnection1 scope
Environments Tracing Spans Aggregate Create
Authentication
Connected account requiredScopes
tracing:readTags
Environments Tracing Spans Attribute Breakdown CreatePOSTHOG_ENVIRONMENTS_TRACING_SPANS_ATTRIBUTE_BREAKDOWN_CREATEEnvironments Tracing Spans Attribute Breakdown CreateConnection1 scope
Environments Tracing Spans Attribute Breakdown Create
Authentication
Connected account requiredScopes
tracing:readTags
Environments Tracing Spans Attributes RetrievePOSTHOG_ENVIRONMENTS_TRACING_SPANS_ATTRIBUTES_RETRIEVEEnvironments Tracing Spans Attributes RetrieveConnection1 scope
Environments Tracing Spans Attributes Retrieve
Authentication
Connected account requiredScopes
tracing:readTags
Environments Tracing Spans Count CreatePOSTHOG_ENVIRONMENTS_TRACING_SPANS_COUNT_CREATEEnvironments Tracing Spans Count CreateConnection1 scope
Environments Tracing Spans Count Create
Authentication
Connected account requiredScopes
tracing:readTags
Environments Tracing Spans Duration Histogram CreatePOSTHOG_ENVIRONMENTS_TRACING_SPANS_DURATION_HISTOGRAM_CREATEEnvironments Tracing Spans Duration Histogram CreateConnection1 scope
Environments Tracing Spans Duration Histogram Create
Authentication
Connected account requiredScopes
tracing:readTags
Environments Tracing Spans Has Spans RetrievePOSTHOG_ENVIRONMENTS_TRACING_SPANS_HAS_SPANS_RETRIEVEEnvironments Tracing Spans Has Spans RetrieveConnection1 scope
Environments Tracing Spans Has Spans Retrieve
Authentication
Connected account requiredScopes
tracing:readTags
Environments Tracing Spans Query CreatePOSTHOG_ENVIRONMENTS_TRACING_SPANS_QUERY_CREATEEnvironments Tracing Spans Query CreateConnection1 scope
Environments Tracing Spans Query Create
Authentication
Connected account requiredScopes
tracing:readTags
Environments Tracing Spans Service Names RetrievePOSTHOG_ENVIRONMENTS_TRACING_SPANS_SERVICE_NAMES_RETRIEVEEnvironments Tracing Spans Service Names RetrieveConnection1 scope
Environments Tracing Spans Service Names Retrieve
Authentication
Connected account requiredScopes
tracing:readTags
Environments Tracing Spans Sparkline CreatePOSTHOG_ENVIRONMENTS_TRACING_SPANS_SPARKLINE_CREATEEnvironments Tracing Spans Sparkline CreateConnection1 scope
Environments Tracing Spans Sparkline Create
Authentication
Connected account requiredScopes
tracing:readTags
Environments Tracing Spans Symbol Stats CreatePOSTHOG_ENVIRONMENTS_TRACING_SPANS_SYMBOL_STATS_CREATEEnvironments Tracing Spans Symbol Stats CreateConnection1 scope
Environments Tracing Spans Symbol Stats Create
Authentication
Connected account requiredScopes
tracing:readTags
Environments Tracing Spans Trace CreatePOSTHOG_ENVIRONMENTS_TRACING_SPANS_TRACE_CREATEEnvironments Tracing Spans Trace CreateConnection1 scope
Environments Tracing Spans Trace Create
Authentication
Connected account requiredScopes
tracing:readTags
Environments Tracing Spans Tree CreatePOSTHOG_ENVIRONMENTS_TRACING_SPANS_TREE_CREATEEnvironments Tracing Spans Tree CreateConnection1 scope
Environments Tracing Spans Tree Create
Authentication
Connected account requiredScopes
tracing:readTags
Environments Tracing Spans Values RetrievePOSTHOG_ENVIRONMENTS_TRACING_SPANS_VALUES_RETRIEVEEnvironments Tracing Spans Values RetrieveConnection1 scope
Environments Tracing Spans Values Retrieve
Authentication
Connected account requiredScopes
tracing:readTags
Environments Tracing Views CreatePOSTHOG_ENVIRONMENTS_TRACING_VIEWS_CREATEEnvironments Tracing Views CreateConnection1 scope
Environments Tracing Views Create
Authentication
Connected account requiredScopes
tracing:writeTags
Environments Tracing Views DestroyPOSTHOG_ENVIRONMENTS_TRACING_VIEWS_DESTROYEnvironments Tracing Views DestroyConnection1 scope
Environments Tracing Views Destroy
Authentication
Connected account requiredScopes
tracing:writeTags
Environments Tracing Views ListPOSTHOG_ENVIRONMENTS_TRACING_VIEWS_LISTEnvironments Tracing Views ListConnection1 scope
Environments Tracing Views List
Authentication
Connected account requiredScopes
tracing:readTags
Environments Tracing Views Partial UpdatePOSTHOG_ENVIRONMENTS_TRACING_VIEWS_PARTIAL_UPDATEEnvironments Tracing Views Partial UpdateConnection1 scope
Environments Tracing Views Partial Update
Authentication
Connected account requiredScopes
tracing:writeTags
Environments Tracing Views RetrievePOSTHOG_ENVIRONMENTS_TRACING_VIEWS_RETRIEVEEnvironments Tracing Views RetrieveConnection1 scope
Environments Tracing Views Retrieve
Authentication
Connected account requiredScopes
tracing:readTags
Environments Tracing Views UpdatePOSTHOG_ENVIRONMENTS_TRACING_VIEWS_UPDATEEnvironments Tracing Views UpdateConnection1 scope
Environments Tracing Views Update
Authentication
Connected account requiredScopes
tracing:writeTags
Environments UpdatePOSTHOG_ENVIRONMENTS_UPDATEDeprecated: use /api/environments/{id}/ instead.Connection1 scope
Deprecated: use /api/environments/{id}/ instead.
Authentication
Connected account requiredScopes
project:writeTags
Environments Update Session Summaries ConfigPOSTHOG_ENVIRONMENTS_UPDATE_SESSION_SUMMARIES_CONFIGUpdate the team's session summaries configuration (product context used to tailor single-session replay summaries).Connection
Update the team's session summaries configuration (product context used to tailor single-session replay summaries).
Authentication
Connected account requiredTags
Environments User Interview Topics Add Interviewee CreatePOSTHOG_ENVIRONMENTS_USER_INTERVIEW_TOPICS_ADD_INTERVIEWEE_CREATEAdd a single interviewee to this topic. Email-shaped identifiers (including the `Display Name <email@host>` form) are appended to `interviewee_emails`; everything else is appended to `interviewee_distinct_ids`. Idempotent — adding an identifier that's already present leaves the topic unchanged. Returns the updated topic.Connection1 scope
Add a single interviewee to this topic. Email-shaped identifiers (including the `Display Name <email@host>` form) are appended to `interviewee_emails`; everything else is appended to `interviewee_distinct_ids`. Idempotent — adding an identifier that's already present leaves the topic unchanged. Returns the updated topic.
Authentication
Connected account requiredScopes
user_interview:writeTags
Environments User Interview Topics CreatePOSTHOG_ENVIRONMENTS_USER_INTERVIEW_TOPICS_CREATEPlanned user interview topics: who we want to target and what we want to ask about.Connection1 scope
Planned user interview topics: who we want to target and what we want to ask about.
Authentication
Connected account requiredScopes
user_interview:writeTags
Environments User Interview Topics DestroyPOSTHOG_ENVIRONMENTS_USER_INTERVIEW_TOPICS_DESTROYPlanned user interview topics: who we want to target and what we want to ask about.Connection1 scope
Planned user interview topics: who we want to target and what we want to ask about.
Authentication
Connected account requiredScopes
user_interview:writeTags
Environments User Interview Topics Generate Links CreatePOSTHOG_ENVIRONMENTS_USER_INTERVIEW_TOPICS_GENERATE_LINKS_CREATEGenerate one public interview link per targeted interviewee. Materializes an IntervieweeContext row for every identifier on the topic (without overwriting existing per-person context), and an enabled SharingConfiguration with a unique access token. The URL resolves to the public interview viewer with no PostHog auth required.Connection1 scope
Generate one public interview link per targeted interviewee. Materializes an IntervieweeContext row for every identifier on the topic (without overwriting existing per-person context), and an enabled SharingConfiguration with a unique access token. The URL resolves to the public interview viewer with no PostHog auth required.
Authentication
Connected account requiredScopes
user_interview:writeTags
Environments User Interview Topics Interviewees Bulk CreatePOSTHOG_ENVIRONMENTS_USER_INTERVIEW_TOPICS_INTERVIEWEES_BULK_CREATECreate up to 500 interviewee context rows for a topic in a single request. Rows whose (topic, interviewee_identifier) already exists are skipped — the response surfaces an `inserted_count`, a `skipped_count`, and the `skipped_identifiers` so the caller can reconcile. Items must have unique `interviewee_identifier` values within the batch.Connection1 scope
Create up to 500 interviewee context rows for a topic in a single request. Rows whose (topic, interviewee_identifier) already exists are skipped — the response surfaces an `inserted_count`, a `skipped_count`, and the `skipped_identifiers` so the caller can reconcile. Items must have unique `interviewee_identifier` values within the batch.
Authentication
Connected account requiredScopes
user_interview:writeTags
Environments User Interview Topics Interviewees CreatePOSTHOG_ENVIRONMENTS_USER_INTERVIEW_TOPICS_INTERVIEWEES_CREATEPer-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).Connection1 scope
Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).
Authentication
Connected account requiredScopes
user_interview:writeTags
Environments User Interview Topics Interviewees DestroyPOSTHOG_ENVIRONMENTS_USER_INTERVIEW_TOPICS_INTERVIEWEES_DESTROYPer-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).Connection1 scope
Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).
Authentication
Connected account requiredScopes
user_interview:writeTags
Environments User Interview Topics Interviewees ListPOSTHOG_ENVIRONMENTS_USER_INTERVIEW_TOPICS_INTERVIEWEES_LISTPer-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).Connection1 scope
Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).
Authentication
Connected account requiredScopes
user_interview:readTags
Environments User Interview Topics Interviewees Partial UpdatePOSTHOG_ENVIRONMENTS_USER_INTERVIEW_TOPICS_INTERVIEWEES_PARTIAL_UPDATEPer-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).Connection1 scope
Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).
Authentication
Connected account requiredScopes
user_interview:writeTags
Environments User Interview Topics Interviewees RetrievePOSTHOG_ENVIRONMENTS_USER_INTERVIEW_TOPICS_INTERVIEWEES_RETRIEVEPer-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).Connection1 scope
Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).
Authentication
Connected account requiredScopes
user_interview:readTags
Environments User Interview Topics Interviewees UpdatePOSTHOG_ENVIRONMENTS_USER_INTERVIEW_TOPICS_INTERVIEWEES_UPDATEPer-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).Connection1 scope
Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).
Authentication
Connected account requiredScopes
user_interview:writeTags
Environments User Interview Topics Links Csv CreatePOSTHOG_ENVIRONMENTS_USER_INTERVIEW_TOPICS_LINKS_CSV_CREATESame materialization as generate_links, returned as a downloadable CSV. Intended for users who want to mail-merge the per-person interview links into their own email tooling.Connection1 scope
Same materialization as generate_links, returned as a downloadable CSV. Intended for users who want to mail-merge the per-person interview links into their own email tooling.
Authentication
Connected account requiredScopes
user_interview:writeTags
Environments User Interview Topics ListPOSTHOG_ENVIRONMENTS_USER_INTERVIEW_TOPICS_LISTPlanned user interview topics: who we want to target and what we want to ask about.Connection1 scope
Planned user interview topics: who we want to target and what we want to ask about.
Authentication
Connected account requiredScopes
user_interview:readTags
Environments User Interview Topics Partial UpdatePOSTHOG_ENVIRONMENTS_USER_INTERVIEW_TOPICS_PARTIAL_UPDATEPlanned user interview topics: who we want to target and what we want to ask about.Connection1 scope
Planned user interview topics: who we want to target and what we want to ask about.
Authentication
Connected account requiredScopes
user_interview:writeTags
Environments User Interview Topics Preview Invite CreatePOSTHOG_ENVIRONMENTS_USER_INTERVIEW_TOPICS_PREVIEW_INVITE_CREATERender the invite email exactly as a specific targeted interviewee would receive it — personalized subject and body — without sending anything and without creating or reading any share links. Pass `interviewee_identifier` to preview for a particular person, or omit it to preview for the first targeted interviewee. The body always shows an illustrative placeholder link (`is_preview_link: true`), never a live interview URL.Connection1 scope
Render the invite email exactly as a specific targeted interviewee would receive it — personalized subject and body — without sending anything and without creating or reading any share links. Pass `interviewee_identifier` to preview for a particular person, or omit it to preview for the first targeted interviewee. The body always shows an illustrative placeholder link (`is_preview_link: true`), never a live interview URL.
Authentication
Connected account requiredScopes
user_interview:readTags
Environments User Interview Topics Remove Interviewee CreatePOSTHOG_ENVIRONMENTS_USER_INTERVIEW_TOPICS_REMOVE_INTERVIEWEE_CREATERemove an interviewee from this topic. Drops the identifier from both `interviewee_emails` and `interviewee_distinct_ids`, and disables any active SharingConfiguration linked to an IntervieweeContext for that identifier on this topic so the removed person can no longer open their interview link. Idempotent — removing an identifier that isn't present is a no-op. Returns the updated topic.Connection1 scope
Remove an interviewee from this topic. Drops the identifier from both `interviewee_emails` and `interviewee_distinct_ids`, and disables any active SharingConfiguration linked to an IntervieweeContext for that identifier on this topic so the removed person can no longer open their interview link. Idempotent — removing an identifier that isn't present is a no-op. Returns the updated topic.
Authentication
Connected account requiredScopes
user_interview:writeTags
Environments User Interview Topics RetrievePOSTHOG_ENVIRONMENTS_USER_INTERVIEW_TOPICS_RETRIEVEPlanned user interview topics: who we want to target and what we want to ask about.Connection1 scope
Planned user interview topics: who we want to target and what we want to ask about.
Authentication
Connected account requiredScopes
user_interview:readTags
Environments User Interview Topics Send Invites CreatePOSTHOG_ENVIRONMENTS_USER_INTERVIEW_TOPICS_SEND_INVITES_CREATEGenerate (if needed) and email a personalized public interview link to every targeted interviewee on this topic whose identifier is an email address. Distinct-ID-only interviewees are skipped and surfaced in the response. Each invite is keyed on the underlying SharingConfiguration so re-runs after token rotation produce a fresh send.Connection1 scope
Generate (if needed) and email a personalized public interview link to every targeted interviewee on this topic whose identifier is an email address. Distinct-ID-only interviewees are skipped and surfaced in the response. Each invite is keyed on the underlying SharingConfiguration so re-runs after token rotation produce a fresh send.
Authentication
Connected account requiredScopes
user_interview:writeTags
Environments User Interview Topics Test Link RetrievePOSTHOG_ENVIRONMENTS_USER_INTERVIEW_TOPICS_TEST_LINK_RETRIEVEReturn the calling user's personal dogfood interview link for this topic, plus the latest test interview they have recorded against it. Lazily get-or-creates a per-caller IntervieweeContext + enabled SharingConfiguration the first time it's called, then returns the same stable URL on subsequent calls. The caller's identifier is intentionally not added to the topic's targeting arrays — each user dogfoods under their own row, so test calls never mint a public share token on someone else's behalf.Connection1 scope
Return the calling user's personal dogfood interview link for this topic, plus the latest test interview they have recorded against it. Lazily get-or-creates a per-caller IntervieweeContext + enabled SharingConfiguration the first time it's called, then returns the same stable URL on subsequent calls. The caller's identifier is intentionally not added to the topic's targeting arrays — each user dogfoods under their own row, so test calls never mint a public share token on someone else's behalf.
Authentication
Connected account requiredScopes
user_interview:writeTags
Environments User Interview Topics UpdatePOSTHOG_ENVIRONMENTS_USER_INTERVIEW_TOPICS_UPDATEPlanned user interview topics: who we want to target and what we want to ask about.Connection1 scope
Planned user interview topics: who we want to target and what we want to ask about.
Authentication
Connected account requiredScopes
user_interview:writeTags
Environments User Interviews CreatePOSTHOG_ENVIRONMENTS_USER_INTERVIEWS_CREATEEnvironments User Interviews CreateConnection1 scope
Environments User Interviews Create
Authentication
Connected account requiredScopes
user_interview:writeTags
Environments User Interviews DestroyPOSTHOG_ENVIRONMENTS_USER_INTERVIEWS_DESTROYEnvironments User Interviews DestroyConnection1 scope
Environments User Interviews Destroy
Authentication
Connected account requiredScopes
user_interview:writeTags
Environments User Interviews ListPOSTHOG_ENVIRONMENTS_USER_INTERVIEWS_LISTEnvironments User Interviews ListConnection1 scope
Environments User Interviews List
Authentication
Connected account requiredScopes
user_interview:readTags
Environments User Interviews Partial UpdatePOSTHOG_ENVIRONMENTS_USER_INTERVIEWS_PARTIAL_UPDATEEnvironments User Interviews Partial UpdateConnection1 scope
Environments User Interviews Partial Update
Authentication
Connected account requiredScopes
user_interview:writeTags
Environments User Interviews RetrievePOSTHOG_ENVIRONMENTS_USER_INTERVIEWS_RETRIEVEEnvironments User Interviews RetrieveConnection1 scope
Environments User Interviews Retrieve
Authentication
Connected account requiredScopes
user_interview:readTags
Search interview responses by semantic similarityPOSTHOG_ENVIRONMENTS_USER_INTERVIEWS_SEARCH_CREATEEmbed `query` with the same model used to index interview transcripts and summaries, then return the top matches by cosine distance. Each match is a single (interview, document_type) pair — an interview can appear up to twice if both its transcript and summary score above other interviews. Useful for surfacing relevant interview snippets in natural language, without exact keyword matches.Connection1 scope
Embed `query` with the same model used to index interview transcripts and summaries, then return the top matches by cosine distance. Each match is a single (interview, document_type) pair — an interview can appear up to twice if both its transcript and summary score above other interviews. Useful for surfacing relevant interview snippets in natural language, without exact keyword matches.
Authentication
Connected account requiredScopes
user_interview:readTags
Environments User Interviews UpdatePOSTHOG_ENVIRONMENTS_USER_INTERVIEWS_UPDATEEnvironments User Interviews UpdateConnection1 scope
Environments User Interviews Update
Authentication
Connected account requiredScopes
user_interview:writeTags
Environments Vision Observations Label CreatePOSTHOG_ENVIRONMENTS_VISION_OBSERVATIONS_LABEL_CREATESet or update the observation's shared label: whether the scanner scored the session correctly, plus optional feedback on what it got wrong. One label per observation, shared across the team; these labels feed prompt improvement. Requires session recording edit access.Connection2 scopes
Set or update the observation's shared label: whether the scanner scored the session correctly, plus optional feedback on what it got wrong. One label per observation, shared across the team; these labels feed prompt improvement. Requires session recording edit access.
Authentication
Connected account requiredScopes
replay_scanner:writesession_recording:readTags
Environments Vision Observations Label DestroyPOSTHOG_ENVIRONMENTS_VISION_OBSERVATIONS_LABEL_DESTROYRemove the observation's shared label. Requires session recording edit access.Connection2 scopes
Remove the observation's shared label. Requires session recording edit access.
Authentication
Connected account requiredScopes
replay_scanner:writesession_recording:readTags
Environments Vision Observations ListPOSTHOG_ENVIRONMENTS_VISION_OBSERVATIONS_LISTRead-only access to a session's observations across every scanner the caller can read, for the replay-page dock.Connection2 scopes
Read-only access to a session's observations across every scanner the caller can read, for the replay-page dock.
Authentication
Connected account requiredScopes
replay_scanner:readsession_recording:readTags
Environments Vision Observations RetrievePOSTHOG_ENVIRONMENTS_VISION_OBSERVATIONS_RETRIEVERead-only access to a session's observations across every scanner the caller can read, for the replay-page dock.Connection2 scopes
Read-only access to a session's observations across every scanner the caller can read, for the replay-page dock.
Authentication
Connected account requiredScopes
replay_scanner:readsession_recording:readTags
Environments Vision Observations Retry CreatePOSTHOG_ENVIRONMENTS_VISION_OBSERVATIONS_RETRY_CREATEDelete a failed observation and re-run its scanner on the same recording. Returns 202 with the workflow handle.Connection2 scopes
Delete a failed observation and re-run its scanner on the same recording. Returns 202 with the workflow handle.
Authentication
Connected account requiredScopes
replay_scanner:writesession_recording:readTags
Environments Vision Scanners CreatePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_CREATECRUD for Replay Vision scanners.Connection2 scopes
CRUD for Replay Vision scanners.
Authentication
Connected account requiredScopes
replay_scanner:writesession_recording:readTags
Environments Vision Scanners Creators RetrievePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_CREATORS_RETRIEVEDistinct creators across the team's scanners — feeds the `Created by` filter dropdown.Connection1 scope
Distinct creators across the team's scanners — feeds the `Created by` filter dropdown.
Authentication
Connected account requiredScopes
replay_scanner:readTags
Environments Vision Scanners DestroyPOSTHOG_ENVIRONMENTS_VISION_SCANNERS_DESTROYCRUD for Replay Vision scanners.Connection1 scope
CRUD for Replay Vision scanners.
Authentication
Connected account requiredScopes
replay_scanner:writeTags
Environments Vision Scanners Estimate CreatePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_ESTIMATE_CREATEEstimate the observation volume a proposed scanner would generate, for the pre-save cost preview.Connection2 scopes
Estimate the observation volume a proposed scanner would generate, for the pre-save cost preview.
Authentication
Connected account requiredScopes
replay_scanner:readsession_recording:readTags
Environments Vision Scanners ListPOSTHOG_ENVIRONMENTS_VISION_SCANNERS_LISTCRUD for Replay Vision scanners.Connection1 scope
CRUD for Replay Vision scanners.
Authentication
Connected account requiredScopes
replay_scanner:readTags
Environments Vision Scanners Observations Label CreatePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_OBSERVATIONS_LABEL_CREATESet or update the observation's shared label: whether the scanner scored the session correctly, plus optional feedback on what it got wrong. One label per observation, shared across the team; these labels feed prompt improvement. Requires session recording edit access.Connection2 scopes
Set or update the observation's shared label: whether the scanner scored the session correctly, plus optional feedback on what it got wrong. One label per observation, shared across the team; these labels feed prompt improvement. Requires session recording edit access.
Authentication
Connected account requiredScopes
replay_scanner:writesession_recording:readTags
Environments Vision Scanners Observations Label DestroyPOSTHOG_ENVIRONMENTS_VISION_SCANNERS_OBSERVATIONS_LABEL_DESTROYRemove the observation's shared label. Requires session recording edit access.Connection2 scopes
Remove the observation's shared label. Requires session recording edit access.
Authentication
Connected account requiredScopes
replay_scanner:writesession_recording:readTags
Environments Vision Scanners Observations ListPOSTHOG_ENVIRONMENTS_VISION_SCANNERS_OBSERVATIONS_LISTRead-only access to observations produced by a scanner.Connection2 scopes
Read-only access to observations produced by a scanner.
Authentication
Connected account requiredScopes
replay_scanner:readsession_recording:readTags
Environments Vision Scanners Observations RetrievePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_OBSERVATIONS_RETRIEVERead-only access to observations produced by a scanner.Connection2 scopes
Read-only access to observations produced by a scanner.
Authentication
Connected account requiredScopes
replay_scanner:readsession_recording:readTags
Environments Vision Scanners Observations Retry CreatePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_OBSERVATIONS_RETRY_CREATEDelete a failed observation and re-run its scanner on the same recording. Returns 202 with the workflow handle.Connection2 scopes
Delete a failed observation and re-run its scanner on the same recording. Returns 202 with the workflow handle.
Authentication
Connected account requiredScopes
replay_scanner:writesession_recording:readTags
Environments Vision Scanners Observations Stats RetrievePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_OBSERVATIONS_STATS_RETRIEVEAggregate counts and per-scanner-type distributions over the filtered observation set. Same filters as the list endpoint apply.Connection2 scopes
Aggregate counts and per-scanner-type distributions over the filtered observation set. Same filters as the list endpoint apply.
Authentication
Connected account requiredScopes
replay_scanner:readsession_recording:readTags
Environments Vision Scanners Observe CreatePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_OBSERVE_CREATEApply this scanner to one specific session, on demand. Returns 202 with the workflow handle.Connection2 scopes
Apply this scanner to one specific session, on demand. Returns 202 with the workflow handle.
Authentication
Connected account requiredScopes
replay_scanner:writesession_recording:readTags
Environments Vision Scanners Partial UpdatePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_PARTIAL_UPDATECRUD for Replay Vision scanners.Connection2 scopes
CRUD for Replay Vision scanners.
Authentication
Connected account requiredScopes
replay_scanner:writesession_recording:readTags
Environments Vision Scanners Prompt Suggestions Apply CreatePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_PROMPT_SUGGESTIONS_APPLY_CREATEApply this suggestion: write its prompt to the scanner (bumping the scanner version) and mark the suggestion applied. Only the current pending suggestion can be applied. Requires session recording edit access.Connection2 scopes
Apply this suggestion: write its prompt to the scanner (bumping the scanner version) and mark the suggestion applied. Only the current pending suggestion can be applied. Requires session recording edit access.
Authentication
Connected account requiredScopes
replay_scanner:writesession_recording:readTags
Environments Vision Scanners Prompt Suggestions Current RetrievePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_PROMPT_SUGGESTIONS_CURRENT_RETRIEVEThe scanner's newest prompt suggestion plus whether it is stale (the ratings changed since it was generated) and how many rated observations are available.Connection2 scopes
The scanner's newest prompt suggestion plus whether it is stale (the ratings changed since it was generated) and how many rated observations are available.
Authentication
Connected account requiredScopes
replay_scanner:readsession_recording:readTags
Environments Vision Scanners Prompt Suggestions Dismiss CreatePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_PROMPT_SUGGESTIONS_DISMISS_CREATEDismiss this suggestion without applying it. Only the current pending suggestion can be dismissed. Requires session recording edit access.Connection2 scopes
Dismiss this suggestion without applying it. Only the current pending suggestion can be dismissed. Requires session recording edit access.
Authentication
Connected account requiredScopes
replay_scanner:writesession_recording:readTags
Environments Vision Scanners Prompt Suggestions Generate CreatePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_PROMPT_SUGGESTIONS_GENERATE_CREATEGenerate a fresh prompt suggestion from the team's current ratings. The previous pending suggestion becomes history (superseded). Requires at least one rated observation and session recording edit access.Connection2 scopes
Generate a fresh prompt suggestion from the team's current ratings. The previous pending suggestion becomes history (superseded). Requires at least one rated observation and session recording edit access.
Authentication
Connected account requiredScopes
replay_scanner:writesession_recording:readTags
Environments Vision Scanners Prompt Suggestions ListPOSTHOG_ENVIRONMENTS_VISION_SCANNERS_PROMPT_SUGGESTIONS_LISTAI prompt-rewrite suggestions for a scanner, generated from the team's thumbs up/down ratings.Connection2 scopes
AI prompt-rewrite suggestions for a scanner, generated from the team's thumbs up/down ratings.
Authentication
Connected account requiredScopes
replay_scanner:readsession_recording:readTags
Environments Vision Scanners RetrievePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_RETRIEVECRUD for Replay Vision scanners.Connection1 scope
CRUD for Replay Vision scanners.
Authentication
Connected account requiredScopes
replay_scanner:readTags
Environments Vision Scanners Stats RetrievePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_STATS_RETRIEVETeam-wide scanner counts — independent of list filters, so the overview stays stable.Connection1 scope
Team-wide scanner counts — independent of list filters, so the overview stays stable.
Authentication
Connected account requiredScopes
replay_scanner:readTags
Environments Vision Scanners Suggest Tags CreatePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_SUGGEST_TAGS_CREATESuggest classifier tags grounded in the scanner's own observations and the org's product data.Connection2 scopes
Suggest classifier tags grounded in the scanner's own observations and the org's product data.
Authentication
Connected account requiredScopes
replay_scanner:readsession_recording:readTags
Environments Warehouse Saved Queries Activity RetrievePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_ACTIVITY_RETRIEVECreate, Read, Update and Delete Warehouse Tables.Connection1 scope
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredScopes
activity_log:readTags
Environments Warehouse Saved Queries Ancestors CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_ANCESTORS_CREATEReturn the ancestors of this saved query. By default, we return the immediate parents. The `level` parameter can be used to look further back into the ancestor tree. If `level` overshoots (i.e. points to only ancestors beyond the root), we return an empty list.Connection
Return the ancestors of this saved query. By default, we return the immediate parents. The `level` parameter can be used to look further back into the ancestor tree. If `level` overshoots (i.e. points to only ancestors beyond the root), we return an empty list.
Authentication
Connected account requiredTags
Environments Warehouse Saved Queries Cancel CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_CANCEL_CREATECancel a running saved query workflow.Connection
Cancel a running saved query workflow.
Authentication
Connected account requiredTags
Environments Warehouse Saved Queries CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_CREATECreate, Read, Update and Delete Warehouse Tables.Connection1 scope
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Environments Warehouse Saved Queries Dependencies RetrievePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_DEPENDENCIES_RETRIEVEReturn the count of immediate upstream and downstream dependencies for this saved query.Connection
Return the count of immediate upstream and downstream dependencies for this saved query.
Authentication
Connected account requiredTags
Environments Warehouse Saved Queries Descendants CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_DESCENDANTS_CREATEReturn the descendants of this saved query. By default, we return the immediate children. The `level` parameter can be used to look further ahead into the descendants tree. If `level` overshoots (i.e. points to only descendants further than a leaf), we return an empty list.Connection
Return the descendants of this saved query. By default, we return the immediate children. The `level` parameter can be used to look further ahead into the descendants tree. If `level` overshoots (i.e. points to only descendants further than a leaf), we return an empty list.
Authentication
Connected account requiredTags
Environments Warehouse Saved Queries DestroyPOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_DESTROYCreate, Read, Update and Delete Warehouse Tables.Connection1 scope
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Environments Warehouse Saved Queries ListPOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_LISTCreate, Read, Update and Delete Warehouse Tables.Connection1 scope
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredScopes
warehouse_view:readTags
Environments Warehouse Saved Queries Materialize CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_MATERIALIZE_CREATEEnable materialization for this saved query with a 24-hour sync frequency.Connection1 scope
Enable materialization for this saved query with a 24-hour sync frequency.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Environments Warehouse Saved Queries Partial UpdatePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_PARTIAL_UPDATECreate, Read, Update and Delete Warehouse Tables.Connection1 scope
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Environments Warehouse Saved Queries Resume Schedules CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_RESUME_SCHEDULES_CREATEResume paused materialization schedules for multiple matviews. Accepts a list of view IDs in the request body: {"view_ids": ["id1", "id2", ...]} This endpoint is idempotent - calling it on already running or non-existent schedules is safe.Connection
Resume paused materialization schedules for multiple matviews. Accepts a list of view IDs in the request body: {"view_ids": ["id1", "id2", ...]} This endpoint is idempotent - calling it on already running or non-existent schedules is safe.
Authentication
Connected account requiredTags
Environments Warehouse Saved Queries RetrievePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_RETRIEVECreate, Read, Update and Delete Warehouse Tables.Connection1 scope
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredScopes
warehouse_view:readTags
Environments Warehouse Saved Queries Revert Materialization CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_REVERT_MATERIALIZATION_CREATEUndo materialization, revert back to the original view. (i.e. delete the materialized table and the schedule)Connection1 scope
Undo materialization, revert back to the original view. (i.e. delete the materialized table and the schedule)
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Environments Warehouse Saved Queries Run CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_RUN_CREATERun this saved query.Connection1 scope
Run this saved query.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Environments Warehouse Saved Queries Run History RetrievePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_RUN_HISTORY_RETRIEVEReturn the recent run history (up to 5 most recent) for this materialized view.Connection1 scope
Return the recent run history (up to 5 most recent) for this materialized view.
Authentication
Connected account requiredScopes
warehouse_view:readTags
Environments Warehouse Saved Queries UpdatePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_UPDATECreate, Read, Update and Delete Warehouse Tables.Connection1 scope
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Environments Warehouse Saved Query Folders CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERY_FOLDERS_CREATEEnvironments Warehouse Saved Query Folders CreateConnection1 scope
Environments Warehouse Saved Query Folders Create
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Environments Warehouse Saved Query Folders DestroyPOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERY_FOLDERS_DESTROYEnvironments Warehouse Saved Query Folders DestroyConnection1 scope
Environments Warehouse Saved Query Folders Destroy
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Environments Warehouse Saved Query Folders ListPOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERY_FOLDERS_LISTEnvironments Warehouse Saved Query Folders ListConnection1 scope
Environments Warehouse Saved Query Folders List
Authentication
Connected account requiredScopes
warehouse_view:readTags
Environments Warehouse Saved Query Folders Partial UpdatePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERY_FOLDERS_PARTIAL_UPDATEEnvironments Warehouse Saved Query Folders Partial UpdateConnection1 scope
Environments Warehouse Saved Query Folders Partial Update
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Environments Warehouse Saved Query Folders RetrievePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERY_FOLDERS_RETRIEVEEnvironments Warehouse Saved Query Folders RetrieveConnection1 scope
Environments Warehouse Saved Query Folders Retrieve
Authentication
Connected account requiredScopes
warehouse_view:readTags
Environments Warehouse Tables CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_TABLES_CREATECreate, Read, Update and Delete Warehouse Tables.Connection1 scope
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredScopes
warehouse_table:writeTags
Environments Warehouse Tables DestroyPOSTHOG_ENVIRONMENTS_WAREHOUSE_TABLES_DESTROYCreate, Read, Update and Delete Warehouse Tables.Connection1 scope
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredScopes
warehouse_table:writeTags
Environments Warehouse Tables File CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_TABLES_FILE_CREATECreate, Read, Update and Delete Warehouse Tables.Connection1 scope
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredScopes
warehouse_table:writeTags
Environments Warehouse Tables ListPOSTHOG_ENVIRONMENTS_WAREHOUSE_TABLES_LISTCreate, Read, Update and Delete Warehouse Tables.Connection1 scope
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredScopes
warehouse_table:readTags
Environments Warehouse Tables Partial UpdatePOSTHOG_ENVIRONMENTS_WAREHOUSE_TABLES_PARTIAL_UPDATECreate, Read, Update and Delete Warehouse Tables.Connection1 scope
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredScopes
warehouse_table:writeTags
Refresh table schema from sourcePOSTHOG_ENVIRONMENTS_WAREHOUSE_TABLES_REFRESH_SCHEMA_CREATERe-introspect a self-managed (manually linked) warehouse table's schema from its underlying source files and overwrite its stored column list. Use when the source schema has evolved (e.g. new columns in the underlying Delta/Parquet/CSV files) but queries still can't see the new columns, because PostHog serves a cached column snapshot until the table is refreshed. Not for tables managed by an external data source sync — those refresh on their own schedule.Connection1 scope
Re-introspect a self-managed (manually linked) warehouse table's schema from its underlying source files and overwrite its stored column list. Use when the source schema has evolved (e.g. new columns in the underlying Delta/Parquet/CSV files) but queries still can't see the new columns, because PostHog serves a cached column snapshot until the table is refreshed. Not for tables managed by an external data source sync — those refresh on their own schedule.
Authentication
Connected account requiredScopes
warehouse_table:writeTags
Environments Warehouse Tables RetrievePOSTHOG_ENVIRONMENTS_WAREHOUSE_TABLES_RETRIEVECreate, Read, Update and Delete Warehouse Tables.Connection1 scope
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredScopes
warehouse_table:readTags
Environments Warehouse Tables UpdatePOSTHOG_ENVIRONMENTS_WAREHOUSE_TABLES_UPDATECreate, Read, Update and Delete Warehouse Tables.Connection1 scope
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredScopes
warehouse_table:writeTags
Environments Warehouse Tables Update Schema CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_TABLES_UPDATE_SCHEMA_CREATECreate, Read, Update and Delete Warehouse Tables.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
Environments Warehouse View Link CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINK_CREATECreate, Read, Update and Delete View Columns.Connection1 scope
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Environments Warehouse View Link DestroyPOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINK_DESTROYCreate, Read, Update and Delete View Columns.Connection1 scope
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Environments Warehouse View Link ListPOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINK_LISTCreate, Read, Update and Delete View Columns.Connection1 scope
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredScopes
warehouse_view:readTags
Environments Warehouse View Link Partial UpdatePOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINK_PARTIAL_UPDATECreate, Read, Update and Delete View Columns.Connection1 scope
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Environments Warehouse View Link RetrievePOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINK_RETRIEVECreate, Read, Update and Delete View Columns.Connection1 scope
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredScopes
warehouse_view:readTags
Environments Warehouse View Link UpdatePOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINK_UPDATECreate, Read, Update and Delete View Columns.Connection1 scope
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Environments Warehouse View Link Validate CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINK_VALIDATE_CREATECreate, Read, Update and Delete View Columns.Connection
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredTags
Environments Warehouse View Links CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINKS_CREATECreate, Read, Update and Delete View Columns.Connection1 scope
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Environments Warehouse View Links DestroyPOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINKS_DESTROYCreate, Read, Update and Delete View Columns.Connection1 scope
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Environments Warehouse View Links ListPOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINKS_LISTCreate, Read, Update and Delete View Columns.Connection1 scope
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredScopes
warehouse_view:readTags
Environments Warehouse View Links Partial UpdatePOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINKS_PARTIAL_UPDATECreate, Read, Update and Delete View Columns.Connection1 scope
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Environments Warehouse View Links RetrievePOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINKS_RETRIEVECreate, Read, Update and Delete View Columns.Connection1 scope
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredScopes
warehouse_view:readTags
Environments Warehouse View Links UpdatePOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINKS_UPDATECreate, Read, Update and Delete View Columns.Connection1 scope
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Environments Warehouse View Links Validate CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINKS_VALIDATE_CREATECreate, Read, Update and Delete View Columns.Connection
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredTags
Weekly web analytics recapPOSTHOG_ENVIRONMENTS_WEB_ANALYTICS_RECAPThe 'Wrapped'-style weekly recap: everything in the weekly digest (visitors, pageviews, sessions, bounce rate, average session duration with period-over-period comparisons, top pages, top sources, and goals) plus a single derived weekly persona and a short list of screenshot-worthy highlights for the period.Connection1 scope
The 'Wrapped'-style weekly recap: everything in the weekly digest (visitors, pageviews, sessions, bounce rate, average session duration with period-over-period comparisons, top pages, top sources, and goals) plus a single derived weekly persona and a short list of screenshot-worthy highlights for the period.
Authentication
Connected account requiredScopes
web_analytics:readTags
Summarize web analyticsPOSTHOG_ENVIRONMENTS_WEB_ANALYTICS_WEEKLY_DIGESTSummarizes a project's web analytics over a lookback window (default 7 days): unique visitors, pageviews, sessions, bounce rate, and average session duration with period-over-period comparisons, plus the top 5 pages, top 5 traffic sources, and goal conversions.Connection1 scope
Summarizes a project's web analytics over a lookback window (default 7 days): unique visitors, pageviews, sessions, bounce rate, and average session duration with period-over-period comparisons, plus the top 5 pages, top 5 traffic sources, and goal conversions.
Authentication
Connected account requiredScopes
web_analytics:readTags
Environments Web Vitals RetrievePOSTHOG_ENVIRONMENTS_WEB_VITALS_RETRIEVEGet web vitals for a specific pathname. Toolbar accesses this via OAuth (handled by TeamAndOrgViewSetMixin.get_authenticators).Connection1 scope
Get web vitals for a specific pathname. Toolbar accesses this via OAuth (handled by TeamAndOrgViewSetMixin.get_authenticators).
Authentication
Connected account requiredScopes
query:readTags
Error Tracking Assignment Rules CreatePOSTHOG_ERROR_TRACKING_ASSIGNMENT_RULES_CREATEError Tracking Assignment Rules CreateConnection1 scope
Error Tracking Assignment Rules Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Assignment Rules DestroyPOSTHOG_ERROR_TRACKING_ASSIGNMENT_RULES_DESTROYError Tracking Assignment Rules DestroyConnection1 scope
Error Tracking Assignment Rules Destroy
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Assignment Rules ListPOSTHOG_ERROR_TRACKING_ASSIGNMENT_RULES_LISTError Tracking Assignment Rules ListConnection1 scope
Error Tracking Assignment Rules List
Authentication
Connected account requiredScopes
error_tracking:readTags
Error Tracking Assignment Rules Partial UpdatePOSTHOG_ERROR_TRACKING_ASSIGNMENT_RULES_PARTIAL_UPDATEError Tracking Assignment Rules Partial UpdateConnection1 scope
Error Tracking Assignment Rules Partial Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Assignment Rules Reorder Partial UpdatePOSTHOG_ERROR_TRACKING_ASSIGNMENT_RULES_REORDER_PARTIAL_UPDATEError Tracking Assignment Rules Reorder Partial UpdateConnection
Error Tracking Assignment Rules Reorder Partial Update
Authentication
Connected account requiredTags
Error Tracking Assignment Rules RetrievePOSTHOG_ERROR_TRACKING_ASSIGNMENT_RULES_RETRIEVEError Tracking Assignment Rules RetrieveConnection1 scope
Error Tracking Assignment Rules Retrieve
Authentication
Connected account requiredScopes
error_tracking:readTags
Error Tracking Assignment Rules UpdatePOSTHOG_ERROR_TRACKING_ASSIGNMENT_RULES_UPDATEError Tracking Assignment Rules UpdateConnection1 scope
Error Tracking Assignment Rules Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Bypass Rules CreatePOSTHOG_ERROR_TRACKING_BYPASS_RULES_CREATEError Tracking Bypass Rules CreateConnection1 scope
Error Tracking Bypass Rules Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Bypass Rules DestroyPOSTHOG_ERROR_TRACKING_BYPASS_RULES_DESTROYError Tracking Bypass Rules DestroyConnection1 scope
Error Tracking Bypass Rules Destroy
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Bypass Rules ListPOSTHOG_ERROR_TRACKING_BYPASS_RULES_LISTError Tracking Bypass Rules ListConnection1 scope
Error Tracking Bypass Rules List
Authentication
Connected account requiredScopes
error_tracking:readTags
Error Tracking Bypass Rules Partial UpdatePOSTHOG_ERROR_TRACKING_BYPASS_RULES_PARTIAL_UPDATEError Tracking Bypass Rules Partial UpdateConnection1 scope
Error Tracking Bypass Rules Partial Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Bypass Rules Reorder Partial UpdatePOSTHOG_ERROR_TRACKING_BYPASS_RULES_REORDER_PARTIAL_UPDATEError Tracking Bypass Rules Reorder Partial UpdateConnection
Error Tracking Bypass Rules Reorder Partial Update
Authentication
Connected account requiredTags
Error Tracking Bypass Rules RetrievePOSTHOG_ERROR_TRACKING_BYPASS_RULES_RETRIEVEError Tracking Bypass Rules RetrieveConnection1 scope
Error Tracking Bypass Rules Retrieve
Authentication
Connected account requiredScopes
error_tracking:readTags
Error Tracking Bypass Rules UpdatePOSTHOG_ERROR_TRACKING_BYPASS_RULES_UPDATEError Tracking Bypass Rules UpdateConnection1 scope
Error Tracking Bypass Rules Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking External References CreatePOSTHOG_ERROR_TRACKING_EXTERNAL_REFERENCES_CREATEError Tracking External References CreateConnection1 scope
Error Tracking External References Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking External References DestroyPOSTHOG_ERROR_TRACKING_EXTERNAL_REFERENCES_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking External References ListPOSTHOG_ERROR_TRACKING_EXTERNAL_REFERENCES_LISTError Tracking External References ListConnection1 scope
Error Tracking External References List
Authentication
Connected account requiredScopes
error_tracking:readTags
Error Tracking External References RetrievePOSTHOG_ERROR_TRACKING_EXTERNAL_REFERENCES_RETRIEVEError Tracking External References RetrieveConnection1 scope
Error Tracking External References Retrieve
Authentication
Connected account requiredScopes
error_tracking:readTags
Error Tracking Fingerprints DestroyPOSTHOG_ERROR_TRACKING_FINGERPRINTS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredTags
Error Tracking Fingerprints ListPOSTHOG_ERROR_TRACKING_FINGERPRINTS_LISTError Tracking Fingerprints ListConnection1 scope
Error Tracking Fingerprints List
Authentication
Connected account requiredScopes
error_tracking:readTags
Error Tracking Fingerprints RetrievePOSTHOG_ERROR_TRACKING_FINGERPRINTS_RETRIEVEError Tracking Fingerprints RetrieveConnection1 scope
Error Tracking Fingerprints Retrieve
Authentication
Connected account requiredScopes
error_tracking:readTags
Error Tracking Git Provider File Links Resolve Github RetrievePOSTHOG_ERROR_TRACKING_GIT_PROVIDER_FILE_LINKS_RESOLVE_GITHUB_RETRIEVEError Tracking Git Provider File Links Resolve Github RetrieveConnection
Error Tracking Git Provider File Links Resolve Github Retrieve
Authentication
Connected account requiredTags
Error Tracking Git Provider File Links Resolve Gitlab RetrievePOSTHOG_ERROR_TRACKING_GIT_PROVIDER_FILE_LINKS_RESOLVE_GITLAB_RETRIEVEError Tracking Git Provider File Links Resolve Gitlab RetrieveConnection
Error Tracking Git Provider File Links Resolve Gitlab Retrieve
Authentication
Connected account requiredTags
Error Tracking Grouping Rules CreatePOSTHOG_ERROR_TRACKING_GROUPING_RULES_CREATEError Tracking Grouping Rules CreateConnection1 scope
Error Tracking Grouping Rules Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Grouping Rules DestroyPOSTHOG_ERROR_TRACKING_GROUPING_RULES_DESTROYError Tracking Grouping Rules DestroyConnection1 scope
Error Tracking Grouping Rules Destroy
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Grouping Rules ListPOSTHOG_ERROR_TRACKING_GROUPING_RULES_LISTError Tracking Grouping Rules ListConnection1 scope
Error Tracking Grouping Rules List
Authentication
Connected account requiredScopes
error_tracking:readTags
Error Tracking Grouping Rules Partial UpdatePOSTHOG_ERROR_TRACKING_GROUPING_RULES_PARTIAL_UPDATEError Tracking Grouping Rules Partial UpdateConnection1 scope
Error Tracking Grouping Rules Partial Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Grouping Rules Reorder Partial UpdatePOSTHOG_ERROR_TRACKING_GROUPING_RULES_REORDER_PARTIAL_UPDATEError Tracking Grouping Rules Reorder Partial UpdateConnection
Error Tracking Grouping Rules Reorder Partial Update
Authentication
Connected account requiredTags
Error Tracking Grouping Rules RetrievePOSTHOG_ERROR_TRACKING_GROUPING_RULES_RETRIEVEError Tracking Grouping Rules RetrieveConnection1 scope
Error Tracking Grouping Rules Retrieve
Authentication
Connected account requiredScopes
error_tracking:readTags
Error Tracking Grouping Rules UpdatePOSTHOG_ERROR_TRACKING_GROUPING_RULES_UPDATEError Tracking Grouping Rules UpdateConnection1 scope
Error Tracking Grouping Rules Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Issues Activity RetrievePOSTHOG_ERROR_TRACKING_ISSUES_ACTIVITY_RETRIEVEError Tracking Issues Activity RetrieveConnection1 scope
Error Tracking Issues Activity Retrieve
Authentication
Connected account requiredScopes
activity_log:readTags
Error Tracking Issues All Activity RetrievePOSTHOG_ERROR_TRACKING_ISSUES_ALL_ACTIVITY_RETRIEVEError Tracking Issues All Activity RetrieveConnection1 scope
Error Tracking Issues All Activity Retrieve
Authentication
Connected account requiredScopes
activity_log:readTags
Error Tracking Issues Assign Partial UpdatePOSTHOG_ERROR_TRACKING_ISSUES_ASSIGN_PARTIAL_UPDATEError Tracking Issues Assign Partial UpdateConnection1 scope
Error Tracking Issues Assign Partial Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Issues Bulk CreatePOSTHOG_ERROR_TRACKING_ISSUES_BULK_CREATEError Tracking Issues Bulk CreateConnection1 scope
Error Tracking Issues Bulk Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Issues Cohort UpdatePOSTHOG_ERROR_TRACKING_ISSUES_COHORT_UPDATEError Tracking Issues Cohort UpdateConnection1 scope
Error Tracking Issues Cohort Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Issues DestroyPOSTHOG_ERROR_TRACKING_ISSUES_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Issues Exists RetrievePOSTHOG_ERROR_TRACKING_ISSUES_EXISTS_RETRIEVEError Tracking Issues Exists RetrieveConnection1 scope
Error Tracking Issues Exists Retrieve
Authentication
Connected account requiredScopes
error_tracking:readTags
Error Tracking Issues ListPOSTHOG_ERROR_TRACKING_ISSUES_LISTError Tracking Issues ListConnection1 scope
Error Tracking Issues List
Authentication
Connected account requiredScopes
error_tracking:readTags
Error Tracking Issues Merge CreatePOSTHOG_ERROR_TRACKING_ISSUES_MERGE_CREATEError Tracking Issues Merge CreateConnection1 scope
Error Tracking Issues Merge Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Issues Partial UpdatePOSTHOG_ERROR_TRACKING_ISSUES_PARTIAL_UPDATEError Tracking Issues Partial UpdateConnection1 scope
Error Tracking Issues Partial Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Issues RetrievePOSTHOG_ERROR_TRACKING_ISSUES_RETRIEVEError Tracking Issues RetrieveConnection1 scope
Error Tracking Issues Retrieve
Authentication
Connected account requiredScopes
error_tracking:readTags
Error Tracking Issues Split CreatePOSTHOG_ERROR_TRACKING_ISSUES_SPLIT_CREATEError Tracking Issues Split CreateConnection1 scope
Error Tracking Issues Split Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Issues UpdatePOSTHOG_ERROR_TRACKING_ISSUES_UPDATEError Tracking Issues UpdateConnection1 scope
Error Tracking Issues Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Issues Values RetrievePOSTHOG_ERROR_TRACKING_ISSUES_VALUES_RETRIEVEError Tracking Issues Values RetrieveConnection1 scope
Error Tracking Issues Values Retrieve
Authentication
Connected account requiredScopes
error_tracking:readTags
Get compact error tracking issue detailsPOSTHOG_ERROR_TRACKING_QUERY_ISSUE_CREATEFetch one error tracking issue with impact counts, top in_app frame, latest release, and optional sparkline.Connection1 scope
Fetch one error tracking issue with impact counts, top in_app frame, latest release, and optional sparkline.
Authentication
Connected account requiredScopes
error_tracking:readTags
List sampled exception events for an error tracking issuePOSTHOG_ERROR_TRACKING_QUERY_ISSUE_EVENTS_CREATEFetch sampled exception events, stack traces, browser/SDK context, URL, and $session_id values for one issue.Connection1 scope
Fetch sampled exception events, stack traces, browser/SDK context, URL, and $session_id values for one issue.
Authentication
Connected account requiredScopes
error_tracking:readTags
List compact error tracking issuesPOSTHOG_ERROR_TRACKING_QUERY_ISSUES_LIST_CREATEList error tracking issues with typed filters and compact aggregate counts.Connection1 scope
List error tracking issues with typed filters and compact aggregate counts.
Authentication
Connected account requiredScopes
error_tracking:readTags
Error Tracking Recommendations Dismiss CreatePOSTHOG_ERROR_TRACKING_RECOMMENDATIONS_DISMISS_CREATEError Tracking Recommendations Dismiss CreateConnection1 scope
Error Tracking Recommendations Dismiss Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Recommendations ListPOSTHOG_ERROR_TRACKING_RECOMMENDATIONS_LISTError Tracking Recommendations ListConnection1 scope
Error Tracking Recommendations List
Authentication
Connected account requiredScopes
error_tracking:readTags
Error Tracking Recommendations Refresh CreatePOSTHOG_ERROR_TRACKING_RECOMMENDATIONS_REFRESH_CREATEError Tracking Recommendations Refresh CreateConnection1 scope
Error Tracking Recommendations Refresh Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Recommendations Restore CreatePOSTHOG_ERROR_TRACKING_RECOMMENDATIONS_RESTORE_CREATEError Tracking Recommendations Restore CreateConnection1 scope
Error Tracking Recommendations Restore Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Releases CreatePOSTHOG_ERROR_TRACKING_RELEASES_CREATEError Tracking Releases CreateConnection1 scope
Error Tracking Releases Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Releases DestroyPOSTHOG_ERROR_TRACKING_RELEASES_DESTROYError Tracking Releases DestroyConnection1 scope
Error Tracking Releases Destroy
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Releases Hash RetrievePOSTHOG_ERROR_TRACKING_RELEASES_HASH_RETRIEVEError Tracking Releases Hash RetrieveConnection1 scope
Error Tracking Releases Hash Retrieve
Authentication
Connected account requiredScopes
error_tracking:readTags
Error Tracking Releases ListPOSTHOG_ERROR_TRACKING_RELEASES_LISTError Tracking Releases ListConnection1 scope
Error Tracking Releases List
Authentication
Connected account requiredScopes
error_tracking:readTags
Error Tracking Releases Partial UpdatePOSTHOG_ERROR_TRACKING_RELEASES_PARTIAL_UPDATEError Tracking Releases Partial UpdateConnection1 scope
Error Tracking Releases Partial Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Releases RetrievePOSTHOG_ERROR_TRACKING_RELEASES_RETRIEVEError Tracking Releases RetrieveConnection1 scope
Error Tracking Releases Retrieve
Authentication
Connected account requiredScopes
error_tracking:readTags
Error Tracking Releases UpdatePOSTHOG_ERROR_TRACKING_RELEASES_UPDATEError Tracking Releases UpdateConnection1 scope
Error Tracking Releases Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Settings Retrieve Settings RetrievePOSTHOG_ERROR_TRACKING_SETTINGS_RETRIEVE_SETTINGS_RETRIEVEError Tracking Settings Retrieve Settings RetrieveConnection1 scope
Error Tracking Settings Retrieve Settings Retrieve
Authentication
Connected account requiredScopes
error_tracking:readTags
Error Tracking Settings Update Settings Partial UpdatePOSTHOG_ERROR_TRACKING_SETTINGS_UPDATE_SETTINGS_PARTIAL_UPDATEError Tracking Settings Update Settings Partial UpdateConnection1 scope
Error Tracking Settings Update Settings Partial Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Spike Detection Config ListPOSTHOG_ERROR_TRACKING_SPIKE_DETECTION_CONFIG_LISTError Tracking Spike Detection Config ListConnection1 scope
Error Tracking Spike Detection Config List
Authentication
Connected account requiredScopes
error_tracking:readTags
Error Tracking Spike Detection Config Update Config Partial UpdatePOSTHOG_ERROR_TRACKING_SPIKE_DETECTION_CONFIG_UPDATE_CONFIG_PARTIAL_UPDATEError Tracking Spike Detection Config Update Config Partial UpdateConnection
Error Tracking Spike Detection Config Update Config Partial Update
Authentication
Connected account requiredTags
Error Tracking Spike Events ListPOSTHOG_ERROR_TRACKING_SPIKE_EVENTS_LISTError Tracking Spike Events ListConnection1 scope
Error Tracking Spike Events List
Authentication
Connected account requiredScopes
error_tracking:readTags
Error Tracking Stack Frames Batch Get CreatePOSTHOG_ERROR_TRACKING_STACK_FRAMES_BATCH_GET_CREATEError Tracking Stack Frames Batch Get CreateConnection1 scope
Error Tracking Stack Frames Batch Get Create
Authentication
Connected account requiredScopes
error_tracking:readTags
Error Tracking Stack Frames DestroyPOSTHOG_ERROR_TRACKING_STACK_FRAMES_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredTags
Error Tracking Stack Frames ListPOSTHOG_ERROR_TRACKING_STACK_FRAMES_LISTError Tracking Stack Frames ListConnection1 scope
Error Tracking Stack Frames List
Authentication
Connected account requiredScopes
error_tracking:readTags
Error Tracking Stack Frames RetrievePOSTHOG_ERROR_TRACKING_STACK_FRAMES_RETRIEVEError Tracking Stack Frames RetrieveConnection1 scope
Error Tracking Stack Frames Retrieve
Authentication
Connected account requiredScopes
error_tracking:readTags
Error Tracking Suppression Rules CreatePOSTHOG_ERROR_TRACKING_SUPPRESSION_RULES_CREATEError Tracking Suppression Rules CreateConnection1 scope
Error Tracking Suppression Rules Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Suppression Rules DestroyPOSTHOG_ERROR_TRACKING_SUPPRESSION_RULES_DESTROYError Tracking Suppression Rules DestroyConnection1 scope
Error Tracking Suppression Rules Destroy
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Suppression Rules ListPOSTHOG_ERROR_TRACKING_SUPPRESSION_RULES_LISTError Tracking Suppression Rules ListConnection1 scope
Error Tracking Suppression Rules List
Authentication
Connected account requiredScopes
error_tracking:readTags
Error Tracking Suppression Rules Partial UpdatePOSTHOG_ERROR_TRACKING_SUPPRESSION_RULES_PARTIAL_UPDATEError Tracking Suppression Rules Partial UpdateConnection1 scope
Error Tracking Suppression Rules Partial Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Suppression Rules Reorder Partial UpdatePOSTHOG_ERROR_TRACKING_SUPPRESSION_RULES_REORDER_PARTIAL_UPDATEError Tracking Suppression Rules Reorder Partial UpdateConnection
Error Tracking Suppression Rules Reorder Partial Update
Authentication
Connected account requiredTags
Error Tracking Suppression Rules RetrievePOSTHOG_ERROR_TRACKING_SUPPRESSION_RULES_RETRIEVEError Tracking Suppression Rules RetrieveConnection1 scope
Error Tracking Suppression Rules Retrieve
Authentication
Connected account requiredScopes
error_tracking:readTags
Error Tracking Suppression Rules UpdatePOSTHOG_ERROR_TRACKING_SUPPRESSION_RULES_UPDATEError Tracking Suppression Rules UpdateConnection1 scope
Error Tracking Suppression Rules Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Symbol Sets Bulk Delete CreatePOSTHOG_ERROR_TRACKING_SYMBOL_SETS_BULK_DELETE_CREATEError Tracking Symbol Sets Bulk Delete CreateConnection1 scope
Error Tracking Symbol Sets Bulk Delete Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Symbol Sets Bulk Finish Upload CreatePOSTHOG_ERROR_TRACKING_SYMBOL_SETS_BULK_FINISH_UPLOAD_CREATEError Tracking Symbol Sets Bulk Finish Upload CreateConnection1 scope
Error Tracking Symbol Sets Bulk Finish Upload Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Symbol Sets Bulk Start Upload CreatePOSTHOG_ERROR_TRACKING_SYMBOL_SETS_BULK_START_UPLOAD_CREATEError Tracking Symbol Sets Bulk Start Upload CreateConnection1 scope
Error Tracking Symbol Sets Bulk Start Upload Create
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Symbol Sets DestroyPOSTHOG_ERROR_TRACKING_SYMBOL_SETS_DESTROYError Tracking Symbol Sets DestroyConnection1 scope
Error Tracking Symbol Sets Destroy
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Symbol Sets Download RetrievePOSTHOG_ERROR_TRACKING_SYMBOL_SETS_DOWNLOAD_RETRIEVEReturn a presigned URL for downloading the symbol set's source map.Connection1 scope
Return a presigned URL for downloading the symbol set's source map.
Authentication
Connected account requiredScopes
error_tracking:readTags
Error Tracking Symbol Sets Finish Upload UpdatePOSTHOG_ERROR_TRACKING_SYMBOL_SETS_FINISH_UPLOAD_UPDATEError Tracking Symbol Sets Finish Upload UpdateConnection1 scope
Error Tracking Symbol Sets Finish Upload Update
Authentication
Connected account requiredScopes
error_tracking:writeTags
Error Tracking Symbol Sets ListPOSTHOG_ERROR_TRACKING_SYMBOL_SETS_LISTError Tracking Symbol Sets ListConnection1 scope
Error Tracking Symbol Sets List
Authentication
Connected account requiredScopes
error_tracking:readTags
Error Tracking Symbol Sets RetrievePOSTHOG_ERROR_TRACKING_SYMBOL_SETS_RETRIEVEError Tracking Symbol Sets RetrieveConnection1 scope
Error Tracking Symbol Sets Retrieve
Authentication
Connected account requiredScopes
error_tracking:readTags
Evaluation Runs CreatePOSTHOG_EVALUATION_RUNS_CREATECreate a new evaluation run. This endpoint validates the request and enqueues a Temporal workflow to asynchronously execute the evaluation.Connection1 scope
Create a new evaluation run. This endpoint validates the request and enqueues a Temporal workflow to asynchronously execute the evaluation.
Authentication
Connected account requiredScopes
evaluation:writeTags
Evaluations CreatePOSTHOG_EVALUATIONS_CREATEEvaluations CreateConnection1 scope
Evaluations Create
Authentication
Connected account requiredScopes
evaluation:writeTags
Evaluations DestroyPOSTHOG_EVALUATIONS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
evaluation:writeTags
Evaluations ListPOSTHOG_EVALUATIONS_LISTEvaluations ListConnection1 scope
Evaluations List
Authentication
Connected account requiredScopes
evaluation:readTags
Evaluations Partial UpdatePOSTHOG_EVALUATIONS_PARTIAL_UPDATEEvaluations Partial UpdateConnection1 scope
Evaluations Partial Update
Authentication
Connected account requiredScopes
evaluation:writeTags
Evaluations RetrievePOSTHOG_EVALUATIONS_RETRIEVEEvaluations RetrieveConnection1 scope
Evaluations Retrieve
Authentication
Connected account requiredScopes
evaluation:readTags
Evaluations Test Hog CreatePOSTHOG_EVALUATIONS_TEST_HOG_CREATETest Hog evaluation code against sample events without saving.Connection1 scope
Test Hog evaluation code against sample events without saving.
Authentication
Connected account requiredScopes
evaluation:readTags
Evaluations UpdatePOSTHOG_EVALUATIONS_UPDATEEvaluations UpdateConnection1 scope
Evaluations Update
Authentication
Connected account requiredScopes
evaluation:writeTags
Event Definitions Bulk Update Tags CreatePOSTHOG_EVENT_DEFINITIONS_BULK_UPDATE_TAGS_CREATEAdd, remove, or replace tags across multiple event definitions in one request. Overrides ``TaggedItemViewSetMixin.bulk_update_tags``, which assumes integer PKs and runs object-level access-control filtering. Event definitions use UUID PKs and are not an object-level access-controlled resource — project membership (enforced by the viewset) is the only boundary, matching the single-object update path — so this scopes by project and skips the per-object editor check. Tags live on the base ``EventDefinition`` row, so it operates there regardless of the enterprise extension.Connection1 scope
Add, remove, or replace tags across multiple event definitions in one request. Overrides ``TaggedItemViewSetMixin.bulk_update_tags``, which assumes integer PKs and runs object-level access-control filtering. Event definitions use UUID PKs and are not an object-level access-controlled resource — project membership (enforced by the viewset) is the only boundary, matching the single-object update path — so this scopes by project and skips the per-object editor check. Tags live on the base ``EventDefinition`` row, so it operates there regardless of the enterprise extension.
Authentication
Connected account requiredScopes
event_definition:writeTags
Event Definitions By Name RetrievePOSTHOG_EVENT_DEFINITIONS_BY_NAME_RETRIEVEGet event definition by exact nameConnection1 scope
Get event definition by exact name
Authentication
Connected account requiredScopes
event_definition:readTags
Event Definitions CreatePOSTHOG_EVENT_DEFINITIONS_CREATEEvent Definitions CreateConnection1 scope
Event Definitions Create
Authentication
Connected account requiredScopes
event_definition:writeTags
Event Definitions DestroyPOSTHOG_EVENT_DEFINITIONS_DESTROYEvent Definitions DestroyConnection1 scope
Event Definitions Destroy
Authentication
Connected account requiredScopes
event_definition:writeTags
Event Definitions Golang RetrievePOSTHOG_EVENT_DEFINITIONS_GOLANG_RETRIEVEEvent Definitions Golang RetrieveConnection1 scope
Event Definitions Golang Retrieve
Authentication
Connected account requiredScopes
event_definition:readTags
Event Definitions ListPOSTHOG_EVENT_DEFINITIONS_LISTEvent Definitions ListConnection1 scope
Event Definitions List
Authentication
Connected account requiredScopes
event_definition:readTags
Event Definitions Metrics RetrievePOSTHOG_EVENT_DEFINITIONS_METRICS_RETRIEVEEvent Definitions Metrics RetrieveConnection
Event Definitions Metrics Retrieve
Authentication
Connected account requiredTags
Event Definitions Partial UpdatePOSTHOG_EVENT_DEFINITIONS_PARTIAL_UPDATEEvent Definitions Partial UpdateConnection1 scope
Event Definitions Partial Update
Authentication
Connected account requiredScopes
event_definition:writeTags
Event Definitions Primary Properties RetrievePOSTHOG_EVENT_DEFINITIONS_PRIMARY_PROPERTIES_RETRIEVEResolve team-configured primary properties for event definitions. The response only contains entries where a non-null primary_property is set on the EventDefinition. Callers should fall back to the core taxonomy defaults client-side for names not present in the response.Connection1 scope
Resolve team-configured primary properties for event definitions. The response only contains entries where a non-null primary_property is set on the EventDefinition. Callers should fall back to the core taxonomy defaults client-side for names not present in the response.
Authentication
Connected account requiredScopes
event_definition:readTags
Event Definitions Python RetrievePOSTHOG_EVENT_DEFINITIONS_PYTHON_RETRIEVEEvent Definitions Python RetrieveConnection1 scope
Event Definitions Python Retrieve
Authentication
Connected account requiredScopes
event_definition:readTags
Event Definitions RetrievePOSTHOG_EVENT_DEFINITIONS_RETRIEVEEvent Definitions RetrieveConnection1 scope
Event Definitions Retrieve
Authentication
Connected account requiredScopes
event_definition:readTags
Event Definitions Typescript RetrievePOSTHOG_EVENT_DEFINITIONS_TYPESCRIPT_RETRIEVEEvent Definitions Typescript RetrieveConnection1 scope
Event Definitions Typescript Retrieve
Authentication
Connected account requiredScopes
event_definition:readTags
Event Definitions UpdatePOSTHOG_EVENT_DEFINITIONS_UPDATEEvent Definitions UpdateConnection1 scope
Event Definitions Update
Authentication
Connected account requiredScopes
event_definition:writeTags
Event Filter CreatePOSTHOG_EVENT_FILTER_CREATECreate or update the event filter config.Connection1 scope
Create or update the event filter config.
Authentication
Connected account requiredScopes
event_filter:writeTags
Event Filter Metrics RetrievePOSTHOG_EVENT_FILTER_METRICS_RETRIEVESingle event filter per team. GET /event_filter/ — returns the config (or null if not yet created) POST /event_filter/ — creates or updates the config (upsert) GET /event_filter/metrics/ — time-series metrics GET /event_filter/metrics/totals/ — aggregate totalsConnection1 scope
Single event filter per team. GET /event_filter/ — returns the config (or null if not yet created) POST /event_filter/ — creates or updates the config (upsert) GET /event_filter/metrics/ — time-series metrics GET /event_filter/metrics/totals/ — aggregate totals
Authentication
Connected account requiredScopes
event_filter:readTags
Event Filter Metrics Totals RetrievePOSTHOG_EVENT_FILTER_METRICS_TOTALS_RETRIEVESingle event filter per team. GET /event_filter/ — returns the config (or null if not yet created) POST /event_filter/ — creates or updates the config (upsert) GET /event_filter/metrics/ — time-series metrics GET /event_filter/metrics/totals/ — aggregate totalsConnection1 scope
Single event filter per team. GET /event_filter/ — returns the config (or null if not yet created) POST /event_filter/ — creates or updates the config (upsert) GET /event_filter/metrics/ — time-series metrics GET /event_filter/metrics/totals/ — aggregate totals
Authentication
Connected account requiredScopes
event_filter:readTags
Event Filter RetrievePOSTHOG_EVENT_FILTER_RETRIEVEReturns the event filter config for the team, or null if not yet created.Connection1 scope
Returns the event filter config for the team, or null if not yet created.
Authentication
Connected account requiredScopes
event_filter:readTags
Event Schemas CreatePOSTHOG_EVENT_SCHEMAS_CREATEEvent Schemas CreateConnection1 scope
Event Schemas Create
Authentication
Connected account requiredScopes
event_definition:writeTags
Event Schemas DestroyPOSTHOG_EVENT_SCHEMAS_DESTROYEvent Schemas DestroyConnection1 scope
Event Schemas Destroy
Authentication
Connected account requiredScopes
event_definition:writeTags
Event Schemas ListPOSTHOG_EVENT_SCHEMAS_LISTEvent Schemas ListConnection1 scope
Event Schemas List
Authentication
Connected account requiredScopes
event_definition:readTags
Event Schemas Partial UpdatePOSTHOG_EVENT_SCHEMAS_PARTIAL_UPDATEEvent Schemas Partial UpdateConnection1 scope
Event Schemas Partial Update
Authentication
Connected account requiredScopes
event_definition:writeTags
Event Schemas UpdatePOSTHOG_EVENT_SCHEMAS_UPDATEEvent Schemas UpdateConnection1 scope
Event Schemas Update
Authentication
Connected account requiredScopes
event_definition:writeTags
Events ListPOSTHOG_EVENTS_LISTThis endpoint allows you to list and filter events. It is effectively deprecated and is kept only for backwards compatibility. If you ever ask about it you will be advised to not use it... If you want to ad-hoc list or aggregate events, use the Query endpoint instead. If you want to export all events or many pages of events you should use our CDP/Batch Exports products instead.Connection1 scope
This endpoint allows you to list and filter events. It is effectively deprecated and is kept only for backwards compatibility. If you ever ask about it you will be advised to not use it... If you want to ad-hoc list or aggregate events, use the Query endpoint instead. If you want to export all events or many pages of events you should use our CDP/Batch Exports products instead.
Authentication
Connected account requiredScopes
query:readTags
Events RetrievePOSTHOG_EVENTS_RETRIEVEEvents RetrieveConnection1 scope
Events Retrieve
Authentication
Connected account requiredScopes
query:readTags
Events Values RetrievePOSTHOG_EVENTS_VALUES_RETRIEVEEvents Values RetrieveConnection1 scope
Events Values Retrieve
Authentication
Connected account requiredScopes
query:readTags
Experiment Holdouts CreatePOSTHOG_EXPERIMENT_HOLDOUTS_CREATEExperiment Holdouts CreateConnection1 scope
Experiment Holdouts Create
Authentication
Connected account requiredScopes
experiment_holdout:writeTags
Experiment Holdouts DestroyPOSTHOG_EXPERIMENT_HOLDOUTS_DESTROYExperiment Holdouts DestroyConnection1 scope
Experiment Holdouts Destroy
Authentication
Connected account requiredScopes
experiment_holdout:writeTags
Experiment Holdouts ListPOSTHOG_EXPERIMENT_HOLDOUTS_LISTExperiment Holdouts ListConnection1 scope
Experiment Holdouts List
Authentication
Connected account requiredScopes
experiment_holdout:readTags
Experiment Holdouts Partial UpdatePOSTHOG_EXPERIMENT_HOLDOUTS_PARTIAL_UPDATEExperiment Holdouts Partial UpdateConnection1 scope
Experiment Holdouts Partial Update
Authentication
Connected account requiredScopes
experiment_holdout:writeTags
Experiment Holdouts RetrievePOSTHOG_EXPERIMENT_HOLDOUTS_RETRIEVEExperiment Holdouts RetrieveConnection1 scope
Experiment Holdouts Retrieve
Authentication
Connected account requiredScopes
experiment_holdout:readTags
Experiment Holdouts UpdatePOSTHOG_EXPERIMENT_HOLDOUTS_UPDATEExperiment Holdouts UpdateConnection1 scope
Experiment Holdouts Update
Authentication
Connected account requiredScopes
experiment_holdout:writeTags
Experiment Saved Metrics CreatePOSTHOG_EXPERIMENT_SAVED_METRICS_CREATEExperiment Saved Metrics CreateConnection1 scope
Experiment Saved Metrics Create
Authentication
Connected account requiredScopes
experiment_saved_metric:writeTags
Experiment Saved Metrics DestroyPOSTHOG_EXPERIMENT_SAVED_METRICS_DESTROYExperiment Saved Metrics DestroyConnection1 scope
Experiment Saved Metrics Destroy
Authentication
Connected account requiredScopes
experiment_saved_metric:writeTags
Experiment Saved Metrics ListPOSTHOG_EXPERIMENT_SAVED_METRICS_LISTExperiment Saved Metrics ListConnection1 scope
Experiment Saved Metrics List
Authentication
Connected account requiredScopes
experiment_saved_metric:readTags
Experiment Saved Metrics Partial UpdatePOSTHOG_EXPERIMENT_SAVED_METRICS_PARTIAL_UPDATEExperiment Saved Metrics Partial UpdateConnection1 scope
Experiment Saved Metrics Partial Update
Authentication
Connected account requiredScopes
experiment_saved_metric:writeTags
Experiment Saved Metrics RetrievePOSTHOG_EXPERIMENT_SAVED_METRICS_RETRIEVEExperiment Saved Metrics RetrieveConnection1 scope
Experiment Saved Metrics Retrieve
Authentication
Connected account requiredScopes
experiment_saved_metric:readTags
Experiment Saved Metrics UpdatePOSTHOG_EXPERIMENT_SAVED_METRICS_UPDATEExperiment Saved Metrics UpdateConnection1 scope
Experiment Saved Metrics Update
Authentication
Connected account requiredScopes
experiment_saved_metric:writeTags
Experiments Archive CreatePOSTHOG_EXPERIMENTS_ARCHIVE_CREATEArchive an ended experiment. Hides the experiment from the default list view. The experiment can be restored at any time by updating archived=false. When the linked feature flag is still enabled, pass disable_feature_flag=true to also disable and archive it. Returns 400 if the experiment is already archived or has not ended yet.Connection1 scope
Archive an ended experiment. Hides the experiment from the default list view. The experiment can be restored at any time by updating archived=false. When the linked feature flag is still enabled, pass disable_feature_flag=true to also disable and archive it. Returns 400 if the experiment is already archived or has not ended yet.
Authentication
Connected account requiredScopes
experiment:writeTags
Experiments Calculate Running Time CreatePOSTHOG_EXPERIMENTS_CALCULATE_RUNNING_TIME_CREATEEstimate the recommended sample size and running time for an experiment. Pure statistical calculation — does not read or write any experiment. Pass the metric type, a minimum detectable effect, and either a baseline value or raw baseline statistics. When `exposure_rate_per_day` is provided, the response also includes the estimated running time in days.Connection1 scope
Estimate the recommended sample size and running time for an experiment. Pure statistical calculation — does not read or write any experiment. Pass the metric type, a minimum detectable effect, and either a baseline value or raw baseline statistics. When `exposure_rate_per_day` is provided, the response also includes the estimated running time in days.
Authentication
Connected account requiredScopes
experiment:readTags
Experiments Copy To Project CreatePOSTHOG_EXPERIMENTS_COPY_TO_PROJECT_CREATECopy an experiment into another project in the same organization as a new draft.Connection1 scope
Copy an experiment into another project in the same organization as a new draft.
Authentication
Connected account requiredScopes
experiment:writeTags
Experiments CreatePOSTHOG_EXPERIMENTS_CREATECreate a new experiment in draft status with optional metrics.Connection1 scope
Create a new experiment in draft status with optional metrics.
Authentication
Connected account requiredScopes
experiment:writeTags
Experiments Create Exposure Cohort For Experiment CreatePOSTHOG_EXPERIMENTS_CREATE_EXPOSURE_COHORT_FOR_EXPERIMENT_CREATEMixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers. This mixin intercepts ApprovalRequired exceptions raised by the @approval_gate decorator on serializer methods and converts them into proper HTTP 409 Conflict responses with change request details.Connection1 scope
Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers. This mixin intercepts ApprovalRequired exceptions raised by the @approval_gate decorator on serializer methods and converts them into proper HTTP 409 Conflict responses with change request details.
Authentication
Connected account requiredScopes
experiment:writeTags
Experiments Create From Prompt CreatePOSTHOG_EXPERIMENTS_CREATE_FROM_PROMPT_CREATECreate an experiment that compares N versions of an LLM prompt using a metric template. The user picks 2+ versions of an existing LLMPrompt and 1+ metric templates (cost / latency / eval_pass_rate). The endpoint builds the matching variants (control + test-N, each named after its prompt version) and attaches one metric per selected template, each scoped to the prompt's $ai_prompt_name. Resulting experiment is in draft state.Connection2 scopes
Create an experiment that compares N versions of an LLM prompt using a metric template. The user picks 2+ versions of an existing LLMPrompt and 1+ metric templates (cost / latency / eval_pass_rate). The endpoint builds the matching variants (control + test-N, each named after its prompt version) and attaches one metric per selected template, each scoped to the prompt's $ai_prompt_name. Resulting experiment is in draft state.
Authentication
Connected account requiredScopes
experiment:writellm_prompt:readTags
Experiments DestroyPOSTHOG_EXPERIMENTS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
experiment:writeTags
Experiments Duplicate CreatePOSTHOG_EXPERIMENTS_DUPLICATE_CREATEMixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers. This mixin intercepts ApprovalRequired exceptions raised by the @approval_gate decorator on serializer methods and converts them into proper HTTP 409 Conflict responses with change request details.Connection1 scope
Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers. This mixin intercepts ApprovalRequired exceptions raised by the @approval_gate decorator on serializer methods and converts them into proper HTTP 409 Conflict responses with change request details.
Authentication
Connected account requiredScopes
experiment:writeTags
Experiments Eligible Feature Flags RetrievePOSTHOG_EXPERIMENTS_ELIGIBLE_FEATURE_FLAGS_RETRIEVEReturns a paginated list of feature flags eligible for use in experiments. Eligible flags must: - Be multivariate with at least 2 variants - Have "control" as the first variant key Query parameters: - search: Filter by flag key or name (case insensitive) - limit: Number of results per page (default: 20) - offset: Pagination offset (default: 0) - active: Filter by active status ("true" or "false") - created_by_id: Filter by creator user ID - order: Sort order field - evaluation_runtime: Filter by evaluation runtime - has_evaluation_contexts: Filter by presence of evaluation contexts ("true" or "false")Connection1 scope
Returns a paginated list of feature flags eligible for use in experiments. Eligible flags must: - Be multivariate with at least 2 variants - Have "control" as the first variant key Query parameters: - search: Filter by flag key or name (case insensitive) - limit: Number of results per page (default: 20) - offset: Pagination offset (default: 0) - active: Filter by active status ("true" or "false") - created_by_id: Filter by creator user ID - order: Sort order field - evaluation_runtime: Filter by evaluation runtime - has_evaluation_contexts: Filter by presence of evaluation contexts ("true" or "false")
Authentication
Connected account requiredScopes
feature_flag:readTags
Experiments End CreatePOSTHOG_EXPERIMENTS_END_CREATEEnd a running experiment without shipping a variant. Sets end_date to now and marks the experiment as stopped. The feature flag is NOT modified — users continue to see their assigned variants and exposure events ($feature_flag_called) continue to be recorded. However, only data up to end_date is included in experiment results. Use this when: - You want to freeze the results window without changing which variant users see. - A variant was already shipped manually via the feature flag UI and the experiment just needs to be marked complete. The end_date can be adjusted after ending via PATCH if it needs to be backdated (e.g. to match when the flag was actually paused). Other options: - Use ship_variant to end the experiment AND roll out a single variant to 100%% of users. - Use pause to deactivate the flag without ending the experiment (stops variant assignment but does not freeze results). Returns 400 if the experiment is not running.Connection1 scope
End a running experiment without shipping a variant. Sets end_date to now and marks the experiment as stopped. The feature flag is NOT modified — users continue to see their assigned variants and exposure events ($feature_flag_called) continue to be recorded. However, only data up to end_date is included in experiment results. Use this when: - You want to freeze the results window without changing which variant users see. - A variant was already shipped manually via the feature flag UI and the experiment just needs to be marked complete. The end_date can be adjusted after ending via PATCH if it needs to be backdated (e.g. to match when the flag was actually paused). Other options: - Use ship_variant to end the experiment AND roll out a single variant to 100%% of users. - Use pause to deactivate the flag without ending the experiment (stops variant assignment but does not freeze results). Returns 400 if the experiment is not running.
Authentication
Connected account requiredScopes
experiment:writeTags
Experiments Launch CreatePOSTHOG_EXPERIMENTS_LAUNCH_CREATELaunch a draft experiment. Validates the experiment is in draft state, activates its linked feature flag, sets start_date to the current server time, and transitions the experiment to running. Returns 400 if the experiment has already been launched or if the feature flag configuration is invalid (e.g. missing "control" variant or fewer than 2 variants).Connection1 scope
Launch a draft experiment. Validates the experiment is in draft state, activates its linked feature flag, sets start_date to the current server time, and transitions the experiment to running. Returns 400 if the experiment has already been launched or if the feature flag configuration is invalid (e.g. missing "control" variant or fewer than 2 variants).
Authentication
Connected account requiredScopes
experiment:writeTags
Experiments ListPOSTHOG_EXPERIMENTS_LISTList experiments for the current project. Supports filtering by status and archival state.Connection1 scope
List experiments for the current project. Supports filtering by status and archival state.
Authentication
Connected account requiredScopes
experiment:readTags
Experiments Metrics Recalculation CreatePOSTHOG_EXPERIMENTS_METRICS_RECALCULATION_CREATETrigger a batch recalculation of all metrics for this experiment. Returns 201 with the new pending recalculation, or 200 with the active one if a recalculation is already pending or in progress for this experiment. The response payload intentionally does not include the `results` array — at POST time the workflow has just been queued and no per-metric results exist yet. Clients should poll `GET metrics_recalculation/{id}/` for results as the workflow progresses.Connection1 scope
Trigger a batch recalculation of all metrics for this experiment. Returns 201 with the new pending recalculation, or 200 with the active one if a recalculation is already pending or in progress for this experiment. The response payload intentionally does not include the `results` array — at POST time the workflow has just been queued and no per-metric results exist yet. Clients should poll `GET metrics_recalculation/{id}/` for results as the workflow progresses.
Authentication
Connected account requiredScopes
experiment:writeTags
Experiments Metrics Recalculation Latest RetrievePOSTHOG_EXPERIMENTS_METRICS_RECALCULATION_LATEST_RETRIEVEMixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers. This mixin intercepts ApprovalRequired exceptions raised by the @approval_gate decorator on serializer methods and converts them into proper HTTP 409 Conflict responses with change request details.Connection1 scope
Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers. This mixin intercepts ApprovalRequired exceptions raised by the @approval_gate decorator on serializer methods and converts them into proper HTTP 409 Conflict responses with change request details.
Authentication
Connected account requiredScopes
experiment:readTags
Experiments Metrics Recalculation RetrievePOSTHOG_EXPERIMENTS_METRICS_RECALCULATION_RETRIEVEMixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers. This mixin intercepts ApprovalRequired exceptions raised by the @approval_gate decorator on serializer methods and converts them into proper HTTP 409 Conflict responses with change request details.Connection1 scope
Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers. This mixin intercepts ApprovalRequired exceptions raised by the @approval_gate decorator on serializer methods and converts them into proper HTTP 409 Conflict responses with change request details.
Authentication
Connected account requiredScopes
experiment:readTags
Experiments Partial UpdatePOSTHOG_EXPERIMENTS_PARTIAL_UPDATEUpdate an experiment. Use this to modify experiment properties such as name, description, metrics, variants, and configuration. Metrics can be added, changed and removed at any time. Feature-flag config (variants, rollout, payloads) is sent via the feature_flag object.Connection1 scope
Update an experiment. Use this to modify experiment properties such as name, description, metrics, variants, and configuration. Metrics can be added, changed and removed at any time. Feature-flag config (variants, rollout, payloads) is sent via the feature_flag object.
Authentication
Connected account requiredScopes
experiment:writeTags
Experiments Pause CreatePOSTHOG_EXPERIMENTS_PAUSE_CREATEPause a running experiment. Deactivates the linked feature flag so it is no longer returned by the /decide endpoint. Users fall back to the application default (typically the control experience), and no new exposure events are recorded (i.e. $feature_flag_called is not fired). Returns 400 if the experiment is not running or is already paused.Connection1 scope
Pause a running experiment. Deactivates the linked feature flag so it is no longer returned by the /decide endpoint. Users fall back to the application default (typically the control experience), and no new exposure events are recorded (i.e. $feature_flag_called is not fired). Returns 400 if the experiment is not running or is already paused.
Authentication
Connected account requiredScopes
experiment:writeTags
Experiments Prompt Templates RetrievePOSTHOG_EXPERIMENTS_PROMPT_TEMPLATES_RETRIEVEList the LLM metric templates that can be passed to `create_from_prompt`.Connection1 scope
List the LLM metric templates that can be passed to `create_from_prompt`.
Authentication
Connected account requiredScopes
experiment:readTags
Experiments Recalculate Timeseries CreatePOSTHOG_EXPERIMENTS_RECALCULATE_TIMESERIES_CREATEMixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers. This mixin intercepts ApprovalRequired exceptions raised by the @approval_gate decorator on serializer methods and converts them into proper HTTP 409 Conflict responses with change request details.Connection1 scope
Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers. This mixin intercepts ApprovalRequired exceptions raised by the @approval_gate decorator on serializer methods and converts them into proper HTTP 409 Conflict responses with change request details.
Authentication
Connected account requiredScopes
experiment:writeTags
Experiments Requires Flag Implementation RetrievePOSTHOG_EXPERIMENTS_REQUIRES_FLAG_IMPLEMENTATION_RETRIEVEMixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers. This mixin intercepts ApprovalRequired exceptions raised by the @approval_gate decorator on serializer methods and converts them into proper HTTP 409 Conflict responses with change request details.Connection1 scope
Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers. This mixin intercepts ApprovalRequired exceptions raised by the @approval_gate decorator on serializer methods and converts them into proper HTTP 409 Conflict responses with change request details.
Authentication
Connected account requiredScopes
experiment:readTags
Experiments Reset CreatePOSTHOG_EXPERIMENTS_RESET_CREATEReset an experiment back to draft state. Clears start/end dates, conclusion, and archived flag. The feature flag is left unchanged — users continue to see their assigned variants. Previously collected events still exist but won't be included in results unless the start date is manually adjusted after re-launch. Returns 400 if the experiment is already in draft state.Connection1 scope
Reset an experiment back to draft state. Clears start/end dates, conclusion, and archived flag. The feature flag is left unchanged — users continue to see their assigned variants. Previously collected events still exist but won't be included in results unless the start date is manually adjusted after re-launch. Returns 400 if the experiment is already in draft state.
Authentication
Connected account requiredScopes
experiment:writeTags
Experiments Resume CreatePOSTHOG_EXPERIMENTS_RESUME_CREATEResume a paused experiment. Reactivates the linked feature flag so it is returned by /decide again. Users are re-bucketed deterministically into the same variants they had before the pause, and exposure tracking resumes. Returns 400 if the experiment is not running or is not paused.Connection1 scope
Resume a paused experiment. Reactivates the linked feature flag so it is returned by /decide again. Users are re-bucketed deterministically into the same variants they had before the pause, and exposure tracking resumes. Returns 400 if the experiment is not running or is not paused.
Authentication
Connected account requiredScopes
experiment:writeTags
Experiments RetrievePOSTHOG_EXPERIMENTS_RETRIEVERetrieve a single experiment by ID, including its current status, metrics, feature flag, and results metadata.Connection1 scope
Retrieve a single experiment by ID, including its current status, metrics, feature flag, and results metadata.
Authentication
Connected account requiredScopes
experiment:readTags
Experiments Ship Variant CreatePOSTHOG_EXPERIMENTS_SHIP_VARIANT_CREATEShip a variant and (optionally) end the experiment. Updates the feature flag so the selected variant gets 100% of the variant distribution. By default, existing release conditions on the flag are preserved untouched — the variant is served only to users who already match them. Pass ``release_to_everyone: true`` to also prepend a catch-all release condition that rolls the variant out to 100% of users (overrides any existing release conditions on the flag). Can be called on both running and stopped experiments. If the experiment is still running, it will also be ended (end_date set and status marked as stopped). If the experiment has already ended, only the flag is rewritten - this supports the "end first, ship later" workflow. If an approval policy requires review before changes on the flag take effect, the API returns 409 with a change_request_id. The experiment is NOT ended until the change request is approved and the user retries. Returns 400 if the experiment is in draft state, the variant_key is not found on the flag, or the experiment has no linked feature flag.Connection1 scope
Ship a variant and (optionally) end the experiment. Updates the feature flag so the selected variant gets 100% of the variant distribution. By default, existing release conditions on the flag are preserved untouched — the variant is served only to users who already match them. Pass ``release_to_everyone: true`` to also prepend a catch-all release condition that rolls the variant out to 100% of users (overrides any existing release conditions on the flag). Can be called on both running and stopped experiments. If the experiment is still running, it will also be ended (end_date set and status marked as stopped). If the experiment has already ended, only the flag is rewritten - this supports the "end first, ship later" workflow. If an approval policy requires review before changes on the flag take effect, the API returns 409 with a change_request_id. The experiment is NOT ended until the change request is approved and the user retries. Returns 400 if the experiment is in draft state, the variant_key is not found on the flag, or the experiment has no linked feature flag.
Authentication
Connected account requiredScopes
experiment:writeTags
Experiments Stats RetrievePOSTHOG_EXPERIMENTS_STATS_RETRIEVEMixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers. This mixin intercepts ApprovalRequired exceptions raised by the @approval_gate decorator on serializer methods and converts them into proper HTTP 409 Conflict responses with change request details.Connection1 scope
Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers. This mixin intercepts ApprovalRequired exceptions raised by the @approval_gate decorator on serializer methods and converts them into proper HTTP 409 Conflict responses with change request details.
Authentication
Connected account requiredScopes
experiment:readTags
Experiments Timeseries Results RetrievePOSTHOG_EXPERIMENTS_TIMESERIES_RESULTS_RETRIEVEMixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers. This mixin intercepts ApprovalRequired exceptions raised by the @approval_gate decorator on serializer methods and converts them into proper HTTP 409 Conflict responses with change request details.Connection1 scope
Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers. This mixin intercepts ApprovalRequired exceptions raised by the @approval_gate decorator on serializer methods and converts them into proper HTTP 409 Conflict responses with change request details.
Authentication
Connected account requiredScopes
experiment:readTags
Experiments Unarchive CreatePOSTHOG_EXPERIMENTS_UNARCHIVE_CREATEUnarchive an archived experiment. Restores the experiment to the default list view. Returns 400 if the experiment is not currently archived.Connection1 scope
Unarchive an archived experiment. Restores the experiment to the default list view. Returns 400 if the experiment is not currently archived.
Authentication
Connected account requiredScopes
experiment:writeTags
Experiments UpdatePOSTHOG_EXPERIMENTS_UPDATEMixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers. This mixin intercepts ApprovalRequired exceptions raised by the @approval_gate decorator on serializer methods and converts them into proper HTTP 409 Conflict responses with change request details.Connection1 scope
Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers. This mixin intercepts ApprovalRequired exceptions raised by the @approval_gate decorator on serializer methods and converts them into proper HTTP 409 Conflict responses with change request details.
Authentication
Connected account requiredScopes
experiment:writeTags
Exports Content RetrievePOSTHOG_EXPORTS_CONTENT_RETRIEVEExports Content RetrieveConnection1 scope
Exports Content Retrieve
Authentication
Connected account requiredScopes
export:readTags
Exports CreatePOSTHOG_EXPORTS_CREATEExports CreateConnection1 scope
Exports Create
Authentication
Connected account requiredScopes
export:writeTags
Exports ListPOSTHOG_EXPORTS_LISTExports ListConnection1 scope
Exports List
Authentication
Connected account requiredScopes
export:readTags
Exports RetrievePOSTHOG_EXPORTS_RETRIEVEExports RetrieveConnection1 scope
Exports Retrieve
Authentication
Connected account requiredScopes
export:readTags
External Data Schemas Cancel CreatePOSTHOG_EXTERNAL_DATA_SCHEMAS_CANCEL_CREATEExternal Data Schemas Cancel CreateConnection1 scope
External Data Schemas Cancel Create
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Schemas CreatePOSTHOG_EXTERNAL_DATA_SCHEMAS_CREATEExternal Data Schemas CreateConnection1 scope
External Data Schemas Create
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Schemas Delete Data DestroyPOSTHOG_EXTERNAL_DATA_SCHEMAS_DELETE_DATA_DESTROYExternal Data Schemas Delete Data DestroyConnection1 scope
External Data Schemas Delete Data Destroy
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Schemas DestroyPOSTHOG_EXTERNAL_DATA_SCHEMAS_DESTROYExternal Data Schemas DestroyConnection1 scope
External Data Schemas Destroy
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Schemas Incremental Fields CreatePOSTHOG_EXTERNAL_DATA_SCHEMAS_INCREMENTAL_FIELDS_CREATEExternal Data Schemas Incremental Fields CreateConnection1 scope
External Data Schemas Incremental Fields Create
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Schemas ListPOSTHOG_EXTERNAL_DATA_SCHEMAS_LISTExternal Data Schemas ListConnection1 scope
External Data Schemas List
Authentication
Connected account requiredScopes
external_data_source:readTags
External Data Schemas Logs RetrievePOSTHOG_EXTERNAL_DATA_SCHEMAS_LOGS_RETRIEVEExternal Data Schemas Logs RetrieveConnection1 scope
External Data Schemas Logs Retrieve
Authentication
Connected account requiredScopes
external_data_source:readTags
External Data Schemas Partial UpdatePOSTHOG_EXTERNAL_DATA_SCHEMAS_PARTIAL_UPDATEExternal Data Schemas Partial UpdateConnection1 scope
External Data Schemas Partial Update
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Schemas Reload CreatePOSTHOG_EXTERNAL_DATA_SCHEMAS_RELOAD_CREATEExternal Data Schemas Reload CreateConnection1 scope
External Data Schemas Reload Create
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Schemas Resync CreatePOSTHOG_EXTERNAL_DATA_SCHEMAS_RESYNC_CREATEExternal Data Schemas Resync CreateConnection1 scope
External Data Schemas Resync Create
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Schemas RetrievePOSTHOG_EXTERNAL_DATA_SCHEMAS_RETRIEVEExternal Data Schemas RetrieveConnection1 scope
External Data Schemas Retrieve
Authentication
Connected account requiredScopes
external_data_source:readTags
External Data Schemas UpdatePOSTHOG_EXTERNAL_DATA_SCHEMAS_UPDATEExternal Data Schemas UpdateConnection1 scope
External Data Schemas Update
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Sources Bulk Update Schemas Partial UpdatePOSTHOG_EXTERNAL_DATA_SOURCES_BULK_UPDATE_SCHEMAS_PARTIAL_UPDATECreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
External Data Sources Cdc Status RetrievePOSTHOG_EXTERNAL_DATA_SOURCES_CDC_STATUS_RETRIEVELive CDC health for an existing source: slot/publication existence and WAL lag. Reads from the source DB via the engine adapter. Returns ``{"enabled": false}`` when CDC is off, or the stored config plus live ``slot_exists`` / ``publication_exists`` / ``lag_bytes`` when on. 400s if the source DB is unreachable so the UI can show a degraded/unreachable state.Connection1 scope
Live CDC health for an existing source: slot/publication existence and WAL lag. Reads from the source DB via the engine adapter. Returns ``{"enabled": false}`` when CDC is off, or the stored config plus live ``slot_exists`` / ``publication_exists`` / ``lag_bytes`` when on. 400s if the source DB is unreachable so the UI can show a degraded/unreachable state.
Authentication
Connected account requiredScopes
external_data_source:readTags
External Data Sources Check Cdc Prerequisites CreatePOSTHOG_EXTERNAL_DATA_SOURCES_CHECK_CDC_PREREQUISITES_CREATEValidate CDC prerequisites against a live Postgres connection. Used by the source wizard to surface ✅/❌ checks before source creation, and by the self-managed setup popup to verify user-created publications.Connection1 scope
Validate CDC prerequisites against a live Postgres connection. Used by the source wizard to surface ✅/❌ checks before source creation, and by the self-managed setup popup to verify user-created publications.
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Sources Check Cdc Prerequisites For Source CreatePOSTHOG_EXTERNAL_DATA_SOURCES_CHECK_CDC_PREREQUISITES_FOR_SOURCE_CREATEValidate CDC prerequisites for an existing source using its stored credentials. The detail=False ``check_cdc_prerequisites`` action is for the creation wizard, where the client still holds the raw connection config (incl. password) in the form. On the Configuration page the source already exists and secret fields are stripped from API responses — so the client can't supply them. This reads the stored (encrypted) credentials from the DB via the adapter instead. Body params: ``cdc_management_mode`` (``"posthog"`` | ``"self_managed"``), ``cdc_slot_name`` (optional), ``cdc_publication_name`` (optional).Connection1 scope
Validate CDC prerequisites for an existing source using its stored credentials. The detail=False ``check_cdc_prerequisites`` action is for the creation wizard, where the client still holds the raw connection config (incl. password) in the form. On the Configuration page the source already exists and secret fields are stripped from API responses — so the client can't supply them. This reads the stored (encrypted) credentials from the DB via the adapter instead. Body params: ``cdc_management_mode`` (``"posthog"`` | ``"self_managed"``), ``cdc_slot_name`` (optional), ``cdc_publication_name`` (optional).
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Sources Connect Link RetrievePOSTHOG_EXTERNAL_DATA_SOURCES_CONNECT_LINK_RETRIEVEReturn a secure browser link for connecting a data warehouse source. The link opens a minimal connect page rendering the source's full connection form — OAuth options included — with no table selection and no source creation. The user authenticates in their browser, secrets never pass through the agent, and the agent finishes setup afterwards by passing the stored credential id to data-warehouse-source-setup.Connection1 scope
Return a secure browser link for connecting a data warehouse source. The link opens a minimal connect page rendering the source's full connection form — OAuth options included — with no table selection and no source creation. The user authenticates in their browser, secrets never pass through the agent, and the agent finishes setup afterwards by passing the stored credential id to data-warehouse-source-setup.
Authentication
Connected account requiredScopes
external_data_source:readTags
External Data Sources Connections ListPOSTHOG_EXTERNAL_DATA_SOURCES_CONNECTIONS_LISTCreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:readTags
External Data Sources CreatePOSTHOG_EXTERNAL_DATA_SOURCES_CREATECreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Sources Create Webhook CreatePOSTHOG_EXTERNAL_DATA_SOURCES_CREATE_WEBHOOK_CREATECreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Sources Database Schema CreatePOSTHOG_EXTERNAL_DATA_SOURCES_DATABASE_SCHEMA_CREATECreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Sources Delete Webhook CreatePOSTHOG_EXTERNAL_DATA_SOURCES_DELETE_WEBHOOK_CREATECreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Sources DestroyPOSTHOG_EXTERNAL_DATA_SOURCES_DESTROYCreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Sources Disable Cdc CreatePOSTHOG_EXTERNAL_DATA_SOURCES_DISABLE_CDC_CREATEDisable CDC on an existing source. Cancels any running CDC extraction workflow, deletes the extraction schedule, delegates engine-side teardown to the source's adapter (drops slot/publication for Postgres; equivalent for other engines), clears ``cdc_*`` keys from ``job_inputs``, soft-deletes companion CDC tables, and sets all CDC schemas to ``sync_type=None``, ``should_sync=False`` so the user must pick a new sync strategy before they resume.Connection1 scope
Disable CDC on an existing source. Cancels any running CDC extraction workflow, deletes the extraction schedule, delegates engine-side teardown to the source's adapter (drops slot/publication for Postgres; equivalent for other engines), clears ``cdc_*`` keys from ``job_inputs``, soft-deletes companion CDC tables, and sets all CDC schemas to ``sync_type=None``, ``should_sync=False`` so the user must pick a new sync strategy before they resume.
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Sources Draft Custom Manifest CreatePOSTHOG_EXTERNAL_DATA_SOURCES_DRAFT_CUSTOM_MANIFEST_CREATEDraft a Custom REST source manifest from API documentation using an LLM. Reads the docs (a URL fetched server-side, or pasted text / OpenAPI spec), asks the model to author a RESTAPIConfig manifest, and validates it against the create-path checks — repairing against validation errors up to a small budget. Returns the manifest for the user to review and tweak in the builder before creating the source; it does NOT create anything. Gated by the `dwh-custom-source-ai-builder` flag, and requires the org to have approved AI data processing, since the docs are sent to the LLM gateway.Connection1 scope
Draft a Custom REST source manifest from API documentation using an LLM. Reads the docs (a URL fetched server-side, or pasted text / OpenAPI spec), asks the model to author a RESTAPIConfig manifest, and validates it against the create-path checks — repairing against validation errors up to a small budget. Returns the manifest for the user to review and tweak in the builder before creating the source; it does NOT create anything. Gated by the `dwh-custom-source-ai-builder` flag, and requires the org to have approved AI data processing, since the docs are sent to the LLM gateway.
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Sources Enable Cdc CreatePOSTHOG_EXTERNAL_DATA_SOURCES_ENABLE_CDC_CREATEEnable CDC on an existing source. Provisions engine-side CDC resources via the source's adapter, writes the CDC config into ``source.job_inputs``, and ensures the CDC extraction schedule exists. Re-runs prereq checks server-side so we never trust a stale client-side check. Body params: ``cdc_management_mode`` (``"posthog"`` | ``"self_managed"``), plus engine-specific identifier hints (e.g. ``cdc_slot_name``, ``cdc_publication_name`` for Postgres). Universal tuning fields: ``cdc_auto_drop_slot`` (optional bool), ``cdc_lag_warning_threshold_mb`` (optional int), ``cdc_lag_critical_threshold_mb`` (optional int).Connection1 scope
Enable CDC on an existing source. Provisions engine-side CDC resources via the source's adapter, writes the CDC config into ``source.job_inputs``, and ensures the CDC extraction schedule exists. Re-runs prereq checks server-side so we never trust a stale client-side check. Body params: ``cdc_management_mode`` (``"posthog"`` | ``"self_managed"``), plus engine-specific identifier hints (e.g. ``cdc_slot_name``, ``cdc_publication_name`` for Postgres). Universal tuning fields: ``cdc_auto_drop_slot`` (optional bool), ``cdc_lag_warning_threshold_mb`` (optional int), ``cdc_lag_critical_threshold_mb`` (optional int).
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Sources Jobs RetrievePOSTHOG_EXTERNAL_DATA_SOURCES_JOBS_RETRIEVECreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:readTags
External Data Sources ListPOSTHOG_EXTERNAL_DATA_SOURCES_LISTCreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:readTags
External Data Sources Partial UpdatePOSTHOG_EXTERNAL_DATA_SOURCES_PARTIAL_UPDATECreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Sources Preview Resource CreatePOSTHOG_EXTERNAL_DATA_SOURCES_PREVIEW_RESOURCE_CREATERead a bounded sample of rows for one resource of a Custom REST source. Lets a manifest author verify `data_selector`, `primary_key`, and the incremental `cursor_path` against live data before creating the source. Only `source_type: "Custom"` is supported — other source types return 400. The read is bounded (single page per resource, capped row count, short timeouts, no redirects). Manifest, validation, and SSRF problems return 400; a live fetch failure returns 200 with `error` set and empty `rows`.Connection1 scope
Read a bounded sample of rows for one resource of a Custom REST source. Lets a manifest author verify `data_selector`, `primary_key`, and the incremental `cursor_path` against live data before creating the source. Only `source_type: "Custom"` is supported — other source types return 400. The read is bounded (single page per resource, capped row count, short timeouts, no redirects). Manifest, validation, and SSRF problems return 400; a live fetch failure returns 200 with `error` set and empty `rows`.
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Sources Refresh Schemas CreatePOSTHOG_EXTERNAL_DATA_SOURCES_REFRESH_SCHEMAS_CREATEFetch current schema/table list from the source and create any new ExternalDataSchema rows (no data sync).Connection1 scope
Fetch current schema/table list from the source and create any new ExternalDataSchema rows (no data sync).
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Sources Reload CreatePOSTHOG_EXTERNAL_DATA_SOURCES_RELOAD_CREATECreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Sources Repair Cdc CreatePOSTHOG_EXTERNAL_DATA_SOURCES_REPAIR_CDC_CREATERepair CDC on a source whose replication resources were lost. Only proceeds on evidence of breakage (a persisted broken marker, or a live probe showing the slot/publication missing) — repairing a healthy source would drop its slot and force a full re-sync. Cancels running CDC jobs, recreates the engine-side slot/publication against the stored CDC config, resets every active CDC schema to snapshot mode for a full re-sync (changes since the old slot died are unrecoverable), clears the broken markers, and resumes the paused schedules. Idempotent: safe to retry after a partial failure. Concurrent repairs of the same source are rejected with a 409.Connection1 scope
Repair CDC on a source whose replication resources were lost. Only proceeds on evidence of breakage (a persisted broken marker, or a live probe showing the slot/publication missing) — repairing a healthy source would drop its slot and force a full re-sync. Cancels running CDC jobs, recreates the engine-side slot/publication against the stored CDC config, resets every active CDC schema to snapshot mode for a full re-sync (changes since the old slot died are unrecoverable), clears the broken markers, and resumes the paused schedules. Idempotent: safe to retry after a partial failure. Concurrent repairs of the same source are rejected with a 409.
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Sources RetrievePOSTHOG_EXTERNAL_DATA_SOURCES_RETRIEVECreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:readTags
External Data Sources Revenue Analytics Config Partial UpdatePOSTHOG_EXTERNAL_DATA_SOURCES_REVENUE_ANALYTICS_CONFIG_PARTIAL_UPDATEUpdate the revenue analytics configuration and return the full external data source.Connection1 scope
Update the revenue analytics configuration and return the full external data source.
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Sources Setup CreatePOSTHOG_EXTERNAL_DATA_SOURCES_SETUP_CREATEOne-shot data warehouse source setup. Validate credentials, discover available tables, enable them all with sensible sync defaults (incremental where supported, else append, else full refresh), and create the source in a single call — the caller never has to assemble a `schemas` array. For sources that support webhooks (e.g. Stripe), a webhook is auto-registered after creation: on success webhook-capable tables switch to real-time webhook sync (unlocking webhook-only tables); on failure the polling defaults stay in place. For fine-grained table/sync control, use the lower-level `database_schema` + `create` flow instead.Connection1 scope
One-shot data warehouse source setup. Validate credentials, discover available tables, enable them all with sensible sync defaults (incremental where supported, else append, else full refresh), and create the source in a single call — the caller never has to assemble a `schemas` array. For sources that support webhooks (e.g. Stripe), a webhook is auto-registered after creation: on success webhook-capable tables switch to real-time webhook sync (unlocking webhook-only tables); on failure the polling defaults stay in place. For fine-grained table/sync control, use the lower-level `database_schema` + `create` flow instead.
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Sources Source Prefix CreatePOSTHOG_EXTERNAL_DATA_SOURCES_SOURCE_PREFIX_CREATECreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Sources Store Credentials CreatePOSTHOG_EXTERNAL_DATA_SOURCES_STORE_CREDENTIALS_CREATEValidate and store credentials for a data warehouse source without creating the source. Backs the source connect page: the user enters credentials directly in PostHog, they are checked against a live connection, then stashed encrypted in a temporary store. The returned credential id can be passed to `setup` as {'credential_id': <id>} to create the source — so secrets never travel through an agent conversation. The stash is single-use: it is deleted as soon as `setup` consumes it, and expires after 24 hours if never consumed.Connection1 scope
Validate and store credentials for a data warehouse source without creating the source. Backs the source connect page: the user enters credentials directly in PostHog, they are checked against a live connection, then stashed encrypted in a temporary store. The returned credential id can be passed to `setup` as {'credential_id': <id>} to create the source — so secrets never travel through an agent conversation. The stash is single-use: it is deleted as soon as `setup` consumes it, and expires after 24 hours if never consumed.
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Sources Stored Credentials ListPOSTHOG_EXTERNAL_DATA_SOURCES_STORED_CREDENTIALS_LISTList credentials stored via the source connect page that haven't been consumed yet. Returns metadata only (id, source type, timestamps) — never the secrets themselves. Stored credentials are temporary: they disappear once consumed by `setup` or when they expire. Newest first, so after a user confirms they've finished the connect page, the first entry for the source type is the one to pass to `setup`.Connection1 scope
List credentials stored via the source connect page that haven't been consumed yet. Returns metadata only (id, source type, timestamps) — never the secrets themselves. Stored credentials are temporary: they disappear once consumed by `setup` or when they expire. Newest first, so after a user confirms they've finished the connect page, the first entry for the source type is the one to pass to `setup`.
Authentication
Connected account requiredScopes
external_data_source:readTags
External Data Sources UpdatePOSTHOG_EXTERNAL_DATA_SOURCES_UPDATECreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Sources Update Cdc Settings CreatePOSTHOG_EXTERNAL_DATA_SOURCES_UPDATE_CDC_SETTINGS_CREATEUpdate CDC tuning fields without enabling/disabling. Lets users edit ``cdc_auto_drop_slot``, ``cdc_lag_warning_threshold_mb``, and ``cdc_lag_critical_threshold_mb`` independently. These fields are universal across engines. Engine-specific identifiers (slot name, management mode, …) are immutable post-enable — switching them requires disable + enable.Connection1 scope
Update CDC tuning fields without enabling/disabling. Lets users edit ``cdc_auto_drop_slot``, ``cdc_lag_warning_threshold_mb``, and ``cdc_lag_critical_threshold_mb`` independently. These fields are universal across engines. Engine-specific identifiers (slot name, management mode, …) are immutable post-enable — switching them requires disable + enable.
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Sources Update Webhook Inputs CreatePOSTHOG_EXTERNAL_DATA_SOURCES_UPDATE_WEBHOOK_INPUTS_CREATECreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:writeTags
External Data Sources Webhook Info RetrievePOSTHOG_EXTERNAL_DATA_SOURCES_WEBHOOK_INFO_RETRIEVECreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:readTags
External Data Sources Wizard RetrievePOSTHOG_EXTERNAL_DATA_SOURCES_WIZARD_RETRIEVECreate, Read, Update and Delete External data Sources.Connection1 scope
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredScopes
external_data_source:readTags
Feature Flags Activity RetrievePOSTHOG_FEATURE_FLAGS_ACTIVITY_RETRIEVECreate, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.Connection1 scope
Create, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
Authentication
Connected account requiredScopes
activity_log:readTags
Feature Flags All Activity RetrievePOSTHOG_FEATURE_FLAGS_ALL_ACTIVITY_RETRIEVECreate, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.Connection1 scope
Create, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
Authentication
Connected account requiredScopes
activity_log:readTags
Feature Flags Bulk Delete CreatePOSTHOG_FEATURE_FLAGS_BULK_DELETE_CREATEBulk delete feature flags by filter criteria or explicit IDs. Accepts either: - {"filters": {...}} - Same filter params as list endpoint (search, active, type, etc.) - {"ids": [...]} - Explicit list of flag IDs (no limit) Returns same format as bulk_delete for UI compatibility. Uses bulk operations for efficiency: database updates are batched and cache invalidation happens once at the end rather than per-flag.Connection1 scope
Bulk delete feature flags by filter criteria or explicit IDs. Accepts either: - {"filters": {...}} - Same filter params as list endpoint (search, active, type, etc.) - {"ids": [...]} - Explicit list of flag IDs (no limit) Returns same format as bulk_delete for UI compatibility. Uses bulk operations for efficiency: database updates are batched and cache invalidation happens once at the end rather than per-flag.
Authentication
Connected account requiredScopes
feature_flag:writeTags
Feature Flags Bulk Keys RetrievePOSTHOG_FEATURE_FLAGS_BULK_KEYS_RETRIEVEGet feature flag keys by IDs. Accepts a list of feature flag IDs and returns a mapping of ID to key.Connection1 scope
Get feature flag keys by IDs. Accepts a list of feature flag IDs and returns a mapping of ID to key.
Authentication
Connected account requiredScopes
feature_flag:readTags
Feature Flags Bulk Update Tags CreatePOSTHOG_FEATURE_FLAGS_BULK_UPDATE_TAGS_CREATEBulk update tags on multiple objects. PAT access: this action has no ``required_scopes=`` on the decorator — inheriting viewsets must add ``"bulk_update_tags"`` to their ``scope_object_write_actions`` list to accept personal API keys. Without that opt-in, ``APIScopePermission`` rejects PAT requests with "This action does not support personal API key access". Done per-viewset so granting ``<scope>:write`` for one resource doesn't leak access to sibling resources that share this mixin. Accepts: - {"ids": [...], "action": "add"|"remove"|"set", "tags": ["tag1", "tag2"]} Actions: - "add": Add tags to existing tags on each object - "remove": Remove specific tags from each object - "set": Replace all tags on each object with the provided listConnection1 scope
Bulk update tags on multiple objects. PAT access: this action has no ``required_scopes=`` on the decorator — inheriting viewsets must add ``"bulk_update_tags"`` to their ``scope_object_write_actions`` list to accept personal API keys. Without that opt-in, ``APIScopePermission`` rejects PAT requests with "This action does not support personal API key access". Done per-viewset so granting ``<scope>:write`` for one resource doesn't leak access to sibling resources that share this mixin. Accepts: - {"ids": [...], "action": "add"|"remove"|"set", "tags": ["tag1", "tag2"]} Actions: - "add": Add tags to existing tags on each object - "remove": Remove specific tags from each object - "set": Replace all tags on each object with the provided list
Authentication
Connected account requiredScopes
feature_flag:writeTags
Feature Flags CreatePOSTHOG_FEATURE_FLAGS_CREATECreate, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.Connection1 scope
Create, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
Authentication
Connected account requiredScopes
feature_flag:writeTags
Feature Flags Create Static Cohort For Flag CreatePOSTHOG_FEATURE_FLAGS_CREATE_STATIC_COHORT_FOR_FLAG_CREATECreate, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.Connection
Create, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
Authentication
Connected account requiredTags
Feature Flags Dashboard CreatePOSTHOG_FEATURE_FLAGS_DASHBOARD_CREATECreate, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.Connection
Create, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
Authentication
Connected account requiredTags
Feature Flags Dependent Flags ListPOSTHOG_FEATURE_FLAGS_DEPENDENT_FLAGS_LISTGet other active flags that depend on this flag.Connection1 scope
Get other active flags that depend on this flag.
Authentication
Connected account requiredScopes
feature_flag:readTags
Feature Flags DestroyPOSTHOG_FEATURE_FLAGS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
feature_flag:writeTags
Feature Flags Enrich Usage Dashboard CreatePOSTHOG_FEATURE_FLAGS_ENRICH_USAGE_DASHBOARD_CREATECreate, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.Connection
Create, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
Authentication
Connected account requiredTags
Feature Flags Evaluation Reasons RetrievePOSTHOG_FEATURE_FLAGS_EVALUATION_REASONS_RETRIEVECreate, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.Connection1 scope
Create, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
Authentication
Connected account requiredScopes
feature_flag:readTags
Feature Flags ListPOSTHOG_FEATURE_FLAGS_LISTCreate, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.Connection1 scope
Create, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
Authentication
Connected account requiredScopes
feature_flag:readTags
Feature Flags Matching Ids RetrievePOSTHOG_FEATURE_FLAGS_MATCHING_IDS_RETRIEVEGet IDs of all feature flags matching the current filters. Uses the same filtering logic as the list endpoint. Returns only IDs that the user has permission to edit.Connection1 scope
Get IDs of all feature flags matching the current filters. Uses the same filtering logic as the list endpoint. Returns only IDs that the user has permission to edit.
Authentication
Connected account requiredScopes
feature_flag:readTags
Feature Flags My Flags RetrievePOSTHOG_FEATURE_FLAGS_MY_FLAGS_RETRIEVECreate, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.Connection1 scope
Create, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
Authentication
Connected account requiredScopes
feature_flag:readTags
Feature Flags Partial UpdatePOSTHOG_FEATURE_FLAGS_PARTIAL_UPDATECreate, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.Connection1 scope
Create, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
Authentication
Connected account requiredScopes
feature_flag:writeTags
Feature Flags Remote Config RetrievePOSTHOG_FEATURE_FLAGS_REMOTE_CONFIG_RETRIEVECreate, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.Connection1 scope
Create, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
Authentication
Connected account requiredScopes
feature_flag:readTags
Feature Flags RetrievePOSTHOG_FEATURE_FLAGS_RETRIEVECreate, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.Connection1 scope
Create, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
Authentication
Connected account requiredScopes
feature_flag:readTags
Feature Flags Status RetrievePOSTHOG_FEATURE_FLAGS_STATUS_RETRIEVECreate, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.Connection1 scope
Create, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
Authentication
Connected account requiredScopes
feature_flag:readTags
Feature Flags Test Evaluation CreatePOSTHOG_FEATURE_FLAGS_TEST_EVALUATION_CREATETest feature flag evaluation against a specific user at an optional point in time. This endpoint allows testing how a feature flag would evaluate for a specific user, optionally at a historical timestamp. When a timestamp is provided, both the flag conditions and person properties are evaluated as they existed at that time.Connection1 scope
Test feature flag evaluation against a specific user at an optional point in time. This endpoint allows testing how a feature flag would evaluate for a specific user, optionally at a historical timestamp. When a timestamp is provided, both the flag conditions and person properties are evaluated as they existed at that time.
Authentication
Connected account requiredScopes
feature_flag:readTags
Feature Flags UpdatePOSTHOG_FEATURE_FLAGS_UPDATECreate, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.Connection1 scope
Create, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
Authentication
Connected account requiredScopes
feature_flag:writeTags
Feature Flags User Blast Radius CreatePOSTHOG_FEATURE_FLAGS_USER_BLAST_RADIUS_CREATECreate, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.Connection1 scope
Create, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
Authentication
Connected account requiredScopes
feature_flag:readTags
Feature Flags Versions RetrievePOSTHOG_FEATURE_FLAGS_VERSIONS_RETRIEVECreate, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.Connection1 scope
Create, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
Authentication
Connected account requiredScopes
feature_flag:readTags
Field Notes CreatePOSTHOG_FIELD_NOTES_CREATECreate, read, update, and resolve toolbar field notes — UI feedback a user points at on their own site, surfaced to coding agents over MCP.Connection1 scope
Create, read, update, and resolve toolbar field notes — UI feedback a user points at on their own site, surfaced to coding agents over MCP.
Authentication
Connected account requiredScopes
field_note:writeTags
Field Notes DestroyPOSTHOG_FIELD_NOTES_DESTROYCreate, read, update, and resolve toolbar field notes — UI feedback a user points at on their own site, surfaced to coding agents over MCP.Connection1 scope
Create, read, update, and resolve toolbar field notes — UI feedback a user points at on their own site, surfaced to coding agents over MCP.
Authentication
Connected account requiredScopes
field_note:writeTags
Field Notes ListPOSTHOG_FIELD_NOTES_LISTCreate, read, update, and resolve toolbar field notes — UI feedback a user points at on their own site, surfaced to coding agents over MCP.Connection1 scope
Create, read, update, and resolve toolbar field notes — UI feedback a user points at on their own site, surfaced to coding agents over MCP.
Authentication
Connected account requiredScopes
field_note:readTags
Field Notes Partial UpdatePOSTHOG_FIELD_NOTES_PARTIAL_UPDATECreate, read, update, and resolve toolbar field notes — UI feedback a user points at on their own site, surfaced to coding agents over MCP.Connection1 scope
Create, read, update, and resolve toolbar field notes — UI feedback a user points at on their own site, surfaced to coding agents over MCP.
Authentication
Connected account requiredScopes
field_note:writeTags
Field Notes RetrievePOSTHOG_FIELD_NOTES_RETRIEVECreate, read, update, and resolve toolbar field notes — UI feedback a user points at on their own site, surfaced to coding agents over MCP.Connection1 scope
Create, read, update, and resolve toolbar field notes — UI feedback a user points at on their own site, surfaced to coding agents over MCP.
Authentication
Connected account requiredScopes
field_note:readTags
Field Notes UpdatePOSTHOG_FIELD_NOTES_UPDATECreate, read, update, and resolve toolbar field notes — UI feedback a user points at on their own site, surfaced to coding agents over MCP.Connection1 scope
Create, read, update, and resolve toolbar field notes — UI feedback a user points at on their own site, surfaced to coding agents over MCP.
Authentication
Connected account requiredScopes
field_note:writeTags
File Download Batch Exports Cancel CreatePOSTHOG_FILE_DOWNLOAD_BATCH_EXPORTS_CANCEL_CREATECancel an ongoing file-download batch export.Connection1 scope
Cancel an ongoing file-download batch export.
Authentication
Connected account requiredScopes
batch_export:writeTags
File Download Batch Exports CreatePOSTHOG_FILE_DOWNLOAD_BATCH_EXPORTS_CREATECreate and start a batch export on demand run to download a file.Connection1 scope
Create and start a batch export on demand run to download a file.
Authentication
Connected account requiredScopes
batch_export:writeTags
File Download Batch Exports Download RetrievePOSTHOG_FILE_DOWNLOAD_BATCH_EXPORTS_DOWNLOAD_RETRIEVEDownload a file (or a part) from this batch export run. Users can provide a part component with an id or index, or no part component at all: * If part id is included: The file download matching the id is downloaded. * If part index is included: The file download matching the index (as ordered by key) is downloaded. * If no part component is present: If there is only one file downloaded, that is downloaded. Otherwise the first one as sorted by key is downloaded.Connection1 scope
Download a file (or a part) from this batch export run. Users can provide a part component with an id or index, or no part component at all: * If part id is included: The file download matching the id is downloaded. * If part index is included: The file download matching the index (as ordered by key) is downloaded. * If no part component is present: If there is only one file downloaded, that is downloaded. Otherwise the first one as sorted by key is downloaded.
Authentication
Connected account requiredScopes
batch_export:readTags
File Download Batch Exports ListPOSTHOG_FILE_DOWNLOAD_BATCH_EXPORTS_LISTFile Download Batch Exports ListConnection1 scope
File Download Batch Exports List
Authentication
Connected account requiredScopes
batch_export:readTags
File Download Batch Exports Logs RetrievePOSTHOG_FILE_DOWNLOAD_BATCH_EXPORTS_LOGS_RETRIEVEFile Download Batch Exports Logs RetrieveConnection
File Download Batch Exports Logs Retrieve
Authentication
Connected account requiredTags
File Download Batch Exports RetrievePOSTHOG_FILE_DOWNLOAD_BATCH_EXPORTS_RETRIEVEGet a batch export on demand run. If the underlying batch export run has completed, we return keys to the generated file downloads so that users may download them by making a request to /download.Connection1 scope
Get a batch export on demand run. If the underlying batch export run has completed, we return keys to the generated file downloads so that users may download them by making a request to /download.
Authentication
Connected account requiredScopes
batch_export:readTags
File System Count By Path CreatePOSTHOG_FILE_SYSTEM_COUNT_BY_PATH_CREATEGet count of all files in a folder.Connection1 scope
Get count of all files in a folder.
Authentication
Connected account requiredScopes
file_system:readTags
File System Count CreatePOSTHOG_FILE_SYSTEM_COUNT_CREATEGet count of all files in a folder.Connection1 scope
Get count of all files in a folder.
Authentication
Connected account requiredScopes
file_system:readTags
File System CreatePOSTHOG_FILE_SYSTEM_CREATEFile System CreateConnection1 scope
File System Create
Authentication
Connected account requiredScopes
file_system:writeTags
File System DestroyPOSTHOG_FILE_SYSTEM_DESTROYFile System DestroyConnection1 scope
File System Destroy
Authentication
Connected account requiredScopes
file_system:writeTags
File System Link CreatePOSTHOG_FILE_SYSTEM_LINK_CREATEFile System Link CreateConnection1 scope
File System Link Create
Authentication
Connected account requiredScopes
file_system:writeTags
File System ListPOSTHOG_FILE_SYSTEM_LISTFile System ListConnection1 scope
File System List
Authentication
Connected account requiredScopes
file_system:readTags
File System Log View CreatePOSTHOG_FILE_SYSTEM_LOG_VIEW_CREATEFile System Log View CreateConnection1 scope
File System Log View Create
Authentication
Connected account requiredScopes
file_system:writeTags
File System Log View RetrievePOSTHOG_FILE_SYSTEM_LOG_VIEW_RETRIEVEFile System Log View RetrieveConnection1 scope
File System Log View Retrieve
Authentication
Connected account requiredScopes
file_system:writeTags
File System Move CreatePOSTHOG_FILE_SYSTEM_MOVE_CREATEFile System Move CreateConnection1 scope
File System Move Create
Authentication
Connected account requiredScopes
file_system:writeTags
File System Partial UpdatePOSTHOG_FILE_SYSTEM_PARTIAL_UPDATEFile System Partial UpdateConnection1 scope
File System Partial Update
Authentication
Connected account requiredScopes
file_system:writeTags
File System RetrievePOSTHOG_FILE_SYSTEM_RETRIEVEFile System RetrieveConnection1 scope
File System Retrieve
Authentication
Connected account requiredScopes
file_system:readTags
File System Shortcut CreatePOSTHOG_FILE_SYSTEM_SHORTCUT_CREATEFile System Shortcut CreateConnection1 scope
File System Shortcut Create
Authentication
Connected account requiredScopes
file_system_shortcut:writeTags
File System Shortcut DestroyPOSTHOG_FILE_SYSTEM_SHORTCUT_DESTROYFile System Shortcut DestroyConnection1 scope
File System Shortcut Destroy
Authentication
Connected account requiredScopes
file_system_shortcut:writeTags
File System Shortcut ListPOSTHOG_FILE_SYSTEM_SHORTCUT_LISTFile System Shortcut ListConnection1 scope
File System Shortcut List
Authentication
Connected account requiredScopes
file_system_shortcut:readTags
File System Shortcut Partial UpdatePOSTHOG_FILE_SYSTEM_SHORTCUT_PARTIAL_UPDATEFile System Shortcut Partial UpdateConnection1 scope
File System Shortcut Partial Update
Authentication
Connected account requiredScopes
file_system_shortcut:writeTags
File System Shortcut Reorder CreatePOSTHOG_FILE_SYSTEM_SHORTCUT_REORDER_CREATESet the display order of the current user's shortcuts. `ordered_ids` becomes the new top-to-bottom order; any unknown IDs are rejected.Connection
Set the display order of the current user's shortcuts. `ordered_ids` becomes the new top-to-bottom order; any unknown IDs are rejected.
Authentication
Connected account requiredTags
File System Shortcut RetrievePOSTHOG_FILE_SYSTEM_SHORTCUT_RETRIEVEFile System Shortcut RetrieveConnection1 scope
File System Shortcut Retrieve
Authentication
Connected account requiredScopes
file_system_shortcut:readTags
File System Shortcut UpdatePOSTHOG_FILE_SYSTEM_SHORTCUT_UPDATEFile System Shortcut UpdateConnection1 scope
File System Shortcut Update
Authentication
Connected account requiredScopes
file_system_shortcut:writeTags
File System Undo Delete CreatePOSTHOG_FILE_SYSTEM_UNDO_DELETE_CREATEFile System Undo Delete CreateConnection1 scope
File System Undo Delete Create
Authentication
Connected account requiredScopes
file_system:writeTags
File System Unfiled RetrievePOSTHOG_FILE_SYSTEM_UNFILED_RETRIEVEFile System Unfiled RetrieveConnection1 scope
File System Unfiled Retrieve
Authentication
Connected account requiredScopes
file_system:readTags
File System UpdatePOSTHOG_FILE_SYSTEM_UPDATEFile System UpdateConnection1 scope
File System Update
Authentication
Connected account requiredScopes
file_system:writeTags
Flag Value Values RetrievePOSTHOG_FLAG_VALUE_VALUES_RETRIEVEGet possible values for a feature flag. Query parameters: - key: The flag ID (required) Returns: - Array of objects with 'name' field containing possible valuesConnection
Get possible values for a feature flag. Query parameters: - key: The flag ID (required) Returns: - Array of objects with 'name' field containing possible values
Authentication
Connected account requiredTags
Groups Activity RetrievePOSTHOG_GROUPS_ACTIVITY_RETRIEVEGroups Activity RetrieveConnection1 scope
Groups Activity Retrieve
Authentication
Connected account requiredScopes
activity_log:readTags
Groups CreatePOSTHOG_GROUPS_CREATEGroups CreateConnection1 scope
Groups Create
Authentication
Connected account requiredScopes
group:writeTags
Groups Delete Property CreatePOSTHOG_GROUPS_DELETE_PROPERTY_CREATEGroups Delete Property CreateConnection1 scope
Groups Delete Property Create
Authentication
Connected account requiredScopes
group:writeTags
Groups Find RetrievePOSTHOG_GROUPS_FIND_RETRIEVEGroups Find RetrieveConnection1 scope
Groups Find Retrieve
Authentication
Connected account requiredScopes
group:readTags
Groups ListPOSTHOG_GROUPS_LISTList all groups of a specific group type. You must pass ?group_type_index= in the URL. To get a list of valid group types, call /api/:project_id/groups_types/. Uses forward-only keyset pagination via the `cursor` parameter. The `previous` field in the response envelope is always null.Connection1 scope
List all groups of a specific group type. You must pass ?group_type_index= in the URL. To get a list of valid group types, call /api/:project_id/groups_types/. Uses forward-only keyset pagination via the `cursor` parameter. The `previous` field in the response envelope is always null.
Authentication
Connected account requiredScopes
group:readTags
Groups Property Values RetrievePOSTHOG_GROUPS_PROPERTY_VALUES_RETRIEVEGroups Property Values RetrieveConnection1 scope
Groups Property Values Retrieve
Authentication
Connected account requiredScopes
group:readTags
Groups Related RetrievePOSTHOG_GROUPS_RELATED_RETRIEVEGroups Related RetrieveConnection1 scope
Groups Related Retrieve
Authentication
Connected account requiredScopes
group:readTags
Groups Types Create Detail Dashboard UpdatePOSTHOG_GROUPS_TYPES_CREATE_DETAIL_DASHBOARD_UPDATEGroups Types Create Detail Dashboard UpdateConnection
Groups Types Create Detail Dashboard Update
Authentication
Connected account requiredTags
Groups Types DestroyPOSTHOG_GROUPS_TYPES_DESTROYGroups Types DestroyConnection1 scope
Groups Types Destroy
Authentication
Connected account requiredScopes
group:writeTags
Groups Types ListPOSTHOG_GROUPS_TYPES_LISTGroups Types ListConnection1 scope
Groups Types List
Authentication
Connected account requiredScopes
group:readTags
Groups Types Metrics CreatePOSTHOG_GROUPS_TYPES_METRICS_CREATEGroups Types Metrics CreateConnection1 scope
Groups Types Metrics Create
Authentication
Connected account requiredScopes
usage_metric:writeTags
Groups Types Metrics DestroyPOSTHOG_GROUPS_TYPES_METRICS_DESTROYGroups Types Metrics DestroyConnection1 scope
Groups Types Metrics Destroy
Authentication
Connected account requiredScopes
usage_metric:writeTags
Groups Types Metrics ListPOSTHOG_GROUPS_TYPES_METRICS_LISTGroups Types Metrics ListConnection1 scope
Groups Types Metrics List
Authentication
Connected account requiredScopes
usage_metric:readTags
Groups Types Metrics Partial UpdatePOSTHOG_GROUPS_TYPES_METRICS_PARTIAL_UPDATEGroups Types Metrics Partial UpdateConnection1 scope
Groups Types Metrics Partial Update
Authentication
Connected account requiredScopes
usage_metric:writeTags
Groups Types Metrics RetrievePOSTHOG_GROUPS_TYPES_METRICS_RETRIEVEGroups Types Metrics RetrieveConnection1 scope
Groups Types Metrics Retrieve
Authentication
Connected account requiredScopes
usage_metric:readTags
Groups Types Metrics UpdatePOSTHOG_GROUPS_TYPES_METRICS_UPDATEGroups Types Metrics UpdateConnection1 scope
Groups Types Metrics Update
Authentication
Connected account requiredScopes
usage_metric:writeTags
Groups Types Set Default Columns UpdatePOSTHOG_GROUPS_TYPES_SET_DEFAULT_COLUMNS_UPDATEGroups Types Set Default Columns UpdateConnection
Groups Types Set Default Columns Update
Authentication
Connected account requiredTags
Groups Types Update Metadata Partial UpdatePOSTHOG_GROUPS_TYPES_UPDATE_METADATA_PARTIAL_UPDATEGroups Types Update Metadata Partial UpdateConnection
Groups Types Update Metadata Partial Update
Authentication
Connected account requiredTags
Groups Update Property CreatePOSTHOG_GROUPS_UPDATE_PROPERTY_CREATEGroups Update Property CreateConnection1 scope
Groups Update Property Create
Authentication
Connected account requiredScopes
group:writeTags
List health issuesPOSTHOG_HEALTH_ISSUES_LISTLists health issues detected across all of this project's PostHog health checks (outdated SDKs, data warehouse sync failures, missing web analytics events, ingestion warnings, and more). Filter by status, severity, kind, or dismissed state.Connection1 scope
Lists health issues detected across all of this project's PostHog health checks (outdated SDKs, data warehouse sync failures, missing web analytics events, ingestion warnings, and more). Filter by status, severity, kind, or dismissed state.
Authentication
Connected account requiredScopes
health_issue:readTags
Health Issues Partial UpdatePOSTHOG_HEALTH_ISSUES_PARTIAL_UPDATEHealth Issues Partial UpdateConnection1 scope
Health Issues Partial Update
Authentication
Connected account requiredScopes
health_issue:writeTags
Health Issues Refresh CreatePOSTHOG_HEALTH_ISSUES_REFRESH_CREATEHealth Issues Refresh CreateConnection1 scope
Health Issues Refresh Create
Authentication
Connected account requiredScopes
health_issue:writeTags
Health Issues Resolve CreatePOSTHOG_HEALTH_ISSUES_RESOLVE_CREATEHealth Issues Resolve CreateConnection
Health Issues Resolve Create
Authentication
Connected account requiredTags
Get a health issuePOSTHOG_HEALTH_ISSUES_RETRIEVEFetches a single health issue, enriched with the owning check's rendered explanation: a title, a one-line summary of what's wrong, a deep link to the relevant page, and remediation guidance for how to fix it.Connection1 scope
Fetches a single health issue, enriched with the owning check's rendered explanation: a title, a one-line summary of what's wrong, a deep link to the relevant page, and remediation guidance for how to fix it.
Authentication
Connected account requiredScopes
health_issue:readTags
Summarize active health issuesPOSTHOG_HEALTH_ISSUES_SUMMARY_RETRIEVEReturns aggregated counts of active, non-dismissed health issues for the project, broken down by severity and by kind. Use for a quick overview of overall project health before drilling in with the list endpoint.Connection1 scope
Returns aggregated counts of active, non-dismissed health issues for the project, broken down by severity and by kind. Use for a quick overview of overall project health before drilling in with the list endpoint.
Authentication
Connected account requiredScopes
health_issue:readTags
Heatmap Screenshots Content RetrievePOSTHOG_HEATMAP_SCREENSHOTS_CONTENT_RETRIEVEFetch the rendered screenshot image (JPEG bytes) for a saved heatmap at a given viewport width. Returns 202 with the saved-heatmap metadata while the screenshot is still being generated.Connection1 scope
Fetch the rendered screenshot image (JPEG bytes) for a saved heatmap at a given viewport width. Returns 202 with the saved-heatmap metadata while the screenshot is still being generated.
Authentication
Connected account requiredScopes
heatmap:readTags
Heatmaps Events RetrievePOSTHOG_HEATMAPS_EVENTS_RETRIEVEDrill into the individual session interactions behind one or more heatmap coordinates. Pass the 'points' you want to inspect (from the heatmaps list response) to get the underlying per-session events, so you can jump to the session recordings that produced a hotspot.Connection1 scope
Drill into the individual session interactions behind one or more heatmap coordinates. Pass the 'points' you want to inspect (from the heatmaps list response) to get the underlying per-session events, so you can jump to the session recordings that produced a hotspot.
Authentication
Connected account requiredScopes
heatmap:readTags
Heatmaps ListPOSTHOG_HEATMAPS_LISTAggregated heatmap interactions for a page. For type 'click'/'rageclick'/'mousemove' each result is a point with relative x, absolute client-y, and a count. For type 'scrolldepth' the response is scroll-depth buckets instead (cumulative reach down the page).Connection1 scope
Aggregated heatmap interactions for a page. For type 'click'/'rageclick'/'mousemove' each result is a point with relative x, absolute client-y, and a count. For type 'scrolldepth' the response is scroll-depth buckets instead (cumulative reach down the page).
Authentication
Connected account requiredScopes
heatmap:readTags
Hog Flows Asset Content RetrievePOSTHOG_HOG_FLOWS_ASSET_CONTENT_RETRIEVEHog Flows Asset Content RetrieveConnection2 scopes
Hog Flows Asset Content Retrieve
Authentication
Connected account requiredScopes
hog_flow:readperson:readTags
Hog Flows Assets RetrievePOSTHOG_HOG_FLOWS_ASSETS_RETRIEVEHog Flows Assets RetrieveConnection2 scopes
Hog Flows Assets Retrieve
Authentication
Connected account requiredScopes
hog_flow:readperson:readTags
Hog Flows Batch Jobs CreatePOSTHOG_HOG_FLOWS_BATCH_JOBS_CREATEHog Flows Batch Jobs CreateConnection1 scope
Hog Flows Batch Jobs Create
Authentication
Connected account requiredScopes
hog_flow:writeTags
Hog Flows Batch Jobs ListPOSTHOG_HOG_FLOWS_BATCH_JOBS_LISTHog Flows Batch Jobs ListConnection1 scope
Hog Flows Batch Jobs List
Authentication
Connected account requiredScopes
hog_flow:readTags
Hog Flows Bulk Delete CreatePOSTHOG_HOG_FLOWS_BULK_DELETE_CREATEHog Flows Bulk Delete CreateConnection1 scope
Hog Flows Bulk Delete Create
Authentication
Connected account requiredScopes
hog_flow:writeTags
Hog Flows CreatePOSTHOG_HOG_FLOWS_CREATEHog Flows CreateConnection1 scope
Hog Flows Create
Authentication
Connected account requiredScopes
hog_flow:writeTags
Hog Flows DestroyPOSTHOG_HOG_FLOWS_DESTROYHog Flows DestroyConnection1 scope
Hog Flows Destroy
Authentication
Connected account requiredScopes
hog_flow:writeTags
Hog Flows Graph Partial UpdatePOSTHOG_HOG_FLOWS_GRAPH_PARTIAL_UPDATEHog Flows Graph Partial UpdateConnection1 scope
Hog Flows Graph Partial Update
Authentication
Connected account requiredScopes
hog_flow:writeTags
Hog Flows Invocation Result RetrievePOSTHOG_HOG_FLOWS_INVOCATION_RESULT_RETRIEVEHog Flows Invocation Result RetrieveConnection2 scopes
Hog Flows Invocation Result Retrieve
Authentication
Connected account requiredScopes
hog_flow:readperson:readTags
Hog Flows Invocation Results RetrievePOSTHOG_HOG_FLOWS_INVOCATION_RESULTS_RETRIEVEHog Flows Invocation Results RetrieveConnection2 scopes
Hog Flows Invocation Results Retrieve
Authentication
Connected account requiredScopes
hog_flow:readperson:readTags
Hog Flows Invocations CreatePOSTHOG_HOG_FLOWS_INVOCATIONS_CREATEHog Flows Invocations CreateConnection2 scopes
Hog Flows Invocations Create
Authentication
Connected account requiredScopes
hog_flow:writegroup:readTags
Hog Flows ListPOSTHOG_HOG_FLOWS_LISTHog Flows ListConnection1 scope
Hog Flows List
Authentication
Connected account requiredScopes
hog_flow:readTags
Hog Flows Logs RetrievePOSTHOG_HOG_FLOWS_LOGS_RETRIEVEHog Flows Logs RetrieveConnection1 scope
Hog Flows Logs Retrieve
Authentication
Connected account requiredScopes
hog_flow:readTags
Hog Flows Metrics Global RetrievePOSTHOG_HOG_FLOWS_METRICS_GLOBAL_RETRIEVEHog Flows Metrics Global RetrieveConnection1 scope
Hog Flows Metrics Global Retrieve
Authentication
Connected account requiredScopes
hog_flow:readTags
Hog Flows Metrics RetrievePOSTHOG_HOG_FLOWS_METRICS_RETRIEVEHog Flows Metrics RetrieveConnection1 scope
Hog Flows Metrics Retrieve
Authentication
Connected account requiredScopes
hog_flow:readTags
Hog Flows Metrics Totals RetrievePOSTHOG_HOG_FLOWS_METRICS_TOTALS_RETRIEVEHog Flows Metrics Totals RetrieveConnection1 scope
Hog Flows Metrics Totals Retrieve
Authentication
Connected account requiredScopes
hog_flow:readTags
Hog Flows Partial UpdatePOSTHOG_HOG_FLOWS_PARTIAL_UPDATEHog Flows Partial UpdateConnection1 scope
Hog Flows Partial Update
Authentication
Connected account requiredScopes
hog_flow:writeTags
Hog Flows Rerun CreatePOSTHOG_HOG_FLOWS_RERUN_CREATERerun past invocations of this hog flow from their stored payloads. Same shape and semantics as the hog function rerun endpoint — proxies through to the CDP worker, which reads matching rows from ClickHouse, rehydrates from `invocation_globals`, and re-enqueues onto cyclotron with `is_retry=1`. Because rerun replays historical event/person/group data, it requires `person:read` and `group:read` on top of `hog_flow:write`.Connection3 scopes
Rerun past invocations of this hog flow from their stored payloads. Same shape and semantics as the hog function rerun endpoint — proxies through to the CDP worker, which reads matching rows from ClickHouse, rehydrates from `invocation_globals`, and re-enqueues onto cyclotron with `is_retry=1`. Because rerun replays historical event/person/group data, it requires `person:read` and `group:read` on top of `hog_flow:write`.
Authentication
Connected account requiredScopes
hog_flow:writeperson:readgroup:readTags
Hog Flows RetrievePOSTHOG_HOG_FLOWS_RETRIEVEHog Flows RetrieveConnection1 scope
Hog Flows Retrieve
Authentication
Connected account requiredScopes
hog_flow:readTags
Hog Flows Schedules CreatePOSTHOG_HOG_FLOWS_SCHEDULES_CREATEHog Flows Schedules CreateConnection1 scope
Hog Flows Schedules Create
Authentication
Connected account requiredScopes
hog_flow:writeTags
Hog Flows Schedules DestroyPOSTHOG_HOG_FLOWS_SCHEDULES_DESTROYHog Flows Schedules DestroyConnection1 scope
Hog Flows Schedules Destroy
Authentication
Connected account requiredScopes
hog_flow:writeTags
Hog Flows Schedules ListPOSTHOG_HOG_FLOWS_SCHEDULES_LISTHog Flows Schedules ListConnection1 scope
Hog Flows Schedules List
Authentication
Connected account requiredScopes
hog_flow:readTags
Hog Flows Schedules Partial UpdatePOSTHOG_HOG_FLOWS_SCHEDULES_PARTIAL_UPDATEHog Flows Schedules Partial UpdateConnection1 scope
Hog Flows Schedules Partial Update
Authentication
Connected account requiredScopes
hog_flow:writeTags
Hog Flows UpdatePOSTHOG_HOG_FLOWS_UPDATEHog Flows UpdateConnection1 scope
Hog Flows Update
Authentication
Connected account requiredScopes
hog_flow:writeTags
Hog Flows User Blast Radius CreatePOSTHOG_HOG_FLOWS_USER_BLAST_RADIUS_CREATEHog Flows User Blast Radius CreateConnection2 scopes
Hog Flows User Blast Radius Create
Authentication
Connected account requiredScopes
hog_flow:readperson:readTags
Hog Function Templates ListPOSTHOG_HOG_FUNCTION_TEMPLATES_LISTHog Function Templates ListConnection1 scope
Hog Function Templates List
Authentication
Connected account requiredScopes
hog_function:readTags
Hog Function Templates RetrievePOSTHOG_HOG_FUNCTION_TEMPLATES_RETRIEVEHog Function Templates RetrieveConnection1 scope
Hog Function Templates Retrieve
Authentication
Connected account requiredScopes
hog_function:readTags
Hog Functions CreatePOSTHOG_HOG_FUNCTIONS_CREATEHog Functions CreateConnection1 scope
Hog Functions Create
Authentication
Connected account requiredScopes
hog_function:writeTags
Hog Functions DestroyPOSTHOG_HOG_FUNCTIONS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredTags
Hog Functions Enable Backfills CreatePOSTHOG_HOG_FUNCTIONS_ENABLE_BACKFILLS_CREATEHog Functions Enable Backfills CreateConnection
Hog Functions Enable Backfills Create
Authentication
Connected account requiredTags
Hog Functions Icon RetrievePOSTHOG_HOG_FUNCTIONS_ICON_RETRIEVEHog Functions Icon RetrieveConnection
Hog Functions Icon Retrieve
Authentication
Connected account requiredTags
Hog Functions Icons RetrievePOSTHOG_HOG_FUNCTIONS_ICONS_RETRIEVEHog Functions Icons RetrieveConnection
Hog Functions Icons Retrieve
Authentication
Connected account requiredTags
Hog Functions Invocations CreatePOSTHOG_HOG_FUNCTIONS_INVOCATIONS_CREATEHog Functions Invocations CreateConnection1 scope
Hog Functions Invocations Create
Authentication
Connected account requiredScopes
hog_function:writeTags
Hog Functions ListPOSTHOG_HOG_FUNCTIONS_LISTHog Functions ListConnection1 scope
Hog Functions List
Authentication
Connected account requiredScopes
hog_function:readTags
Hog Functions Logs RetrievePOSTHOG_HOG_FUNCTIONS_LOGS_RETRIEVEHog Functions Logs RetrieveConnection1 scope
Hog Functions Logs Retrieve
Authentication
Connected account requiredScopes
hog_function:readTags
Hog Functions Metrics RetrievePOSTHOG_HOG_FUNCTIONS_METRICS_RETRIEVEHog Functions Metrics RetrieveConnection1 scope
Hog Functions Metrics Retrieve
Authentication
Connected account requiredScopes
hog_function:readTags
Hog Functions Metrics Totals RetrievePOSTHOG_HOG_FUNCTIONS_METRICS_TOTALS_RETRIEVEHog Functions Metrics Totals RetrieveConnection1 scope
Hog Functions Metrics Totals Retrieve
Authentication
Connected account requiredScopes
hog_function:readTags
Hog Functions Partial UpdatePOSTHOG_HOG_FUNCTIONS_PARTIAL_UPDATEHog Functions Partial UpdateConnection1 scope
Hog Functions Partial Update
Authentication
Connected account requiredScopes
hog_function:writeTags
Hog Functions Rearrange Partial UpdatePOSTHOG_HOG_FUNCTIONS_REARRANGE_PARTIAL_UPDATEUpdate the execution order of multiple HogFunctions.Connection1 scope
Update the execution order of multiple HogFunctions.
Authentication
Connected account requiredScopes
hog_function:writeTags
Hog Functions Rerun CreatePOSTHOG_HOG_FUNCTIONS_RERUN_CREATERerun past invocations of this hog function from their stored payloads. The CDP worker reads matching rows from the `hog_invocation_results` ClickHouse table, rehydrates the invocation from the stored `invocation_globals`, and re-enqueues onto cyclotron. Each rerun run reuses the original `invocation_id` with `is_retry=1` set on the new lifecycle row so the UI can surface that it was a rerun. For source-webhook functions the worker strips `request.headers` from the rehydrated globals before re-enqueuing (see the rerun paginator): those headers carry the inbound sender's credentials, and replaying them through a reconfigured function would let a write-access user exfiltrate stored secrets. Because rerun replays historical event/person/group data, it requires `person:read` and `group:read` on top of `hog_function:write`.Connection3 scopes
Rerun past invocations of this hog function from their stored payloads. The CDP worker reads matching rows from the `hog_invocation_results` ClickHouse table, rehydrates the invocation from the stored `invocation_globals`, and re-enqueues onto cyclotron. Each rerun run reuses the original `invocation_id` with `is_retry=1` set on the new lifecycle row so the UI can surface that it was a rerun. For source-webhook functions the worker strips `request.headers` from the rehydrated globals before re-enqueuing (see the rerun paginator): those headers carry the inbound sender's credentials, and replaying them through a reconfigured function would let a write-access user exfiltrate stored secrets. Because rerun replays historical event/person/group data, it requires `person:read` and `group:read` on top of `hog_function:write`.
Authentication
Connected account requiredScopes
hog_function:writeperson:readgroup:readTags
Hog Functions RetrievePOSTHOG_HOG_FUNCTIONS_RETRIEVEHog Functions RetrieveConnection1 scope
Hog Functions Retrieve
Authentication
Connected account requiredScopes
hog_function:readTags
Hog Functions UpdatePOSTHOG_HOG_FUNCTIONS_UPDATEHog Functions UpdateConnection1 scope
Hog Functions Update
Authentication
Connected account requiredScopes
hog_function:writeTags
Identity Provider Configs CreatePOSTHOG_IDENTITY_PROVIDER_CONFIGS_CREATEIdentity Provider Configs CreateConnection1 scope
Identity Provider Configs Create
Authentication
Connected account requiredScopes
organization:writeTags
Identity Provider Configs DestroyPOSTHOG_IDENTITY_PROVIDER_CONFIGS_DESTROYIdentity Provider Configs DestroyConnection1 scope
Identity Provider Configs Destroy
Authentication
Connected account requiredScopes
organization:writeTags
Identity Provider Configs ListPOSTHOG_IDENTITY_PROVIDER_CONFIGS_LISTIdentity Provider Configs ListConnection1 scope
Identity Provider Configs List
Authentication
Connected account requiredScopes
organization:readTags
Identity Provider Configs Partial UpdatePOSTHOG_IDENTITY_PROVIDER_CONFIGS_PARTIAL_UPDATEIdentity Provider Configs Partial UpdateConnection1 scope
Identity Provider Configs Partial Update
Authentication
Connected account requiredScopes
organization:writeTags
Identity Provider Configs RetrievePOSTHOG_IDENTITY_PROVIDER_CONFIGS_RETRIEVEIdentity Provider Configs RetrieveConnection1 scope
Identity Provider Configs Retrieve
Authentication
Connected account requiredScopes
organization:readTags
Identity Provider Configs Scim Token CreatePOSTHOG_IDENTITY_PROVIDER_CONFIGS_SCIM_TOKEN_CREATERegenerate the SCIM bearer token for this IdP config.Connection
Regenerate the SCIM bearer token for this IdP config.
Authentication
Connected account requiredTags
Identity Provider Configs UpdatePOSTHOG_IDENTITY_PROVIDER_CONFIGS_UPDATEIdentity Provider Configs UpdateConnection1 scope
Identity Provider Configs Update
Authentication
Connected account requiredScopes
organization:writeTags
List ingestion warningsPOSTHOG_INGESTION_WARNINGS_V2_LISTLists this project's ingestion warnings — events or person/group updates that were ingested with problems (oversized messages, rejected person merges, invalid data) — grouped by warning type. Each entry carries the warning's category and severity, the total count and a sparkline over the requested time range, and the most recent sample warnings with the affected event/person/group. Filter by category, type, severity or time range to drill into a specific problem.Connection1 scope
Lists this project's ingestion warnings — events or person/group updates that were ingested with problems (oversized messages, rejected person merges, invalid data) — grouped by warning type. Each entry carries the warning's category and severity, the total count and a sparkline over the requested time range, and the most recent sample warnings with the affected event/person/group. Filter by category, type, severity or time range to drill into a specific problem.
Authentication
Connected account requiredScopes
ingestion_warning:readTags
Insight Variables CreatePOSTHOG_INSIGHT_VARIABLES_CREATEInsight Variables CreateConnection1 scope
Insight Variables Create
Authentication
Connected account requiredScopes
insight_variable:writeTags
Insight Variables DestroyPOSTHOG_INSIGHT_VARIABLES_DESTROYInsight Variables DestroyConnection1 scope
Insight Variables Destroy
Authentication
Connected account requiredScopes
insight_variable:writeTags
Insight Variables ListPOSTHOG_INSIGHT_VARIABLES_LISTInsight Variables ListConnection1 scope
Insight Variables List
Authentication
Connected account requiredScopes
insight_variable:readTags
Insight Variables Partial UpdatePOSTHOG_INSIGHT_VARIABLES_PARTIAL_UPDATEInsight Variables Partial UpdateConnection1 scope
Insight Variables Partial Update
Authentication
Connected account requiredScopes
insight_variable:writeTags
Insight Variables RetrievePOSTHOG_INSIGHT_VARIABLES_RETRIEVEInsight Variables RetrieveConnection1 scope
Insight Variables Retrieve
Authentication
Connected account requiredScopes
insight_variable:readTags
Insight Variables UpdatePOSTHOG_INSIGHT_VARIABLES_UPDATEInsight Variables UpdateConnection1 scope
Insight Variables Update
Authentication
Connected account requiredScopes
insight_variable:writeTags
Insights Activity RetrievePOSTHOG_INSIGHTS_ACTIVITY_RETRIEVEAudit trail for a single insight — every change made to it, by whom, and when. Use this when you want the change history of a specific insight; use the project-wide activity endpoint for a broader view.Connection1 scope
Audit trail for a single insight — every change made to it, by whom, and when. Use this when you want the change history of a specific insight; use the project-wide activity endpoint for a broader view.
Authentication
Connected account requiredScopes
activity_log:readTags
Insights All Activity RetrievePOSTHOG_INSIGHTS_ALL_ACTIVITY_RETRIEVEProject-wide audit trail across all insights — who created, edited, deleted, or restored insights, what changed (with before/after diffs), and when. Useful for surfacing what people (or agents) have been working on recently.Connection1 scope
Project-wide audit trail across all insights — who created, edited, deleted, or restored insights, what changed (with before/after diffs), and when. Useful for surfacing what people (or agents) have been working on recently.
Authentication
Connected account requiredScopes
activity_log:readTags
Insights Analyze RetrievePOSTHOG_INSIGHTS_ANALYZE_RETRIEVEDRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.Connection
DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.
Authentication
Connected account requiredTags
Insights Bulk Delete CreatePOSTHOG_INSIGHTS_BULK_DELETE_CREATESoft-delete insights in bulk by ID. Mirrors the single-insight delete: sets deleted=True, soft-deletes the insights' dashboard tiles, and removes their linked alerts. Insights the requester cannot edit are skipped and reported in `skipped`. Reversible via the bulk_restore endpoint.Connection1 scope
Soft-delete insights in bulk by ID. Mirrors the single-insight delete: sets deleted=True, soft-deletes the insights' dashboard tiles, and removes their linked alerts. Insights the requester cannot edit are skipped and reported in `skipped`. Reversible via the bulk_restore endpoint.
Authentication
Connected account requiredScopes
insight:writeTags
Insights Bulk Restore CreatePOSTHOG_INSIGHTS_BULK_RESTORE_CREATERestore soft-deleted insights in bulk by ID — the inverse of bulk_delete. Sets deleted=False and re-activates the insights' dashboard tiles on dashboards that still exist. Linked alerts are not restored (they are removed on delete). Insights the requester cannot edit are reported in `skipped`.Connection1 scope
Restore soft-deleted insights in bulk by ID — the inverse of bulk_delete. Sets deleted=False and re-activates the insights' dashboard tiles on dashboards that still exist. Linked alerts are not restored (they are removed on delete). Insights the requester cannot edit are reported in `skipped`.
Authentication
Connected account requiredScopes
insight:writeTags
Insights Bulk Update Tags CreatePOSTHOG_INSIGHTS_BULK_UPDATE_TAGS_CREATEBulk update tags on multiple objects. PAT access: this action has no ``required_scopes=`` on the decorator — inheriting viewsets must add ``"bulk_update_tags"`` to their ``scope_object_write_actions`` list to accept personal API keys. Without that opt-in, ``APIScopePermission`` rejects PAT requests with "This action does not support personal API key access". Done per-viewset so granting ``<scope>:write`` for one resource doesn't leak access to sibling resources that share this mixin. Accepts: - {"ids": [...], "action": "add"|"remove"|"set", "tags": ["tag1", "tag2"]} Actions: - "add": Add tags to existing tags on each object - "remove": Remove specific tags from each object - "set": Replace all tags on each object with the provided listConnection
Bulk update tags on multiple objects. PAT access: this action has no ``required_scopes=`` on the decorator — inheriting viewsets must add ``"bulk_update_tags"`` to their ``scope_object_write_actions`` list to accept personal API keys. Without that opt-in, ``APIScopePermission`` rejects PAT requests with "This action does not support personal API key access". Done per-viewset so granting ``<scope>:write`` for one resource doesn't leak access to sibling resources that share this mixin. Accepts: - {"ids": [...], "action": "add"|"remove"|"set", "tags": ["tag1", "tag2"]} Actions: - "add": Add tags to existing tags on each object - "remove": Remove specific tags from each object - "set": Replace all tags on each object with the provided list
Authentication
Connected account requiredTags
Insights Cancel CreatePOSTHOG_INSIGHTS_CANCEL_CREATEDRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.Connection
DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.
Authentication
Connected account requiredTags
Insights CreatePOSTHOG_INSIGHTS_CREATEDRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.Connection1 scope
DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.
Authentication
Connected account requiredScopes
insight:writeTags
Insights DestroyPOSTHOG_INSIGHTS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
insight:writeTags
Insights Generate Metadata CreatePOSTHOG_INSIGHTS_GENERATE_METADATA_CREATEGenerate an AI-suggested name and description for an insight based on its query configuration.Connection1 scope
Generate an AI-suggested name and description for an insight based on its query configuration.
Authentication
Connected account requiredScopes
insight:writeTags
Insights ListPOSTHOG_INSIGHTS_LISTDRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.Connection1 scope
DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.
Authentication
Connected account requiredScopes
insight:readTags
Insights My Last Viewed RetrievePOSTHOG_INSIGHTS_MY_LAST_VIEWED_RETRIEVEReturns basic details about the last 5 insights viewed by this user. Most recently viewed first.Connection
Returns basic details about the last 5 insights viewed by this user. Most recently viewed first.
Authentication
Connected account requiredTags
Insights Partial UpdatePOSTHOG_INSIGHTS_PARTIAL_UPDATEDRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.Connection1 scope
DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.
Authentication
Connected account requiredScopes
insight:writeTags
Insights RetrievePOSTHOG_INSIGHTS_RETRIEVEDRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.Connection1 scope
DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.
Authentication
Connected account requiredScopes
insight:readTags
Insights Sharing ListPOSTHOG_INSIGHTS_SHARING_LISTInsights Sharing ListConnection1 scope
Insights Sharing List
Authentication
Connected account requiredScopes
sharing_configuration:readTags
Insights Sharing Passwords CreatePOSTHOG_INSIGHTS_SHARING_PASSWORDS_CREATECreate a new password for the sharing configuration.Connection1 scope
Create a new password for the sharing configuration.
Authentication
Connected account requiredScopes
sharing_configuration:writeTags
Insights Sharing Passwords DestroyPOSTHOG_INSIGHTS_SHARING_PASSWORDS_DESTROYDelete a password from the sharing configuration.Connection1 scope
Delete a password from the sharing configuration.
Authentication
Connected account requiredScopes
sharing_configuration:writeTags
Insights Sharing Refresh CreatePOSTHOG_INSIGHTS_SHARING_REFRESH_CREATEInsights Sharing Refresh CreateConnection1 scope
Insights Sharing Refresh Create
Authentication
Connected account requiredScopes
sharing_configuration:writeTags
Insights Suggestions CreatePOSTHOG_INSIGHTS_SUGGESTIONS_CREATEDRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.Connection
DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.
Authentication
Connected account requiredTags
Insights Suggestions RetrievePOSTHOG_INSIGHTS_SUGGESTIONS_RETRIEVEDRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.Connection
DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.
Authentication
Connected account requiredTags
Insights Thresholds ListPOSTHOG_INSIGHTS_THRESHOLDS_LISTInsights Thresholds ListConnection1 scope
Insights Thresholds List
Authentication
Connected account requiredScopes
alert:readTags
Insights Thresholds RetrievePOSTHOG_INSIGHTS_THRESHOLDS_RETRIEVEInsights Thresholds RetrieveConnection1 scope
Insights Thresholds Retrieve
Authentication
Connected account requiredScopes
alert:readTags
Insights Trending RetrievePOSTHOG_INSIGHTS_TRENDING_RETRIEVEReturns insights ranked by view count over the last N days (default 7), highest first. Each result includes the same metadata as the standard insights list, plus a `view_count` and up to 3 recent `viewers`. Useful for surfacing the most-used insights in a project.Connection1 scope
Returns insights ranked by view count over the last N days (default 7), highest first. Each result includes the same metadata as the standard insights list, plus a `view_count` and up to 3 recent `viewers`. Useful for surfacing the most-used insights in a project.
Authentication
Connected account requiredScopes
insight:readTags
Insights UpdatePOSTHOG_INSIGHTS_UPDATEDRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.Connection1 scope
DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.
Authentication
Connected account requiredScopes
insight:writeTags
Insights Viewed CreatePOSTHOG_INSIGHTS_VIEWED_CREATERecord that the current user has just viewed one or more insights. Submitted ids that do not belong to the current project or that point at deleted insights are silently dropped. Returns 201 on success regardless of how many ids were retained.Connection1 scope
Record that the current user has just viewed one or more insights. Submitted ids that do not belong to the current project or that point at deleted insights are silently dropped. Returns 201 on success regardless of how many ids were retained.
Authentication
Connected account requiredScopes
insight:readTags
Integrations Anthropic Managed Agent Envs RetrievePOSTHOG_INTEGRATIONS_ANTHROPIC_MANAGED_AGENT_ENVS_RETRIEVEIntegrations Anthropic Managed Agent Envs RetrieveConnection1 scope
Integrations Anthropic Managed Agent Envs Retrieve
Authentication
Connected account requiredScopes
integration:readTags
Integrations Anthropic Managed Agent Vaults RetrievePOSTHOG_INTEGRATIONS_ANTHROPIC_MANAGED_AGENT_VAULTS_RETRIEVEIntegrations Anthropic Managed Agent Vaults RetrieveConnection1 scope
Integrations Anthropic Managed Agent Vaults Retrieve
Authentication
Connected account requiredScopes
integration:readTags
Integrations Anthropic Managed Agents RetrievePOSTHOG_INTEGRATIONS_ANTHROPIC_MANAGED_AGENTS_RETRIEVEIntegrations Anthropic Managed Agents RetrieveConnection1 scope
Integrations Anthropic Managed Agents Retrieve
Authentication
Connected account requiredScopes
integration:readTags
Integrations Authorize RetrievePOSTHOG_INTEGRATIONS_AUTHORIZE_RETRIEVEIntegrations Authorize RetrieveConnection
Integrations Authorize Retrieve
Authentication
Connected account requiredTags
Integrations Channels RetrievePOSTHOG_INTEGRATIONS_CHANNELS_RETRIEVEIntegrations Channels RetrieveConnection1 scope
Integrations Channels Retrieve
Authentication
Connected account requiredScopes
integration:readTags
Integrations Clickup Lists RetrievePOSTHOG_INTEGRATIONS_CLICKUP_LISTS_RETRIEVEIntegrations Clickup Lists RetrieveConnection
Integrations Clickup Lists Retrieve
Authentication
Connected account requiredTags
Integrations Clickup Spaces RetrievePOSTHOG_INTEGRATIONS_CLICKUP_SPACES_RETRIEVEIntegrations Clickup Spaces RetrieveConnection
Integrations Clickup Spaces Retrieve
Authentication
Connected account requiredTags
Integrations Clickup Workspaces RetrievePOSTHOG_INTEGRATIONS_CLICKUP_WORKSPACES_RETRIEVEIntegrations Clickup Workspaces RetrieveConnection
Integrations Clickup Workspaces Retrieve
Authentication
Connected account requiredTags
Integrations CreatePOSTHOG_INTEGRATIONS_CREATEIntegrations CreateConnection1 scope
Integrations Create
Authentication
Connected account requiredScopes
integration:writeTags
Integrations DestroyPOSTHOG_INTEGRATIONS_DESTROYIntegrations DestroyConnection1 scope
Integrations Destroy
Authentication
Connected account requiredScopes
integration:writeTags
Integrations Domain Connect Apply Url CreatePOSTHOG_INTEGRATIONS_DOMAIN_CONNECT_APPLY_URL_CREATEUnified endpoint for generating Domain Connect apply URLs. Accepts a context ("email" or "proxy") and the relevant resource ID. The backend resolves the domain, template variables, and service ID based on context, then builds the signed apply URL.Connection
Unified endpoint for generating Domain Connect apply URLs. Accepts a context ("email" or "proxy") and the relevant resource ID. The backend resolves the domain, template variables, and service ID based on context, then builds the signed apply URL.
Authentication
Connected account requiredTags
Integrations Domain Connect Check RetrievePOSTHOG_INTEGRATIONS_DOMAIN_CONNECT_CHECK_RETRIEVEIntegrations Domain Connect Check RetrieveConnection
Integrations Domain Connect Check Retrieve
Authentication
Connected account requiredTags
Integrations Email Partial UpdatePOSTHOG_INTEGRATIONS_EMAIL_PARTIAL_UPDATEIntegrations Email Partial UpdateConnection
Integrations Email Partial Update
Authentication
Connected account requiredTags
Integrations Email Verify CreatePOSTHOG_INTEGRATIONS_EMAIL_VERIFY_CREATEIntegrations Email Verify CreateConnection
Integrations Email Verify Create
Authentication
Connected account requiredTags
Integrations Environment Mapping Partial UpdatePOSTHOG_INTEGRATIONS_ENVIRONMENT_MAPPING_PARTIAL_UPDATEViewSet for organization-level integrations. Provides access to integrations that are scoped to the entire organization (vs. project-level integrations). Examples include Vercel, AWS Marketplace, etc. Creation is handled by the integration installation flows (e.g., Vercel marketplace installation). Users can disconnect integrations via the DELETE endpoint.Connection
ViewSet for organization-level integrations. Provides access to integrations that are scoped to the entire organization (vs. project-level integrations). Examples include Vercel, AWS Marketplace, etc. Creation is handled by the integration installation flows (e.g., Vercel marketplace installation). Users can disconnect integrations via the DELETE endpoint.
Authentication
Connected account requiredTags
Integrations Github Branches RetrievePOSTHOG_INTEGRATIONS_GITHUB_BRANCHES_RETRIEVEIntegrations Github Branches RetrieveConnection1 scope
Integrations Github Branches Retrieve
Authentication
Connected account requiredScopes
integration:readTags
Integrations Github Link Existing CreatePOSTHOG_INTEGRATIONS_GITHUB_LINK_EXISTING_CREATEReuse a GitHub installation already linked to a sibling team in the same organization.Connection1 scope
Reuse a GitHub installation already linked to a sibling team in the same organization.
Authentication
Connected account requiredScopes
integration:writeTags
Integrations Github Oauth Authorize CreatePOSTHOG_INTEGRATIONS_GITHUB_OAUTH_AUTHORIZE_CREATEMint a User OAuth URL to bootstrap a fresh `code` when the install flow returns without one.Connection1 scope
Mint a User OAuth URL to bootstrap a fresh `code` when the install flow returns without one.
Authentication
Connected account requiredScopes
integration:writeTags
Integrations Github Prepare Callback CreatePOSTHOG_INTEGRATIONS_GITHUB_PREPARE_CALLBACK_CREATESeed GitHub setup callback state without redirecting to GitHub. Used when the user opens an existing installation's settings on github.com (e.g. PostHog Code "Update in GitHub") so the subsequent Setup URL redirect can be validated.Connection1 scope
Seed GitHub setup callback state without redirecting to GitHub. Used when the user opens an existing installation's settings on github.com (e.g. PostHog Code "Update in GitHub") so the subsequent Setup URL redirect can be validated.
Authentication
Connected account requiredScopes
integration:writeTags
Integrations Github Repos Refresh CreatePOSTHOG_INTEGRATIONS_GITHUB_REPOS_REFRESH_CREATEIntegrations Github Repos Refresh CreateConnection1 scope
Integrations Github Repos Refresh Create
Authentication
Connected account requiredScopes
integration:writeTags
Integrations Github Repos RetrievePOSTHOG_INTEGRATIONS_GITHUB_REPOS_RETRIEVEIntegrations Github Repos RetrieveConnection1 scope
Integrations Github Repos Retrieve
Authentication
Connected account requiredScopes
integration:readTags
Integrations Github Teams RetrievePOSTHOG_INTEGRATIONS_GITHUB_TEAMS_RETRIEVEIntegrations Github Teams RetrieveConnection1 scope
Integrations Github Teams Retrieve
Authentication
Connected account requiredScopes
integration:readTags
Integrations Google Accessible Accounts RetrievePOSTHOG_INTEGRATIONS_GOOGLE_ACCESSIBLE_ACCOUNTS_RETRIEVEIntegrations Google Accessible Accounts RetrieveConnection
Integrations Google Accessible Accounts Retrieve
Authentication
Connected account requiredTags
Integrations Google Conversion Actions RetrievePOSTHOG_INTEGRATIONS_GOOGLE_CONVERSION_ACTIONS_RETRIEVEIntegrations Google Conversion Actions RetrieveConnection
Integrations Google Conversion Actions Retrieve
Authentication
Connected account requiredTags
Integrations Google Search Console Sites RetrievePOSTHOG_INTEGRATIONS_GOOGLE_SEARCH_CONSOLE_SITES_RETRIEVEList the Search Console properties the connected Google account has access to.Connection1 scope
List the Search Console properties the connected Google account has access to.
Authentication
Connected account requiredScopes
integration:writeTags
Integrations Jira Projects RetrievePOSTHOG_INTEGRATIONS_JIRA_PROJECTS_RETRIEVEIntegrations Jira Projects RetrieveConnection1 scope
Integrations Jira Projects Retrieve
Authentication
Connected account requiredScopes
integration:readTags
Integrations Linear Teams RetrievePOSTHOG_INTEGRATIONS_LINEAR_TEAMS_RETRIEVEIntegrations Linear Teams RetrieveConnection1 scope
Integrations Linear Teams Retrieve
Authentication
Connected account requiredScopes
integration:readTags
Integrations Linkedin Ads Accounts RetrievePOSTHOG_INTEGRATIONS_LINKEDIN_ADS_ACCOUNTS_RETRIEVEIntegrations Linkedin Ads Accounts RetrieveConnection
Integrations Linkedin Ads Accounts Retrieve
Authentication
Connected account requiredTags
Integrations Linkedin Ads Conversion Rules RetrievePOSTHOG_INTEGRATIONS_LINKEDIN_ADS_CONVERSION_RULES_RETRIEVEIntegrations Linkedin Ads Conversion Rules RetrieveConnection
Integrations Linkedin Ads Conversion Rules Retrieve
Authentication
Connected account requiredTags
Integrations ListPOSTHOG_INTEGRATIONS_LISTIntegrations ListConnection1 scope
Integrations List
Authentication
Connected account requiredScopes
integration:readTags
Integrations Request Access CreatePOSTHOG_INTEGRATIONS_REQUEST_ACCESS_CREATENotify project admins that a member is requesting an integration be connected.Connection1 scope
Notify project admins that a member is requesting an integration be connected.
Authentication
Connected account requiredScopes
integration:writeTags
Integrations RetrievePOSTHOG_INTEGRATIONS_RETRIEVEIntegrations RetrieveConnection1 scope
Integrations Retrieve
Authentication
Connected account requiredScopes
integration:readTags
Integrations Twilio Phone Numbers RetrievePOSTHOG_INTEGRATIONS_TWILIO_PHONE_NUMBERS_RETRIEVEIntegrations Twilio Phone Numbers RetrieveConnection
Integrations Twilio Phone Numbers Retrieve
Authentication
Connected account requiredTags
Invites Bulk CreatePOSTHOG_INVITES_BULK_CREATEInvites Bulk CreateConnection1 scope
Invites Bulk Create
Authentication
Connected account requiredScopes
organization_member:writeTags
Invites CreatePOSTHOG_INVITES_CREATEInvites CreateConnection1 scope
Invites Create
Authentication
Connected account requiredScopes
organization_member:writeTags
Invites Delegate CreatePOSTHOG_INVITES_DELEGATE_CREATECreate an onboarding delegation invite: an admin-level invite flagged as a setup delegation. Sends a single dedicated delegation email and records the inviting user as having delegated.Connection1 scope
Create an onboarding delegation invite: an admin-level invite flagged as a setup delegation. Sends a single dedicated delegation email and records the inviting user as having delegated.
Authentication
Connected account requiredScopes
organization_member:writeTags
Invites DestroyPOSTHOG_INVITES_DESTROYInvites DestroyConnection1 scope
Invites Destroy
Authentication
Connected account requiredScopes
organization_member:writeTags
Invites ListPOSTHOG_INVITES_LISTInvites ListConnection1 scope
Invites List
Authentication
Connected account requiredScopes
organization_member:readTags
Js Snippet Resolve RetrievePOSTHOG_JS_SNIPPET_RESOLVE_RETRIEVEPreview what a given pin would resolve to, without saving it.Connection
Preview what a given pin would resolve to, without saving it.
Authentication
Connected account requiredTags
Js Snippet Version Partial UpdatePOSTHOG_JS_SNIPPET_VERSION_PARTIAL_UPDATEUpdate the team's version pin.Connection
Update the team's version pin.
Authentication
Connected account requiredTags
Js Snippet Version RetrievePOSTHOG_JS_SNIPPET_VERSION_RETRIEVEReturn the team's current version pin and resolved version.Connection
Return the team's current version pin and resolved version.
Authentication
Connected account requiredTags
Legal Documents CreatePOSTHOG_LEGAL_DOCUMENTS_CREATELegal Documents CreateConnection1 scope
Legal Documents Create
Authentication
Connected account requiredScopes
legal_document:writeTags
Legal Documents DestroyPOSTHOG_LEGAL_DOCUMENTS_DESTROYDelete an unsigned legal document. The PandaDoc envelope is voided first so the original signer can no longer complete it; only if that succeeds is the row removed, freeing the unique-per-org-per-type constraint so a fresh document can be generated. Returns 503 if the PandaDoc void fails — the row stays in that case and the frontend should prompt the user to retry. Returns 403 for signed documents (legal artifacts; staff can still delete signed rows from Django admin).Connection1 scope
Delete an unsigned legal document. The PandaDoc envelope is voided first so the original signer can no longer complete it; only if that succeeds is the row removed, freeing the unique-per-org-per-type constraint so a fresh document can be generated. Returns 503 if the PandaDoc void fails — the row stays in that case and the frontend should prompt the user to retry. Returns 403 for signed documents (legal artifacts; staff can still delete signed rows from Django admin).
Authentication
Connected account requiredScopes
legal_document:writeTags
Legal Documents Download RetrievePOSTHOG_LEGAL_DOCUMENTS_DOWNLOAD_RETRIEVEShort-lived redirect to the signed PDF in object storage. 404 while the envelope is still out for signature (or if the upload hasn't completed yet). The underlying presigned URL expires in ~60s; clients should hit this endpoint each time they want to view the PDF rather than caching.Connection
Short-lived redirect to the signed PDF in object storage. 404 while the envelope is still out for signature (or if the upload hasn't completed yet). The underlying presigned URL expires in ~60s; clients should hit this endpoint each time they want to view the PDF rather than caching.
Authentication
Connected account requiredTags
Legal Documents ListPOSTHOG_LEGAL_DOCUMENTS_LISTLegal Documents ListConnection1 scope
Legal Documents List
Authentication
Connected account requiredScopes
legal_document:readTags
Legal Documents RetrievePOSTHOG_LEGAL_DOCUMENTS_RETRIEVELegal Documents RetrieveConnection1 scope
Legal Documents Retrieve
Authentication
Connected account requiredScopes
legal_document:readTags
ListPOSTHOG_LISTListConnection1 scope
List
Authentication
Connected account requiredScopes
organization:readTags
Get active breakpoints (External API)POSTHOG_LIVE_DEBUGGER_BREAKPOINTS_ACTIVE_RETRIEVEExternal API endpoint for client applications to fetch active breakpoints using Project API key. This endpoint allows external client applications (like Python scripts, Node.js apps, etc.) to fetch the list of active breakpoints so they can instrument their code accordingly. Authentication: Requires a Project API Key in the Authorization header: `Authorization: Bearer phs_<your-project-api-key>`. You can find your Project API Key in PostHog at: Settings → Project → Project API KeyConnection1 scope
External API endpoint for client applications to fetch active breakpoints using Project API key. This endpoint allows external client applications (like Python scripts, Node.js apps, etc.) to fetch the list of active breakpoints so they can instrument their code accordingly. Authentication: Requires a Project API Key in the Authorization header: `Authorization: Bearer phs_<your-project-api-key>`. You can find your Project API Key in PostHog at: Settings → Project → Project API Key
Authentication
Connected account requiredScopes
live_debugger:readTags
Get breakpoint hitsPOSTHOG_LIVE_DEBUGGER_BREAKPOINTS_BREAKPOINT_HITS_RETRIEVERetrieve breakpoint hit events from ClickHouse with optional filtering and pagination. Returns hit events containing stack traces, local variables, and execution context from your application's runtime. Security: Breakpoint IDs are filtered to only include those belonging to the current team.Connection1 scope
Retrieve breakpoint hit events from ClickHouse with optional filtering and pagination. Returns hit events containing stack traces, local variables, and execution context from your application's runtime. Security: Breakpoint IDs are filtered to only include those belonging to the current team.
Authentication
Connected account requiredScopes
live_debugger:readTags
Live Debugger Breakpoints CreatePOSTHOG_LIVE_DEBUGGER_BREAKPOINTS_CREATECreate, Read, Update and Delete breakpoints for live debugging.Connection1 scope
Create, Read, Update and Delete breakpoints for live debugging.
Authentication
Connected account requiredScopes
live_debugger:writeTags
Live Debugger Breakpoints DestroyPOSTHOG_LIVE_DEBUGGER_BREAKPOINTS_DESTROYCreate, Read, Update and Delete breakpoints for live debugging.Connection1 scope
Create, Read, Update and Delete breakpoints for live debugging.
Authentication
Connected account requiredScopes
live_debugger:writeTags
Live Debugger Breakpoints ListPOSTHOG_LIVE_DEBUGGER_BREAKPOINTS_LISTCreate, Read, Update and Delete breakpoints for live debugging.Connection1 scope
Create, Read, Update and Delete breakpoints for live debugging.
Authentication
Connected account requiredScopes
live_debugger:readTags
Live Debugger Breakpoints Partial UpdatePOSTHOG_LIVE_DEBUGGER_BREAKPOINTS_PARTIAL_UPDATECreate, Read, Update and Delete breakpoints for live debugging.Connection1 scope
Create, Read, Update and Delete breakpoints for live debugging.
Authentication
Connected account requiredScopes
live_debugger:writeTags
Live Debugger Breakpoints RetrievePOSTHOG_LIVE_DEBUGGER_BREAKPOINTS_RETRIEVECreate, Read, Update and Delete breakpoints for live debugging.Connection1 scope
Create, Read, Update and Delete breakpoints for live debugging.
Authentication
Connected account requiredScopes
live_debugger:readTags
Live Debugger Breakpoints UpdatePOSTHOG_LIVE_DEBUGGER_BREAKPOINTS_UPDATECreate, Read, Update and Delete breakpoints for live debugging.Connection1 scope
Create, Read, Update and Delete breakpoints for live debugging.
Authentication
Connected account requiredScopes
live_debugger:writeTags
Llm Analytics Clustering Config ListPOSTHOG_LLM_ANALYTICS_CLUSTERING_CONFIG_LISTTeam-level clustering configuration (event filters for automated pipelines).Connection1 scope
Team-level clustering configuration (event filters for automated pipelines).
Authentication
Connected account requiredScopes
llm_analytics:readTags
Llm Analytics Clustering Config Set Event Filters CreatePOSTHOG_LLM_ANALYTICS_CLUSTERING_CONFIG_SET_EVENT_FILTERS_CREATETeam-level clustering configuration (event filters for automated pipelines).Connection1 scope
Team-level clustering configuration (event filters for automated pipelines).
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Analytics Clustering Jobs CreatePOSTHOG_LLM_ANALYTICS_CLUSTERING_JOBS_CREATECRUD for clustering job configurations (max 10 per team).Connection1 scope
CRUD for clustering job configurations (max 10 per team).
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Analytics Clustering Jobs DestroyPOSTHOG_LLM_ANALYTICS_CLUSTERING_JOBS_DESTROYCRUD for clustering job configurations (max 10 per team).Connection1 scope
CRUD for clustering job configurations (max 10 per team).
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Analytics Clustering Jobs ListPOSTHOG_LLM_ANALYTICS_CLUSTERING_JOBS_LISTCRUD for clustering job configurations (max 10 per team).Connection1 scope
CRUD for clustering job configurations (max 10 per team).
Authentication
Connected account requiredScopes
llm_analytics:readTags
Llm Analytics Clustering Jobs Partial UpdatePOSTHOG_LLM_ANALYTICS_CLUSTERING_JOBS_PARTIAL_UPDATECRUD for clustering job configurations (max 10 per team).Connection1 scope
CRUD for clustering job configurations (max 10 per team).
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Analytics Clustering Jobs RetrievePOSTHOG_LLM_ANALYTICS_CLUSTERING_JOBS_RETRIEVECRUD for clustering job configurations (max 10 per team).Connection1 scope
CRUD for clustering job configurations (max 10 per team).
Authentication
Connected account requiredScopes
llm_analytics:readTags
Llm Analytics Clustering Jobs UpdatePOSTHOG_LLM_ANALYTICS_CLUSTERING_JOBS_UPDATECRUD for clustering job configurations (max 10 per team).Connection1 scope
CRUD for clustering job configurations (max 10 per team).
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Analytics Evaluation Config RetrievePOSTHOG_LLM_ANALYTICS_EVALUATION_CONFIG_RETRIEVEGet the evaluation config for this teamConnection1 scope
Get the evaluation config for this team
Authentication
Connected account requiredScopes
evaluation:readTags
Llm Analytics Evaluation Config Set Active Key CreatePOSTHOG_LLM_ANALYTICS_EVALUATION_CONFIG_SET_ACTIVE_KEY_CREATESet the active provider key for evaluationsConnection1 scope
Set the active provider key for evaluations
Authentication
Connected account requiredScopes
evaluation:writeTags
Llm Analytics Evaluation Reports CreatePOSTHOG_LLM_ANALYTICS_EVALUATION_REPORTS_CREATECRUD for evaluation report configurations + report run history.Connection1 scope
CRUD for evaluation report configurations + report run history.
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Analytics Evaluation Reports DestroyPOSTHOG_LLM_ANALYTICS_EVALUATION_REPORTS_DESTROYEvaluation report configs are deleted only when their evaluation is deleted. Use PATCH enabled=false to stop delivery.Connection1 scope
Evaluation report configs are deleted only when their evaluation is deleted. Use PATCH enabled=false to stop delivery.
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Analytics Evaluation Reports Generate CreatePOSTHOG_LLM_ANALYTICS_EVALUATION_REPORTS_GENERATE_CREATETrigger immediate report generation.Connection1 scope
Trigger immediate report generation.
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Analytics Evaluation Reports ListPOSTHOG_LLM_ANALYTICS_EVALUATION_REPORTS_LISTCRUD for evaluation report configurations + report run history.Connection1 scope
CRUD for evaluation report configurations + report run history.
Authentication
Connected account requiredScopes
llm_analytics:readTags
Llm Analytics Evaluation Reports Partial UpdatePOSTHOG_LLM_ANALYTICS_EVALUATION_REPORTS_PARTIAL_UPDATECRUD for evaluation report configurations + report run history.Connection1 scope
CRUD for evaluation report configurations + report run history.
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Analytics Evaluation Reports RetrievePOSTHOG_LLM_ANALYTICS_EVALUATION_REPORTS_RETRIEVECRUD for evaluation report configurations + report run history.Connection1 scope
CRUD for evaluation report configurations + report run history.
Authentication
Connected account requiredScopes
llm_analytics:readTags
Llm Analytics Evaluation Reports Runs ListPOSTHOG_LLM_ANALYTICS_EVALUATION_REPORTS_RUNS_LISTList report runs (history) for this report.Connection1 scope
List report runs (history) for this report.
Authentication
Connected account requiredScopes
llm_analytics:readTags
Llm Analytics Evaluation Reports UpdatePOSTHOG_LLM_ANALYTICS_EVALUATION_REPORTS_UPDATECRUD for evaluation report configurations + report run history.Connection1 scope
CRUD for evaluation report configurations + report run history.
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Analytics Evaluation Summary CreatePOSTHOG_LLM_ANALYTICS_EVALUATION_SUMMARY_CREATEGenerate an AI-powered summary of evaluation results. This endpoint analyzes evaluation runs and identifies patterns in passing and failing evaluations, providing actionable recommendations. Data is fetched server-side by evaluation ID to ensure data integrity. **Use Cases:** - Understand why evaluations are passing or failing - Identify systematic issues in LLM responses - Get recommendations for improving response quality - Review patterns across many evaluation runs at onceConnection1 scope
Generate an AI-powered summary of evaluation results. This endpoint analyzes evaluation runs and identifies patterns in passing and failing evaluations, providing actionable recommendations. Data is fetched server-side by evaluation ID to ensure data integrity. **Use Cases:** - Understand why evaluations are passing or failing - Identify systematic issues in LLM responses - Get recommendations for improving response quality - Review patterns across many evaluation runs at once
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Analytics Models RetrievePOSTHOG_LLM_ANALYTICS_MODELS_RETRIEVEList available models for a provider.Connection1 scope
List available models for a provider.
Authentication
Connected account requiredScopes
evaluation:readTags
Llm Analytics Offline Evaluations Experiment Items CreatePOSTHOG_LLM_ANALYTICS_OFFLINE_EVALUATIONS_EXPERIMENT_ITEMS_CREATELlm Analytics Offline Evaluations Experiment Items CreateConnection1 scope
Llm Analytics Offline Evaluations Experiment Items Create
Authentication
Connected account requiredScopes
llm_analytics:readTags
Llm Analytics Parser Recipes CreatePOSTHOG_LLM_ANALYTICS_PARSER_RECIPES_CREATELlm Analytics Parser Recipes CreateConnection1 scope
Llm Analytics Parser Recipes Create
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Analytics Parser Recipes DestroyPOSTHOG_LLM_ANALYTICS_PARSER_RECIPES_DESTROYLlm Analytics Parser Recipes DestroyConnection1 scope
Llm Analytics Parser Recipes Destroy
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Analytics Parser Recipes ListPOSTHOG_LLM_ANALYTICS_PARSER_RECIPES_LISTLlm Analytics Parser Recipes ListConnection1 scope
Llm Analytics Parser Recipes List
Authentication
Connected account requiredScopes
llm_analytics:readTags
Llm Analytics Parser Recipes Partial UpdatePOSTHOG_LLM_ANALYTICS_PARSER_RECIPES_PARTIAL_UPDATELlm Analytics Parser Recipes Partial UpdateConnection1 scope
Llm Analytics Parser Recipes Partial Update
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Analytics Parser Recipes RetrievePOSTHOG_LLM_ANALYTICS_PARSER_RECIPES_RETRIEVELlm Analytics Parser Recipes RetrieveConnection1 scope
Llm Analytics Parser Recipes Retrieve
Authentication
Connected account requiredScopes
llm_analytics:readTags
Llm Analytics Personal Spend ListPOSTHOG_LLM_ANALYTICS_PERSONAL_SPEND_LISTReturn a structured personal LLM spend analysis for the requesting user. Pass `date_from` / `date_to` (absolute like `2026-04-23` or relative like `-7d`) to bound the window — defaults to the last 30 days, max 90 days. The `product=<ai_product>` query param is required and scopes the tool / model / day / trace breakdowns to a single product; supported values: posthog_code. `by_product` is always returned for cross-product visibility. `by_day` returns a day-ascending spend series for the scoped product. Use `refresh=true` to bypass the 5-minute response cache.Connection1 scope
Return a structured personal LLM spend analysis for the requesting user. Pass `date_from` / `date_to` (absolute like `2026-04-23` or relative like `-7d`) to bound the window — defaults to the last 30 days, max 90 days. The `product=<ai_product>` query param is required and scopes the tool / model / day / trace breakdowns to a single product; supported values: posthog_code. `by_product` is always returned for cross-product visibility. `by_day` returns a day-ascending spend series for the scoped product. Use `refresh=true` to bypass the 5-minute response cache.
Authentication
Connected account requiredScopes
user:readTags
Llm Analytics Provider Key Validations CreatePOSTHOG_LLM_ANALYTICS_PROVIDER_KEY_VALIDATIONS_CREATEValidate LLM provider API keys without persisting themConnection1 scope
Validate LLM provider API keys without persisting them
Authentication
Connected account requiredScopes
llm_provider_key:writeTags
Llm Analytics Provider Keys Assign CreatePOSTHOG_LLM_ANALYTICS_PROVIDER_KEYS_ASSIGN_CREATEAssign this key to evaluations and optionally re-enable them.Connection
Assign this key to evaluations and optionally re-enable them.
Authentication
Connected account requiredTags
Llm Analytics Provider Keys CreatePOSTHOG_LLM_ANALYTICS_PROVIDER_KEYS_CREATELlm Analytics Provider Keys CreateConnection1 scope
Llm Analytics Provider Keys Create
Authentication
Connected account requiredScopes
llm_provider_key:writeTags
Llm Analytics Provider Keys Dependent Configs RetrievePOSTHOG_LLM_ANALYTICS_PROVIDER_KEYS_DEPENDENT_CONFIGS_RETRIEVEGet evaluations using this key and alternative keys for replacement.Connection
Get evaluations using this key and alternative keys for replacement.
Authentication
Connected account requiredTags
Llm Analytics Provider Keys DestroyPOSTHOG_LLM_ANALYTICS_PROVIDER_KEYS_DESTROYLlm Analytics Provider Keys DestroyConnection1 scope
Llm Analytics Provider Keys Destroy
Authentication
Connected account requiredScopes
llm_provider_key:writeTags
Llm Analytics Provider Keys ListPOSTHOG_LLM_ANALYTICS_PROVIDER_KEYS_LISTLlm Analytics Provider Keys ListConnection1 scope
Llm Analytics Provider Keys List
Authentication
Connected account requiredScopes
llm_provider_key:readTags
Llm Analytics Provider Keys Partial UpdatePOSTHOG_LLM_ANALYTICS_PROVIDER_KEYS_PARTIAL_UPDATELlm Analytics Provider Keys Partial UpdateConnection1 scope
Llm Analytics Provider Keys Partial Update
Authentication
Connected account requiredScopes
llm_provider_key:writeTags
Llm Analytics Provider Keys RetrievePOSTHOG_LLM_ANALYTICS_PROVIDER_KEYS_RETRIEVELlm Analytics Provider Keys RetrieveConnection1 scope
Llm Analytics Provider Keys Retrieve
Authentication
Connected account requiredScopes
llm_provider_key:readTags
Llm Analytics Provider Keys Trial Evaluations RetrievePOSTHOG_LLM_ANALYTICS_PROVIDER_KEYS_TRIAL_EVALUATIONS_RETRIEVEList enabled evaluations currently using trial credits for a given provider.Connection
List enabled evaluations currently using trial credits for a given provider.
Authentication
Connected account requiredTags
Llm Analytics Provider Keys UpdatePOSTHOG_LLM_ANALYTICS_PROVIDER_KEYS_UPDATELlm Analytics Provider Keys UpdateConnection1 scope
Llm Analytics Provider Keys Update
Authentication
Connected account requiredScopes
llm_provider_key:writeTags
Llm Analytics Provider Keys Validate CreatePOSTHOG_LLM_ANALYTICS_PROVIDER_KEYS_VALIDATE_CREATELlm Analytics Provider Keys Validate CreateConnection
Llm Analytics Provider Keys Validate Create
Authentication
Connected account requiredTags
Llm Analytics Review Queue Items CreatePOSTHOG_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_CREATELlm Analytics Review Queue Items CreateConnection1 scope
Llm Analytics Review Queue Items Create
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Analytics Review Queue Items DestroyPOSTHOG_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_DESTROYLlm Analytics Review Queue Items DestroyConnection1 scope
Llm Analytics Review Queue Items Destroy
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Analytics Review Queue Items ListPOSTHOG_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_LISTLlm Analytics Review Queue Items ListConnection1 scope
Llm Analytics Review Queue Items List
Authentication
Connected account requiredScopes
llm_analytics:readTags
Llm Analytics Review Queue Items Partial UpdatePOSTHOG_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_PARTIAL_UPDATELlm Analytics Review Queue Items Partial UpdateConnection1 scope
Llm Analytics Review Queue Items Partial Update
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Analytics Review Queue Items RetrievePOSTHOG_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_RETRIEVELlm Analytics Review Queue Items RetrieveConnection1 scope
Llm Analytics Review Queue Items Retrieve
Authentication
Connected account requiredScopes
llm_analytics:readTags
Llm Analytics Review Queues CreatePOSTHOG_LLM_ANALYTICS_REVIEW_QUEUES_CREATELlm Analytics Review Queues CreateConnection1 scope
Llm Analytics Review Queues Create
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Analytics Review Queues DestroyPOSTHOG_LLM_ANALYTICS_REVIEW_QUEUES_DESTROYLlm Analytics Review Queues DestroyConnection1 scope
Llm Analytics Review Queues Destroy
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Analytics Review Queues ListPOSTHOG_LLM_ANALYTICS_REVIEW_QUEUES_LISTLlm Analytics Review Queues ListConnection1 scope
Llm Analytics Review Queues List
Authentication
Connected account requiredScopes
llm_analytics:readTags
Llm Analytics Review Queues Partial UpdatePOSTHOG_LLM_ANALYTICS_REVIEW_QUEUES_PARTIAL_UPDATELlm Analytics Review Queues Partial UpdateConnection1 scope
Llm Analytics Review Queues Partial Update
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Analytics Review Queues RetrievePOSTHOG_LLM_ANALYTICS_REVIEW_QUEUES_RETRIEVELlm Analytics Review Queues RetrieveConnection1 scope
Llm Analytics Review Queues Retrieve
Authentication
Connected account requiredScopes
llm_analytics:readTags
Llm Analytics Score Definitions CreatePOSTHOG_LLM_ANALYTICS_SCORE_DEFINITIONS_CREATELlm Analytics Score Definitions CreateConnection1 scope
Llm Analytics Score Definitions Create
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Analytics Score Definitions ListPOSTHOG_LLM_ANALYTICS_SCORE_DEFINITIONS_LISTLlm Analytics Score Definitions ListConnection1 scope
Llm Analytics Score Definitions List
Authentication
Connected account requiredScopes
llm_analytics:readTags
Llm Analytics Score Definitions New Version CreatePOSTHOG_LLM_ANALYTICS_SCORE_DEFINITIONS_NEW_VERSION_CREATELlm Analytics Score Definitions New Version CreateConnection1 scope
Llm Analytics Score Definitions New Version Create
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Analytics Score Definitions Partial UpdatePOSTHOG_LLM_ANALYTICS_SCORE_DEFINITIONS_PARTIAL_UPDATELlm Analytics Score Definitions Partial UpdateConnection1 scope
Llm Analytics Score Definitions Partial Update
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Analytics Score Definitions RetrievePOSTHOG_LLM_ANALYTICS_SCORE_DEFINITIONS_RETRIEVELlm Analytics Score Definitions RetrieveConnection1 scope
Llm Analytics Score Definitions Retrieve
Authentication
Connected account requiredScopes
llm_analytics:readTags
Llm Analytics Summarization Batch Check CreatePOSTHOG_LLM_ANALYTICS_SUMMARIZATION_BATCH_CHECK_CREATECheck which traces have cached summaries available. This endpoint allows batch checking of multiple trace IDs to see which ones have cached summaries. Returns only the traces that have cached summaries with their titles. **Use Cases:** - Load cached summaries on session view load - Avoid unnecessary LLM calls for already-summarized traces - Display summary previews without generating new summariesConnection
Check which traces have cached summaries available. This endpoint allows batch checking of multiple trace IDs to see which ones have cached summaries. Returns only the traces that have cached summaries with their titles. **Use Cases:** - Load cached summaries on session view load - Avoid unnecessary LLM calls for already-summarized traces - Display summary previews without generating new summaries
Authentication
Connected account requiredTags
Llm Analytics Summarization CreatePOSTHOG_LLM_ANALYTICS_SUMMARIZATION_CREATEGenerate an AI-powered summary of an LLM trace or event. This endpoint analyzes the provided trace/event, generates a line-numbered text representation, and uses an LLM to create a concise summary with line references. **Two ways to use this endpoint:** 1. **By ID (recommended):** Pass `trace_id` or `generation_id` with an optional `date_from`/`date_to`. The backend fetches the data automatically. `summarize_type` is inferred. 2. **By data:** Pass the full trace/event data blob in `data` with `summarize_type`. This is how the frontend uses it. **Summary Format:** - Title (concise, max 10 words) - Mermaid flow diagram showing the main flow - 3-10 summary bullets with line references - "Interesting Notes" section for failures, successes, or unusual patterns - Line references in [L45] or [L45-52] format pointing to relevant sections The response includes the structured summary, the text representation, and metadata.Connection1 scope
Generate an AI-powered summary of an LLM trace or event. This endpoint analyzes the provided trace/event, generates a line-numbered text representation, and uses an LLM to create a concise summary with line references. **Two ways to use this endpoint:** 1. **By ID (recommended):** Pass `trace_id` or `generation_id` with an optional `date_from`/`date_to`. The backend fetches the data automatically. `summarize_type` is inferred. 2. **By data:** Pass the full trace/event data blob in `data` with `summarize_type`. This is how the frontend uses it. **Summary Format:** - Title (concise, max 10 words) - Mermaid flow diagram showing the main flow - 3-10 summary bullets with line references - "Interesting Notes" section for failures, successes, or unusual patterns - Line references in [L45] or [L45-52] format pointing to relevant sections The response includes the structured summary, the text representation, and metadata.
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Analytics Text Repr CreatePOSTHOG_LLM_ANALYTICS_TEXT_REPR_CREATEGenerate a human-readable text representation of an LLM trace event. This endpoint converts AI observability events ($ai_generation, $ai_span, $ai_embedding, or $ai_trace) into formatted text representations suitable for display, logging, or analysis. **Supported Event Types:** - `$ai_generation`: Individual LLM API calls with input/output messages - `$ai_span`: Logical spans with state transitions - `$ai_embedding`: Embedding generation events (text input → vector) - `$ai_trace`: Full traces with hierarchical structure **Options:** - `max_length`: Maximum character count (default: 2000000) - `truncated`: Enable middle-content truncation within events (default: true) - `truncate_buffer`: Characters at start/end when truncating (default: 1000) - `include_markers`: Use interactive markers vs plain text indicators (default: true) - Frontend: set true for `<<<TRUNCATED|base64|...>>>` markers - Backend/LLM: set false for `... (X chars truncated) ...` text - `collapsed`: Show summary vs full trace tree (default: false) - `include_hierarchy`: Include tree structure for traces (default: true) - `max_depth`: Maximum depth for hierarchical rendering (default: unlimited) - `tools_collapse_threshold`: Number of tools before auto-collapsing list (default: 5) - Tool lists >5 items show `<<<TOOLS_EXPANDABLE|...>>>` marker for frontend - Or `[+] AVAILABLE TOOLS: N` for backend when `include_markers: false` - `include_line_numbers`: Prefix each line with line number like L001:, L010: (default: false) **Use Cases:** - Frontend display: `truncated: true, include_markers: true, include_line_numbers: true` - Backend LLM context (summary): `truncated: true, include_markers: false, collapsed: true` - Backend LLM context (full): `truncated: false` The response includes the formatted text and metadata about the rendering.Connection1 scope
Generate a human-readable text representation of an LLM trace event. This endpoint converts AI observability events ($ai_generation, $ai_span, $ai_embedding, or $ai_trace) into formatted text representations suitable for display, logging, or analysis. **Supported Event Types:** - `$ai_generation`: Individual LLM API calls with input/output messages - `$ai_span`: Logical spans with state transitions - `$ai_embedding`: Embedding generation events (text input → vector) - `$ai_trace`: Full traces with hierarchical structure **Options:** - `max_length`: Maximum character count (default: 2000000) - `truncated`: Enable middle-content truncation within events (default: true) - `truncate_buffer`: Characters at start/end when truncating (default: 1000) - `include_markers`: Use interactive markers vs plain text indicators (default: true) - Frontend: set true for `<<<TRUNCATED|base64|...>>>` markers - Backend/LLM: set false for `... (X chars truncated) ...` text - `collapsed`: Show summary vs full trace tree (default: false) - `include_hierarchy`: Include tree structure for traces (default: true) - `max_depth`: Maximum depth for hierarchical rendering (default: unlimited) - `tools_collapse_threshold`: Number of tools before auto-collapsing list (default: 5) - Tool lists >5 items show `<<<TOOLS_EXPANDABLE|...>>>` marker for frontend - Or `[+] AVAILABLE TOOLS: N` for backend when `include_markers: false` - `include_line_numbers`: Prefix each line with line number like L001:, L010: (default: false) **Use Cases:** - Frontend display: `truncated: true, include_markers: true, include_line_numbers: true` - Backend LLM context (summary): `truncated: true, include_markers: false, collapsed: true` - Backend LLM context (full): `truncated: false` The response includes the formatted text and metadata about the rendering.
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Analytics Trace Reviews CreatePOSTHOG_LLM_ANALYTICS_TRACE_REVIEWS_CREATELlm Analytics Trace Reviews CreateConnection1 scope
Llm Analytics Trace Reviews Create
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Analytics Trace Reviews DestroyPOSTHOG_LLM_ANALYTICS_TRACE_REVIEWS_DESTROYLlm Analytics Trace Reviews DestroyConnection1 scope
Llm Analytics Trace Reviews Destroy
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Analytics Trace Reviews ListPOSTHOG_LLM_ANALYTICS_TRACE_REVIEWS_LISTLlm Analytics Trace Reviews ListConnection1 scope
Llm Analytics Trace Reviews List
Authentication
Connected account requiredScopes
llm_analytics:readTags
Llm Analytics Trace Reviews Partial UpdatePOSTHOG_LLM_ANALYTICS_TRACE_REVIEWS_PARTIAL_UPDATELlm Analytics Trace Reviews Partial UpdateConnection1 scope
Llm Analytics Trace Reviews Partial Update
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Analytics Trace Reviews RetrievePOSTHOG_LLM_ANALYTICS_TRACE_REVIEWS_RETRIEVELlm Analytics Trace Reviews RetrieveConnection1 scope
Llm Analytics Trace Reviews Retrieve
Authentication
Connected account requiredScopes
llm_analytics:readTags
Llm Analytics Translate CreatePOSTHOG_LLM_ANALYTICS_TRANSLATE_CREATETranslate text to target language.Connection1 scope
Translate text to target language.
Authentication
Connected account requiredScopes
llm_analytics:writeTags
Llm Prompts CreatePOSTHOG_LLM_PROMPTS_CREATELlm Prompts CreateConnection1 scope
Llm Prompts Create
Authentication
Connected account requiredScopes
llm_prompt:writeTags
Llm Prompts ListPOSTHOG_LLM_PROMPTS_LISTLlm Prompts ListConnection1 scope
Llm Prompts List
Authentication
Connected account requiredScopes
llm_prompt:readTags
Llm Prompts Name Archive CreatePOSTHOG_LLM_PROMPTS_NAME_ARCHIVE_CREATELlm Prompts Name Archive CreateConnection1 scope
Llm Prompts Name Archive Create
Authentication
Connected account requiredScopes
llm_prompt:writeTags
Llm Prompts Name Duplicate CreatePOSTHOG_LLM_PROMPTS_NAME_DUPLICATE_CREATELlm Prompts Name Duplicate CreateConnection1 scope
Llm Prompts Name Duplicate Create
Authentication
Connected account requiredScopes
llm_prompt:writeTags
Llm Prompts Name Partial UpdatePOSTHOG_LLM_PROMPTS_NAME_PARTIAL_UPDATELlm Prompts Name Partial UpdateConnection1 scope
Llm Prompts Name Partial Update
Authentication
Connected account requiredScopes
llm_prompt:writeTags
Llm Prompts Name RetrievePOSTHOG_LLM_PROMPTS_NAME_RETRIEVELlm Prompts Name RetrieveConnection1 scope
Llm Prompts Name Retrieve
Authentication
Connected account requiredScopes
llm_prompt:readTags
Llm Prompts Resolve Name RetrievePOSTHOG_LLM_PROMPTS_RESOLVE_NAME_RETRIEVELlm Prompts Resolve Name RetrieveConnection1 scope
Llm Prompts Resolve Name Retrieve
Authentication
Connected account requiredScopes
llm_prompt:readTags
Llm Skills CreatePOSTHOG_LLM_SKILLS_CREATELlm Skills CreateConnection1 scope
Llm Skills Create
Authentication
Connected account requiredScopes
llm_skill:writeTags
Llm Skills Import CreatePOSTHOG_LLM_SKILLS_IMPORT_CREATELlm Skills Import CreateConnection1 scope
Llm Skills Import Create
Authentication
Connected account requiredScopes
llm_skill:writeTags
Llm Skills ListPOSTHOG_LLM_SKILLS_LISTLlm Skills ListConnection1 scope
Llm Skills List
Authentication
Connected account requiredScopes
llm_skill:readTags
Llm Skills Marketplace Install Command CreatePOSTHOG_LLM_SKILLS_MARKETPLACE_INSTALL_COMMAND_CREATEMint the user's read-only marketplace credential (or rotate it) and return the install command. Per-user: rotating only ever invalidates this user's own credential, never a teammate's.Connection1 scope
Mint the user's read-only marketplace credential (or rotate it) and return the install command. Per-user: rotating only ever invalidates this user's own credential, never a teammate's.
Authentication
Connected account requiredScopes
llm_skill:writeTags
Llm Skills Marketplace Install Command RetrievePOSTHOG_LLM_SKILLS_MARKETPLACE_INSTALL_COMMAND_RETRIEVEReport whether the user already has a marketplace credential, without minting one. The token is unrecoverable, so an existing credential returns its mask only — the UI shows "already connected, existing setups keep working" and offers an explicit rotate.Connection1 scope
Report whether the user already has a marketplace credential, without minting one. The token is unrecoverable, so an existing credential returns its mask only — the UI shows "already connected, existing setups keep working" and offers an explicit rotate.
Authentication
Connected account requiredScopes
llm_skill:readTags
Llm Skills Name Archive CreatePOSTHOG_LLM_SKILLS_NAME_ARCHIVE_CREATELlm Skills Name Archive CreateConnection1 scope
Llm Skills Name Archive Create
Authentication
Connected account requiredScopes
llm_skill:writeTags
Llm Skills Name Duplicate CreatePOSTHOG_LLM_SKILLS_NAME_DUPLICATE_CREATELlm Skills Name Duplicate CreateConnection1 scope
Llm Skills Name Duplicate Create
Authentication
Connected account requiredScopes
llm_skill:writeTags
Llm Skills Name Export RetrievePOSTHOG_LLM_SKILLS_NAME_EXPORT_RETRIEVELlm Skills Name Export RetrieveConnection
Llm Skills Name Export Retrieve
Authentication
Connected account requiredTags
Llm Skills Name Files CreatePOSTHOG_LLM_SKILLS_NAME_FILES_CREATELlm Skills Name Files CreateConnection1 scope
Llm Skills Name Files Create
Authentication
Connected account requiredScopes
llm_skill:writeTags
Llm Skills Name Files DestroyPOSTHOG_LLM_SKILLS_NAME_FILES_DESTROYLlm Skills Name Files DestroyConnection1 scope
Llm Skills Name Files Destroy
Authentication
Connected account requiredScopes
llm_skill:writeTags
Llm Skills Name Files Rename CreatePOSTHOG_LLM_SKILLS_NAME_FILES_RENAME_CREATELlm Skills Name Files Rename CreateConnection1 scope
Llm Skills Name Files Rename Create
Authentication
Connected account requiredScopes
llm_skill:writeTags
Llm Skills Name Files RetrievePOSTHOG_LLM_SKILLS_NAME_FILES_RETRIEVELlm Skills Name Files RetrieveConnection1 scope
Llm Skills Name Files Retrieve
Authentication
Connected account requiredScopes
llm_skill:readTags
Llm Skills Name Partial UpdatePOSTHOG_LLM_SKILLS_NAME_PARTIAL_UPDATELlm Skills Name Partial UpdateConnection1 scope
Llm Skills Name Partial Update
Authentication
Connected account requiredScopes
llm_skill:writeTags
Llm Skills Name RetrievePOSTHOG_LLM_SKILLS_NAME_RETRIEVELlm Skills Name RetrieveConnection1 scope
Llm Skills Name Retrieve
Authentication
Connected account requiredScopes
llm_skill:readTags
Llm Skills Resolve Name RetrievePOSTHOG_LLM_SKILLS_RESOLVE_NAME_RETRIEVELlm Skills Resolve Name RetrieveConnection1 scope
Llm Skills Resolve Name Retrieve
Authentication
Connected account requiredScopes
llm_skill:readTags
Logs Alerts CreatePOSTHOG_LOGS_ALERTS_CREATELogs Alerts CreateConnection1 scope
Logs Alerts Create
Authentication
Connected account requiredScopes
logs:writeTags
Logs Alerts Destinations CreatePOSTHOG_LOGS_ALERTS_DESTINATIONS_CREATECreate a notification destination for this alert. One HogFunction is created per alert event kind (firing, resolved, ...) atomically.Connection1 scope
Create a notification destination for this alert. One HogFunction is created per alert event kind (firing, resolved, ...) atomically.
Authentication
Connected account requiredScopes
logs:writeTags
Logs Alerts Destinations Delete CreatePOSTHOG_LOGS_ALERTS_DESTINATIONS_DELETE_CREATEDelete a notification destination by deleting its HogFunction group atomically.Connection1 scope
Delete a notification destination by deleting its HogFunction group atomically.
Authentication
Connected account requiredScopes
logs:writeTags
Logs Alerts DestroyPOSTHOG_LOGS_ALERTS_DESTROYLogs Alerts DestroyConnection1 scope
Logs Alerts Destroy
Authentication
Connected account requiredScopes
logs:writeTags
Logs Alerts Events ListPOSTHOG_LOGS_ALERTS_EVENTS_LISTPaginated event history for this alert, newest first. Returns state transitions, errored checks, and user-initiated control-plane rows (reset, enable/disable, snooze/unsnooze, threshold change) — quiet no-op check rows (where state didn't change and there was no error) are filtered out since only the last 10 are kept and they carry no forensic value. Optional `?kind=...` narrows to a single kind.Connection1 scope
Paginated event history for this alert, newest first. Returns state transitions, errored checks, and user-initiated control-plane rows (reset, enable/disable, snooze/unsnooze, threshold change) — quiet no-op check rows (where state didn't change and there was no error) are filtered out since only the last 10 are kept and they carry no forensic value. Optional `?kind=...` narrows to a single kind.
Authentication
Connected account requiredScopes
logs:readTags
Logs Alerts ListPOSTHOG_LOGS_ALERTS_LISTLogs Alerts ListConnection1 scope
Logs Alerts List
Authentication
Connected account requiredScopes
logs:readTags
Logs Alerts Partial UpdatePOSTHOG_LOGS_ALERTS_PARTIAL_UPDATELogs Alerts Partial UpdateConnection1 scope
Logs Alerts Partial Update
Authentication
Connected account requiredScopes
logs:writeTags
Logs Alerts Reset CreatePOSTHOG_LOGS_ALERTS_RESET_CREATEReset a broken alert. Clears the consecutive-failure counter and schedules an immediate recheck.Connection1 scope
Reset a broken alert. Clears the consecutive-failure counter and schedules an immediate recheck.
Authentication
Connected account requiredScopes
logs:writeTags
Logs Alerts RetrievePOSTHOG_LOGS_ALERTS_RETRIEVELogs Alerts RetrieveConnection1 scope
Logs Alerts Retrieve
Authentication
Connected account requiredScopes
logs:readTags
Logs Alerts Simulate CreatePOSTHOG_LOGS_ALERTS_SIMULATE_CREATESimulate a logs alert on historical data using the full state machine. Read-only — no alert check records are created.Connection1 scope
Simulate a logs alert on historical data using the full state machine. Read-only — no alert check records are created.
Authentication
Connected account requiredScopes
logs:readTags
Logs Alerts UpdatePOSTHOG_LOGS_ALERTS_UPDATELogs Alerts UpdateConnection1 scope
Logs Alerts Update
Authentication
Connected account requiredScopes
logs:writeTags
Logs Attributes RetrievePOSTHOG_LOGS_ATTRIBUTES_RETRIEVELogs Attributes RetrieveConnection1 scope
Logs Attributes Retrieve
Authentication
Connected account requiredScopes
logs:readTags
Logs Count CreatePOSTHOG_LOGS_COUNT_CREATELogs Count CreateConnection1 scope
Logs Count Create
Authentication
Connected account requiredScopes
logs:readTags
Logs Count Ranges CreatePOSTHOG_LOGS_COUNT_RANGES_CREATELogs Count Ranges CreateConnection1 scope
Logs Count Ranges Create
Authentication
Connected account requiredScopes
logs:readTags
Logs ExplainLogWithAI CreatePOSTHOG_LOGS_EXPLAIN_LOG_WITH_AI_CREATEExplain a log entry using AI. POST /api/environments/:id/logs/explainLogWithAI/Connection1 scope
Explain a log entry using AI. POST /api/environments/:id/logs/explainLogWithAI/
Authentication
Connected account requiredScopes
logs:writeTags
Logs Export CreatePOSTHOG_LOGS_EXPORT_CREATELogs Export CreateConnection1 scope
Logs Export Create
Authentication
Connected account requiredScopes
logs:readTags
Logs Facet Values CreatePOSTHOG_LOGS_FACET_VALUES_CREATELogs Facet Values CreateConnection1 scope
Logs Facet Values Create
Authentication
Connected account requiredScopes
logs:readTags
Logs Group By CreatePOSTHOG_LOGS_GROUP_BY_CREATELogs Group By CreateConnection1 scope
Logs Group By Create
Authentication
Connected account requiredScopes
logs:readTags
Logs Has Logs RetrievePOSTHOG_LOGS_HAS_LOGS_RETRIEVELogs Has Logs RetrieveConnection1 scope
Logs Has Logs Retrieve
Authentication
Connected account requiredScopes
logs:readTags
Logs Patterns CreatePOSTHOG_LOGS_PATTERNS_CREATELogs Patterns CreateConnection1 scope
Logs Patterns Create
Authentication
Connected account requiredScopes
logs:readTags
Logs Query CreatePOSTHOG_LOGS_QUERY_CREATELogs Query CreateConnection1 scope
Logs Query Create
Authentication
Connected account requiredScopes
logs:readTags
Logs Sampling Rules CreatePOSTHOG_LOGS_SAMPLING_RULES_CREATELogs Sampling Rules CreateConnection1 scope
Logs Sampling Rules Create
Authentication
Connected account requiredScopes
logs:writeTags
Logs Sampling Rules DestroyPOSTHOG_LOGS_SAMPLING_RULES_DESTROYLogs Sampling Rules DestroyConnection1 scope
Logs Sampling Rules Destroy
Authentication
Connected account requiredScopes
logs:writeTags
Logs Sampling Rules ListPOSTHOG_LOGS_SAMPLING_RULES_LISTLogs Sampling Rules ListConnection1 scope
Logs Sampling Rules List
Authentication
Connected account requiredScopes
logs:readTags
Logs Sampling Rules Partial UpdatePOSTHOG_LOGS_SAMPLING_RULES_PARTIAL_UPDATELogs Sampling Rules Partial UpdateConnection1 scope
Logs Sampling Rules Partial Update
Authentication
Connected account requiredScopes
logs:writeTags
Logs Sampling Rules Reorder CreatePOSTHOG_LOGS_SAMPLING_RULES_REORDER_CREATEAtomically reassign priorities so the given ID order maps to ascending priorities (0..n-1).Connection
Atomically reassign priorities so the given ID order maps to ascending priorities (0..n-1).
Authentication
Connected account requiredTags
Logs Sampling Rules RetrievePOSTHOG_LOGS_SAMPLING_RULES_RETRIEVELogs Sampling Rules RetrieveConnection1 scope
Logs Sampling Rules Retrieve
Authentication
Connected account requiredScopes
logs:readTags
Logs Sampling Rules Simulate CreatePOSTHOG_LOGS_SAMPLING_RULES_SIMULATE_CREATEDry-run estimate for how much volume this rule would remove (placeholder response until CH-backed simulation is wired).Connection
Dry-run estimate for how much volume this rule would remove (placeholder response until CH-backed simulation is wired).
Authentication
Connected account requiredTags
Logs Sampling Rules UpdatePOSTHOG_LOGS_SAMPLING_RULES_UPDATELogs Sampling Rules UpdateConnection1 scope
Logs Sampling Rules Update
Authentication
Connected account requiredScopes
logs:writeTags
Logs Services CreatePOSTHOG_LOGS_SERVICES_CREATELogs Services CreateConnection1 scope
Logs Services Create
Authentication
Connected account requiredScopes
logs:readTags
Logs Sparkline CreatePOSTHOG_LOGS_SPARKLINE_CREATELogs Sparkline CreateConnection1 scope
Logs Sparkline Create
Authentication
Connected account requiredScopes
logs:readTags
Logs Values RetrievePOSTHOG_LOGS_VALUES_RETRIEVELogs Values RetrieveConnection1 scope
Logs Values Retrieve
Authentication
Connected account requiredScopes
logs:readTags
Logs Views CreatePOSTHOG_LOGS_VIEWS_CREATELogs Views CreateConnection1 scope
Logs Views Create
Authentication
Connected account requiredScopes
logs:writeTags
Logs Views DestroyPOSTHOG_LOGS_VIEWS_DESTROYLogs Views DestroyConnection1 scope
Logs Views Destroy
Authentication
Connected account requiredScopes
logs:writeTags
Logs Views ListPOSTHOG_LOGS_VIEWS_LISTLogs Views ListConnection1 scope
Logs Views List
Authentication
Connected account requiredScopes
logs:readTags
Logs Views Partial UpdatePOSTHOG_LOGS_VIEWS_PARTIAL_UPDATELogs Views Partial UpdateConnection1 scope
Logs Views Partial Update
Authentication
Connected account requiredScopes
logs:writeTags
Logs Views RetrievePOSTHOG_LOGS_VIEWS_RETRIEVELogs Views RetrieveConnection1 scope
Logs Views Retrieve
Authentication
Connected account requiredScopes
logs:readTags
Logs Views UpdatePOSTHOG_LOGS_VIEWS_UPDATELogs Views UpdateConnection1 scope
Logs Views Update
Authentication
Connected account requiredScopes
logs:writeTags
Managed Viewsets RetrievePOSTHOG_MANAGED_VIEWSETS_RETRIEVEGet all views associated with a specific managed viewset. GET /api/environments/{team_id}/managed_viewsets/{kind}/Connection1 scope
Get all views associated with a specific managed viewset. GET /api/environments/{team_id}/managed_viewsets/{kind}/
Authentication
Connected account requiredScopes
warehouse_view:readTags
Managed Viewsets UpdatePOSTHOG_MANAGED_VIEWSETS_UPDATEEnable or disable a managed viewset by kind. PUT /api/environments/{team_id}/managed_viewsets/{kind}/ with body {"enabled": true/false}Connection1 scope
Enable or disable a managed viewset by kind. PUT /api/environments/{team_id}/managed_viewsets/{kind}/ with body {"enabled": true/false}
Authentication
Connected account requiredScopes
warehouse_view:writeTags
List conversion goalsPOSTHOG_MARKETING_ANALYTICS_CONVERSION_GOALS_RETRIEVERead the configured conversion goals for the current project — each with its kind, target, last-30d count, integrated vs non-integrated split, and a misconfiguration flag. Read-only.Connection1 scope
Read the configured conversion goals for the current project — each with its kind, target, last-30d count, integrated vs non-integrated split, and a misconfiguration flag. Read-only.
Authentication
Connected account requiredScopes
marketing_analytics:readTags
List marketing data sourcesPOSTHOG_MARKETING_ANALYTICS_DATA_SOURCES_RETRIEVECheck the platform → data-warehouse side of every native marketing integration: connection state, sync recency, row counts, required-table status, and schema-mapping coverage. Read-only.Connection1 scope
Check the platform → data-warehouse side of every native marketing integration: connection state, sync recency, row counts, required-table status, and schema-mapping coverage. Read-only.
Authentication
Connected account requiredScopes
marketing_analytics:readTags
Diagnose marketing analyticsPOSTHOG_MARKETING_ANALYTICS_DIAGNOSE_RETRIEVEAggregate data-source sync health, UTM attribution health, and conversion-goal config into a single per-integration diagnostic with recommended actions. Read-only.Connection1 scope
Aggregate data-source sync health, UTM attribution health, and conversion-goal config into a single per-integration diagnostic with recommended actions. Read-only.
Authentication
Connected account requiredScopes
marketing_analytics:readTags
Explain a conversion goalPOSTHOG_MARKETING_ANALYTICS_EXPLAIN_CONVERSION_GOAL_RETRIEVEBreak down a single conversion goal's events over a period by event name, utm_source, and matched integration, with a small sample of events. Read-only.Connection1 scope
Break down a single conversion goal's events over a period by event name, utm_source, and matched integration, with a small sample of events. Read-only.
Authentication
Connected account requiredScopes
marketing_analytics:readTags
Suggest conversion goalsPOSTHOG_MARKETING_ANALYTICS_SUGGEST_CONVERSION_GOALS_RETRIEVERank existing custom events as conversion-goal candidates by volume, UTM-tag coverage, and unique users, excluding system/autocaptured events. Read-only.Connection1 scope
Rank existing custom events as conversion-goal candidates by volume, UTM-tag coverage, and unique users, excluding system/autocaptured events. Read-only.
Authentication
Connected account requiredScopes
marketing_analytics:readTags
Suggest UTM source mappingsPOSTHOG_MARKETING_ANALYTICS_SUGGEST_UTM_MAPPINGS_RETRIEVEDetect unmatched utm_source values from recent events and propose custom_source_mappings entries, alongside the full utm_source catalogue and current mappings. Read-only.Connection1 scope
Detect unmatched utm_source values from recent events and propose custom_source_mappings entries, alongside the full utm_source catalogue and current mappings. Read-only.
Authentication
Connected account requiredScopes
marketing_analytics:readTags
Marketing Analytics Test Mapping CreatePOSTHOG_MARKETING_ANALYTICS_TEST_MAPPING_CREATEMarketing Analytics Test Mapping CreateConnection
Marketing Analytics Test Mapping Create
Authentication
Connected account requiredTags
Run UTM auditPOSTHOG_MARKETING_ANALYTICS_UTM_AUDIT_RETRIEVECross-reference campaigns with spend from ad platforms against pageview events with UTM parameters to identify tracking issues.Connection1 scope
Cross-reference campaigns with spend from ad platforms against pageview events with UTM parameters to identify tracking issues.
Authentication
Connected account requiredScopes
marketing_analytics:readTags
Max Tools Create And Query Insight CreatePOSTHOG_MAX_TOOLS_CREATE_AND_QUERY_INSIGHT_CREATEMax Tools Create And Query Insight CreateConnection2 scopes
Max Tools Create And Query Insight Create
Authentication
Connected account requiredScopes
insight:readquery:readTags
Mcp Analytics Feedback CreatePOSTHOG_MCP_ANALYTICS_FEEDBACK_CREATECreate a new MCP feedback submission for the current project.Connection1 scope
Create a new MCP feedback submission for the current project.
Authentication
Connected account requiredScopes
mcp_analytics:writeTags
Mcp Analytics Feedback ListPOSTHOG_MCP_ANALYTICS_FEEDBACK_LISTList MCP feedback submissions for the current project, newest first.Connection1 scope
List MCP feedback submissions for the current project, newest first.
Authentication
Connected account requiredScopes
mcp_analytics:readTags
Mcp Analytics Intent Clusters RecomputePOSTHOG_MCP_ANALYTICS_INTENT_CLUSTERS_RECOMPUTETrigger an asynchronous recompute of the intent cluster snapshot. The task runs in the background; poll the GET endpoint for progress (status transitions to 'idle' or 'error').Connection1 scope
Trigger an asynchronous recompute of the intent cluster snapshot. The task runs in the background; poll the GET endpoint for progress (status transitions to 'idle' or 'error').
Authentication
Connected account requiredScopes
mcp_analytics:writeTags
Mcp Analytics Intent Clusters RetrievePOSTHOG_MCP_ANALYTICS_INTENT_CLUSTERS_RETRIEVEReturn the most recent intent cluster snapshot for the current project. Returns an empty IDLE snapshot when no clustering run has happened yet.Connection1 scope
Return the most recent intent cluster snapshot for the current project. Returns an empty IDLE snapshot when no clustering run has happened yet.
Authentication
Connected account requiredScopes
mcp_analytics:readTags
Mcp Analytics Missing Capabilities CreatePOSTHOG_MCP_ANALYTICS_MISSING_CAPABILITIES_CREATECreate a new missing capability report for the current project.Connection1 scope
Create a new missing capability report for the current project.
Authentication
Connected account requiredScopes
mcp_analytics:writeTags
Mcp Analytics Missing Capabilities ListPOSTHOG_MCP_ANALYTICS_MISSING_CAPABILITIES_LISTList missing capability reports for the current project, newest first.Connection1 scope
List missing capability reports for the current project, newest first.
Authentication
Connected account requiredScopes
mcp_analytics:readTags
Mcp Analytics Sessions Activity OverviewPOSTHOG_MCP_ANALYTICS_SESSIONS_ACTIVITY_OVERVIEWAggregate counters, top tools, agent clients, and the most recent tool calls for the last 30 days, computed in one request. Powers the dashboard's activity view; always computed fresh so polling callers watch data arrive.Connection1 scope
Aggregate counters, top tools, agent clients, and the most recent tool calls for the last 30 days, computed in one request. Powers the dashboard's activity view; always computed fresh so polling callers watch data arrive.
Authentication
Connected account requiredScopes
mcp_analytics:readTags
Mcp Analytics Sessions Generate IntentPOSTHOG_MCP_ANALYTICS_SESSIONS_GENERATE_INTENTGenerate (or return the cached) LLM summary of the agent's goal for a session, derived from its recorded $mcp_intents. The first call summarises and persists the result; subsequent calls return the stored summary.Connection1 scope
Generate (or return the cached) LLM summary of the agent's goal for a session, derived from its recorded $mcp_intents. The first call summarises and persists the result; subsequent calls return the stored summary.
Authentication
Connected account requiredScopes
mcp_analytics:writeTags
Mcp Analytics Sessions Intent DigestPOSTHOG_MCP_ANALYTICS_SESSIONS_INTENT_DIGESTGenerate (or return the cached) LLM digest of what agents are trying to do with this MCP server, derived from the most recent recorded $mcp_intents across all sessions. Content-addressed cache: only regenerates when new intents arrive. Powers the dashboard's low-volume activity stage.Connection1 scope
Generate (or return the cached) LLM digest of what agents are trying to do with this MCP server, derived from the most recent recorded $mcp_intents across all sessions. Content-addressed cache: only regenerates when new intents arrive. Powers the dashboard's low-volume activity stage.
Authentication
Connected account requiredScopes
mcp_analytics:writeTags
Mcp Analytics Sessions ListPOSTHOG_MCP_ANALYTICS_SESSIONS_LISTList MCP sessions for the current project, derived by grouping $mcp_tool_call events by $mcp_session_id. Ordered by newest session start first by default.Connection1 scope
List MCP sessions for the current project, derived by grouping $mcp_tool_call events by $mcp_session_id. Ordered by newest session start first by default.
Authentication
Connected account requiredScopes
mcp_analytics:readTags
Mcp Analytics Sessions Tool CallsPOSTHOG_MCP_ANALYTICS_SESSIONS_TOOL_CALLSList a page of the $mcp_tool_call events that belong to a given $session_id, in chronological order.Connection1 scope
List a page of the $mcp_tool_call events that belong to a given $session_id, in chronological order.
Authentication
Connected account requiredScopes
mcp_analytics:readTags
Mcp Server Installations Authorize RetrievePOSTHOG_MCP_SERVER_INSTALLATIONS_AUTHORIZE_RETRIEVEStart (or re-start) an OAuth flow. Pass ``template_id`` to (re)connect a catalog template, or ``installation_id`` to reconnect an existing custom install using its cached metadata and per-user DCR creds.Connection1 scope
Start (or re-start) an OAuth flow. Pass ``template_id`` to (re)connect a catalog template, or ``installation_id`` to reconnect an existing custom install using its cached metadata and per-user DCR creds.
Authentication
Connected account requiredScopes
project:readTags
Mcp Server Installations CreatePOSTHOG_MCP_SERVER_INSTALLATIONS_CREATEMcp Server Installations CreateConnection1 scope
Mcp Server Installations Create
Authentication
Connected account requiredScopes
project:writeTags
Mcp Server Installations DestroyPOSTHOG_MCP_SERVER_INSTALLATIONS_DESTROYMcp Server Installations DestroyConnection1 scope
Mcp Server Installations Destroy
Authentication
Connected account requiredScopes
project:readTags
Mcp Server Installations Install Custom CreatePOSTHOG_MCP_SERVER_INSTALLATIONS_INSTALL_CUSTOM_CREATEMcp Server Installations Install Custom CreateConnection1 scope
Mcp Server Installations Install Custom Create
Authentication
Connected account requiredScopes
project:readTags
Mcp Server Installations Install Template CreatePOSTHOG_MCP_SERVER_INSTALLATIONS_INSTALL_TEMPLATE_CREATEMcp Server Installations Install Template CreateConnection1 scope
Mcp Server Installations Install Template Create
Authentication
Connected account requiredScopes
project:readTags
Mcp Server Installations ListPOSTHOG_MCP_SERVER_INSTALLATIONS_LISTMcp Server Installations ListConnection1 scope
Mcp Server Installations List
Authentication
Connected account requiredScopes
project:readTags
Mcp Server Installations Partial UpdatePOSTHOG_MCP_SERVER_INSTALLATIONS_PARTIAL_UPDATEMcp Server Installations Partial UpdateConnection1 scope
Mcp Server Installations Partial Update
Authentication
Connected account requiredScopes
project:readTags
Mcp Server Installations Proxy CreatePOSTHOG_MCP_SERVER_INSTALLATIONS_PROXY_CREATEMcp Server Installations Proxy CreateConnection1 scope
Mcp Server Installations Proxy Create
Authentication
Connected account requiredScopes
project:readTags
Mcp Server Installations RetrievePOSTHOG_MCP_SERVER_INSTALLATIONS_RETRIEVEMcp Server Installations RetrieveConnection1 scope
Mcp Server Installations Retrieve
Authentication
Connected account requiredScopes
project:readTags
Mcp Server Installations Tools Partial UpdatePOSTHOG_MCP_SERVER_INSTALLATIONS_TOOLS_PARTIAL_UPDATEMcp Server Installations Tools Partial UpdateConnection1 scope
Mcp Server Installations Tools Partial Update
Authentication
Connected account requiredScopes
project:readTags
Mcp Server Installations Tools Refresh CreatePOSTHOG_MCP_SERVER_INSTALLATIONS_TOOLS_REFRESH_CREATEMcp Server Installations Tools Refresh CreateConnection1 scope
Mcp Server Installations Tools Refresh Create
Authentication
Connected account requiredScopes
project:readTags
Mcp Server Installations Tools RetrievePOSTHOG_MCP_SERVER_INSTALLATIONS_TOOLS_RETRIEVEMcp Server Installations Tools RetrieveConnection1 scope
Mcp Server Installations Tools Retrieve
Authentication
Connected account requiredScopes
project:readTags
Mcp Server Installations UpdatePOSTHOG_MCP_SERVER_INSTALLATIONS_UPDATEMcp Server Installations UpdateConnection1 scope
Mcp Server Installations Update
Authentication
Connected account requiredScopes
project:writeTags
Mcp Servers ListPOSTHOG_MCP_SERVERS_LISTLists curated MCP server templates that users can install with one click. Templates are seeded by PostHog operators and carry shared, encrypted OAuth client credentials. Inactive templates are hidden from the catalog.Connection1 scope
Lists curated MCP server templates that users can install with one click. Templates are seeded by PostHog operators and carry shared, encrypted OAuth client credentials. Inactive templates are hidden from the catalog.
Authentication
Connected account requiredScopes
project:readTags
Mcp Tools CreatePOSTHOG_MCP_TOOLS_CREATEInvoke an MCP tool by name. This endpoint allows MCP callers to invoke Max AI tools directly without going through the full LangChain conversation flow. Scopes are resolved dynamically per tool via dangerously_get_required_scopes.Connection
Invoke an MCP tool by name. This endpoint allows MCP callers to invoke Max AI tools directly without going through the full LangChain conversation flow. Scopes are resolved dynamically per tool via dangerously_get_required_scopes.
Authentication
Connected account requiredTags
Members DestroyPOSTHOG_MEMBERS_DESTROYMembers DestroyConnection1 scope
Members Destroy
Authentication
Connected account requiredScopes
organization_member:writeTags
Members Github Login RetrievePOSTHOG_MEMBERS_GITHUB_LOGIN_RETRIEVEMembers Github Login RetrieveConnection1 scope
Members Github Login Retrieve
Authentication
Connected account requiredScopes
organization_member:readTags
Members ListPOSTHOG_MEMBERS_LISTMembers ListConnection1 scope
Members List
Authentication
Connected account requiredScopes
organization_member:readTags
Members Partial UpdatePOSTHOG_MEMBERS_PARTIAL_UPDATEMembers Partial UpdateConnection1 scope
Members Partial Update
Authentication
Connected account requiredScopes
organization_member:writeTags
Members Scoped Api Keys RetrievePOSTHOG_MEMBERS_SCOPED_API_KEYS_RETRIEVEMembers Scoped Api Keys RetrieveConnection
Members Scoped Api Keys Retrieve
Authentication
Connected account requiredTags
Members UpdatePOSTHOG_MEMBERS_UPDATEMembers UpdateConnection1 scope
Members Update
Authentication
Connected account requiredScopes
organization_member:writeTags
Messaging Templates CreatePOSTHOG_MESSAGING_TEMPLATES_CREATEMessaging Templates CreateConnection1 scope
Messaging Templates Create
Authentication
Connected account requiredScopes
hog_flow:writeTags
Messaging Templates Design Partial UpdatePOSTHOG_MESSAGING_TEMPLATES_DESIGN_PARTIAL_UPDATEMessaging Templates Design Partial UpdateConnection1 scope
Messaging Templates Design Partial Update
Authentication
Connected account requiredScopes
hog_flow:writeTags
Messaging Templates DestroyPOSTHOG_MESSAGING_TEMPLATES_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
hog_flow:writeTags
Messaging Templates ListPOSTHOG_MESSAGING_TEMPLATES_LISTMessaging Templates ListConnection1 scope
Messaging Templates List
Authentication
Connected account requiredScopes
hog_flow:readTags
Messaging Templates Partial UpdatePOSTHOG_MESSAGING_TEMPLATES_PARTIAL_UPDATEMessaging Templates Partial UpdateConnection1 scope
Messaging Templates Partial Update
Authentication
Connected account requiredScopes
hog_flow:writeTags
Messaging Templates RetrievePOSTHOG_MESSAGING_TEMPLATES_RETRIEVEMessaging Templates RetrieveConnection1 scope
Messaging Templates Retrieve
Authentication
Connected account requiredScopes
hog_flow:readTags
Messaging Templates UpdatePOSTHOG_MESSAGING_TEMPLATES_UPDATEMessaging Templates UpdateConnection1 scope
Messaging Templates Update
Authentication
Connected account requiredScopes
hog_flow:writeTags
Metrics Characterize CreatePOSTHOG_METRICS_CHARACTERIZE_CREATECharacterize a metric anomaly: compare an anomaly window against a baseline, find the onset, and rank which label values moved.Connection1 scope
Characterize a metric anomaly: compare an anomaly window against a baseline, find the onset, and rank which label values moved.
Authentication
Connected account requiredScopes
metrics:readTags
Metrics Has Metrics RetrievePOSTHOG_METRICS_HAS_METRICS_RETRIEVEMetrics Has Metrics RetrieveConnection1 scope
Metrics Has Metrics Retrieve
Authentication
Connected account requiredScopes
metrics:readTags
Metrics Query CreatePOSTHOG_METRICS_QUERY_CREATEMetrics Query CreateConnection1 scope
Metrics Query Create
Authentication
Connected account requiredScopes
metrics:readTags
Metrics Samples CreatePOSTHOG_METRICS_SAMPLES_CREATERaw individual emissions for a metric (the events model), newest first — backs the Samples view and the metric->trace pivot.Connection1 scope
Raw individual emissions for a metric (the events model), newest first — backs the Samples view and the metric->trace pivot.
Authentication
Connected account requiredScopes
metrics:readTags
Metrics Values RetrievePOSTHOG_METRICS_VALUES_RETRIEVEDistinct metric names for the team. Backs the picker UI.Connection1 scope
Distinct metric names for the team. Backs the picker UI.
Authentication
Connected account requiredScopes
metrics:readTags
Notebooks Activity RetrievePOSTHOG_NOTEBOOKS_ACTIVITY_RETRIEVEThe API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.Connection1 scope
The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.
Authentication
Connected account requiredScopes
activity_log:readTags
Notebooks All Activity RetrievePOSTHOG_NOTEBOOKS_ALL_ACTIVITY_RETRIEVEThe API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.Connection
The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.
Authentication
Connected account requiredTags
Notebooks Collab Markdown Save CreatePOSTHOG_NOTEBOOKS_COLLAB_MARKDOWN_SAVE_CREATEThe API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.Connection1 scope
The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.
Authentication
Connected account requiredScopes
notebook:writeTags
Notebooks Collab Presence CreatePOSTHOG_NOTEBOOKS_COLLAB_PRESENCE_CREATEThe API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.Connection1 scope
The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.
Authentication
Connected account requiredScopes
notebook:writeTags
Notebooks Collab Save CreatePOSTHOG_NOTEBOOKS_COLLAB_SAVE_CREATEThe API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.Connection1 scope
The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.
Authentication
Connected account requiredScopes
notebook:writeTags
Notebooks Collab Stream RetrievePOSTHOG_NOTEBOOKS_COLLAB_STREAM_RETRIEVEThe API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.Connection1 scope
The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.
Authentication
Connected account requiredScopes
notebook:readTags
Notebooks CreatePOSTHOG_NOTEBOOKS_CREATEThe API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.Connection1 scope
The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.
Authentication
Connected account requiredScopes
notebook:writeTags
Notebooks DestroyPOSTHOG_NOTEBOOKS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
notebook:writeTags
Notebooks Hogql Execute CreatePOSTHOG_NOTEBOOKS_HOGQL_EXECUTE_CREATEThe API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.Connection
The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.
Authentication
Connected account requiredTags
Notebooks Kernel Config CreatePOSTHOG_NOTEBOOKS_KERNEL_CONFIG_CREATEThe API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.Connection
The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.
Authentication
Connected account requiredTags
Notebooks Kernel Dataframe RetrievePOSTHOG_NOTEBOOKS_KERNEL_DATAFRAME_RETRIEVEThe API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.Connection
The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.
Authentication
Connected account requiredTags
Notebooks Kernel Execute CreatePOSTHOG_NOTEBOOKS_KERNEL_EXECUTE_CREATEThe API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.Connection
The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.
Authentication
Connected account requiredTags
Notebooks Kernel Execute Stream CreatePOSTHOG_NOTEBOOKS_KERNEL_EXECUTE_STREAM_CREATEThe API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.Connection
The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.
Authentication
Connected account requiredTags
Notebooks Kernel Restart CreatePOSTHOG_NOTEBOOKS_KERNEL_RESTART_CREATEThe API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.Connection
The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.
Authentication
Connected account requiredTags
Notebooks Kernel Start CreatePOSTHOG_NOTEBOOKS_KERNEL_START_CREATEThe API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.Connection
The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.
Authentication
Connected account requiredTags
Notebooks Kernel Status RetrievePOSTHOG_NOTEBOOKS_KERNEL_STATUS_RETRIEVEThe API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.Connection
The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.
Authentication
Connected account requiredTags
Notebooks Kernel Stop CreatePOSTHOG_NOTEBOOKS_KERNEL_STOP_CREATEThe API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.Connection
The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.
Authentication
Connected account requiredTags
Notebooks ListPOSTHOG_NOTEBOOKS_LISTThe API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.Connection1 scope
The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.
Authentication
Connected account requiredScopes
notebook:readTags
Notebooks Partial UpdatePOSTHOG_NOTEBOOKS_PARTIAL_UPDATEThe API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.Connection1 scope
The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.
Authentication
Connected account requiredScopes
notebook:writeTags
Notebooks Recording Comments RetrievePOSTHOG_NOTEBOOKS_RECORDING_COMMENTS_RETRIEVEThe API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.Connection
The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.
Authentication
Connected account requiredTags
Notebooks RetrievePOSTHOG_NOTEBOOKS_RETRIEVEThe API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.Connection1 scope
The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.
Authentication
Connected account requiredScopes
notebook:readTags
Notebooks Sharing ListPOSTHOG_NOTEBOOKS_SHARING_LISTNotebooks Sharing ListConnection1 scope
Notebooks Sharing List
Authentication
Connected account requiredScopes
sharing_configuration:readTags
Notebooks Sharing Passwords CreatePOSTHOG_NOTEBOOKS_SHARING_PASSWORDS_CREATECreate a new password for the sharing configuration.Connection1 scope
Create a new password for the sharing configuration.
Authentication
Connected account requiredScopes
sharing_configuration:writeTags
Notebooks Sharing Passwords DestroyPOSTHOG_NOTEBOOKS_SHARING_PASSWORDS_DESTROYDelete a password from the sharing configuration.Connection1 scope
Delete a password from the sharing configuration.
Authentication
Connected account requiredScopes
sharing_configuration:writeTags
Notebooks Sharing Refresh CreatePOSTHOG_NOTEBOOKS_SHARING_REFRESH_CREATENotebooks Sharing Refresh CreateConnection1 scope
Notebooks Sharing Refresh Create
Authentication
Connected account requiredScopes
sharing_configuration:writeTags
Notebooks UpdatePOSTHOG_NOTEBOOKS_UPDATEThe API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.Connection1 scope
The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.
Authentication
Connected account requiredScopes
notebook:writeTags
Oauth Applications ListPOSTHOG_OAUTH_APPLICATIONS_LISTViewSet for listing OAuth applications at the organization level (read-only).Connection1 scope
ViewSet for listing OAuth applications at the organization level (read-only).
Authentication
Connected account requiredScopes
organization:readTags
Object Media Previews CreatePOSTHOG_OBJECT_MEDIA_PREVIEWS_CREATEObject Media Previews CreateConnection1 scope
Object Media Previews Create
Authentication
Connected account requiredScopes
event_definition:writeTags
Object Media Previews DestroyPOSTHOG_OBJECT_MEDIA_PREVIEWS_DESTROYObject Media Previews DestroyConnection1 scope
Object Media Previews Destroy
Authentication
Connected account requiredScopes
event_definition:writeTags
Object Media Previews ListPOSTHOG_OBJECT_MEDIA_PREVIEWS_LISTObject Media Previews ListConnection1 scope
Object Media Previews List
Authentication
Connected account requiredScopes
event_definition:readTags
Object Media Previews Partial UpdatePOSTHOG_OBJECT_MEDIA_PREVIEWS_PARTIAL_UPDATEObject Media Previews Partial UpdateConnection1 scope
Object Media Previews Partial Update
Authentication
Connected account requiredScopes
event_definition:writeTags
Object Media Previews Preferred For Event RetrievePOSTHOG_OBJECT_MEDIA_PREVIEWS_PREFERRED_FOR_EVENT_RETRIEVEGet the preferred media preview for an event definition. Most recent user-uploaded, then most recent exported asset. Requires event_definition (query param).Connection
Get the preferred media preview for an event definition. Most recent user-uploaded, then most recent exported asset. Requires event_definition (query param).
Authentication
Connected account requiredTags
Object Media Previews RetrievePOSTHOG_OBJECT_MEDIA_PREVIEWS_RETRIEVEObject Media Previews RetrieveConnection1 scope
Object Media Previews Retrieve
Authentication
Connected account requiredScopes
event_definition:readTags
Object Media Previews UpdatePOSTHOG_OBJECT_MEDIA_PREVIEWS_UPDATEObject Media Previews UpdateConnection1 scope
Object Media Previews Update
Authentication
Connected account requiredScopes
event_definition:writeTags
Org Organization Integrations DestroyPOSTHOG_ORG_ORGANIZATION_INTEGRATIONS_DESTROYViewSet for organization-level integrations. Provides access to integrations that are scoped to the entire organization (vs. project-level integrations). Examples include Vercel, AWS Marketplace, etc. Creation is handled by the integration installation flows (e.g., Vercel marketplace installation). Users can disconnect integrations via the DELETE endpoint.Connection1 scope
ViewSet for organization-level integrations. Provides access to integrations that are scoped to the entire organization (vs. project-level integrations). Examples include Vercel, AWS Marketplace, etc. Creation is handled by the integration installation flows (e.g., Vercel marketplace installation). Users can disconnect integrations via the DELETE endpoint.
Authentication
Connected account requiredScopes
organization_integration:writeTags
Org Organizations Advanced Activity Logs Available Filters RetrievePOSTHOG_ORG_ORGANIZATIONS_ADVANCED_ACTIVITY_LOGS_AVAILABLE_FILTERS_RETRIEVEOrganization-wide view of activity logs across every project in the organization. Mounted at /api/organizations/<organization_id>/advanced_activity_logs/. Restricted to organization admins and owners.Connection1 scope
Organization-wide view of activity logs across every project in the organization. Mounted at /api/organizations/<organization_id>/advanced_activity_logs/. Restricted to organization admins and owners.
Authentication
Connected account requiredScopes
activity_log:readTags
Org Organizations Advanced Activity Logs Export CreatePOSTHOG_ORG_ORGANIZATIONS_ADVANCED_ACTIVITY_LOGS_EXPORT_CREATEOrganization-wide view of activity logs across every project in the organization. Mounted at /api/organizations/<organization_id>/advanced_activity_logs/. Restricted to organization admins and owners.Connection
Organization-wide view of activity logs across every project in the organization. Mounted at /api/organizations/<organization_id>/advanced_activity_logs/. Restricted to organization admins and owners.
Authentication
Connected account requiredTags
Org Organizations Advanced Activity Logs ListPOSTHOG_ORG_ORGANIZATIONS_ADVANCED_ACTIVITY_LOGS_LISTOrganization-wide view of activity logs across every project in the organization. Mounted at /api/organizations/<organization_id>/advanced_activity_logs/. Restricted to organization admins and owners.Connection1 scope
Organization-wide view of activity logs across every project in the organization. Mounted at /api/organizations/<organization_id>/advanced_activity_logs/. Restricted to organization admins and owners.
Authentication
Connected account requiredScopes
activity_log:readTags
Org Organizations Batch Exports CreatePOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_CREATEOrg Organizations Batch Exports CreateConnection1 scope
Org Organizations Batch Exports Create
Authentication
Connected account requiredScopes
batch_export:writeTags
Org Organizations Batch Exports DestroyPOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_DESTROYOrg Organizations Batch Exports DestroyConnection1 scope
Org Organizations Batch Exports Destroy
Authentication
Connected account requiredScopes
batch_export:writeTags
Org Organizations Batch Exports ListPOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_LISTOrg Organizations Batch Exports ListConnection1 scope
Org Organizations Batch Exports List
Authentication
Connected account requiredScopes
batch_export:readTags
Org Organizations Batch Exports Logs RetrievePOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_LOGS_RETRIEVEOrg Organizations Batch Exports Logs RetrieveConnection
Org Organizations Batch Exports Logs Retrieve
Authentication
Connected account requiredTags
Org Organizations Batch Exports Partial UpdatePOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_PARTIAL_UPDATEOrg Organizations Batch Exports Partial UpdateConnection1 scope
Org Organizations Batch Exports Partial Update
Authentication
Connected account requiredScopes
batch_export:writeTags
Org Organizations Batch Exports Pause CreatePOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_PAUSE_CREATEPause a BatchExport.Connection1 scope
Pause a BatchExport.
Authentication
Connected account requiredScopes
batch_export:writeTags
Org Organizations Batch Exports RetrievePOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_RETRIEVEOrg Organizations Batch Exports RetrieveConnection1 scope
Org Organizations Batch Exports Retrieve
Authentication
Connected account requiredScopes
batch_export:readTags
Org Organizations Batch Exports Run Test Step CreatePOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_RUN_TEST_STEP_CREATEOrg Organizations Batch Exports Run Test Step CreateConnection1 scope
Org Organizations Batch Exports Run Test Step Create
Authentication
Connected account requiredScopes
batch_export:writeTags
Org Organizations Batch Exports Run Test Step New CreatePOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_RUN_TEST_STEP_NEW_CREATEOrg Organizations Batch Exports Run Test Step New CreateConnection1 scope
Org Organizations Batch Exports Run Test Step New Create
Authentication
Connected account requiredScopes
batch_export:writeTags
Org Organizations Batch Exports Test RetrievePOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_TEST_RETRIEVEOrg Organizations Batch Exports Test RetrieveConnection1 scope
Org Organizations Batch Exports Test Retrieve
Authentication
Connected account requiredScopes
batch_export:readTags
Org Organizations Batch Exports Unpause CreatePOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_UNPAUSE_CREATEUnpause a BatchExport.Connection1 scope
Unpause a BatchExport.
Authentication
Connected account requiredScopes
batch_export:writeTags
Org Organizations Batch Exports UpdatePOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_UPDATEOrg Organizations Batch Exports UpdateConnection1 scope
Org Organizations Batch Exports Update
Authentication
Connected account requiredScopes
batch_export:writeTags
Org Organizations Integrations ListPOSTHOG_ORG_ORGANIZATIONS_INTEGRATIONS_LISTViewSet for organization-level integrations. Provides access to integrations that are scoped to the entire organization (vs. project-level integrations). Examples include Vercel, AWS Marketplace, etc. Creation is handled by the integration installation flows (e.g., Vercel marketplace installation). Users can disconnect integrations via the DELETE endpoint.Connection1 scope
ViewSet for organization-level integrations. Provides access to integrations that are scoped to the entire organization (vs. project-level integrations). Examples include Vercel, AWS Marketplace, etc. Creation is handled by the integration installation flows (e.g., Vercel marketplace installation). Users can disconnect integrations via the DELETE endpoint.
Authentication
Connected account requiredScopes
organization_integration:readTags
Org Organizations Integrations RetrievePOSTHOG_ORG_ORGANIZATIONS_INTEGRATIONS_RETRIEVEViewSet for organization-level integrations. Provides access to integrations that are scoped to the entire organization (vs. project-level integrations). Examples include Vercel, AWS Marketplace, etc. Creation is handled by the integration installation flows (e.g., Vercel marketplace installation). Users can disconnect integrations via the DELETE endpoint.Connection1 scope
ViewSet for organization-level integrations. Provides access to integrations that are scoped to the entire organization (vs. project-level integrations). Examples include Vercel, AWS Marketplace, etc. Creation is handled by the integration installation flows (e.g., Vercel marketplace installation). Users can disconnect integrations via the DELETE endpoint.
Authentication
Connected account requiredScopes
organization_integration:readTags
Organizations Projects Activity RetrievePOSTHOG_ORGANIZATIONS_PROJECTS_ACTIVITY_RETRIEVEProjects for the current organization.Connection
Projects for the current organization.
Authentication
Connected account requiredTags
Organizations Projects Add Product Intent Partial UpdatePOSTHOG_ORGANIZATIONS_PROJECTS_ADD_PRODUCT_INTENT_PARTIAL_UPDATEProjects for the current organization.Connection1 scope
Projects for the current organization.
Authentication
Connected account requiredScopes
project:readTags
Organizations Projects Change Organization CreatePOSTHOG_ORGANIZATIONS_PROJECTS_CHANGE_ORGANIZATION_CREATEProjects for the current organization.Connection
Projects for the current organization.
Authentication
Connected account requiredTags
Organizations Projects Complete Product Onboarding Partial UpdatePOSTHOG_ORGANIZATIONS_PROJECTS_COMPLETE_PRODUCT_ONBOARDING_PARTIAL_UPDATEProjects for the current organization.Connection1 scope
Projects for the current organization.
Authentication
Connected account requiredScopes
project:readTags
Organizations Projects CreatePOSTHOG_ORGANIZATIONS_PROJECTS_CREATEProjects for the current organization.Connection1 scope
Projects for the current organization.
Authentication
Connected account requiredScopes
project:writeTags
Organizations Projects Default Evaluation Contexts CreatePOSTHOG_ORGANIZATIONS_PROJECTS_DEFAULT_EVALUATION_CONTEXTS_CREATEManage default evaluation contexts for a project.Connection
Manage default evaluation contexts for a project.
Authentication
Connected account requiredTags
Organizations Projects Default Evaluation Contexts DestroyPOSTHOG_ORGANIZATIONS_PROJECTS_DEFAULT_EVALUATION_CONTEXTS_DESTROYManage default evaluation contexts for a project.Connection
Manage default evaluation contexts for a project.
Authentication
Connected account requiredTags
Organizations Projects Default Evaluation Contexts RetrievePOSTHOG_ORGANIZATIONS_PROJECTS_DEFAULT_EVALUATION_CONTEXTS_RETRIEVEManage default evaluation contexts for a project.Connection
Manage default evaluation contexts for a project.
Authentication
Connected account requiredTags
Organizations Projects Default Release Conditions RetrievePOSTHOG_ORGANIZATIONS_PROJECTS_DEFAULT_RELEASE_CONDITIONS_RETRIEVEManage default release conditions for new feature flags in this project.Connection
Manage default release conditions for new feature flags in this project.
Authentication
Connected account requiredTags
Organizations Projects Default Release Conditions UpdatePOSTHOG_ORGANIZATIONS_PROJECTS_DEFAULT_RELEASE_CONDITIONS_UPDATEManage default release conditions for new feature flags in this project.Connection
Manage default release conditions for new feature flags in this project.
Authentication
Connected account requiredTags
Organizations Projects Delete Secret Token Backup Partial UpdatePOSTHOG_ORGANIZATIONS_PROJECTS_DELETE_SECRET_TOKEN_BACKUP_PARTIAL_UPDATEProjects for the current organization.Connection
Projects for the current organization.
Authentication
Connected account requiredTags
Organizations Projects DestroyPOSTHOG_ORGANIZATIONS_PROJECTS_DESTROYProjects for the current organization.Connection1 scope
Projects for the current organization.
Authentication
Connected account requiredScopes
project:writeTags
Organizations Projects Evaluation Context Suggestions CreatePOSTHOG_ORGANIZATIONS_PROJECTS_EVALUATION_CONTEXT_SUGGESTIONS_CREATEHide an evaluation context name from the flag editor's suggestion list, or restore it. POST hides the name; DELETE restores it. The underlying context row and any flags already using it are never modified — this only controls what gets suggested.Connection
Hide an evaluation context name from the flag editor's suggestion list, or restore it. POST hides the name; DELETE restores it. The underlying context row and any flags already using it are never modified — this only controls what gets suggested.
Authentication
Connected account requiredTags
Organizations Projects Evaluation Context Suggestions DestroyPOSTHOG_ORGANIZATIONS_PROJECTS_EVALUATION_CONTEXT_SUGGESTIONS_DESTROYHide an evaluation context name from the flag editor's suggestion list, or restore it. POST hides the name; DELETE restores it. The underlying context row and any flags already using it are never modified — this only controls what gets suggested.Connection
Hide an evaluation context name from the flag editor's suggestion list, or restore it. POST hides the name; DELETE restores it. The underlying context row and any flags already using it are never modified — this only controls what gets suggested.
Authentication
Connected account requiredTags
Organizations Projects Event Ingestion Restrictions RetrievePOSTHOG_ORGANIZATIONS_PROJECTS_EVENT_INGESTION_RESTRICTIONS_RETRIEVEProjects for the current organization.Connection1 scope
Projects for the current organization.
Authentication
Connected account requiredScopes
project:readTags
Organizations Projects Experiments Config Partial UpdatePOSTHOG_ORGANIZATIONS_PROJECTS_EXPERIMENTS_CONFIG_PARTIAL_UPDATEManage experiment configuration for this project.Connection
Manage experiment configuration for this project.
Authentication
Connected account requiredTags
Organizations Projects Experiments Config RetrievePOSTHOG_ORGANIZATIONS_PROJECTS_EXPERIMENTS_CONFIG_RETRIEVEManage experiment configuration for this project.Connection
Manage experiment configuration for this project.
Authentication
Connected account requiredTags
Organizations Projects Generate Conversations Public Token CreatePOSTHOG_ORGANIZATIONS_PROJECTS_GENERATE_CONVERSATIONS_PUBLIC_TOKEN_CREATEProjects for the current organization.Connection
Projects for the current organization.
Authentication
Connected account requiredTags
Organizations Projects Is Generating Demo Data RetrievePOSTHOG_ORGANIZATIONS_PROJECTS_IS_GENERATING_DEMO_DATA_RETRIEVEProjects for the current organization.Connection
Projects for the current organization.
Authentication
Connected account requiredTags
Organizations Projects ListPOSTHOG_ORGANIZATIONS_PROJECTS_LISTProjects for the current organization.Connection1 scope
Projects for the current organization.
Authentication
Connected account requiredScopes
project:readTags
Organizations Projects Logs Config Partial UpdatePOSTHOG_ORGANIZATIONS_PROJECTS_LOGS_CONFIG_PARTIAL_UPDATEManage logs product configuration for this project's canonical environment. Mirrors the env-router action so /api/projects/:id/logs_config/ resolves alongside the legacy /api/environments/:id/logs_config/ alias.Connection
Manage logs product configuration for this project's canonical environment. Mirrors the env-router action so /api/projects/:id/logs_config/ resolves alongside the legacy /api/environments/:id/logs_config/ alias.
Authentication
Connected account requiredTags
Organizations Projects Logs Config RetrievePOSTHOG_ORGANIZATIONS_PROJECTS_LOGS_CONFIG_RETRIEVEManage logs product configuration for this project's canonical environment. Mirrors the env-router action so /api/projects/:id/logs_config/ resolves alongside the legacy /api/environments/:id/logs_config/ alias.Connection
Manage logs product configuration for this project's canonical environment. Mirrors the env-router action so /api/projects/:id/logs_config/ resolves alongside the legacy /api/environments/:id/logs_config/ alias.
Authentication
Connected account requiredTags
Organizations Projects Partial UpdatePOSTHOG_ORGANIZATIONS_PROJECTS_PARTIAL_UPDATEUpdate one or more of a project's settings. Only the fields included in the request body are changed.Connection1 scope
Update one or more of a project's settings. Only the fields included in the request body are changed.
Authentication
Connected account requiredScopes
project:writeTags
Organizations Projects Reset Token Partial UpdatePOSTHOG_ORGANIZATIONS_PROJECTS_RESET_TOKEN_PARTIAL_UPDATEProjects for the current organization.Connection
Projects for the current organization.
Authentication
Connected account requiredTags
Organizations Projects RetrievePOSTHOG_ORGANIZATIONS_PROJECTS_RETRIEVERetrieve a project and its settings.Connection1 scope
Retrieve a project and its settings.
Authentication
Connected account requiredScopes
project:readTags
Organizations Projects Rotate Secret Token Partial UpdatePOSTHOG_ORGANIZATIONS_PROJECTS_ROTATE_SECRET_TOKEN_PARTIAL_UPDATEProjects for the current organization.Connection
Projects for the current organization.
Authentication
Connected account requiredTags
Organizations Projects Settings As Of RetrievePOSTHOG_ORGANIZATIONS_PROJECTS_SETTINGS_AS_OF_RETRIEVEReturn the project settings as of the provided timestamp. Query params: - at: ISO8601 datetime (required) - scope: optional, one or multiple keys to filter the returned settingsConnection
Return the project settings as of the provided timestamp. Query params: - at: ISO8601 datetime (required) - scope: optional, one or multiple keys to filter the returned settings
Authentication
Connected account requiredTags
Organizations Projects UpdatePOSTHOG_ORGANIZATIONS_PROJECTS_UPDATEReplace a project and its settings. Prefer the PATCH endpoint for partial updates — PUT requires every writable field to be provided.Connection1 scope
Replace a project and its settings. Prefer the PATCH endpoint for partial updates — PUT requires every writable field to be provided.
Authentication
Connected account requiredScopes
project:writeTags
Partial UpdatePOSTHOG_PARTIAL_UPDATEPartial UpdateConnection1 scope
Partial Update
Authentication
Connected account requiredScopes
organization:writeTags
Persons Activity RetrievePOSTHOG_PERSONS_ACTIVITY_RETRIEVEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection1 scope
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredScopes
activity_log:readTags
Persons All Activity RetrievePOSTHOG_PERSONS_ALL_ACTIVITY_RETRIEVEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection1 scope
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredScopes
activity_log:readTags
Persons Batch By Distinct Ids CreatePOSTHOG_PERSONS_BATCH_BY_DISTINCT_IDS_CREATEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection1 scope
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredScopes
person:readTags
Persons Batch By Uuids CreatePOSTHOG_PERSONS_BATCH_BY_UUIDS_CREATEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection1 scope
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredScopes
person:readTags
Persons Bulk Delete CreatePOSTHOG_PERSONS_BULK_DELETE_CREATEThis endpoint allows you to bulk delete persons, either by the PostHog person IDs or by distinct IDs. You can pass in a maximum of 1000 IDs per call. Only events captured before the request will be deleted.Connection1 scope
This endpoint allows you to bulk delete persons, either by the PostHog person IDs or by distinct IDs. You can pass in a maximum of 1000 IDs per call. Only events captured before the request will be deleted.
Authentication
Connected account requiredScopes
person:writeTags
Persons Cohorts RetrievePOSTHOG_PERSONS_COHORTS_RETRIEVEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection2 scopes
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredScopes
person:readcohort:readTags
Persons Delete Property CreatePOSTHOG_PERSONS_DELETE_PROPERTY_CREATEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection1 scope
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredScopes
person:writeTags
Persons Deletion Status ListPOSTHOG_PERSONS_DELETION_STATUS_LISTList the status of queued event deletions for persons. When you delete a person with `delete_events=true`, an async deletion is queued. Use this endpoint to check whether those deletions are still pending or have been completed.Connection1 scope
List the status of queued event deletions for persons. When you delete a person with `delete_events=true`, an async deletion is queued. Use this endpoint to check whether those deletions are still pending or have been completed.
Authentication
Connected account requiredScopes
person:readTags
Persons Emails ListPOSTHOG_PERSONS_EMAILS_LISTThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection1 scope
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredScopes
person:readTags
Persons Funnel CreatePOSTHOG_PERSONS_FUNNEL_CREATEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredTags
Persons Funnel RetrievePOSTHOG_PERSONS_FUNNEL_RETRIEVEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredTags
Persons Lifecycle RetrievePOSTHOG_PERSONS_LIFECYCLE_RETRIEVEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredTags
Persons ListPOSTHOG_PERSONS_LISTThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection1 scope
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredScopes
person:readTags
Persons Partial UpdatePOSTHOG_PERSONS_PARTIAL_UPDATEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection1 scope
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredScopes
person:writeTags
Persons Properties At Time RetrievePOSTHOG_PERSONS_PROPERTIES_AT_TIME_RETRIEVEGet person properties as they existed at a specific point in time. This endpoint reconstructs person properties by querying ClickHouse events for $set and $set_once operations up to the specified timestamp. Query parameters: - distinct_id: The distinct_id of the person - timestamp: ISO datetime string for the point in time (e.g., "2023-06-15T14:30:00Z") - include_set_once: Whether to handle $set_once operations (default: false)Connection1 scope
Get person properties as they existed at a specific point in time. This endpoint reconstructs person properties by querying ClickHouse events for $set and $set_once operations up to the specified timestamp. Query parameters: - distinct_id: The distinct_id of the person - timestamp: ISO datetime string for the point in time (e.g., "2023-06-15T14:30:00Z") - include_set_once: Whether to handle $set_once operations (default: false)
Authentication
Connected account requiredScopes
person:readTags
Persons Properties Timeline RetrievePOSTHOG_PERSONS_PROPERTIES_TIMELINE_RETRIEVEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredTags
Persons Reset Person Distinct Id CreatePOSTHOG_PERSONS_RESET_PERSON_DISTINCT_ID_CREATEReset a distinct_id for a deleted person. This allows the distinct_id to be used again.Connection1 scope
Reset a distinct_id for a deleted person. This allows the distinct_id to be used again.
Authentication
Connected account requiredScopes
person:writeTags
Persons RetrievePOSTHOG_PERSONS_RETRIEVEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection1 scope
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredScopes
person:readTags
Persons Split CreatePOSTHOG_PERSONS_SPLIT_CREATESplit distinct_ids off a merged person. Two mutually exclusive modes: - **`distinct_ids_to_split`** (recommended for surgical edits): moves only the listed distinct_ids off this person onto new single-id persons. The original person keeps every other distinct_id and its properties. - **`main_distinct_id`**: keeps only the specified distinct_id on this person; moves every *other* distinct_id off onto its own new person. If omitted, the first distinct_id is kept. The original person always retains its properties. To clear individual properties afterward, use the `delete_property` endpoint. The split runs asynchronously: a 201 response means the task was enqueued. Newly-created split-off persons get a deterministic UUID derived from `(team_id, distinct_id)`, so they can be located client-side without polling. If you need to delete a split-off person after this call, prefer looking it up by that deterministic UUID rather than by distinct_id, since the latter still resolves to the original merged person until the async task completes.Connection1 scope
Split distinct_ids off a merged person. Two mutually exclusive modes: - **`distinct_ids_to_split`** (recommended for surgical edits): moves only the listed distinct_ids off this person onto new single-id persons. The original person keeps every other distinct_id and its properties. - **`main_distinct_id`**: keeps only the specified distinct_id on this person; moves every *other* distinct_id off onto its own new person. If omitted, the first distinct_id is kept. The original person always retains its properties. To clear individual properties afterward, use the `delete_property` endpoint. The split runs asynchronously: a 201 response means the task was enqueued. Newly-created split-off persons get a deterministic UUID derived from `(team_id, distinct_id)`, so they can be located client-side without polling. If you need to delete a split-off person after this call, prefer looking it up by that deterministic UUID rather than by distinct_id, since the latter still resolves to the original merged person until the async task completes.
Authentication
Connected account requiredScopes
person:writeTags
Persons Trends RetrievePOSTHOG_PERSONS_TRENDS_RETRIEVEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredTags
Persons UpdatePOSTHOG_PERSONS_UPDATEOnly for setting properties on the person. "properties" from the request data will be updated via a "$set" event. This means that only the properties listed will be updated, but other properties won't be removed nor updated. If you would like to remove a property use the `delete_property` endpoint.Connection1 scope
Only for setting properties on the person. "properties" from the request data will be updated via a "$set" event. This means that only the properties listed will be updated, but other properties won't be removed nor updated. If you would like to remove a property use the `delete_property` endpoint.
Authentication
Connected account requiredScopes
person:writeTags
Persons Update Property CreatePOSTHOG_PERSONS_UPDATE_PROPERTY_CREATEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection1 scope
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredScopes
person:writeTags
Persons Values RetrievePOSTHOG_PERSONS_VALUES_RETRIEVEThis endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.Connection1 scope
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the [capture API](https://posthog.com/docs/api/capture), the `$set` and `$unset` [properties](https://posthog.com/docs/product-analytics/user-properties), or one of our SDKs.
Authentication
Connected account requiredScopes
person:readTags
Plugin Configs Logs ListPOSTHOG_PLUGIN_CONFIGS_LOGS_LISTPlugin Configs Logs ListConnection1 scope
Plugin Configs Logs List
Authentication
Connected account requiredScopes
plugin:readTags
Product Enablement CreatePOSTHOG_PRODUCT_ENABLEMENT_CREATEProduct Enablement CreateConnection1 scope
Product Enablement Create
Authentication
Connected account requiredScopes
product_enablement:writeTags
Product Tours CreatePOSTHOG_PRODUCT_TOURS_CREATEProduct Tours CreateConnection1 scope
Product Tours Create
Authentication
Connected account requiredScopes
product_tour:writeTags
Product Tours DestroyPOSTHOG_PRODUCT_TOURS_DESTROYProduct Tours DestroyConnection1 scope
Product Tours Destroy
Authentication
Connected account requiredScopes
product_tour:writeTags
Product Tours Discard Draft DestroyPOSTHOG_PRODUCT_TOURS_DISCARD_DRAFT_DESTROYDiscard draft content.Connection1 scope
Discard draft content.
Authentication
Connected account requiredScopes
product_tour:writeTags
Product Tours Draft Partial UpdatePOSTHOG_PRODUCT_TOURS_DRAFT_PARTIAL_UPDATESave draft content (server-side merge). No side effects triggered.Connection1 scope
Save draft content (server-side merge). No side effects triggered.
Authentication
Connected account requiredScopes
product_tour:writeTags
Product Tours Draft Status RetrievePOSTHOG_PRODUCT_TOURS_DRAFT_STATUS_RETRIEVELightweight polling endpoint for draft change detection.Connection1 scope
Lightweight polling endpoint for draft change detection.
Authentication
Connected account requiredScopes
product_tour:readTags
Product Tours Generate CreatePOSTHOG_PRODUCT_TOURS_GENERATE_CREATEGenerate tour step content using AI.Connection1 scope
Generate tour step content using AI.
Authentication
Connected account requiredScopes
product_tour:writeTags
Product Tours ListPOSTHOG_PRODUCT_TOURS_LISTProduct Tours ListConnection1 scope
Product Tours List
Authentication
Connected account requiredScopes
product_tour:readTags
Product Tours Partial UpdatePOSTHOG_PRODUCT_TOURS_PARTIAL_UPDATEProduct Tours Partial UpdateConnection1 scope
Product Tours Partial Update
Authentication
Connected account requiredScopes
product_tour:writeTags
Product Tours Publish Draft CreatePOSTHOG_PRODUCT_TOURS_PUBLISH_DRAFT_CREATECommit draft to live tour. Runs full validation and triggers side effects. Accepts an optional body payload. If provided, merges it into the draft before publishing so the caller can save + publish in a single request.Connection1 scope
Commit draft to live tour. Runs full validation and triggers side effects. Accepts an optional body payload. If provided, merges it into the draft before publishing so the caller can save + publish in a single request.
Authentication
Connected account requiredScopes
product_tour:writeTags
Product Tours RetrievePOSTHOG_PRODUCT_TOURS_RETRIEVEProduct Tours RetrieveConnection1 scope
Product Tours Retrieve
Authentication
Connected account requiredScopes
product_tour:readTags
Product Tours UpdatePOSTHOG_PRODUCT_TOURS_UPDATEProduct Tours UpdateConnection1 scope
Product Tours Update
Authentication
Connected account requiredScopes
product_tour:writeTags
Project Secret Api Keys CreatePOSTHOG_PROJECT_SECRET_API_KEYS_CREATEProject Secret Api Keys CreateConnection1 scope
Project Secret Api Keys Create
Authentication
Connected account requiredScopes
project:writeTags
Project Secret Api Keys DestroyPOSTHOG_PROJECT_SECRET_API_KEYS_DESTROYProject Secret Api Keys DestroyConnection1 scope
Project Secret Api Keys Destroy
Authentication
Connected account requiredScopes
project:writeTags
Project Secret Api Keys ListPOSTHOG_PROJECT_SECRET_API_KEYS_LISTProject Secret Api Keys ListConnection1 scope
Project Secret Api Keys List
Authentication
Connected account requiredScopes
project:readTags
Project Secret Api Keys Partial UpdatePOSTHOG_PROJECT_SECRET_API_KEYS_PARTIAL_UPDATEProject Secret Api Keys Partial UpdateConnection1 scope
Project Secret Api Keys Partial Update
Authentication
Connected account requiredScopes
project:writeTags
Project Secret Api Keys RetrievePOSTHOG_PROJECT_SECRET_API_KEYS_RETRIEVEProject Secret Api Keys RetrieveConnection1 scope
Project Secret Api Keys Retrieve
Authentication
Connected account requiredScopes
project:readTags
Project Secret Api Keys Roll CreatePOSTHOG_PROJECT_SECRET_API_KEYS_ROLL_CREATERoll a project secret API keyConnection1 scope
Roll a project secret API key
Authentication
Connected account requiredScopes
project:writeTags
Project Secret Api Keys UpdatePOSTHOG_PROJECT_SECRET_API_KEYS_UPDATEProject Secret Api Keys UpdateConnection1 scope
Project Secret Api Keys Update
Authentication
Connected account requiredScopes
project:writeTags
Property Access Controls CreatePOSTHOG_PROPERTY_ACCESS_CONTROLS_CREATECreate or update a property access control rule.Connection1 scope
Create or update a property access control rule.
Authentication
Connected account requiredScopes
access_control:writeTags
Property Access Controls DestroyPOSTHOG_PROPERTY_ACCESS_CONTROLS_DESTROYDelete a property access control rule. The rule is identified by `property_definition_id` plus an optional `organization_member` or `role` query parameter. Omitting both targets deletes the default rule.Connection1 scope
Delete a property access control rule. The rule is identified by `property_definition_id` plus an optional `organization_member` or `role` query parameter. Omitting both targets deletes the default rule.
Authentication
Connected account requiredScopes
access_control:writeTags
Property Access Controls RetrievePOSTHOG_PROPERTY_ACCESS_CONTROLS_RETRIEVEGet all property access control rules for a property definition.Connection1 scope
Get all property access control rules for a property definition.
Authentication
Connected account requiredScopes
access_control:readTags
Property Definitions Bulk Update Tags CreatePOSTHOG_PROPERTY_DEFINITIONS_BULK_UPDATE_TAGS_CREATEBulk update tags on multiple objects. PAT access: this action has no ``required_scopes=`` on the decorator — inheriting viewsets must add ``"bulk_update_tags"`` to their ``scope_object_write_actions`` list to accept personal API keys. Without that opt-in, ``APIScopePermission`` rejects PAT requests with "This action does not support personal API key access". Done per-viewset so granting ``<scope>:write`` for one resource doesn't leak access to sibling resources that share this mixin. Accepts: - {"ids": [...], "action": "add"|"remove"|"set", "tags": ["tag1", "tag2"]} Actions: - "add": Add tags to existing tags on each object - "remove": Remove specific tags from each object - "set": Replace all tags on each object with the provided listConnection
Bulk update tags on multiple objects. PAT access: this action has no ``required_scopes=`` on the decorator — inheriting viewsets must add ``"bulk_update_tags"`` to their ``scope_object_write_actions`` list to accept personal API keys. Without that opt-in, ``APIScopePermission`` rejects PAT requests with "This action does not support personal API key access". Done per-viewset so granting ``<scope>:write`` for one resource doesn't leak access to sibling resources that share this mixin. Accepts: - {"ids": [...], "action": "add"|"remove"|"set", "tags": ["tag1", "tag2"]} Actions: - "add": Add tags to existing tags on each object - "remove": Remove specific tags from each object - "set": Replace all tags on each object with the provided list
Authentication
Connected account requiredTags
Property Definitions DestroyPOSTHOG_PROPERTY_DEFINITIONS_DESTROYProperty Definitions DestroyConnection1 scope
Property Definitions Destroy
Authentication
Connected account requiredScopes
property_definition:writeTags
Property Definitions ListPOSTHOG_PROPERTY_DEFINITIONS_LISTProperty Definitions ListConnection1 scope
Property Definitions List
Authentication
Connected account requiredScopes
property_definition:readTags
Property Definitions Partial UpdatePOSTHOG_PROPERTY_DEFINITIONS_PARTIAL_UPDATEProperty Definitions Partial UpdateConnection1 scope
Property Definitions Partial Update
Authentication
Connected account requiredScopes
property_definition:writeTags
Property Definitions RetrievePOSTHOG_PROPERTY_DEFINITIONS_RETRIEVEProperty Definitions RetrieveConnection1 scope
Property Definitions Retrieve
Authentication
Connected account requiredScopes
property_definition:readTags
Property Definitions Seen Together RetrievePOSTHOG_PROPERTY_DEFINITIONS_SEEN_TOGETHER_RETRIEVEAllows a caller to provide a list of event names and a single property name Returns a map of the event names to a boolean representing whether that property has ever been seen with that event_nameConnection1 scope
Allows a caller to provide a list of event names and a single property name Returns a map of the event names to a boolean representing whether that property has ever been seen with that event_name
Authentication
Connected account requiredScopes
property_definition:readTags
Property Definitions UpdatePOSTHOG_PROPERTY_DEFINITIONS_UPDATEProperty Definitions UpdateConnection1 scope
Property Definitions Update
Authentication
Connected account requiredScopes
property_definition:writeTags
Proxy Records CreatePOSTHOG_PROXY_RECORDS_CREATECreate a new managed reverse proxy. Provide the domain you want to proxy through. The response includes the CNAME target you need to add as a DNS record. Once the CNAME is configured, the proxy will be automatically verified and provisioned.Connection1 scope
Create a new managed reverse proxy. Provide the domain you want to proxy through. The response includes the CNAME target you need to add as a DNS record. Once the CNAME is configured, the proxy will be automatically verified and provisioned.
Authentication
Connected account requiredScopes
organization:writeTags
Proxy Records DestroyPOSTHOG_PROXY_RECORDS_DESTROYDelete a reverse proxy. For proxies in 'waiting', 'erroring', or 'timed_out' status, the record is deleted immediately. For active proxies, a deletion workflow is started to clean up the provisioned infrastructure.Connection1 scope
Delete a reverse proxy. For proxies in 'waiting', 'erroring', or 'timed_out' status, the record is deleted immediately. For active proxies, a deletion workflow is started to clean up the provisioned infrastructure.
Authentication
Connected account requiredScopes
organization:writeTags
Proxy Records Diagnose CreatePOSTHOG_PROXY_RECORDS_DIAGNOSE_CREATERun a deep diagnostic on a reverse proxy. Inspects DNS CNAME alignment, the certificate provider's hostname state, CAA records walked up the customer's DNS tree, HTTP-01 challenge reachability, a live event probe, and certificate expiry. Returns a structured report with each check's status and concrete remediation steps (e.g. exact DNS records to add). Use this to debug why a proxy is stuck or erroring.Connection
Run a deep diagnostic on a reverse proxy. Inspects DNS CNAME alignment, the certificate provider's hostname state, CAA records walked up the customer's DNS tree, HTTP-01 challenge reachability, a live event probe, and certificate expiry. Returns a structured report with each check's status and concrete remediation steps (e.g. exact DNS records to add). Use this to debug why a proxy is stuck or erroring.
Authentication
Connected account requiredTags
Proxy Records ListPOSTHOG_PROXY_RECORDS_LISTList all reverse proxies configured for the organization. Returns proxy records along with the maximum number allowed by the current plan.Connection1 scope
List all reverse proxies configured for the organization. Returns proxy records along with the maximum number allowed by the current plan.
Authentication
Connected account requiredScopes
organization:readTags
Proxy Records RetrievePOSTHOG_PROXY_RECORDS_RETRIEVEGet details of a specific reverse proxy by ID. Returns the full configuration including domain, CNAME target, and current provisioning status.Connection1 scope
Get details of a specific reverse proxy by ID. Returns the full configuration including domain, CNAME target, and current provisioning status.
Authentication
Connected account requiredScopes
organization:readTags
Proxy Records Retry CreatePOSTHOG_PROXY_RECORDS_RETRY_CREATERetry provisioning a failed reverse proxy. Only available for proxies in 'erroring' or 'timed_out' status. Resets the proxy to 'waiting' status and restarts the provisioning workflow.Connection
Retry provisioning a failed reverse proxy. Only available for proxies in 'erroring' or 'timed_out' status. Resets the proxy to 'waiting' status and restarts the provisioning workflow.
Authentication
Connected account requiredTags
Public Hog Function Templates ListPOSTHOG_PUBLIC_HOG_FUNCTION_TEMPLATES_LISTPublic Hog Function Templates ListConnection
Public Hog Function Templates List
Authentication
Connected account requiredTags
Query Check Auth For Async CreatePOSTHOG_QUERY_CHECK_AUTH_FOR_ASYNC_CREATEDRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.Connection
DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.
Authentication
Connected account requiredTags
Query CreatePOSTHOG_QUERY_CREATEDRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.Connection1 scope
DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.
Authentication
Connected account requiredScopes
query:readTags
Query Create With KindPOSTHOG_QUERY_CREATE_WITH_KINDDRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.Connection
DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.
Authentication
Connected account requiredTags
Query DestroyPOSTHOG_QUERY_DESTROY(Experimental)Connection1 scope
(Experimental)
Authentication
Connected account requiredScopes
query:readTags
Query Draft Sql RetrievePOSTHOG_QUERY_DRAFT_SQL_RETRIEVEDRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.Connection
DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF's initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.
Authentication
Connected account requiredTags
Query Log RetrievePOSTHOG_QUERY_LOG_RETRIEVEGet query log details from query_log_archive table for a specific query_id, the query must have been issued in last 24 hours.Connection
Get query log details from query_log_archive table for a specific query_id, the query must have been issued in last 24 hours.
Authentication
Connected account requiredTags
Query RetrievePOSTHOG_QUERY_RETRIEVE(Experimental)Connection1 scope
(Experimental)
Authentication
Connected account requiredScopes
query:readTags
Query Upgrade CreatePOSTHOG_QUERY_UPGRADE_CREATEUpgrades a query without executing it. Returns a query with all nodes migrated to the latest version.Connection
Upgrades a query without executing it. Returns a query with all nodes migrated to the latest version.
Authentication
Connected account requiredTags
Get a team's quota-limit statePOSTHOG_QUOTA_LIMITS_LISTReturn the current quota-limit state for the team identified in the URL, keyed by `QuotaResource` value. Used by the LLM gateway to gate billable products on AI credits exhaustion.Connection1 scope
Return the current quota-limit state for the team identified in the URL, keyed by `QuotaResource` value. Used by the LLM gateway to gate billable products on AI credits exhaustion.
Authentication
Connected account requiredScopes
project:readTags
Reminders CreatePOSTHOG_REMINDERS_CREATEReminders CreateConnection1 scope
Reminders Create
Authentication
Connected account requiredScopes
user:writeTags
Reminders DestroyPOSTHOG_REMINDERS_DESTROYReminders DestroyConnection1 scope
Reminders Destroy
Authentication
Connected account requiredScopes
user:writeTags
Reminders ListPOSTHOG_REMINDERS_LISTReminders ListConnection1 scope
Reminders List
Authentication
Connected account requiredScopes
user:readTags
Reminders Partial UpdatePOSTHOG_REMINDERS_PARTIAL_UPDATEReminders Partial UpdateConnection1 scope
Reminders Partial Update
Authentication
Connected account requiredScopes
user:writeTags
Reminders RetrievePOSTHOG_REMINDERS_RETRIEVEReminders RetrieveConnection1 scope
Reminders Retrieve
Authentication
Connected account requiredScopes
user:readTags
Reminders UpdatePOSTHOG_REMINDERS_UPDATEReminders UpdateConnection1 scope
Reminders Update
Authentication
Connected account requiredScopes
user:writeTags
Request Ai Access CreatePOSTHOG_REQUEST_AI_ACCESS_CREATENotify organization admins that a member is requesting PostHog AI be enabled.Connection
Notify organization admins that a member is requesting PostHog AI be enabled.
Authentication
Connected account requiredTags
RetrievePOSTHOG_RETRIEVERetrieveConnection1 scope
Retrieve
Authentication
Connected account requiredScopes
organization:readTags
Retrieve Session Summaries ConfigPOSTHOG_RETRIEVE_SESSION_SUMMARIES_CONFIGRetrieve the team's session summaries configuration (product context used to tailor single-session replay summaries).Connection
Retrieve the team's session summaries configuration (product context used to tailor single-session replay summaries).
Authentication
Connected account requiredTags
Role External References CreatePOSTHOG_ROLE_EXTERNAL_REFERENCES_CREATERole External References CreateConnection1 scope
Role External References Create
Authentication
Connected account requiredScopes
organization:writeTags
Role External References DestroyPOSTHOG_ROLE_EXTERNAL_REFERENCES_DESTROYRole External References DestroyConnection1 scope
Role External References Destroy
Authentication
Connected account requiredScopes
organization:writeTags
Role External References ListPOSTHOG_ROLE_EXTERNAL_REFERENCES_LISTRole External References ListConnection1 scope
Role External References List
Authentication
Connected account requiredScopes
organization:readTags
Role External References Lookup RetrievePOSTHOG_ROLE_EXTERNAL_REFERENCES_LOOKUP_RETRIEVERole External References Lookup RetrieveConnection
Role External References Lookup Retrieve
Authentication
Connected account requiredTags
Roles CreatePOSTHOG_ROLES_CREATERoles CreateConnection1 scope
Roles Create
Authentication
Connected account requiredScopes
organization:writeTags
Roles DestroyPOSTHOG_ROLES_DESTROYRoles DestroyConnection1 scope
Roles Destroy
Authentication
Connected account requiredScopes
organization:writeTags
Roles ListPOSTHOG_ROLES_LISTRoles ListConnection1 scope
Roles List
Authentication
Connected account requiredScopes
organization:readTags
Roles Partial UpdatePOSTHOG_ROLES_PARTIAL_UPDATERoles Partial UpdateConnection1 scope
Roles Partial Update
Authentication
Connected account requiredScopes
organization:writeTags
Roles RetrievePOSTHOG_ROLES_RETRIEVERoles RetrieveConnection1 scope
Roles Retrieve
Authentication
Connected account requiredScopes
organization:readTags
Roles Role Memberships CreatePOSTHOG_ROLES_ROLE_MEMBERSHIPS_CREATERoles Role Memberships CreateConnection1 scope
Roles Role Memberships Create
Authentication
Connected account requiredScopes
organization:writeTags
Roles Role Memberships DestroyPOSTHOG_ROLES_ROLE_MEMBERSHIPS_DESTROYRoles Role Memberships DestroyConnection1 scope
Roles Role Memberships Destroy
Authentication
Connected account requiredScopes
organization:writeTags
Roles Role Memberships ListPOSTHOG_ROLES_ROLE_MEMBERSHIPS_LISTRoles Role Memberships ListConnection1 scope
Roles Role Memberships List
Authentication
Connected account requiredScopes
organization:readTags
Roles Role Memberships RetrievePOSTHOG_ROLES_ROLE_MEMBERSHIPS_RETRIEVERoles Role Memberships RetrieveConnection1 scope
Roles Role Memberships Retrieve
Authentication
Connected account requiredScopes
organization:readTags
Roles UpdatePOSTHOG_ROLES_UPDATERoles UpdateConnection1 scope
Roles Update
Authentication
Connected account requiredScopes
organization:writeTags
Sandbox CreatePOSTHOG_SANDBOX_CREATEAPI for managing sandbox environments that control network access for task runs.Connection1 scope
API for managing sandbox environments that control network access for task runs.
Authentication
Connected account requiredScopes
task:writeTags
Sandbox Custom Images Build CreatePOSTHOG_SANDBOX_CUSTOM_IMAGES_BUILD_CREATEPersist the image spec (from the request body or the builder agent's sandbox), run the security scan, and on pass build and publish the image.Connection1 scope
Persist the image spec (from the request body or the builder agent's sandbox), run the security scan, and on pass build and publish the image.
Authentication
Connected account requiredScopes
task:writeTags
Sandbox Custom Images Builder Task CreatePOSTHOG_SANDBOX_CUSTOM_IMAGES_BUILDER_TASK_CREATERevive (or reuse) the image's builder agent session. When the previous session has ended, a fresh one is started seeded with the stored spec — use this to update an existing image.Connection1 scope
Revive (or reuse) the image's builder agent session. When the previous session has ended, a fresh one is started seeded with the stored spec — use this to update an existing image.
Authentication
Connected account requiredScopes
task:writeTags
Sandbox Custom Images CreatePOSTHOG_SANDBOX_CUSTOM_IMAGES_CREATECreate a draft custom image and start its interactive image-builder agent task. The returned builder_task_id points at the conversation.Connection1 scope
Create a draft custom image and start its interactive image-builder agent task. The returned builder_task_id points at the conversation.
Authentication
Connected account requiredScopes
task:writeTags
Sandbox Custom Images DestroyPOSTHOG_SANDBOX_CUSTOM_IMAGES_DESTROYAPI for custom sandbox base images, built on top of the VM sandbox base via an image-builder agent. Custom images only run on the Modal VM runtime, so every action is gated on the `tasks-modal-vm-sandbox` flag (org-enabled with `user_created` in its origin_products payload).Connection1 scope
API for custom sandbox base images, built on top of the VM sandbox base via an image-builder agent. Custom images only run on the Modal VM runtime, so every action is gated on the `tasks-modal-vm-sandbox` flag (org-enabled with `user_created` in its origin_products payload).
Authentication
Connected account requiredScopes
task:writeTags
Sandbox Custom Images ListPOSTHOG_SANDBOX_CUSTOM_IMAGES_LISTAPI for custom sandbox base images, built on top of the VM sandbox base via an image-builder agent. Custom images only run on the Modal VM runtime, so every action is gated on the `tasks-modal-vm-sandbox` flag (org-enabled with `user_created` in its origin_products payload).Connection1 scope
API for custom sandbox base images, built on top of the VM sandbox base via an image-builder agent. Custom images only run on the Modal VM runtime, so every action is gated on the `tasks-modal-vm-sandbox` flag (org-enabled with `user_created` in its origin_products payload).
Authentication
Connected account requiredScopes
task:readTags
Sandbox Custom Images RetrievePOSTHOG_SANDBOX_CUSTOM_IMAGES_RETRIEVEAPI for custom sandbox base images, built on top of the VM sandbox base via an image-builder agent. Custom images only run on the Modal VM runtime, so every action is gated on the `tasks-modal-vm-sandbox` flag (org-enabled with `user_created` in its origin_products payload).Connection1 scope
API for custom sandbox base images, built on top of the VM sandbox base via an image-builder agent. Custom images only run on the Modal VM runtime, so every action is gated on the `tasks-modal-vm-sandbox` flag (org-enabled with `user_created` in its origin_products payload).
Authentication
Connected account requiredScopes
task:readTags
Sandbox DestroyPOSTHOG_SANDBOX_DESTROYAPI for managing sandbox environments that control network access for task runs.Connection1 scope
API for managing sandbox environments that control network access for task runs.
Authentication
Connected account requiredScopes
task:writeTags
Sandbox ListPOSTHOG_SANDBOX_LISTAPI for managing sandbox environments that control network access for task runs.Connection1 scope
API for managing sandbox environments that control network access for task runs.
Authentication
Connected account requiredScopes
task:readTags
Sandbox Partial UpdatePOSTHOG_SANDBOX_PARTIAL_UPDATEAPI for managing sandbox environments that control network access for task runs.Connection1 scope
API for managing sandbox environments that control network access for task runs.
Authentication
Connected account requiredScopes
task:writeTags
Sandbox RetrievePOSTHOG_SANDBOX_RETRIEVEAPI for managing sandbox environments that control network access for task runs.Connection1 scope
API for managing sandbox environments that control network access for task runs.
Authentication
Connected account requiredScopes
task:readTags
Saved CreatePOSTHOG_SAVED_CREATECreate a saved heatmap for a page URL. For type 'screenshot' (the default) this enqueues a headless render of the page at each target width; poll the saved heatmap or its content endpoint until status is 'completed'. Provide 'widths' to control which viewport widths are rendered.Connection1 scope
Create a saved heatmap for a page URL. For type 'screenshot' (the default) this enqueues a headless render of the page at each target width; poll the saved heatmap or its content endpoint until status is 'completed'. Provide 'widths' to control which viewport widths are rendered.
Authentication
Connected account requiredScopes
heatmap:writeTags
Saved DestroyPOSTHOG_SAVED_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
heatmap:writeTags
Saved ListPOSTHOG_SAVED_LISTList saved heatmaps for the project. A saved heatmap pins a page URL and a set of viewport widths, and (for type 'screenshot') renders the page so heatmap data can be overlaid on it.Connection1 scope
List saved heatmaps for the project. A saved heatmap pins a page URL and a set of viewport widths, and (for type 'screenshot') renders the page so heatmap data can be overlaid on it.
Authentication
Connected account requiredScopes
heatmap:readTags
Saved Partial UpdatePOSTHOG_SAVED_PARTIAL_UPDATEUpdate a saved heatmap (e.g. rename, change widths, or soft-delete via 'deleted'). Changing the URL of a 'screenshot' heatmap triggers a re-render.Connection1 scope
Update a saved heatmap (e.g. rename, change widths, or soft-delete via 'deleted'). Changing the URL of a 'screenshot' heatmap triggers a re-render.
Authentication
Connected account requiredScopes
heatmap:writeTags
Saved Query Column Annotations CreatePOSTHOG_SAVED_QUERY_COLUMN_ANNOTATIONS_CREATERead and edit semantic descriptions of data-modelling views and columns surfaced to the AI agent. List can be filtered to one view with `?saved_query_id=<uuid>`. Any create or update is treated as a user edit (`is_user_edited=True`), which protects the row from being overwritten by automatic enrichment. Create upserts on `(saved_query, column_name)`; the view cannot be changed after creation.Connection1 scope
Read and edit semantic descriptions of data-modelling views and columns surfaced to the AI agent. List can be filtered to one view with `?saved_query_id=<uuid>`. Any create or update is treated as a user edit (`is_user_edited=True`), which protects the row from being overwritten by automatic enrichment. Create upserts on `(saved_query, column_name)`; the view cannot be changed after creation.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Saved Query Column Annotations DestroyPOSTHOG_SAVED_QUERY_COLUMN_ANNOTATIONS_DESTROYRead and edit semantic descriptions of data-modelling views and columns surfaced to the AI agent. List can be filtered to one view with `?saved_query_id=<uuid>`. Any create or update is treated as a user edit (`is_user_edited=True`), which protects the row from being overwritten by automatic enrichment. Create upserts on `(saved_query, column_name)`; the view cannot be changed after creation.Connection1 scope
Read and edit semantic descriptions of data-modelling views and columns surfaced to the AI agent. List can be filtered to one view with `?saved_query_id=<uuid>`. Any create or update is treated as a user edit (`is_user_edited=True`), which protects the row from being overwritten by automatic enrichment. Create upserts on `(saved_query, column_name)`; the view cannot be changed after creation.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Saved Query Column Annotations ListPOSTHOG_SAVED_QUERY_COLUMN_ANNOTATIONS_LISTRead and edit semantic descriptions of data-modelling views and columns surfaced to the AI agent. List can be filtered to one view with `?saved_query_id=<uuid>`. Any create or update is treated as a user edit (`is_user_edited=True`), which protects the row from being overwritten by automatic enrichment. Create upserts on `(saved_query, column_name)`; the view cannot be changed after creation.Connection1 scope
Read and edit semantic descriptions of data-modelling views and columns surfaced to the AI agent. List can be filtered to one view with `?saved_query_id=<uuid>`. Any create or update is treated as a user edit (`is_user_edited=True`), which protects the row from being overwritten by automatic enrichment. Create upserts on `(saved_query, column_name)`; the view cannot be changed after creation.
Authentication
Connected account requiredScopes
warehouse_view:readTags
Saved Query Column Annotations Partial UpdatePOSTHOG_SAVED_QUERY_COLUMN_ANNOTATIONS_PARTIAL_UPDATERead and edit semantic descriptions of data-modelling views and columns surfaced to the AI agent. List can be filtered to one view with `?saved_query_id=<uuid>`. Any create or update is treated as a user edit (`is_user_edited=True`), which protects the row from being overwritten by automatic enrichment. Create upserts on `(saved_query, column_name)`; the view cannot be changed after creation.Connection1 scope
Read and edit semantic descriptions of data-modelling views and columns surfaced to the AI agent. List can be filtered to one view with `?saved_query_id=<uuid>`. Any create or update is treated as a user edit (`is_user_edited=True`), which protects the row from being overwritten by automatic enrichment. Create upserts on `(saved_query, column_name)`; the view cannot be changed after creation.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Saved Query Column Annotations RetrievePOSTHOG_SAVED_QUERY_COLUMN_ANNOTATIONS_RETRIEVERead and edit semantic descriptions of data-modelling views and columns surfaced to the AI agent. List can be filtered to one view with `?saved_query_id=<uuid>`. Any create or update is treated as a user edit (`is_user_edited=True`), which protects the row from being overwritten by automatic enrichment. Create upserts on `(saved_query, column_name)`; the view cannot be changed after creation.Connection1 scope
Read and edit semantic descriptions of data-modelling views and columns surfaced to the AI agent. List can be filtered to one view with `?saved_query_id=<uuid>`. Any create or update is treated as a user edit (`is_user_edited=True`), which protects the row from being overwritten by automatic enrichment. Create upserts on `(saved_query, column_name)`; the view cannot be changed after creation.
Authentication
Connected account requiredScopes
warehouse_view:readTags
Saved Query Column Annotations UpdatePOSTHOG_SAVED_QUERY_COLUMN_ANNOTATIONS_UPDATERead and edit semantic descriptions of data-modelling views and columns surfaced to the AI agent. List can be filtered to one view with `?saved_query_id=<uuid>`. Any create or update is treated as a user edit (`is_user_edited=True`), which protects the row from being overwritten by automatic enrichment. Create upserts on `(saved_query, column_name)`; the view cannot be changed after creation.Connection1 scope
Read and edit semantic descriptions of data-modelling views and columns surfaced to the AI agent. List can be filtered to one view with `?saved_query_id=<uuid>`. Any create or update is treated as a user edit (`is_user_edited=True`), which protects the row from being overwritten by automatic enrichment. Create upserts on `(saved_query, column_name)`; the view cannot be changed after creation.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Saved Regenerate CreatePOSTHOG_SAVED_REGENERATE_CREATERe-run screenshot generation for a saved heatmap of type 'screenshot'. Clears existing renders and re-renders at every target width; status returns to 'processing'.Connection1 scope
Re-run screenshot generation for a saved heatmap of type 'screenshot'. Clears existing renders and re-renders at every target width; status returns to 'processing'.
Authentication
Connected account requiredScopes
heatmap:writeTags
Saved RetrievePOSTHOG_SAVED_RETRIEVEGet a single saved heatmap by its short_id, including per-width render status.Connection1 scope
Get a single saved heatmap by its short_id, including per-width render status.
Authentication
Connected account requiredScopes
heatmap:readTags
Scheduled Changes CreatePOSTHOG_SCHEDULED_CHANGES_CREATECreate, read, update and delete scheduled changes.Connection1 scope
Create, read, update and delete scheduled changes.
Authentication
Connected account requiredScopes
feature_flag:writeTags
Scheduled Changes DestroyPOSTHOG_SCHEDULED_CHANGES_DESTROYCreate, read, update and delete scheduled changes.Connection1 scope
Create, read, update and delete scheduled changes.
Authentication
Connected account requiredScopes
feature_flag:writeTags
Scheduled Changes ListPOSTHOG_SCHEDULED_CHANGES_LISTCreate, read, update and delete scheduled changes.Connection1 scope
Create, read, update and delete scheduled changes.
Authentication
Connected account requiredScopes
feature_flag:readTags
Scheduled Changes Partial UpdatePOSTHOG_SCHEDULED_CHANGES_PARTIAL_UPDATECreate, read, update and delete scheduled changes.Connection1 scope
Create, read, update and delete scheduled changes.
Authentication
Connected account requiredScopes
feature_flag:writeTags
Scheduled Changes RetrievePOSTHOG_SCHEDULED_CHANGES_RETRIEVECreate, read, update and delete scheduled changes.Connection1 scope
Create, read, update and delete scheduled changes.
Authentication
Connected account requiredScopes
feature_flag:readTags
Scheduled Changes UpdatePOSTHOG_SCHEDULED_CHANGES_UPDATECreate, read, update and delete scheduled changes.Connection1 scope
Create, read, update and delete scheduled changes.
Authentication
Connected account requiredScopes
feature_flag:writeTags
Schema Property Groups CreatePOSTHOG_SCHEMA_PROPERTY_GROUPS_CREATESchema Property Groups CreateConnection1 scope
Schema Property Groups Create
Authentication
Connected account requiredScopes
event_definition:writeTags
Schema Property Groups DestroyPOSTHOG_SCHEMA_PROPERTY_GROUPS_DESTROYSchema Property Groups DestroyConnection1 scope
Schema Property Groups Destroy
Authentication
Connected account requiredScopes
event_definition:writeTags
Schema Property Groups ListPOSTHOG_SCHEMA_PROPERTY_GROUPS_LISTSchema Property Groups ListConnection1 scope
Schema Property Groups List
Authentication
Connected account requiredScopes
event_definition:readTags
Schema Property Groups Partial UpdatePOSTHOG_SCHEMA_PROPERTY_GROUPS_PARTIAL_UPDATESchema Property Groups Partial UpdateConnection1 scope
Schema Property Groups Partial Update
Authentication
Connected account requiredScopes
event_definition:writeTags
Schema Property Groups RetrievePOSTHOG_SCHEMA_PROPERTY_GROUPS_RETRIEVESchema Property Groups RetrieveConnection1 scope
Schema Property Groups Retrieve
Authentication
Connected account requiredScopes
event_definition:readTags
Schema Property Groups UpdatePOSTHOG_SCHEMA_PROPERTY_GROUPS_UPDATESchema Property Groups UpdateConnection1 scope
Schema Property Groups Update
Authentication
Connected account requiredScopes
event_definition:writeTags
Get SDK health report for a projectPOSTHOG_SDK_HEALTH_REPORT_RETRIEVEReturns a pre-digested health assessment of the PostHog SDKs the project is using. Covers which SDKs are current vs outdated (smart-semver rules with grace periods and traffic-percentage thresholds), per-version breakdown, and a human-readable reason for each assessment. Use this to diagnose SDK version issues, surface upgrade recommendations, or check overall SDK health.Connection1 scope
Returns a pre-digested health assessment of the PostHog SDKs the project is using. Covers which SDKs are current vs outdated (smart-semver rules with grace periods and traffic-percentage thresholds), per-version breakdown, and a human-readable reason for each assessment. Use this to diagnose SDK version issues, surface upgrade recommendations, or check overall SDK health.
Authentication
Connected account requiredScopes
project:readTags
Session Group Summaries CreatePOSTHOG_SESSION_GROUP_SUMMARIES_CREATEAPI for retrieving and managing stored group session summaries.Connection1 scope
API for retrieving and managing stored group session summaries.
Authentication
Connected account requiredScopes
session_recording:writeTags
Session Group Summaries DestroyPOSTHOG_SESSION_GROUP_SUMMARIES_DESTROYAPI for retrieving and managing stored group session summaries.Connection1 scope
API for retrieving and managing stored group session summaries.
Authentication
Connected account requiredScopes
session_recording:writeTags
Session Group Summaries ListPOSTHOG_SESSION_GROUP_SUMMARIES_LISTAPI for retrieving and managing stored group session summaries.Connection1 scope
API for retrieving and managing stored group session summaries.
Authentication
Connected account requiredScopes
session_recording:readTags
Session Group Summaries Partial UpdatePOSTHOG_SESSION_GROUP_SUMMARIES_PARTIAL_UPDATEAPI for retrieving and managing stored group session summaries.Connection1 scope
API for retrieving and managing stored group session summaries.
Authentication
Connected account requiredScopes
session_recording:writeTags
Session Group Summaries RetrievePOSTHOG_SESSION_GROUP_SUMMARIES_RETRIEVEAPI for retrieving and managing stored group session summaries.Connection1 scope
API for retrieving and managing stored group session summaries.
Authentication
Connected account requiredScopes
session_recording:readTags
Session Group Summaries UpdatePOSTHOG_SESSION_GROUP_SUMMARIES_UPDATEAPI for retrieving and managing stored group session summaries.Connection1 scope
API for retrieving and managing stored group session summaries.
Authentication
Connected account requiredScopes
session_recording:writeTags
Session Recording Playlists CreatePOSTHOG_SESSION_RECORDING_PLAYLISTS_CREATESession Recording Playlists CreateConnection1 scope
Session Recording Playlists Create
Authentication
Connected account requiredScopes
session_recording_playlist:writeTags
Session Recording Playlists DestroyPOSTHOG_SESSION_RECORDING_PLAYLISTS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
session_recording_playlist:writeTags
Session Recording Playlists ListPOSTHOG_SESSION_RECORDING_PLAYLISTS_LISTOverride list to include synthetic playlists. Synthetics have no DB row, so we compute each one's position in the merged sort and split the requested page between synthetics and a DB queryset slice. The merge/rank/sort is all in-memory, so each phase is wrapped in a span and the input sizes are recorded as span attributes — a slow response on a team with many playlists then shows up as a wide span against a large db_count.Connection1 scope
Override list to include synthetic playlists. Synthetics have no DB row, so we compute each one's position in the merged sort and split the requested page between synthetics and a DB queryset slice. The merge/rank/sort is all in-memory, so each phase is wrapped in a span and the input sizes are recorded as span attributes — a slow response on a team with many playlists then shows up as a wide span against a large db_count.
Authentication
Connected account requiredScopes
session_recording_playlist:readTags
Session Recording Playlists Partial UpdatePOSTHOG_SESSION_RECORDING_PLAYLISTS_PARTIAL_UPDATESession Recording Playlists Partial UpdateConnection1 scope
Session Recording Playlists Partial Update
Authentication
Connected account requiredScopes
session_recording_playlist:writeTags
Session Recording Playlists Recordings CreatePOSTHOG_SESSION_RECORDING_PLAYLISTS_RECORDINGS_CREATESession Recording Playlists Recordings CreateConnection
Session Recording Playlists Recordings Create
Authentication
Connected account requiredTags
Session Recording Playlists Recordings DestroyPOSTHOG_SESSION_RECORDING_PLAYLISTS_RECORDINGS_DESTROYSession Recording Playlists Recordings DestroyConnection
Session Recording Playlists Recordings Destroy
Authentication
Connected account requiredTags
Session Recording Playlists Recordings RetrievePOSTHOG_SESSION_RECORDING_PLAYLISTS_RECORDINGS_RETRIEVESession Recording Playlists Recordings RetrieveConnection1 scope
Session Recording Playlists Recordings Retrieve
Authentication
Connected account requiredScopes
session_recording_playlist:readTags
Session Recording Playlists RetrievePOSTHOG_SESSION_RECORDING_PLAYLISTS_RETRIEVESession Recording Playlists RetrieveConnection1 scope
Session Recording Playlists Retrieve
Authentication
Connected account requiredScopes
session_recording_playlist:readTags
Session Recording Playlists UpdatePOSTHOG_SESSION_RECORDING_PLAYLISTS_UPDATESession Recording Playlists UpdateConnection1 scope
Session Recording Playlists Update
Authentication
Connected account requiredScopes
session_recording_playlist:writeTags
Session Recordings Bulk Delete CreatePOSTHOG_SESSION_RECORDINGS_BULK_DELETE_CREATEDelete a batch of session recordings by session ID. Deletion is permanent and cannot be undone. IDs that don't match an existing recording are skipped and counted in `total_requested` but not `deleted_count`.Connection
Delete a batch of session recordings by session ID. Deletion is permanent and cannot be undone. IDs that don't match an existing recording are skipped and counted in `total_requested` but not `deleted_count`.
Authentication
Connected account requiredTags
Session Recordings DestroyPOSTHOG_SESSION_RECORDINGS_DESTROYSession Recordings DestroyConnection1 scope
Session Recordings Destroy
Authentication
Connected account requiredScopes
session_recording:writeTags
Session Recordings ListPOSTHOG_SESSION_RECORDINGS_LISTSession Recordings ListConnection1 scope
Session Recordings List
Authentication
Connected account requiredScopes
session_recording:readTags
Session Recordings Partial UpdatePOSTHOG_SESSION_RECORDINGS_PARTIAL_UPDATESession Recordings Partial UpdateConnection1 scope
Session Recordings Partial Update
Authentication
Connected account requiredScopes
session_recording:writeTags
Session Recordings RetrievePOSTHOG_SESSION_RECORDINGS_RETRIEVESession Recordings RetrieveConnection1 scope
Session Recordings Retrieve
Authentication
Connected account requiredScopes
session_recording:readTags
Session Recordings Sharing ListPOSTHOG_SESSION_RECORDINGS_SHARING_LISTSession Recordings Sharing ListConnection1 scope
Session Recordings Sharing List
Authentication
Connected account requiredScopes
sharing_configuration:readTags
Session Recordings Sharing Passwords CreatePOSTHOG_SESSION_RECORDINGS_SHARING_PASSWORDS_CREATECreate a new password for the sharing configuration.Connection1 scope
Create a new password for the sharing configuration.
Authentication
Connected account requiredScopes
sharing_configuration:writeTags
Session Recordings Sharing Passwords DestroyPOSTHOG_SESSION_RECORDINGS_SHARING_PASSWORDS_DESTROYDelete a password from the sharing configuration.Connection1 scope
Delete a password from the sharing configuration.
Authentication
Connected account requiredScopes
sharing_configuration:writeTags
Session Recordings Sharing Refresh CreatePOSTHOG_SESSION_RECORDINGS_SHARING_REFRESH_CREATESession Recordings Sharing Refresh CreateConnection1 scope
Session Recordings Sharing Refresh Create
Authentication
Connected account requiredScopes
sharing_configuration:writeTags
Session Recordings UpdatePOSTHOG_SESSION_RECORDINGS_UPDATESession Recordings UpdateConnection1 scope
Session Recordings Update
Authentication
Connected account requiredScopes
session_recording:writeTags
Sessions Property Definitions RetrievePOSTHOG_SESSIONS_PROPERTY_DEFINITIONS_RETRIEVESessions Property Definitions RetrieveConnection1 scope
Sessions Property Definitions Retrieve
Authentication
Connected account requiredScopes
query:readTags
Sessions Values RetrievePOSTHOG_SESSIONS_VALUES_RETRIEVESessions Values RetrieveConnection1 scope
Sessions Values Retrieve
Authentication
Connected account requiredScopes
query:readTags
Signals Processing ListPOSTHOG_SIGNALS_PROCESSING_LISTReturn current processing state including pause status.Connection1 scope
Return current processing state including pause status.
Authentication
Connected account requiredScopes
task:readTags
Signals Processing Pause DestroyPOSTHOG_SIGNALS_PROCESSING_PAUSE_DESTROYView and control signal processing pipeline state for a team.Connection1 scope
View and control signal processing pipeline state for a team.
Authentication
Connected account requiredScopes
task:writeTags
Signals Processing Pause UpdatePOSTHOG_SIGNALS_PROCESSING_PAUSE_UPDATEView and control signal processing pipeline state for a team.Connection1 scope
View and control signal processing pipeline state for a team.
Authentication
Connected account requiredScopes
task:writeTags
Append an artefact to a reportPOSTHOG_SIGNALS_REPORT_ARTEFACTS_CREATEAppend an artefact to a report (see artefact_type for the writable types). Everything is append-only: log entries (code reference, commit, task run, note) accumulate, while status types (safety / actionability / priority judgments, repo selection, suggested reviewers) are latest-wins — appending a new version supersedes the previous one as the report's canonical status. Content is validated against the type's schema.Connection1 scope
Append an artefact to a report (see artefact_type for the writable types). Everything is append-only: log entries (code reference, commit, task run, note) accumulate, while status types (safety / actionability / priority judgments, repo selection, suggested reviewers) are latest-wins — appending a new version supersedes the previous one as the report's canonical status. Content is validated against the type's schema.
Authentication
Connected account requiredScopes
task:writeTags
Delete an artefactPOSTHOG_SIGNALS_REPORT_ARTEFACTS_DESTROYDelete an artefact, addressed by id. Deleting the latest row of a status type reverts the report's canonical status to the previous version (latest-wins over what remains).Connection1 scope
Delete an artefact, addressed by id. Deleting the latest row of a status type reverts the report's canonical status to the previous version (latest-wins over what remains).
Authentication
Connected account requiredScopes
task:writeTags
Fetch the diff for a commit artefactPOSTHOG_SIGNALS_REPORT_ARTEFACTS_DIFFFetch the unified diff of a `commit` artefact's branch against the repository default branch via the team's GitHub integration — using the branch's current tip so the diff reflects the latest state of the work, not just the single recorded commit.Connection1 scope
Fetch the unified diff of a `commit` artefact's branch against the repository default branch via the team's GitHub integration — using the branch's current tip so the diff reflects the latest state of the work, not just the single recorded commit.
Authentication
Connected account requiredScopes
task:readTags
List a report's artefactsPOSTHOG_SIGNALS_REPORT_ARTEFACTS_LISTList every artefact on a report — the full work log: signal findings (the evidence behind the report), status judgments (safety / actionability / priority, repo selection, suggested reviewers — the newest row of each status type is canonical), and log entries (code references, commits, task runs, notes). `suggested_reviewers` content is enriched with PostHog user info at read time.Connection1 scope
List every artefact on a report — the full work log: signal findings (the evidence behind the report), status judgments (safety / actionability / priority, repo selection, suggested reviewers — the newest row of each status type is canonical), and log entries (code references, commits, task runs, notes). `suggested_reviewers` content is enriched with PostHog user info at read time.
Authentication
Connected account requiredScopes
task:readTags
Replace an artefact's contentPOSTHOG_SIGNALS_REPORT_ARTEFACTS_PARTIAL_UPDATEReplace the content of an existing artefact, addressed by id. The new content is validated against the artefact's type schema. Editing the latest row of a status type changes the report's canonical status (latest-wins); to re-assess while keeping history, append a new artefact instead. Attribution is creation-time only — edits don't reassign it.Connection1 scope
Replace the content of an existing artefact, addressed by id. The new content is validated against the artefact's type schema. Editing the latest row of a status type changes the report's canonical status (latest-wins); to re-assess while keeping history, append a new artefact instead. Attribution is creation-time only — edits don't reassign it.
Authentication
Connected account requiredScopes
task:writeTags
Get a single artefactPOSTHOG_SIGNALS_REPORT_ARTEFACTS_RETRIEVEGet one artefact by id, content parsed (and reviewers enriched) the same way as the list.Connection1 scope
Get one artefact by id, content parsed (and reviewers enriched) the same way as the list.
Authentication
Connected account requiredScopes
task:readTags
Signals Reports Bulk State CreatePOSTHOG_SIGNALS_REPORTS_BULK_STATE_CREATETransition many reports to a new state in one call. Each id is processed independently: a report whose transition isn't allowed from its current status is reported as `skipped` (a 409 on the single-report endpoint) and the rest still go through. Returns one result per requested id (in request order, after de-duplication) plus per-outcome counts. The whole call is 200 even on partial failure — inspect `results` / the counts to see what happened.Connection1 scope
Transition many reports to a new state in one call. Each id is processed independently: a report whose transition isn't allowed from its current status is reported as `skipped` (a 409 on the single-report endpoint) and the rest still go through. Returns one result per requested id (in request order, after de-duplication) plus per-outcome counts. The whole call is 200 even on partial failure — inspect `results` / the counts to see what happened.
Authentication
Connected account requiredScopes
task:writeTags
Signals Reports ListPOSTHOG_SIGNALS_REPORTS_LISTSignals Reports ListConnection1 scope
Signals Reports List
Authentication
Connected account requiredScopes
task:readTags
Edit a report's title or summaryPOSTHOG_SIGNALS_REPORTS_PARTIAL_UPDATEEdit the human-facing title and/or summary (description) of a signal report, addressed by id. Both fields are optional — supply only the ones you want to change; at least one is required. Every other report field (status, weights, judgments) is managed by the signals pipeline and cannot be set here. Returns the full updated report.Connection1 scope
Edit the human-facing title and/or summary (description) of a signal report, addressed by id. Both fields are optional — supply only the ones you want to change; at least one is required. Every other report field (status, weights, judgments) is managed by the signals pipeline and cannot be set here. Returns the full updated report.
Authentication
Connected account requiredScopes
task:writeTags
Signals Reports RetrievePOSTHOG_SIGNALS_REPORTS_RETRIEVESignals Reports RetrieveConnection1 scope
Signals Reports Retrieve
Authentication
Connected account requiredScopes
task:readTags
List a report's signalsPOSTHOG_SIGNALS_REPORTS_SIGNALS_RETRIEVEFetch all signals for a report from ClickHouse, including full metadata.Connection1 scope
Fetch all signals for a report from ClickHouse, including full metadata.
Authentication
Connected account requiredScopes
task:readTags
Signals Reports State CreatePOSTHOG_SIGNALS_REPORTS_STATE_CREATETransition a report to a new state. The model validates allowed transitions. The request body is validated by SignalReportStateRequestSerializer — only the fields it declares (state, dismissal_reason, dismissal_note, snooze_for) are read, and only snooze_for is ever forwarded to transition_to. Any other key is ignored, so internal transition_to kwargs (reset_weight, error, ...) can't be injected. Body: { "state": "suppressed" | "potential", # Optional dismissal feedback (honored when state == "suppressed" or "potential"): "dismissal_reason": "<canonical reason code, see SIGNAL_REPORT_DISMISSAL_REASON_CHOICES>", "dismissal_note": "free-form text", # Optional, only honored for state == "potential": "snooze_for": <number of additional signals before re-promotion>, }Connection1 scope
Transition a report to a new state. The model validates allowed transitions. The request body is validated by SignalReportStateRequestSerializer — only the fields it declares (state, dismissal_reason, dismissal_note, snooze_for) are read, and only snooze_for is ever forwarded to transition_to. Any other key is ignored, so internal transition_to kwargs (reset_weight, error, ...) can't be injected. Body: { "state": "suppressed" | "potential", # Optional dismissal feedback (honored when state == "suppressed" or "potential"): "dismissal_reason": "<canonical reason code, see SIGNAL_REPORT_DISMISSAL_REASON_CHOICES>", "dismissal_note": "free-form text", # Optional, only honored for state == "potential": "snooze_for": <number of additional signals before re-promotion>, }
Authentication
Connected account requiredScopes
task:writeTags
Create a scout configPOSTHOG_SIGNALS_SCOUT_CONFIG_CREATERegister the config for a `signals-scout-*` skill immediately, without waiting for the coordinator to auto-register it — optionally setting `run_interval_minutes`, `enabled`, and `emit` in the same call. The skill must already exist on this project. Upsert: if a config already exists for the skill, the provided fields are applied to it.Connection1 scope
Register the config for a `signals-scout-*` skill immediately, without waiting for the coordinator to auto-register it — optionally setting `run_interval_minutes`, `enabled`, and `emit` in the same call. The skill must already exist on this project. Upsert: if a config already exists for the skill, the provided fields are applied to it.
Authentication
Connected account requiredScopes
signal_scout:writeTags
Delete a scout configPOSTHOG_SIGNALS_SCOUT_CONFIG_DESTROYDelete one scout config by its `id`, removing the per-(team, skill) schedule/emit row outright. The point is cleaning up an orphaned config whose `signals-scout-*` skill was archived or deleted — it lingers in `list` with an empty `description`, never runs (the coordinator skips it and the skill can't load), but can't otherwise be removed over the API. Deletion is activity-logged. Note: if the skill still exists, the coordinator re-creates a default-schedule config on its next tick — to retire a live scout, archive its skill (or set `enabled=false` to make it inert) rather than deleting the config.Connection1 scope
Delete one scout config by its `id`, removing the per-(team, skill) schedule/emit row outright. The point is cleaning up an orphaned config whose `signals-scout-*` skill was archived or deleted — it lingers in `list` with an empty `description`, never runs (the coordinator skips it and the skill can't load), but can't otherwise be removed over the API. Deletion is activity-logged. Note: if the skill still exists, the coordinator re-creates a default-schedule config on its next tick — to retire a live scout, archive its skill (or set `enabled=false` to make it inert) rather than deleting the config.
Authentication
Connected account requiredScopes
signal_scout:writeTags
List scout configsPOSTHOG_SIGNALS_SCOUT_CONFIG_LISTList the per-(team, skill) scout configs for this project — schedule (`run_interval_minutes`), `enabled`, and `emit` posture per scout. A freshly authored scout skill appears here once its config is registered, either explicitly via create or by the coordinator's next tick.Connection1 scope
List the per-(team, skill) scout configs for this project — schedule (`run_interval_minutes`), `enabled`, and `emit` posture per scout. A freshly authored scout skill appears here once its config is registered, either explicitly via create or by the coordinator's next tick.
Authentication
Connected account requiredScopes
signal_scout:readTags
Run a scout nowPOSTHOG_SIGNALS_SCOUT_CONFIG_RUNDispatch one on-demand run of this scout immediately, regardless of its schedule. Useful to test a scout right after authoring it, or to refresh its findings on demand. The run executes asynchronously on the worker and inherits every guard the scheduled path has: it is forbidden if scouts are not enabled for the project (403), and skipped if the project is over its Signals credits quota or daily run budget (429) or a run for this scout is already in progress (409). A manual run counts against the same daily run budget as scheduled runs, so repeated manual runs of the same scout can exhaust the project's daily allowance. A manual run does not change the scout's schedule or `last_run_at`. A disabled scout can still be run this way (to test before enabling). Returns immediately with the workflow id — poll the scout's runs for the result.Connection1 scope
Dispatch one on-demand run of this scout immediately, regardless of its schedule. Useful to test a scout right after authoring it, or to refresh its findings on demand. The run executes asynchronously on the worker and inherits every guard the scheduled path has: it is forbidden if scouts are not enabled for the project (403), and skipped if the project is over its Signals credits quota or daily run budget (429) or a run for this scout is already in progress (409). A manual run counts against the same daily run budget as scheduled runs, so repeated manual runs of the same scout can exhaust the project's daily allowance. A manual run does not change the scout's schedule or `last_run_at`. A disabled scout can still be run this way (to test before enabling). Returns immediately with the workflow id — poll the scout's runs for the result.
Authentication
Connected account requiredScopes
signal_scout:writeTags
Sync scout configsPOSTHOG_SIGNALS_SCOUT_CONFIG_SYNCMaterialize the scout fleet for this project on demand (idempotent): seed the canonical `signals-scout-*` skills, create a default-schedule config for any scout lacking one, and return all scout configs. Normally the Temporal coordinator does this on its next tick; this action exists so setup flows (e.g. the wizard's self-driving program) can hand the user a tunable fleet immediately.Connection1 scope
Materialize the scout fleet for this project on demand (idempotent): seed the canonical `signals-scout-*` skills, create a default-schedule config for any scout lacking one, and return all scout configs. Normally the Temporal coordinator does this on its next tick; this action exists so setup flows (e.g. the wizard's self-driving program) can hand the user a tunable fleet immediately.
Authentication
Connected account requiredScopes
signal_scout:writeTags
Update a scout configPOSTHOG_SIGNALS_SCOUT_CONFIG_UPDATETune one scout: change its schedule (`run_interval_minutes`), `enabled`, or `emit` (dry-run) posture. `skill_name` is fixed. Enabling records `enabled_by` and is activity-logged since it drives spend.Connection1 scope
Tune one scout: change its schedule (`run_interval_minutes`), `enabled`, or `emit` (dry-run) posture. `skill_name` is fixed. Enabling records `enabled_by` and is activity-logged since it drives spend.
Authentication
Connected account requiredScopes
signal_scout:writeTags
Edit an existing report for a runPOSTHOG_SIGNALS_SCOUT_EDIT_REPORTRewrite a report's title/summary, append a note, and/or set its suggested reviewers. Can target ANY of the project's inbox reports, not just scout-authored ones — so the edit is attributed to this scout. Setting reviewers is how you rescue a report that surfaced routed to no one: it replaces the reviewer list and re-runs autostart, so a report missing a qualifying reviewer can open a draft PR. Title/summary edits are best-effort: the pipeline may later re-research them.Connection1 scope
Rewrite a report's title/summary, append a note, and/or set its suggested reviewers. Can target ANY of the project's inbox reports, not just scout-authored ones — so the edit is attributed to this scout. Setting reviewers is how you rescue a report that surfaced routed to no one: it replaces the reviewer list and re-runs autostart, so a report missing a qualifying reviewer can open a draft PR. Title/summary edits are best-effort: the pipeline may later re-research them.
Authentication
Connected account requiredScopes
signal_scout_report:writeTags
Author a full report for a runPOSTHOG_SIGNALS_SCOUT_EMIT_REPORTThe second emit channel: author a complete `SignalReport` directly instead of emitting a weak signal. The report passes the safety judge, then surfaces at the status the scout's `actionability` call implies (or is suppressed). Backing `evidence` is written as bound signals so the report behaves like a pipeline report. NOT idempotent — a retry authors a second report; use `reports` to find a prior report and `edit-report` to update it instead.Connection1 scope
The second emit channel: author a complete `SignalReport` directly instead of emitting a weak signal. The report passes the safety judge, then surfaces at the status the scout's `actionability` call implies (or is suppressed). Backing `evidence` is written as bound signals so the report behaves like a pipeline report. NOT idempotent — a retry authors a second report; use `reports` to find a prior report and `edit-report` to update it instead.
Authentication
Connected account requiredScopes
signal_scout_report:writeTags
Emit a finding for a runPOSTHOG_SIGNALS_SCOUT_EMIT_SIGNALFire `emit_signal` with `source_product = signals_scout`. The `finding_id` is baked into the deterministic `Signal.source_id = run:<id>:finding:<id>` for traceability, but this is NOT idempotent — a second call with the same `finding_id` emits a second signal, so do not retry an emit that may have already succeeded.Connection1 scope
Fire `emit_signal` with `source_product = signals_scout`. The `finding_id` is baked into the deterministic `Signal.source_id = run:<id>:finding:<id>` for traceability, but this is NOT idempotent — a second call with the same `finding_id` emits a second signal, so do not retry an emit that may have already succeeded.
Authentication
Connected account requiredScopes
signal_scout_internal:writeTags
List project members for reviewer routingPOSTHOG_SIGNALS_SCOUT_MEMBERS_LISTReturn the people who can review work on this project — one row per member with access to it, each with their `user_uuid`, `email`, `first_name`/`last_name`, and resolved GitHub `login` (null when they have no linked GitHub identity). The cold-start reviewer-routing path: when a finding's owner can't be read off a fetched entity's `created_by` and there's no cached `reviewer:<area>` memory or inbox precedent, list members, match the owner by email/name, then put their resolved `github_login` in `suggested_reviewers` on `emit-report` / `edit-report`. Pass `search` to narrow a large roster; the result is capped at 200. Strictly team-scoped.Connection1 scope
Return the people who can review work on this project — one row per member with access to it, each with their `user_uuid`, `email`, `first_name`/`last_name`, and resolved GitHub `login` (null when they have no linked GitHub identity). The cold-start reviewer-routing path: when a finding's owner can't be read off a fetched entity's `created_by` and there's no cached `reviewer:<area>` memory or inbox precedent, list members, match the owner by email/name, then put their resolved `github_login` in `suggested_reviewers` on `emit-report` / `edit-report`. Pass `search` to narrow a large roster; the result is capped at 200. Strictly team-scoped.
Authentication
Connected account requiredScopes
signal_scout_internal:readTags
Get scout metadataPOSTHOG_SIGNALS_SCOUT_METADATA_GETReturn the project's scout metadata: whether it is enrolled, the current announcement banner (e.g. an alpha run-limit notice, or null when unset), and the enforced run limits with current usage. Limits reflect what the coordinator actually applies at dispatch, so a user can see the real throttle rather than what they assume they set. All values come from the `signals-scout` flag payload, so the banner and caps can change with no deploy.Connection1 scope
Return the project's scout metadata: whether it is enrolled, the current announcement banner (e.g. an alpha run-limit notice, or null when unset), and the enforced run limits with current usage. Limits reflect what the coordinator actually applies at dispatch, so a user can see the real throttle rather than what they assume they set. All values come from the `signals-scout` flag payload, so the banner and caps can change with no deploy.
Authentication
Connected account requiredScopes
signal_scout:readTags
Get the current project profilePOSTHOG_SIGNALS_SCOUT_PROJECT_PROFILE_GETReturn the team's deterministic project profile. For the internal scout token the response reflects the newest non-expired cached row or a freshly-built one (lazy compute on cache miss); `force_refresh=true` skips the cache and rebuilds from authoritative sources. Public read callers (session auth or a `signal_scout:read` PAK) get the newest cached profile, or 404 if none has been built yet — they never trigger a rebuild. Read this at the start of a run to orient on the team's product mix, integrations, warehouse sources, signal coverage, and existing inbox surface.Connection1 scope
Return the team's deterministic project profile. For the internal scout token the response reflects the newest non-expired cached row or a freshly-built one (lazy compute on cache miss); `force_refresh=true` skips the cache and rebuilds from authoritative sources. Public read callers (session auth or a `signal_scout:read` PAK) get the newest cached profile, or 404 if none has been built yet — they never trigger a rebuild. Read this at the start of a run to orient on the team's product mix, integrations, warehouse sources, signal coverage, and existing inbox surface.
Authentication
Connected account requiredScopes
signal_scout:readTags
List the inbox reports a run's findings linked toPOSTHOG_SIGNALS_SCOUT_RUNS_EMISSION_REPORTSBest-effort reverse of the report -> signals link. For each finding the run emitted, resolve the inbox `SignalReport` (if any) its underlying signal grouped into by walking the deterministic `source_id` back through the signal store. `report` is null when the finding hasn't grouped into a report yet, was de-duplicated away, or its signal was deleted. Lets the scout UI surface which inbox report a finding contributed to — the reverse of the report's evidence list. Strictly team-scoped — a run UUID belonging to another team returns 404.Connection2 scopes
Best-effort reverse of the report -> signals link. For each finding the run emitted, resolve the inbox `SignalReport` (if any) its underlying signal grouped into by walking the deterministic `source_id` back through the signal store. `report` is null when the finding hasn't grouped into a report yet, was de-duplicated away, or its signal was deleted. Lets the scout UI surface which inbox report a finding contributed to — the reverse of the report's evidence list. Strictly team-scoped — a run UUID belonging to another team returns 404.
Authentication
Connected account requiredScopes
signal_scout:readtask:readTags
List the inbox reports many runs' findings linked toPOSTHOG_SIGNALS_SCOUT_RUNS_EMISSION_REPORTS_BATCHBatched form of the per-run emission-reports endpoint. For every finding the requested runs emitted, resolve the inbox `SignalReport` (if any) its signal grouped into — all in a single ClickHouse round-trip rather than one query per run, which is what made the findings page slow to open. `report` is null when a finding hasn't grouped yet, was de-duplicated, or its signal was deleted. Strictly team-scoped — run ids belonging to another team contribute no rows.Connection2 scopes
Batched form of the per-run emission-reports endpoint. For every finding the requested runs emitted, resolve the inbox `SignalReport` (if any) its signal grouped into — all in a single ClickHouse round-trip rather than one query per run, which is what made the findings page slow to open. `report` is null when a finding hasn't grouped yet, was de-duplicated, or its signal was deleted. Strictly team-scoped — run ids belonging to another team contribute no rows.
Authentication
Connected account requiredScopes
signal_scout:readtask:readTags
List a run's emitted findingsPOSTHOG_SIGNALS_SCOUT_RUNS_EMISSIONSReturn the findings a `SignalScoutRun` emitted to the inbox, newest first — one row per emit with its `description` (the finding text as surfaced), `weight`, `confidence`, `severity`, and the deterministic `source_id` that joins back to the underlying signal. Lets a team and its agents see *what* a run surfaced without parsing `emitted_finding_ids` or scanning the signal store. Strictly team-scoped — a run UUID belonging to another team returns 404.Connection1 scope
Return the findings a `SignalScoutRun` emitted to the inbox, newest first — one row per emit with its `description` (the finding text as surfaced), `weight`, `confidence`, `severity`, and the deterministic `source_id` that joins back to the underlying signal. Lets a team and its agents see *what* a run surfaced without parsing `emitted_finding_ids` or scanning the signal store. Strictly team-scoped — a run UUID belonging to another team returns 404.
Authentication
Connected account requiredScopes
signal_scout:readTags
List emitted findings for many runs at oncePOSTHOG_SIGNALS_SCOUT_RUNS_EMISSIONS_BATCHBatched form of the per-run emissions endpoint: return the findings every requested `SignalScoutRun` emitted, flattened newest-first, in a single request. Each row carries its `run_id`, so the caller can regroup by run. The findings UI uses this to load the whole recent window in one round-trip instead of one request per run. Strictly team-scoped — run ids belonging to another team contribute no rows (no per-run 404; one stale id never fails the batch).Connection1 scope
Batched form of the per-run emissions endpoint: return the findings every requested `SignalScoutRun` emitted, flattened newest-first, in a single request. Each row carries its `run_id`, so the caller can regroup by run. The findings UI uses this to load the whole recent window in one round-trip instead of one request per run. Strictly team-scoped — run ids belonging to another team contribute no rows (no per-run 404; one stale id never fails the batch).
Authentication
Connected account requiredScopes
signal_scout:readTags
Summarise recently emitted findings across the fleetPOSTHOG_SIGNALS_SCOUT_RUNS_FINDINGS_SUMMARYReturn a cheap fleet-wide tally of the findings the scout troop emitted in the recent window — the total count, the number of distinct scouts behind them, and the latest emission time. Backs the 'Scout findings' callout so it renders from one query instead of the client paging through the whole runs window. Counts only runs that emitted at least one finding (`emitted_count > 0`) within the last `window_hours` (default 72), capped to the most recent 120 emitted runs so the count matches what the findings list renders. Strictly team-scoped.Connection1 scope
Return a cheap fleet-wide tally of the findings the scout troop emitted in the recent window — the total count, the number of distinct scouts behind them, and the latest emission time. Backs the 'Scout findings' callout so it renders from one query instead of the client paging through the whole runs window. Counts only runs that emitted at least one finding (`emitted_count > 0`) within the last `window_hours` (default 72), capped to the most recent 120 emitted runs so the count matches what the findings list renders. Strictly team-scoped.
Authentication
Connected account requiredScopes
signal_scout:readTags
Search recent agent runsPOSTHOG_SIGNALS_SCOUT_RUNS_LISTReturn the most recent `SignalScoutRun` summaries for this project, newest first. Used by the headless scout to dedupe against work other runs already covered. ILIKE matches on `summary`. `date_from` / `date_to` are a half-open window on `created_at` (`>= date_from`, `< date_to`); pass `date_to` on subsequent calls to walk past the 100-row cap. Pass `emitted=true` to see only runs that surfaced at least one finding. Pass `skill_name` (optionally with `skill_version`) to scope to a single scout. Results capped at 100.Connection1 scope
Return the most recent `SignalScoutRun` summaries for this project, newest first. Used by the headless scout to dedupe against work other runs already covered. ILIKE matches on `summary`. `date_from` / `date_to` are a half-open window on `created_at` (`>= date_from`, `< date_to`); pass `date_to` on subsequent calls to walk past the 100-row cap. Pass `emitted=true` to see only runs that surfaced at least one finding. Pass `skill_name` (optionally with `skill_version`) to scope to a single scout. Results capped at 100.
Authentication
Connected account requiredScopes
signal_scout:readTags
List recent emitted findings across all runsPOSTHOG_SIGNALS_SCOUT_RUNS_RECENT_EMISSIONSReturn the team's recently emitted scout findings across *every* run, newest first — the cross-run counterpart to the per-run `emissions` action. Each row carries its `run_id`, so you can regroup by run without first listing runs and fanning out one `emissions` call each. Pass `skill_name` to scope to a single scout, and `date_from` / `date_to` (a half-open window on `emitted_at`) to bound or paginate — set `date_to` to the oldest emission's `emitted_at` to walk back past the limit. Pure Postgres, no ClickHouse round-trip. Capped at 200 rows (default 50).Connection1 scope
Return the team's recently emitted scout findings across *every* run, newest first — the cross-run counterpart to the per-run `emissions` action. Each row carries its `run_id`, so you can regroup by run without first listing runs and fanning out one `emissions` call each. Pass `skill_name` to scope to a single scout, and `date_from` / `date_to` (a half-open window on `emitted_at`) to bound or paginate — set `date_to` to the oldest emission's `emitted_at` to walk back past the limit. Pure Postgres, no ClickHouse round-trip. Capped at 200 rows (default 50).
Authentication
Connected account requiredScopes
signal_scout:readTags
Get a run by IDPOSTHOG_SIGNALS_SCOUT_RUNS_RETRIEVEReturn the full `SignalScoutRun` row. Status, timing, and error flow from the linked `tasks.TaskRun`. Strictly team-scoped — a UUID belonging to another team returns 404.Connection1 scope
Return the full `SignalScoutRun` row. Status, timing, and error flow from the linked `tasks.TaskRun`. Strictly team-scoped — a UUID belonging to another team returns 404.
Authentication
Connected account requiredScopes
signal_scout:readTags
Forget a scratchpad entry by keyPOSTHOG_SIGNALS_SCOUT_SCRATCHPAD_FORGETDelete an entry by key. Returns `deleted=false` if no row matched.Connection1 scope
Delete an entry by key. Returns `deleted=false` if no row matched.
Authentication
Connected account requiredScopes
signal_scout_internal:writeTags
Remember a scratchpad entryPOSTHOG_SIGNALS_SCOUT_SCRATCHPAD_REMEMBERUpsert a memory keyed on `(team, key)`. Re-using a key updates the existing entry in place.Connection1 scope
Upsert a memory keyed on `(team, key)`. Re-using a key updates the existing entry in place.
Authentication
Connected account requiredScopes
signal_scout_internal:writeTags
Search the scout scratchpadPOSTHOG_SIGNALS_SCOUT_SCRATCHPAD_SEARCHReturn `SignalScratchpad` entries for this project, newest-first. ILIKE matches on `content` and `key`. `date_from` / `date_to` are a half-open window on `updated_at` (`>= date_from`, `< date_to`); pass `date_to` (the `updated_at` of the oldest entry seen) on subsequent calls to walk past the cap. Pass `keys_only=true` to scan keys without pulling entry bodies, or `content_max_chars` to cap each `content` to a preview — both keep a wide orientation scan from returning every entry's full prose. Results capped at 500.Connection1 scope
Return `SignalScratchpad` entries for this project, newest-first. ILIKE matches on `content` and `key`. `date_from` / `date_to` are a half-open window on `updated_at` (`>= date_from`, `< date_to`); pass `date_to` (the `updated_at` of the oldest entry seen) on subsequent calls to walk past the cap. Pass `keys_only=true` to scan keys without pulling entry bodies, or `content_max_chars` to cap each `content` to a preview — both keep a wide orientation scan from returning every entry's full prose. Results capped at 500.
Authentication
Connected account requiredScopes
signal_scout:readTags
Signals Source Configs CreatePOSTHOG_SIGNALS_SOURCE_CONFIGS_CREATESignals Source Configs CreateConnection1 scope
Signals Source Configs Create
Authentication
Connected account requiredScopes
task:writeTags
Signals Source Configs DestroyPOSTHOG_SIGNALS_SOURCE_CONFIGS_DESTROYSignals Source Configs DestroyConnection1 scope
Signals Source Configs Destroy
Authentication
Connected account requiredScopes
task:writeTags
Signals Source Configs ListPOSTHOG_SIGNALS_SOURCE_CONFIGS_LISTSignals Source Configs ListConnection1 scope
Signals Source Configs List
Authentication
Connected account requiredScopes
task:readTags
Signals Source Configs Partial UpdatePOSTHOG_SIGNALS_SOURCE_CONFIGS_PARTIAL_UPDATESignals Source Configs Partial UpdateConnection1 scope
Signals Source Configs Partial Update
Authentication
Connected account requiredScopes
task:writeTags
Signals Source Configs RetrievePOSTHOG_SIGNALS_SOURCE_CONFIGS_RETRIEVESignals Source Configs RetrieveConnection1 scope
Signals Source Configs Retrieve
Authentication
Connected account requiredScopes
task:readTags
Signals Source Configs UpdatePOSTHOG_SIGNALS_SOURCE_CONFIGS_UPDATESignals Source Configs UpdateConnection1 scope
Signals Source Configs Update
Authentication
Connected account requiredScopes
task:writeTags
Single Session Summaries ListPOSTHOG_SINGLE_SESSION_SUMMARIES_LISTList stored AI-generated session summaries for the team, one row per session (latest summary kept). Use to discover which sessions have been summarized and to filter for sessions with specific problems — `has_exceptions=true`, `outcome=failure`, or a custom `session_ids` narrowing. Returns lightweight rows without the full summary JSON; use the retrieve endpoint for the per-segment / per-action detail.Connection1 scope
List stored AI-generated session summaries for the team, one row per session (latest summary kept). Use to discover which sessions have been summarized and to filter for sessions with specific problems — `has_exceptions=true`, `outcome=failure`, or a custom `session_ids` narrowing. Returns lightweight rows without the full summary JSON; use the retrieve endpoint for the per-segment / per-action detail.
Authentication
Connected account requiredScopes
session_recording:readTags
Single Session Summaries RetrievePOSTHOG_SINGLE_SESSION_SUMMARIES_RETRIEVEGet the latest stored AI summary for a single session by `session_id`. Returns the full `summary` JSON (segments with named timeline, per-action `abandonment` / `confusion` / `exception` flags, segment outcomes, headline `session_outcome`, optional `sentiment`), the `exception_event_ids` array, the `extra_summary_context` (e.g. `focus_area`) used at generation time, and the `run_metadata` (LLM model used, whether visual confirmation was applied). 404 if no summary has been generated for this session yet — to trigger generation, use the existing `session-recording-summarize` flow rather than this endpoint.Connection1 scope
Get the latest stored AI summary for a single session by `session_id`. Returns the full `summary` JSON (segments with named timeline, per-action `abandonment` / `confusion` / `exception` flags, segment outcomes, headline `session_outcome`, optional `sentiment`), the `exception_event_ids` array, the `extra_summary_context` (e.g. `focus_area`) used at generation time, and the `run_metadata` (LLM model used, whether visual confirmation was applied). 404 if no summary has been generated for this session yet — to trigger generation, use the existing `session-recording-summarize` flow rather than this endpoint.
Authentication
Connected account requiredScopes
session_recording:readTags
Subscriptions CreatePOSTHOG_SUBSCRIPTIONS_CREATESubscriptions CreateConnection1 scope
Subscriptions Create
Authentication
Connected account requiredScopes
subscription:writeTags
List subscription deliveriesPOSTHOG_SUBSCRIPTIONS_DELIVERIES_LISTPaginated delivery history for a subscription. Requires premium subscriptions.Connection1 scope
Paginated delivery history for a subscription. Requires premium subscriptions.
Authentication
Connected account requiredScopes
subscription:readTags
Retrieve subscription deliveryPOSTHOG_SUBSCRIPTIONS_DELIVERIES_RETRIEVEFetch one delivery row by id.Connection1 scope
Fetch one delivery row by id.
Authentication
Connected account requiredScopes
subscription:readTags
Subscriptions DestroyPOSTHOG_SUBSCRIPTIONS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
subscription:writeTags
Subscriptions ListPOSTHOG_SUBSCRIPTIONS_LISTSubscriptions ListConnection1 scope
Subscriptions List
Authentication
Connected account requiredScopes
subscription:readTags
Subscriptions Partial UpdatePOSTHOG_SUBSCRIPTIONS_PARTIAL_UPDATESubscriptions Partial UpdateConnection1 scope
Subscriptions Partial Update
Authentication
Connected account requiredScopes
subscription:writeTags
Subscriptions RetrievePOSTHOG_SUBSCRIPTIONS_RETRIEVESubscriptions RetrieveConnection1 scope
Subscriptions Retrieve
Authentication
Connected account requiredScopes
subscription:readTags
Subscriptions Summary Quota RetrievePOSTHOG_SUBSCRIPTIONS_SUMMARY_QUOTA_RETRIEVESubscriptions Summary Quota RetrieveConnection1 scope
Subscriptions Summary Quota Retrieve
Authentication
Connected account requiredScopes
subscription:readTags
Subscriptions Test Delivery CreatePOSTHOG_SUBSCRIPTIONS_TEST_DELIVERY_CREATESubscriptions Test Delivery CreateConnection1 scope
Subscriptions Test Delivery Create
Authentication
Connected account requiredScopes
subscription:writeTags
Subscriptions UpdatePOSTHOG_SUBSCRIPTIONS_UPDATESubscriptions UpdateConnection1 scope
Subscriptions Update
Authentication
Connected account requiredScopes
subscription:writeTags
Surveys Activity RetrievePOSTHOG_SURVEYS_ACTIVITY_RETRIEVESurveys Activity RetrieveConnection1 scope
Surveys Activity Retrieve
Authentication
Connected account requiredScopes
activity_log:readTags
Surveys All Activity RetrievePOSTHOG_SURVEYS_ALL_ACTIVITY_RETRIEVESurveys All Activity RetrieveConnection1 scope
Surveys All Activity Retrieve
Authentication
Connected account requiredScopes
activity_log:readTags
Surveys Archived Response Uuids RetrievePOSTHOG_SURVEYS_ARCHIVED_RESPONSE_UUIDS_RETRIEVEGet list of archived response UUIDs for HogQL filtering. Returns list of UUIDs that the frontend can use to filter out archived responses in HogQL queries.Connection1 scope
Get list of archived response UUIDs for HogQL filtering. Returns list of UUIDs that the frontend can use to filter out archived responses in HogQL queries.
Authentication
Connected account requiredScopes
survey:readTags
Surveys CreatePOSTHOG_SURVEYS_CREATESurveys CreateConnection1 scope
Surveys Create
Authentication
Connected account requiredScopes
survey:writeTags
Surveys DestroyPOSTHOG_SURVEYS_DESTROYSurveys DestroyConnection1 scope
Surveys Destroy
Authentication
Connected account requiredScopes
survey:writeTags
Surveys Duplicate To Projects CreatePOSTHOG_SURVEYS_DUPLICATE_TO_PROJECTS_CREATEDuplicate a survey to multiple projects in a single transaction. Accepts a list of target team IDs and creates a copy of the survey in each project. Uses an all-or-nothing approach - if any duplication fails, all changes are rolled back.Connection1 scope
Duplicate a survey to multiple projects in a single transaction. Accepts a list of target team IDs and creates a copy of the survey in each project. Uses an all-or-nothing approach - if any duplication fails, all changes are rolled back.
Authentication
Connected account requiredScopes
survey:writeTags
Surveys Generate Translations CreatePOSTHOG_SURVEYS_GENERATE_TRANSLATIONS_CREATESurveys Generate Translations CreateConnection1 scope
Surveys Generate Translations Create
Authentication
Connected account requiredScopes
survey:writeTags
Surveys Global Stats RetrievePOSTHOG_SURVEYS_GLOBAL_STATS_RETRIEVEGet aggregated response statistics across all surveys. Args: date_from: Optional ISO timestamp for start date (e.g. 2024-01-01T00:00:00Z) date_to: Optional ISO timestamp for end date (e.g. 2024-01-31T23:59:59Z) Returns: Aggregated statistics across all surveys including total counts and ratesConnection1 scope
Get aggregated response statistics across all surveys. Args: date_from: Optional ISO timestamp for start date (e.g. 2024-01-01T00:00:00Z) date_to: Optional ISO timestamp for end date (e.g. 2024-01-31T23:59:59Z) Returns: Aggregated statistics across all surveys including total counts and rates
Authentication
Connected account requiredScopes
survey:readTags
Surveys LaunchPOSTHOG_SURVEYS_LAUNCHLaunch a survey by setting `start_date` to the current time. No-op if the survey is already launched (start_date set in the past) — returns the existing state unchanged. Does not affect archived surveys or surveys with an end_date in the past; unarchive or extend the end_date first.Connection1 scope
Launch a survey by setting `start_date` to the current time. No-op if the survey is already launched (start_date set in the past) — returns the existing state unchanged. Does not affect archived surveys or surveys with an end_date in the past; unarchive or extend the end_date first.
Authentication
Connected account requiredScopes
survey:writeTags
Surveys ListPOSTHOG_SURVEYS_LISTSurveys ListConnection1 scope
Surveys List
Authentication
Connected account requiredScopes
survey:readTags
Surveys Partial UpdatePOSTHOG_SURVEYS_PARTIAL_UPDATESurveys Partial UpdateConnection1 scope
Surveys Partial Update
Authentication
Connected account requiredScopes
survey:writeTags
Surveys Question LabelsPOSTHOG_SURVEYS_QUESTION_LABELSReturn a slim list of question labels for the team's surveys. Used by the frontend to resolve `$survey_response_<question_id>` property keys into human-readable question text without loading the full survey payload.Connection1 scope
Return a slim list of question labels for the team's surveys. Used by the frontend to resolve `$survey_response_<question_id>` property keys into human-readable question text without loading the full survey payload.
Authentication
Connected account requiredScopes
survey:readTags
Surveys Responses Archive CreatePOSTHOG_SURVEYS_RESPONSES_ARCHIVE_CREATEArchive a single survey response.Connection1 scope
Archive a single survey response.
Authentication
Connected account requiredScopes
survey:writeTags
Surveys Responses Count RetrievePOSTHOG_SURVEYS_RESPONSES_COUNT_RETRIEVEGet response counts for all surveys. Args: exclude_archived: Optional boolean to exclude archived responses (default: false, includes archived) survey_ids: Optional comma-separated list of survey IDs to filter by Returns: Dictionary mapping survey IDs to response countsConnection1 scope
Get response counts for all surveys. Args: exclude_archived: Optional boolean to exclude archived responses (default: false, includes archived) survey_ids: Optional comma-separated list of survey IDs to filter by Returns: Dictionary mapping survey IDs to response counts
Authentication
Connected account requiredScopes
survey:readTags
Surveys Responses ListPOSTHOG_SURVEYS_RESPONSES_LISTList survey responses for a specific survey, with question text resolved server-side so callers do not have to map opaque `$survey_response_<id>` keys. Each row carries `distinct_id`, `session_id`, `submitted_at`, and an `extra` block (device, browser, OS, geoip, current_url, iteration) so agents can cross-pivot to recordings, persons, or paths in a single follow-up call. For person properties at event time, follow up with `persons-get` using the returned `distinct_id` — keeps scopes scoped. Use `question_id` + `score_lte` to fetch NPS detractors and similar score-filtered cohorts.Connection2 scopes
List survey responses for a specific survey, with question text resolved server-side so callers do not have to map opaque `$survey_response_<id>` keys. Each row carries `distinct_id`, `session_id`, `submitted_at`, and an `extra` block (device, browser, OS, geoip, current_url, iteration) so agents can cross-pivot to recordings, persons, or paths in a single follow-up call. For person properties at event time, follow up with `persons-get` using the returned `distinct_id` — keeps scopes scoped. Use `question_id` + `score_lte` to fetch NPS detractors and similar score-filtered cohorts.
Authentication
Connected account requiredScopes
survey:readquery:readTags
Surveys Responses Unarchive CreatePOSTHOG_SURVEYS_RESPONSES_UNARCHIVE_CREATEUnarchive a single survey response.Connection1 scope
Unarchive a single survey response.
Authentication
Connected account requiredScopes
survey:writeTags
Surveys RetrievePOSTHOG_SURVEYS_RETRIEVESurveys RetrieveConnection1 scope
Surveys Retrieve
Authentication
Connected account requiredScopes
survey:readTags
Surveys Stats RetrievePOSTHOG_SURVEYS_STATS_RETRIEVEGet survey response statistics for a specific survey. Args: date_from: Optional ISO timestamp for start date (e.g. 2024-01-01T00:00:00Z) date_to: Optional ISO timestamp for end date (e.g. 2024-01-31T23:59:59Z) exclude_archived: Optional boolean to exclude archived responses (default: false, includes archived) include_per_question_stats: Optional boolean to include per-question response counts and distributions Returns: Survey statistics including event counts, unique respondents, and conversion ratesConnection1 scope
Get survey response statistics for a specific survey. Args: date_from: Optional ISO timestamp for start date (e.g. 2024-01-01T00:00:00Z) date_to: Optional ISO timestamp for end date (e.g. 2024-01-31T23:59:59Z) exclude_archived: Optional boolean to exclude archived responses (default: false, includes archived) include_per_question_stats: Optional boolean to include per-question response counts and distributions Returns: Survey statistics including event counts, unique respondents, and conversion rates
Authentication
Connected account requiredScopes
survey:readTags
Surveys StopPOSTHOG_SURVEYS_STOPStop a survey by setting `end_date` to the current time. No new responses are accepted after this; existing responses remain available. No-op if the survey already has an end_date in the past.Connection1 scope
Stop a survey by setting `end_date` to the current time. No new responses are accepted after this; existing responses remain available. No-op if the survey already has an end_date in the past.
Authentication
Connected account requiredScopes
survey:writeTags
Surveys Summarize Responses CreatePOSTHOG_SURVEYS_SUMMARIZE_RESPONSES_CREATESummarize survey responses. When `question_index` or `question_id` is provided, returns a per-question theme summary using cached `survey.question_summaries` when fresh. When neither is provided, returns the survey-wide headline summary (delegates to summary_headline). Pass `force_refresh=true` in the body to bypass caches.Connection1 scope
Summarize survey responses. When `question_index` or `question_id` is provided, returns a per-question theme summary using cached `survey.question_summaries` when fresh. When neither is provided, returns the survey-wide headline summary (delegates to summary_headline). Pass `force_refresh=true` in the body to bypass caches.
Authentication
Connected account requiredScopes
survey:readTags
Surveys Summary Headline CreatePOSTHOG_SURVEYS_SUMMARY_HEADLINE_CREATESurveys Summary Headline CreateConnection1 scope
Surveys Summary Headline Create
Authentication
Connected account requiredScopes
survey:readTags
Surveys UpdatePOSTHOG_SURVEYS_UPDATESurveys UpdateConnection1 scope
Surveys Update
Authentication
Connected account requiredScopes
survey:writeTags
Taggers CreatePOSTHOG_TAGGERS_CREATETaggers CreateConnection1 scope
Taggers Create
Authentication
Connected account requiredScopes
tagger:writeTags
Taggers DestroyPOSTHOG_TAGGERS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to trueConnection1 scope
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredScopes
tagger:writeTags
Taggers ListPOSTHOG_TAGGERS_LISTTaggers ListConnection1 scope
Taggers List
Authentication
Connected account requiredScopes
tagger:readTags
Taggers Partial UpdatePOSTHOG_TAGGERS_PARTIAL_UPDATETaggers Partial UpdateConnection1 scope
Taggers Partial Update
Authentication
Connected account requiredScopes
tagger:writeTags
Taggers RetrievePOSTHOG_TAGGERS_RETRIEVETaggers RetrieveConnection1 scope
Taggers Retrieve
Authentication
Connected account requiredScopes
tagger:readTags
Taggers Test Hog CreatePOSTHOG_TAGGERS_TEST_HOG_CREATETest Hog tagger code against sample events without saving.Connection1 scope
Test Hog tagger code against sample events without saving.
Authentication
Connected account requiredScopes
tagger:readTags
Taggers UpdatePOSTHOG_TAGGERS_UPDATETaggers UpdateConnection1 scope
Taggers Update
Authentication
Connected account requiredScopes
tagger:writeTags
Task Automations CreatePOSTHOG_TASK_AUTOMATIONS_CREATEAPI for managing scheduled task automations.Connection1 scope
API for managing scheduled task automations.
Authentication
Connected account requiredScopes
task:writeTags
Task Automations DestroyPOSTHOG_TASK_AUTOMATIONS_DESTROYAPI for managing scheduled task automations.Connection1 scope
API for managing scheduled task automations.
Authentication
Connected account requiredScopes
task:writeTags
Task Automations ListPOSTHOG_TASK_AUTOMATIONS_LISTAPI for managing scheduled task automations.Connection1 scope
API for managing scheduled task automations.
Authentication
Connected account requiredScopes
task:readTags
Task Automations Partial UpdatePOSTHOG_TASK_AUTOMATIONS_PARTIAL_UPDATEAPI for managing scheduled task automations.Connection1 scope
API for managing scheduled task automations.
Authentication
Connected account requiredScopes
task:writeTags
Task Automations RetrievePOSTHOG_TASK_AUTOMATIONS_RETRIEVEAPI for managing scheduled task automations.Connection1 scope
API for managing scheduled task automations.
Authentication
Connected account requiredScopes
task:readTags
Task Automations Run CreatePOSTHOG_TASK_AUTOMATIONS_RUN_CREATEAPI for managing scheduled task automations.Connection1 scope
API for managing scheduled task automations.
Authentication
Connected account requiredScopes
task:writeTags
Resolve or create a public channelPOSTHOG_TASK_CHANNELS_CREATEReturns the existing public channel with the (normalized) name, creating it if needed.Connection1 scope
Returns the existing public channel with the (normalized) name, creating it if needed.
Authentication
Connected account requiredScopes
task:writeTags
Delete a public channelPOSTHOG_TASK_CHANNELS_DESTROYAPI for task channels — the shared feeds tasks are kicked off in. Listing lazily provisions the requester's personal "#me" channel; creation is resolve-or-create by normalized name so clients can map channel-like surfaces onto backend channels.Connection1 scope
API for task channels — the shared feeds tasks are kicked off in. Listing lazily provisions the requester's personal "#me" channel; creation is resolve-or-create by normalized name so clients can map channel-like surfaces onto backend channels.
Authentication
Connected account requiredScopes
task:writeTags
List channelsPOSTHOG_TASK_CHANNELS_LISTAll live public channels plus the requester's personal #me channel (created on first list).Connection1 scope
All live public channels plus the requester's personal #me channel (created on first list).
Authentication
Connected account requiredScopes
task:readTags
Rename a public channelPOSTHOG_TASK_CHANNELS_PARTIAL_UPDATEAPI for task channels — the shared feeds tasks are kicked off in. Listing lazily provisions the requester's personal "#me" channel; creation is resolve-or-create by normalized name so clients can map channel-like surfaces onto backend channels.Connection1 scope
API for task channels — the shared feeds tasks are kicked off in. Listing lazily provisions the requester's personal "#me" channel; creation is resolve-or-create by normalized name so clients can map channel-like surfaces onto backend channels.
Authentication
Connected account requiredScopes
task:writeTags
List mentions of the requesterPOSTHOG_TASK_MENTIONS_LISTThread messages that @-mention the requester, newest first, restricted to tasks they can see.Connection1 scope
Thread messages that @-mention the requester, newest first, restricted to tasks they can see.
Authentication
Connected account requiredScopes
task:readTags
Tasks CreatePOSTHOG_TASKS_CREATEAPI for managing tasks within a project. Tasks represent units of work to be performed by an agent.Connection1 scope
API for managing tasks within a project. Tasks represent units of work to be performed by an agent.
Authentication
Connected account requiredScopes
task:writeTags
Tasks DestroyPOSTHOG_TASKS_DESTROYAPI for managing tasks within a project. Tasks represent units of work to be performed by an agent.Connection1 scope
API for managing tasks within a project. Tasks represent units of work to be performed by an agent.
Authentication
Connected account requiredScopes
task:writeTags
List tasksPOSTHOG_TASKS_LISTGet a list of tasks for the current project, with optional filtering by origin product, stage, organization, repository, and created_by.Connection1 scope
Get a list of tasks for the current project, with optional filtering by origin product, stage, organization, repository, and created_by.
Authentication
Connected account requiredScopes
task:readTags
Tasks Partial UpdatePOSTHOG_TASKS_PARTIAL_UPDATEAPI for managing tasks within a project. Tasks represent units of work to be performed by an agent.Connection1 scope
API for managing tasks within a project. Tasks represent units of work to be performed by an agent.
Authentication
Connected account requiredScopes
task:writeTags
Beacon presence for a device watching this taskPOSTHOG_TASKS_PRESENCE_CREATEIdempotent upsert: marks the calling user + `device_id` as actively watching this task for the next ~60 seconds. While at least one device for the user has a non-expired presence row for this task, the push fanout will skip ALL of that user's other registered devices for task notifications — the contract is 'if any device is demonstrably watching, suppress the others'. Clients call this every ~30s while the task screen is foregrounded. `device_id` is the UUID of the caller's UserPushToken row.Connection1 scope
Idempotent upsert: marks the calling user + `device_id` as actively watching this task for the next ~60 seconds. While at least one device for the user has a non-expired presence row for this task, the push fanout will skip ALL of that user's other registered devices for task notifications — the contract is 'if any device is demonstrably watching, suppress the others'. Clients call this every ~30s while the task screen is foregrounded. `device_id` is the UUID of the caller's UserPushToken row.
Authentication
Connected account requiredScopes
task:writeTags
Beacon presence for a device watching this taskPOSTHOG_TASKS_PRESENCE_DESTROYIdempotent upsert: marks the calling user + `device_id` as actively watching this task for the next ~60 seconds. While at least one device for the user has a non-expired presence row for this task, the push fanout will skip ALL of that user's other registered devices for task notifications — the contract is 'if any device is demonstrably watching, suppress the others'. Clients call this every ~30s while the task screen is foregrounded. `device_id` is the UUID of the caller's UserPushToken row.Connection1 scope
Idempotent upsert: marks the calling user + `device_id` as actively watching this task for the next ~60 seconds. While at least one device for the user has a non-expired presence row for this task, the push fanout will skip ALL of that user's other registered devices for task notifications — the contract is 'if any device is demonstrably watching, suppress the others'. Clients call this every ~30s while the task screen is foregrounded. `device_id` is the UUID of the caller's UserPushToken row.
Authentication
Connected account requiredScopes
task:writeTags
List distinct task repositoriesPOSTHOG_TASKS_REPOSITORIES_RETRIEVEReturn the set of repositories referenced by non-deleted, non-internal tasks in the current project. Used to populate repository filter pickers without being constrained by task list pagination.Connection1 scope
Return the set of repositories referenced by non-deleted, non-internal tasks in the current project. Used to populate repository filter pickers without being constrained by task list pagination.
Authentication
Connected account requiredScopes
task:readTags
Get repository readinessPOSTHOG_TASKS_REPOSITORY_READINESS_RETRIEVEGet autonomy readiness details for a specific repository in the current project.Connection1 scope
Get autonomy readiness details for a specific repository in the current project.
Authentication
Connected account requiredScopes
task:readTags
Get taskPOSTHOG_TASKS_RETRIEVERetrieve a single task by ID.Connection1 scope
Retrieve a single task by ID.
Authentication
Connected account requiredScopes
task:readTags
Run taskPOSTHOG_TASKS_RUN_CREATECreate a new task run and kick off the workflow.Connection1 scope
Create a new task run and kick off the workflow.
Authentication
Connected account requiredScopes
task:writeTags
Append log entriesPOSTHOG_TASKS_RUNS_APPEND_LOG_CREATEAppend one or more log entries to the task run log arrayConnection1 scope
Append one or more log entries to the task run log array
Authentication
Connected account requiredScopes
task:writeTags
Upload artifacts for a task runPOSTHOG_TASKS_RUNS_ARTIFACTS_CREATEPersist task artifacts to S3 and attach them to the run manifest.Connection1 scope
Persist task artifacts to S3 and attach them to the run manifest.
Authentication
Connected account requiredScopes
task:writeTags
Download an artifact through the backendPOSTHOG_TASKS_RUNS_ARTIFACTS_DOWNLOAD_CREATEStreams artifact content for a task run artifact after validating that it belongs to the run.Connection1 scope
Streams artifact content for a task run artifact after validating that it belongs to the run.
Authentication
Connected account requiredScopes
task:readTags
Finalize direct uploads for task run artifactsPOSTHOG_TASKS_RUNS_ARTIFACTS_FINALIZE_UPLOAD_CREATEVerify directly uploaded S3 objects and attach them to the run artifact manifest.Connection1 scope
Verify directly uploaded S3 objects and attach them to the run artifact manifest.
Authentication
Connected account requiredScopes
task:writeTags
Prepare direct uploads for task run artifactsPOSTHOG_TASKS_RUNS_ARTIFACTS_PREPARE_UPLOAD_CREATEReserve S3 object keys for task artifacts and return presigned POST forms for direct uploads.Connection1 scope
Reserve S3 object keys for task artifacts and return presigned POST forms for direct uploads.
Authentication
Connected account requiredScopes
task:writeTags
Generate presigned URL for an artifactPOSTHOG_TASKS_RUNS_ARTIFACTS_PRESIGN_CREATEReturns a temporary, signed URL that can be used to download a specific artifact.Connection1 scope
Returns a temporary, signed URL that can be used to download a specific artifact.
Authentication
Connected account requiredScopes
task:readTags
Send command to task runPOSTHOG_TASKS_RUNS_COMMAND_CREATEQueue user_message JSON-RPC commands through the task workflow and forward sandbox control commands to the agent server. Supports user_message, cancel, close, permission_response, and set_config_option commands.Connection1 scope
Queue user_message JSON-RPC commands through the task workflow and forward sandbox control commands to the agent server. Supports user_message, cancel, close, permission_response, and set_config_option commands.
Authentication
Connected account requiredScopes
task:writeTags
Get sandbox connection tokenPOSTHOG_TASKS_RUNS_CONNECTION_TOKEN_RETRIEVEGenerate a JWT token for direct connection to the sandbox. Valid for 24 hours.Connection1 scope
Generate a JWT token for direct connection to the sandbox. Valid for 24 hours.
Authentication
Connected account requiredScopes
task:writeTags
Create task runPOSTHOG_TASKS_RUNS_CREATECreate a new run for a specific task without starting execution.Connection1 scope
Create a new run for a specific task without starting execution.
Authentication
Connected account requiredScopes
task:writeTags
List task runsPOSTHOG_TASKS_RUNS_LISTGet a list of runs for a specific task.Connection1 scope
Get a list of runs for a specific task.
Authentication
Connected account requiredScopes
task:readTags
Get task run logsPOSTHOG_TASKS_RUNS_LOGS_RETRIEVEFetch the logs for a task run as JSONL. If the run resumes from another (state.resume_from_run_id), each ancestor's log is concatenated first (oldest ancestor → ... → this run) so resume consumers see a single continuous history and can find the most recent git_checkpoint event regardless of which run emitted it.Connection1 scope
Fetch the logs for a task run as JSONL. If the run resumes from another (state.resume_from_run_id), each ancestor's log is concatenated first (oldest ancestor → ... → this run) so resume consumers see a single continuous history and can find the most recent git_checkpoint event regardless of which run emitted it.
Authentication
Connected account requiredScopes
task:readTags
Update task runPOSTHOG_TASKS_RUNS_PARTIAL_UPDATEAPI for managing task runs. Each run represents an execution of a task.Connection1 scope
API for managing task runs. Each run represents an execution of a task.
Authentication
Connected account requiredScopes
task:writeTags
Relay run message to SlackPOSTHOG_TASKS_RUNS_RELAY_MESSAGE_CREATEQueue a Slack relay workflow to post a run message into the mapped Slack thread.Connection1 scope
Queue a Slack relay workflow to post a run message into the mapped Slack thread.
Authentication
Connected account requiredScopes
task:writeTags
Resume task run in cloudPOSTHOG_TASKS_RUNS_RESUME_IN_CLOUD_CREATEResume an existing task run in a cloud sandbox. Terminates any existing workflow and starts a new one.Connection1 scope
Resume an existing task run in a cloud sandbox. Terminates any existing workflow and starts a new one.
Authentication
Connected account requiredScopes
task:writeTags
Get task runPOSTHOG_TASKS_RUNS_RETRIEVERetrieve a single run for a specific task.Connection1 scope
Retrieve a single run for a specific task.
Authentication
Connected account requiredScopes
task:readTags
Get filtered task run session logsPOSTHOG_TASKS_RUNS_SESSION_LOGS_RETRIEVEFetch session log entries for a task run with optional filtering by timestamp, event type, and limit.Connection1 scope
Fetch session log entries for a task run with optional filtering by timestamp, event type, and limit.
Authentication
Connected account requiredScopes
task:readTags
Set run outputPOSTHOG_TASKS_RUNS_SET_OUTPUT_PARTIAL_UPDATEUpdate the output field for a task run (e.g., PR URL, commit SHA, etc.)Connection1 scope
Update the output field for a task run (e.g., PR URL, commit SHA, etc.)
Authentication
Connected account requiredScopes
task:writeTags
Start task runPOSTHOG_TASKS_RUNS_START_CREATEStart an existing cloud run after any initial run-scoped attachments have been uploaded.Connection1 scope
Start an existing cloud run after any initial run-scoped attachments have been uploaded.
Authentication
Connected account requiredScopes
task:writeTags
Tasks Runs Stream RetrievePOSTHOG_TASKS_RUNS_STREAM_RETRIEVEServer-Sent Events stream of task run events. Events carry an `id:` line (a Redis stream id) usable as a resume cursor. The server caps each connection at 900 seconds: it emits `event: end` with `data: {"type": "rotated"}` and closes. This does NOT mean the run finished — reconnect with the `Last-Event-ID` header set to the last received event id to resume without gaps or duplicates. Only treat the stream as complete when the run itself reaches a terminal status. `?start=latest` consumers must also carry `Last-Event-ID` across reconnects: reconnecting without it re-resolves to the then-current latest event, silently skipping anything published while disconnected. **SDK consumers**: do not call the generated fetch wrapper for this path — it will buffer the entire stream. Use the URL builder (`getTasksRunsStreamRetrieveUrl`) with a streaming `fetch`/`EventSource`-style consumer and the `Last-Event-ID` header instead.Connection1 scope
Server-Sent Events stream of task run events. Events carry an `id:` line (a Redis stream id) usable as a resume cursor. The server caps each connection at 900 seconds: it emits `event: end` with `data: {"type": "rotated"}` and closes. This does NOT mean the run finished — reconnect with the `Last-Event-ID` header set to the last received event id to resume without gaps or duplicates. Only treat the stream as complete when the run itself reaches a terminal status. `?start=latest` consumers must also carry `Last-Event-ID` across reconnects: reconnecting without it re-resolves to the then-current latest event, silently skipping anything published while disconnected. **SDK consumers**: do not call the generated fetch wrapper for this path — it will buffer the entire stream. Use the URL builder (`getTasksRunsStreamRetrieveUrl`) with a streaming `fetch`/`EventSource`-style consumer and the `Last-Event-ID` header instead.
Authentication
Connected account requiredScopes
task:readTags
Get task run stream read tokenPOSTHOG_TASKS_RUNS_STREAM_TOKEN_RETRIEVEGenerate a run-scoped JWT that authorizes reading this task run's live event stream via the agent-proxy.Connection1 scope
Generate a run-scoped JWT that authorizes reading this task run's live event stream via the agent-proxy.
Authentication
Connected account requiredScopes
task:readTags
Resolve a Slack thread to its task, runs, and Temporal workflowsPOSTHOG_TASKS_SLACK_THREAD_CONTEXT_RETRIEVEPostHog-internal debug tool. Resolves a Slack permalink to the linked task, its runs, the task-processing and mention-dispatch Temporal workflow ids/URLs, and presigned log URLs.Connection1 scope
PostHog-internal debug tool. Resolves a Slack permalink to the linked task, its runs, the task-processing and mention-dispatch Temporal workflow ids/URLs, and presigned log URLs.
Authentication
Connected account requiredScopes
task:readTags
Finalize staged direct uploads for task attachmentsPOSTHOG_TASKS_STAGED_ARTIFACTS_FINALIZE_UPLOAD_CREATEVerify staged S3 uploads and cache their metadata so they can be attached to the next run created for this task.Connection1 scope
Verify staged S3 uploads and cache their metadata so they can be attached to the next run created for this task.
Authentication
Connected account requiredScopes
task:writeTags
Prepare staged direct uploads for task attachmentsPOSTHOG_TASKS_STAGED_ARTIFACTS_PREPARE_UPLOAD_CREATEReserve S3 object keys for task attachments before creating a new run and return presigned POST forms for direct uploads.Connection1 scope
Reserve S3 object keys for task attachments before creating a new run and return presigned POST forms for direct uploads.
Authentication
Connected account requiredScopes
task:writeTags
Fetch task summaries by IDPOSTHOG_TASKS_SUMMARIES_CREATEReturns summary for the requested tasks: `id`, `title`, `repository`, `created_at`, `updated_at`, and the latest run's `status` and `environment`.Connection1 scope
Returns summary for the requested tasks: `id`, `title`, `repository`, `created_at`, `updated_at`, and the latest run's `status` and `environment`.
Authentication
Connected account requiredScopes
task:readTags
Post a thread messagePOSTHOG_TASKS_THREAD_MESSAGES_CREATEAPI for a task's thread — the human-only side conversation around a task. Messages reach the agent only via the explicit send_to_agent action, gated to the task author.Connection1 scope
API for a task's thread — the human-only side conversation around a task. Messages reach the agent only via the explicit send_to_agent action, gated to the task author.
Authentication
Connected account requiredScopes
task:writeTags
Delete own thread messagePOSTHOG_TASKS_THREAD_MESSAGES_DESTROYAPI for a task's thread — the human-only side conversation around a task. Messages reach the agent only via the explicit send_to_agent action, gated to the task author.Connection1 scope
API for a task's thread — the human-only side conversation around a task. Messages reach the agent only via the explicit send_to_agent action, gated to the task author.
Authentication
Connected account requiredScopes
task:writeTags
List thread messagesPOSTHOG_TASKS_THREAD_MESSAGES_LISTThe task's thread in chronological order.Connection1 scope
The task's thread in chronological order.
Authentication
Connected account requiredScopes
task:readTags
Send a thread message to the agentPOSTHOG_TASKS_THREAD_MESSAGES_SEND_TO_AGENT_CREATETask author only: forwards the message into the task's latest live run.Connection1 scope
Task author only: forwards the message into the task's latest live run.
Authentication
Connected account requiredScopes
task:writeTags
Tasks UpdatePOSTHOG_TASKS_UPDATEAPI for managing tasks within a project. Tasks represent units of work to be performed by an agent.Connection1 scope
API for managing tasks within a project. Tasks represent units of work to be performed by an agent.
Authentication
Connected account requiredScopes
task:writeTags
Warm a task sandboxPOSTHOG_TASKS_WARM_CREATEWarm a full idling Run for a Code-app cloud task while the user composes: boot a sandbox, clone the repo, check out the branch, and start the agent, then idle awaiting the first message. On submit the normal create+run path transparently reuses and activates this Run; abandoned warms are reaped by the Run's inactivity timeout. Best-effort: returns an empty body when the feature flag is off, the warm pool is full, or the GitHub integration doesn't belong to the team.Connection1 scope
Warm a full idling Run for a Code-app cloud task while the user composes: boot a sandbox, clone the repo, check out the branch, and start the agent, then idle awaiting the first message. On submit the normal create+run path transparently reuses and activates this Run; abandoned warms are reaped by the Run's inactivity timeout. Best-effort: returns an empty body when the feature flag is off, the warm pool is full, or the GitHub integration doesn't belong to the team.
Authentication
Connected account requiredScopes
task:writeTags
Tracing Spans Aggregate CreatePOSTHOG_TRACING_SPANS_AGGREGATE_CREATETracing Spans Aggregate CreateConnection1 scope
Tracing Spans Aggregate Create
Authentication
Connected account requiredScopes
tracing:readTags
Tracing Spans Attribute Breakdown CreatePOSTHOG_TRACING_SPANS_ATTRIBUTE_BREAKDOWN_CREATETracing Spans Attribute Breakdown CreateConnection1 scope
Tracing Spans Attribute Breakdown Create
Authentication
Connected account requiredScopes
tracing:readTags
Tracing Spans Attributes RetrievePOSTHOG_TRACING_SPANS_ATTRIBUTES_RETRIEVETracing Spans Attributes RetrieveConnection1 scope
Tracing Spans Attributes Retrieve
Authentication
Connected account requiredScopes
tracing:readTags
Tracing Spans Count CreatePOSTHOG_TRACING_SPANS_COUNT_CREATETracing Spans Count CreateConnection1 scope
Tracing Spans Count Create
Authentication
Connected account requiredScopes
tracing:readTags
Tracing Spans Duration Histogram CreatePOSTHOG_TRACING_SPANS_DURATION_HISTOGRAM_CREATETracing Spans Duration Histogram CreateConnection1 scope
Tracing Spans Duration Histogram Create
Authentication
Connected account requiredScopes
tracing:readTags
Tracing Spans Has Spans RetrievePOSTHOG_TRACING_SPANS_HAS_SPANS_RETRIEVETracing Spans Has Spans RetrieveConnection1 scope
Tracing Spans Has Spans Retrieve
Authentication
Connected account requiredScopes
tracing:readTags
Tracing Spans Query CreatePOSTHOG_TRACING_SPANS_QUERY_CREATETracing Spans Query CreateConnection1 scope
Tracing Spans Query Create
Authentication
Connected account requiredScopes
tracing:readTags
Tracing Spans Service Names RetrievePOSTHOG_TRACING_SPANS_SERVICE_NAMES_RETRIEVETracing Spans Service Names RetrieveConnection1 scope
Tracing Spans Service Names Retrieve
Authentication
Connected account requiredScopes
tracing:readTags
Tracing Spans Sparkline CreatePOSTHOG_TRACING_SPANS_SPARKLINE_CREATETracing Spans Sparkline CreateConnection1 scope
Tracing Spans Sparkline Create
Authentication
Connected account requiredScopes
tracing:readTags
Tracing Spans Symbol Stats CreatePOSTHOG_TRACING_SPANS_SYMBOL_STATS_CREATETracing Spans Symbol Stats CreateConnection1 scope
Tracing Spans Symbol Stats Create
Authentication
Connected account requiredScopes
tracing:readTags
Tracing Spans Trace CreatePOSTHOG_TRACING_SPANS_TRACE_CREATETracing Spans Trace CreateConnection1 scope
Tracing Spans Trace Create
Authentication
Connected account requiredScopes
tracing:readTags
Tracing Spans Tree CreatePOSTHOG_TRACING_SPANS_TREE_CREATETracing Spans Tree CreateConnection1 scope
Tracing Spans Tree Create
Authentication
Connected account requiredScopes
tracing:readTags
Tracing Spans Values RetrievePOSTHOG_TRACING_SPANS_VALUES_RETRIEVETracing Spans Values RetrieveConnection1 scope
Tracing Spans Values Retrieve
Authentication
Connected account requiredScopes
tracing:readTags
Tracing Views CreatePOSTHOG_TRACING_VIEWS_CREATETracing Views CreateConnection1 scope
Tracing Views Create
Authentication
Connected account requiredScopes
tracing:writeTags
Tracing Views DestroyPOSTHOG_TRACING_VIEWS_DESTROYTracing Views DestroyConnection1 scope
Tracing Views Destroy
Authentication
Connected account requiredScopes
tracing:writeTags
Tracing Views ListPOSTHOG_TRACING_VIEWS_LISTTracing Views ListConnection1 scope
Tracing Views List
Authentication
Connected account requiredScopes
tracing:readTags
Tracing Views Partial UpdatePOSTHOG_TRACING_VIEWS_PARTIAL_UPDATETracing Views Partial UpdateConnection1 scope
Tracing Views Partial Update
Authentication
Connected account requiredScopes
tracing:writeTags
Tracing Views RetrievePOSTHOG_TRACING_VIEWS_RETRIEVETracing Views RetrieveConnection1 scope
Tracing Views Retrieve
Authentication
Connected account requiredScopes
tracing:readTags
Tracing Views UpdatePOSTHOG_TRACING_VIEWS_UPDATETracing Views UpdateConnection1 scope
Tracing Views Update
Authentication
Connected account requiredScopes
tracing:writeTags
UpdatePOSTHOG_UPDATEUpdateConnection1 scope
Update
Authentication
Connected account requiredScopes
organization:writeTags
Update Session Summaries ConfigPOSTHOG_UPDATE_SESSION_SUMMARIES_CONFIGUpdate the team's session summaries configuration (product context used to tailor single-session replay summaries).Connection
Update the team's session summaries configuration (product context used to tailor single-session replay summaries).
Authentication
Connected account requiredTags
Uploaded Media CreatePOSTHOG_UPLOADED_MEDIA_CREATEWhen object storage is available this API allows upload of media which can be used, for example, in text cards on dashboards. Uploaded media must have a content type beginning with 'image/' and be less than 4MB.Connection1 scope
When object storage is available this API allows upload of media which can be used, for example, in text cards on dashboards. Uploaded media must have a content type beginning with 'image/' and be less than 4MB.
Authentication
Connected account requiredScopes
uploaded_media:writeTags
User Home Settings Partial UpdatePOSTHOG_USER_HOME_SETTINGS_PARTIAL_UPDATEUpdate the authenticated user's pinned sidebar tabs and/or homepage for the current team. Pass `@me` as the UUID. Send `tabs` to replace the pinned tab list, `homepage` to set the home destination (any PostHog URL — dashboard, insight, search results, scene). Either field may be omitted to leave it unchanged; sending `homepage: null` or `{}` clears the homepage.Connection1 scope
Update the authenticated user's pinned sidebar tabs and/or homepage for the current team. Pass `@me` as the UUID. Send `tabs` to replace the pinned tab list, `homepage` to set the home destination (any PostHog URL — dashboard, insight, search results, scene). Either field may be omitted to leave it unchanged; sending `homepage: null` or `{}` clears the homepage.
Authentication
Connected account requiredScopes
user:writeTags
User Home Settings RetrievePOSTHOG_USER_HOME_SETTINGS_RETRIEVEGet the authenticated user's pinned sidebar tabs and configured homepage for the current team. Pass `@me` as the UUID.Connection1 scope
Get the authenticated user's pinned sidebar tabs and configured homepage for the current team. Pass `@me` as the UUID.
Authentication
Connected account requiredScopes
user:readTags
User Interview Topics Add Interviewee CreatePOSTHOG_USER_INTERVIEW_TOPICS_ADD_INTERVIEWEE_CREATEAdd a single interviewee to this topic. Email-shaped identifiers (including the `Display Name <email@host>` form) are appended to `interviewee_emails`; everything else is appended to `interviewee_distinct_ids`. Idempotent — adding an identifier that's already present leaves the topic unchanged. Returns the updated topic.Connection1 scope
Add a single interviewee to this topic. Email-shaped identifiers (including the `Display Name <email@host>` form) are appended to `interviewee_emails`; everything else is appended to `interviewee_distinct_ids`. Idempotent — adding an identifier that's already present leaves the topic unchanged. Returns the updated topic.
Authentication
Connected account requiredScopes
user_interview:writeTags
User Interview Topics CreatePOSTHOG_USER_INTERVIEW_TOPICS_CREATEPlanned user interview topics: who we want to target and what we want to ask about.Connection1 scope
Planned user interview topics: who we want to target and what we want to ask about.
Authentication
Connected account requiredScopes
user_interview:writeTags
User Interview Topics DestroyPOSTHOG_USER_INTERVIEW_TOPICS_DESTROYPlanned user interview topics: who we want to target and what we want to ask about.Connection1 scope
Planned user interview topics: who we want to target and what we want to ask about.
Authentication
Connected account requiredScopes
user_interview:writeTags
User Interview Topics Generate Links CreatePOSTHOG_USER_INTERVIEW_TOPICS_GENERATE_LINKS_CREATEGenerate one public interview link per targeted interviewee. Materializes an IntervieweeContext row for every identifier on the topic (without overwriting existing per-person context), and an enabled SharingConfiguration with a unique access token. The URL resolves to the public interview viewer with no PostHog auth required.Connection1 scope
Generate one public interview link per targeted interviewee. Materializes an IntervieweeContext row for every identifier on the topic (without overwriting existing per-person context), and an enabled SharingConfiguration with a unique access token. The URL resolves to the public interview viewer with no PostHog auth required.
Authentication
Connected account requiredScopes
user_interview:writeTags
User Interview Topics Interviewees Bulk CreatePOSTHOG_USER_INTERVIEW_TOPICS_INTERVIEWEES_BULK_CREATECreate up to 500 interviewee context rows for a topic in a single request. Rows whose (topic, interviewee_identifier) already exists are skipped — the response surfaces an `inserted_count`, a `skipped_count`, and the `skipped_identifiers` so the caller can reconcile. Items must have unique `interviewee_identifier` values within the batch.Connection1 scope
Create up to 500 interviewee context rows for a topic in a single request. Rows whose (topic, interviewee_identifier) already exists are skipped — the response surfaces an `inserted_count`, a `skipped_count`, and the `skipped_identifiers` so the caller can reconcile. Items must have unique `interviewee_identifier` values within the batch.
Authentication
Connected account requiredScopes
user_interview:writeTags
User Interview Topics Interviewees CreatePOSTHOG_USER_INTERVIEW_TOPICS_INTERVIEWEES_CREATEPer-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).Connection1 scope
Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).
Authentication
Connected account requiredScopes
user_interview:writeTags
User Interview Topics Interviewees DestroyPOSTHOG_USER_INTERVIEW_TOPICS_INTERVIEWEES_DESTROYPer-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).Connection1 scope
Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).
Authentication
Connected account requiredScopes
user_interview:writeTags
User Interview Topics Interviewees ListPOSTHOG_USER_INTERVIEW_TOPICS_INTERVIEWEES_LISTPer-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).Connection1 scope
Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).
Authentication
Connected account requiredScopes
user_interview:readTags
User Interview Topics Interviewees Partial UpdatePOSTHOG_USER_INTERVIEW_TOPICS_INTERVIEWEES_PARTIAL_UPDATEPer-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).Connection1 scope
Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).
Authentication
Connected account requiredScopes
user_interview:writeTags
User Interview Topics Interviewees RetrievePOSTHOG_USER_INTERVIEW_TOPICS_INTERVIEWEES_RETRIEVEPer-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).Connection1 scope
Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).
Authentication
Connected account requiredScopes
user_interview:readTags
User Interview Topics Interviewees UpdatePOSTHOG_USER_INTERVIEW_TOPICS_INTERVIEWEES_UPDATEPer-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).Connection1 scope
Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).
Authentication
Connected account requiredScopes
user_interview:writeTags
User Interview Topics Links Csv CreatePOSTHOG_USER_INTERVIEW_TOPICS_LINKS_CSV_CREATESame materialization as generate_links, returned as a downloadable CSV. Intended for users who want to mail-merge the per-person interview links into their own email tooling.Connection1 scope
Same materialization as generate_links, returned as a downloadable CSV. Intended for users who want to mail-merge the per-person interview links into their own email tooling.
Authentication
Connected account requiredScopes
user_interview:writeTags
User Interview Topics ListPOSTHOG_USER_INTERVIEW_TOPICS_LISTPlanned user interview topics: who we want to target and what we want to ask about.Connection1 scope
Planned user interview topics: who we want to target and what we want to ask about.
Authentication
Connected account requiredScopes
user_interview:readTags
User Interview Topics Partial UpdatePOSTHOG_USER_INTERVIEW_TOPICS_PARTIAL_UPDATEPlanned user interview topics: who we want to target and what we want to ask about.Connection1 scope
Planned user interview topics: who we want to target and what we want to ask about.
Authentication
Connected account requiredScopes
user_interview:writeTags
User Interview Topics Preview Invite CreatePOSTHOG_USER_INTERVIEW_TOPICS_PREVIEW_INVITE_CREATERender the invite email exactly as a specific targeted interviewee would receive it — personalized subject and body — without sending anything and without creating or reading any share links. Pass `interviewee_identifier` to preview for a particular person, or omit it to preview for the first targeted interviewee. The body always shows an illustrative placeholder link (`is_preview_link: true`), never a live interview URL.Connection1 scope
Render the invite email exactly as a specific targeted interviewee would receive it — personalized subject and body — without sending anything and without creating or reading any share links. Pass `interviewee_identifier` to preview for a particular person, or omit it to preview for the first targeted interviewee. The body always shows an illustrative placeholder link (`is_preview_link: true`), never a live interview URL.
Authentication
Connected account requiredScopes
user_interview:readTags
User Interview Topics Remove Interviewee CreatePOSTHOG_USER_INTERVIEW_TOPICS_REMOVE_INTERVIEWEE_CREATERemove an interviewee from this topic. Drops the identifier from both `interviewee_emails` and `interviewee_distinct_ids`, and disables any active SharingConfiguration linked to an IntervieweeContext for that identifier on this topic so the removed person can no longer open their interview link. Idempotent — removing an identifier that isn't present is a no-op. Returns the updated topic.Connection1 scope
Remove an interviewee from this topic. Drops the identifier from both `interviewee_emails` and `interviewee_distinct_ids`, and disables any active SharingConfiguration linked to an IntervieweeContext for that identifier on this topic so the removed person can no longer open their interview link. Idempotent — removing an identifier that isn't present is a no-op. Returns the updated topic.
Authentication
Connected account requiredScopes
user_interview:writeTags
User Interview Topics RetrievePOSTHOG_USER_INTERVIEW_TOPICS_RETRIEVEPlanned user interview topics: who we want to target and what we want to ask about.Connection1 scope
Planned user interview topics: who we want to target and what we want to ask about.
Authentication
Connected account requiredScopes
user_interview:readTags
User Interview Topics Send Invites CreatePOSTHOG_USER_INTERVIEW_TOPICS_SEND_INVITES_CREATEGenerate (if needed) and email a personalized public interview link to every targeted interviewee on this topic whose identifier is an email address. Distinct-ID-only interviewees are skipped and surfaced in the response. Each invite is keyed on the underlying SharingConfiguration so re-runs after token rotation produce a fresh send.Connection1 scope
Generate (if needed) and email a personalized public interview link to every targeted interviewee on this topic whose identifier is an email address. Distinct-ID-only interviewees are skipped and surfaced in the response. Each invite is keyed on the underlying SharingConfiguration so re-runs after token rotation produce a fresh send.
Authentication
Connected account requiredScopes
user_interview:writeTags
User Interview Topics Test Link RetrievePOSTHOG_USER_INTERVIEW_TOPICS_TEST_LINK_RETRIEVEReturn the calling user's personal dogfood interview link for this topic, plus the latest test interview they have recorded against it. Lazily get-or-creates a per-caller IntervieweeContext + enabled SharingConfiguration the first time it's called, then returns the same stable URL on subsequent calls. The caller's identifier is intentionally not added to the topic's targeting arrays — each user dogfoods under their own row, so test calls never mint a public share token on someone else's behalf.Connection1 scope
Return the calling user's personal dogfood interview link for this topic, plus the latest test interview they have recorded against it. Lazily get-or-creates a per-caller IntervieweeContext + enabled SharingConfiguration the first time it's called, then returns the same stable URL on subsequent calls. The caller's identifier is intentionally not added to the topic's targeting arrays — each user dogfoods under their own row, so test calls never mint a public share token on someone else's behalf.
Authentication
Connected account requiredScopes
user_interview:writeTags
User Interview Topics UpdatePOSTHOG_USER_INTERVIEW_TOPICS_UPDATEPlanned user interview topics: who we want to target and what we want to ask about.Connection1 scope
Planned user interview topics: who we want to target and what we want to ask about.
Authentication
Connected account requiredScopes
user_interview:writeTags
User Interviews CreatePOSTHOG_USER_INTERVIEWS_CREATEUser Interviews CreateConnection1 scope
User Interviews Create
Authentication
Connected account requiredScopes
user_interview:writeTags
User Interviews DestroyPOSTHOG_USER_INTERVIEWS_DESTROYUser Interviews DestroyConnection1 scope
User Interviews Destroy
Authentication
Connected account requiredScopes
user_interview:writeTags
User Interviews ListPOSTHOG_USER_INTERVIEWS_LISTUser Interviews ListConnection1 scope
User Interviews List
Authentication
Connected account requiredScopes
user_interview:readTags
User Interviews Partial UpdatePOSTHOG_USER_INTERVIEWS_PARTIAL_UPDATEUser Interviews Partial UpdateConnection1 scope
User Interviews Partial Update
Authentication
Connected account requiredScopes
user_interview:writeTags
User Interviews RetrievePOSTHOG_USER_INTERVIEWS_RETRIEVEUser Interviews RetrieveConnection1 scope
User Interviews Retrieve
Authentication
Connected account requiredScopes
user_interview:readTags
Search interview responses by semantic similarityPOSTHOG_USER_INTERVIEWS_SEARCH_CREATEEmbed `query` with the same model used to index interview transcripts and summaries, then return the top matches by cosine distance. Each match is a single (interview, document_type) pair — an interview can appear up to twice if both its transcript and summary score above other interviews. Useful for surfacing relevant interview snippets in natural language, without exact keyword matches.Connection1 scope
Embed `query` with the same model used to index interview transcripts and summaries, then return the top matches by cosine distance. Each match is a single (interview, document_type) pair — an interview can appear up to twice if both its transcript and summary score above other interviews. Useful for surfacing relevant interview snippets in natural language, without exact keyword matches.
Authentication
Connected account requiredScopes
user_interview:readTags
User Interviews UpdatePOSTHOG_USER_INTERVIEWS_UPDATEUser Interviews UpdateConnection1 scope
User Interviews Update
Authentication
Connected account requiredScopes
user_interview:writeTags
Users Cancel Email Change Request Partial UpdatePOSTHOG_USERS_CANCEL_EMAIL_CHANGE_REQUEST_PARTIAL_UPDATEUsers Cancel Email Change Request Partial UpdateConnection
Users Cancel Email Change Request Partial Update
Authentication
Connected account requiredTags
Users Credentials Review Complete CreatePOSTHOG_USERS_CREDENTIALS_REVIEW_COMPLETE_CREATEMark the user as having reviewed their existing credentials. Idempotent. Flips `requires_credential_review` to False so the post-login interstitial isn't shown again. Does not modify any credentials; the user revokes individual Personal API Keys and passkeys via their existing endpoints from the same screen.Connection
Mark the user as having reviewed their existing credentials. Idempotent. Flips `requires_credential_review` to False so the post-login interstitial isn't shown again. Does not modify any credentials; the user revokes individual Personal API Keys and passkeys via their existing endpoints from the same screen.
Authentication
Connected account requiredTags
Users DestroyPOSTHOG_USERS_DESTROYUsers DestroyConnection
Users Destroy
Authentication
Connected account requiredTags
Users Github Login RetrievePOSTHOG_USERS_GITHUB_LOGIN_RETRIEVEUsers Github Login RetrieveConnection1 scope
Users Github Login Retrieve
Authentication
Connected account requiredScopes
user:readTags
Users Hedgehog Config Partial UpdatePOSTHOG_USERS_HEDGEHOG_CONFIG_PARTIAL_UPDATEUsers Hedgehog Config Partial UpdateConnection1 scope
Users Hedgehog Config Partial Update
Authentication
Connected account requiredScopes
user:writeTags
Users Hedgehog Config RetrievePOSTHOG_USERS_HEDGEHOG_CONFIG_RETRIEVEUsers Hedgehog Config RetrieveConnection1 scope
Users Hedgehog Config Retrieve
Authentication
Connected account requiredScopes
user:readTags
List branches for a personal GitHub installation repositoryPOSTHOG_USERS_INTEGRATIONS_GITHUB_BRANCHES_RETRIEVEList branches for a repository accessible to a personal GitHub installation.Connection1 scope
List branches for a repository accessible to a personal GitHub installation.
Authentication
Connected account requiredScopes
user:readTags
Disconnect a personal GitHub integrationPOSTHOG_USERS_INTEGRATIONS_GITHUB_DESTROYRemove a specific GitHub installation by its installation_id.Connection1 scope
Remove a specific GitHub installation by its installation_id.
Authentication
Connected account requiredScopes
user:writeTags
Users Integrations Github Prepare Callback CreatePOSTHOG_USERS_INTEGRATIONS_GITHUB_PREPARE_CALLBACK_CREATESeed personal GitHub manage callback state before opening installation settings on GitHub.Connection1 scope
Seed personal GitHub manage callback state before opening installation settings on GitHub.
Authentication
Connected account requiredScopes
user:writeTags
Refresh repositories for a personal GitHub installationPOSTHOG_USERS_INTEGRATIONS_GITHUB_REPOS_REFRESH_CREATERefresh repositories accessible to a specific GitHub installation.Connection1 scope
Refresh repositories accessible to a specific GitHub installation.
Authentication
Connected account requiredScopes
user:writeTags
List repositories for a personal GitHub installationPOSTHOG_USERS_INTEGRATIONS_GITHUB_REPOS_RETRIEVEList repositories accessible to a specific GitHub installation (paginated, cached).Connection1 scope
List repositories accessible to a specific GitHub installation (paginated, cached).
Authentication
Connected account requiredScopes
user:readTags
Start GitHub personal integration linkingPOSTHOG_USERS_INTEGRATIONS_GITHUB_START_CREATEStart GitHub linking: either full App install or OAuth-only (user-to-server). ``**_kwargs`` absorbs ``parent_lookup_uuid`` from the nested ``/api/users/{uuid}/integrations/`` router (same pattern as ``local_evaluation`` under projects). Usually returns ``install_url`` pointing at ``/installations/new`` so the user can pick any GitHub org (new or already connected). GitHub's install page handles both cases: orgs where the app is installed show "Configure" (no admin needed), orgs where it isn't show "Install" (needs admin). **OAuth fast path:** when the current project already has a team-level GitHub installation, and the user has no ``UserIntegration`` for that installation yet, we skip the org picker and redirect straight to ``/login/oauth/authorize`` so the user only authorizes themselves. ``connect_from`` is preserved for first-party clients so they return to the originating client immediately. In both cases the response key is ``install_url`` for compatibility with callers.Connection1 scope
Start GitHub linking: either full App install or OAuth-only (user-to-server). ``**_kwargs`` absorbs ``parent_lookup_uuid`` from the nested ``/api/users/{uuid}/integrations/`` router (same pattern as ``local_evaluation`` under projects). Usually returns ``install_url`` pointing at ``/installations/new`` so the user can pick any GitHub org (new or already connected). GitHub's install page handles both cases: orgs where the app is installed show "Configure" (no admin needed), orgs where it isn't show "Install" (needs admin). **OAuth fast path:** when the current project already has a team-level GitHub installation, and the user has no ``UserIntegration`` for that installation yet, we skip the org picker and redirect straight to ``/login/oauth/authorize`` so the user only authorizes themselves. ``connect_from`` is preserved for first-party clients so they return to the originating client immediately. In both cases the response key is ``install_url`` for compatibility with callers.
Authentication
Connected account requiredScopes
user:writeTags
List the user's personal integrations of a given kindPOSTHOG_USERS_INTEGRATIONS_LISTReturn the authenticated user's personal integrations of a given ``kind`` (``github`` or ``slack``). The response shape varies per kind because the underlying ``UserIntegration`` rows carry different identity fields — GitHub rows expose ``installation_id`` / ``account`` / ``uses_shared_installation``; Slack rows expose ``slack_user_id`` / ``slack_team_id`` / ``slack_team_name``. Kind-specific destroy and start actions remain split so their distinct semantics (e.g. Slack's lack of "uninstall on last reference") stay explicit at the URL layer. Default of ``kind=github`` is load-bearing: mobile (``apps/mobile/...``) and the Code SDK (``packages/api-client/...``) both call this endpoint without a query param today and rely on receiving GitHub rows.Connection1 scope
Return the authenticated user's personal integrations of a given ``kind`` (``github`` or ``slack``). The response shape varies per kind because the underlying ``UserIntegration`` rows carry different identity fields — GitHub rows expose ``installation_id`` / ``account`` / ``uses_shared_installation``; Slack rows expose ``slack_user_id`` / ``slack_team_id`` / ``slack_team_name``. Kind-specific destroy and start actions remain split so their distinct semantics (e.g. Slack's lack of "uninstall on last reference") stay explicit at the URL layer. Default of ``kind=github`` is load-bearing: mobile (``apps/mobile/...``) and the Code SDK (``packages/api-client/...``) both call this endpoint without a query param today and rely on receiving GitHub rows.
Authentication
Connected account requiredScopes
user:readTags
Unlink a Slack identityPOSTHOG_USERS_INTEGRATIONS_SLACK_DESTROYRemove a Slack identity link by Slack user id. Idempotent and flag-agnostic — users must always be able to unlink even after the feature flag is turned off.Connection1 scope
Remove a Slack identity link by Slack user id. Idempotent and flag-agnostic — users must always be able to unlink even after the feature flag is turned off.
Authentication
Connected account requiredScopes
user:writeTags
List Slack workspaces this user could link toPOSTHOG_USERS_INTEGRATIONS_SLACK_LINKABLE_WORKSPACES_RETRIEVEReturn Slack workspaces in the user's organizations that they have not yet linked. The settings UI uses this list to decide whether to show a "Link my Slack account" button (non-empty list) and what to offer in the picker when several are connectable.Connection1 scope
Return Slack workspaces in the user's organizations that they have not yet linked. The settings UI uses this list to decide whether to show a "Link my Slack account" button (non-empty list) and what to offer in the picker when several are connectable.
Authentication
Connected account requiredScopes
user:readTags
Start Slack identity link from settingsPOSTHOG_USERS_INTEGRATIONS_SLACK_START_CREATEMint a Sign-in-with-Slack invite URL initiated from settings, without Slack-DM context. The returned URL takes the user through PostHog login (already satisfied here), then to Slack OAuth, then back to our callback which writes the ``UserIntegration`` row. Without body params, falls back to the user's ``current_team`` and that team's first Slack ``Integration`` — works when there's exactly one linkable workspace. With ``team_id`` + ``slack_team_id``, links against the exact pair (what the frontend uses when a picker is shown). Refuses if the target team has no matching Slack workspace, if the feature flag is off for the workspace, or if the user is already linked to it.Connection1 scope
Mint a Sign-in-with-Slack invite URL initiated from settings, without Slack-DM context. The returned URL takes the user through PostHog login (already satisfied here), then to Slack OAuth, then back to our callback which writes the ``UserIntegration`` row. Without body params, falls back to the user's ``current_team`` and that team's first Slack ``Integration`` — works when there's exactly one linkable workspace. With ``team_id`` + ``slack_team_id``, links against the exact pair (what the frontend uses when a picker is shown). Refuses if the target team has no matching Slack workspace, if the feature flag is off for the workspace, or if the user is already linked to it.
Authentication
Connected account requiredScopes
user:writeTags
Users ListPOSTHOG_USERS_LISTUsers ListConnection1 scope
Users List
Authentication
Connected account requiredScopes
user:readTags
Users Login Sessions DestroyPOSTHOG_USERS_LOGIN_SESSIONS_DESTROYRevoke a single login session belonging to the current user. Self-only. Requires recent auth (TimeSensitiveActionPermission) so a stolen cookie can't weaponize revocation, and is blocked while impersonating via ImpersonationBlockedPathsMiddleware.Connection
Revoke a single login session belonging to the current user. Self-only. Requires recent auth (TimeSensitiveActionPermission) so a stolen cookie can't weaponize revocation, and is blocked while impersonating via ImpersonationBlockedPathsMiddleware.
Authentication
Connected account requiredTags
Users Login Sessions ListPOSTHOG_USERS_LOGIN_SESSIONS_LISTList the cookie-auth login sessions for the current user. Self-only — never another user.Connection
List the cookie-auth login sessions for the current user. Self-only — never another user.
Authentication
Connected account requiredTags
Users Login Sessions Revoke Others CreatePOSTHOG_USERS_LOGIN_SESSIONS_REVOKE_OTHERS_CREATERevoke every login session for the current user except the one making this request. Self-only. Requires recent auth (TimeSensitiveActionPermission) so a stolen cookie can't weaponize the "log out everywhere else" lock-out, and is blocked while impersonating.Connection
Revoke every login session for the current user except the one making this request. Self-only. Requires recent auth (TimeSensitiveActionPermission) so a stolen cookie can't weaponize the "log out everywhere else" lock-out, and is blocked while impersonating.
Authentication
Connected account requiredTags
Users Onboarding Skip CreatePOSTHOG_USERS_ONBOARDING_SKIP_CREATEMark the current user as having exited onboarding with a non-delegated reason. Idempotent: the skip timestamp is only set on the first successful call. Callers wanting to delegate setup to a teammate must use the dedicated /organizations/{id}/invites/delegate/ endpoint, which atomically creates the invite and sets reason="delegated". This endpoint rejects that reason so state can't be faked without a real invite.Connection
Mark the current user as having exited onboarding with a non-delegated reason. Idempotent: the skip timestamp is only set on the first successful call. Callers wanting to delegate setup to a teammate must use the dedicated /organizations/{id}/invites/delegate/ endpoint, which atomically creates the invite and sets reason="delegated". This endpoint rejects that reason so state can't be faked without a real invite.
Authentication
Connected account requiredTags
Users Partial UpdatePOSTHOG_USERS_PARTIAL_UPDATEUpdate one or more of the authenticated user's profile fields or settings.Connection1 scope
Update one or more of the authenticated user's profile fields or settings.
Authentication
Connected account requiredScopes
user:writeTags
Register a push notification tokenPOSTHOG_USERS_PUSH_TOKENS_CREATEIdempotent upsert: if the (user, token) pair already exists, `platform` and `last_seen_at` are refreshed. Otherwise a new row is created.Connection1 scope
Idempotent upsert: if the (user, token) pair already exists, `platform` and `last_seen_at` are refreshed. Otherwise a new row is created.
Authentication
Connected account requiredScopes
user:writeTags
Unregister a push notification tokenPOSTHOG_USERS_PUSH_TOKENS_UNREGISTER_CREATEDelete the row matching `(user, token)`. Returns 204 even if no row matches so the mobile client can call this unconditionally when the user opts out.Connection1 scope
Delete the row matching `(user, token)`. Returns 204 even if no row matches so the mobile client can call this unconditionally when the user opts out.
Authentication
Connected account requiredScopes
user:writeTags
Users Request Email Verification CreatePOSTHOG_USERS_REQUEST_EMAIL_VERIFICATION_CREATEUsers Request Email Verification CreateConnection
Users Request Email Verification Create
Authentication
Connected account requiredTags
Users RetrievePOSTHOG_USERS_RETRIEVERetrieve a user's profile and settings. Pass `@me` as the UUID to fetch the authenticated user; non-staff callers may only access their own account.Connection1 scope
Retrieve a user's profile and settings. Pass `@me` as the UUID to fetch the authenticated user; non-staff callers may only access their own account.
Authentication
Connected account requiredScopes
user:readTags
Users Scene Personalisation CreatePOSTHOG_USERS_SCENE_PERSONALISATION_CREATEUsers Scene Personalisation CreateConnection
Users Scene Personalisation Create
Authentication
Connected account requiredTags
Users Signal Autonomy CreatePOSTHOG_USERS_SIGNAL_AUTONOMY_CREATEPer-user signal autonomy config (singleton keyed by user). GET /api/users/<id>/signal_autonomy/ → current config (or 404) POST /api/users/<id>/signal_autonomy/ → create or update DELETE /api/users/<id>/signal_autonomy/ → remove (opt out)Connection1 scope
Per-user signal autonomy config (singleton keyed by user). GET /api/users/<id>/signal_autonomy/ → current config (or 404) POST /api/users/<id>/signal_autonomy/ → create or update DELETE /api/users/<id>/signal_autonomy/ → remove (opt out)
Authentication
Connected account requiredScopes
user:writeTags
Users Signal Autonomy DestroyPOSTHOG_USERS_SIGNAL_AUTONOMY_DESTROYPer-user signal autonomy config (singleton keyed by user). GET /api/users/<id>/signal_autonomy/ → current config (or 404) POST /api/users/<id>/signal_autonomy/ → create or update DELETE /api/users/<id>/signal_autonomy/ → remove (opt out)Connection1 scope
Per-user signal autonomy config (singleton keyed by user). GET /api/users/<id>/signal_autonomy/ → current config (or 404) POST /api/users/<id>/signal_autonomy/ → create or update DELETE /api/users/<id>/signal_autonomy/ → remove (opt out)
Authentication
Connected account requiredScopes
user:writeTags
Users Signal Autonomy RetrievePOSTHOG_USERS_SIGNAL_AUTONOMY_RETRIEVEPer-user signal autonomy config (singleton keyed by user). GET /api/users/<id>/signal_autonomy/ → current config (or 404) POST /api/users/<id>/signal_autonomy/ → create or update DELETE /api/users/<id>/signal_autonomy/ → remove (opt out)Connection1 scope
Per-user signal autonomy config (singleton keyed by user). GET /api/users/<id>/signal_autonomy/ → current config (or 404) POST /api/users/<id>/signal_autonomy/ → create or update DELETE /api/users/<id>/signal_autonomy/ → remove (opt out)
Authentication
Connected account requiredScopes
user:writeTags
Users Start 2fa Setup RetrievePOSTHOG_USERS_START_2FA_SETUP_RETRIEVEUsers Start 2fa Setup RetrieveConnection
Users Start 2fa Setup Retrieve
Authentication
Connected account requiredTags
Users Two Factor Backup Codes CreatePOSTHOG_USERS_TWO_FACTOR_BACKUP_CODES_CREATEGenerate new backup codes, invalidating any existing onesConnection
Generate new backup codes, invalidating any existing ones
Authentication
Connected account requiredTags
Users Two Factor Disable CreatePOSTHOG_USERS_TWO_FACTOR_DISABLE_CREATEDisable 2FA and remove all related devicesConnection
Disable 2FA and remove all related devices
Authentication
Connected account requiredTags
Users Two Factor Start Setup RetrievePOSTHOG_USERS_TWO_FACTOR_START_SETUP_RETRIEVEUsers Two Factor Start Setup RetrieveConnection
Users Two Factor Start Setup Retrieve
Authentication
Connected account requiredTags
Users Two Factor Status RetrievePOSTHOG_USERS_TWO_FACTOR_STATUS_RETRIEVEGet current 2FA status including backup codes if enabledConnection
Get current 2FA status including backup codes if enabled
Authentication
Connected account requiredTags
Users Two Factor Validate CreatePOSTHOG_USERS_TWO_FACTOR_VALIDATE_CREATEUsers Two Factor Validate CreateConnection
Users Two Factor Validate Create
Authentication
Connected account requiredTags
Users UpdatePOSTHOG_USERS_UPDATEReplace the authenticated user's profile and settings. Pass `@me` as the UUID to update the authenticated user. Prefer the PATCH endpoint for partial updates — PUT requires every writable field to be provided.Connection1 scope
Replace the authenticated user's profile and settings. Pass `@me` as the UUID to update the authenticated user. Prefer the PATCH endpoint for partial updates — PUT requires every writable field to be provided.
Authentication
Connected account requiredScopes
user:writeTags
Users Validate 2fa CreatePOSTHOG_USERS_VALIDATE_2FA_CREATEUsers Validate 2fa CreateConnection
Users Validate 2fa Create
Authentication
Connected account requiredTags
Users Verify Email CreatePOSTHOG_USERS_VERIFY_EMAIL_CREATEUsers Verify Email CreateConnection
Users Verify Email Create
Authentication
Connected account requiredTags
Vision Actions CreatePOSTHOG_VISION_ACTIONS_CREATECRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.Connection2 scopes
CRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.
Authentication
Connected account requiredScopes
vision_action:writesession_recording:readTags
Vision Actions DestroyPOSTHOG_VISION_ACTIONS_DESTROYCRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.Connection1 scope
CRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.
Authentication
Connected account requiredScopes
vision_action:writeTags
Vision Actions ListPOSTHOG_VISION_ACTIONS_LISTCRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.Connection1 scope
CRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.
Authentication
Connected account requiredScopes
vision_action:readTags
Vision Actions Partial UpdatePOSTHOG_VISION_ACTIONS_PARTIAL_UPDATECRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.Connection2 scopes
CRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.
Authentication
Connected account requiredScopes
vision_action:writesession_recording:readTags
Vision Actions RetrievePOSTHOG_VISION_ACTIONS_RETRIEVECRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.Connection1 scope
CRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.
Authentication
Connected account requiredScopes
vision_action:readTags
Vision Actions Runs ListPOSTHOG_VISION_ACTIONS_RUNS_LISTRead-only run history for a single vision action (nested under /vision/actions/{action_id}/runs/).Connection2 scopes
Read-only run history for a single vision action (nested under /vision/actions/{action_id}/runs/).
Authentication
Connected account requiredScopes
vision_action:readsession_recording:readTags
Vision Actions Runs RetrievePOSTHOG_VISION_ACTIONS_RUNS_RETRIEVERead-only run history for a single vision action (nested under /vision/actions/{action_id}/runs/).Connection2 scopes
Read-only run history for a single vision action (nested under /vision/actions/{action_id}/runs/).
Authentication
Connected account requiredScopes
vision_action:readsession_recording:readTags
Vision Observations Label CreatePOSTHOG_VISION_OBSERVATIONS_LABEL_CREATESet or update the observation's shared label: whether the scanner scored the session correctly, plus optional feedback on what it got wrong. One label per observation, shared across the team; these labels feed prompt improvement. Requires session recording edit access.Connection2 scopes
Set or update the observation's shared label: whether the scanner scored the session correctly, plus optional feedback on what it got wrong. One label per observation, shared across the team; these labels feed prompt improvement. Requires session recording edit access.
Authentication
Connected account requiredScopes
replay_scanner:writesession_recording:readTags
Vision Observations Label DestroyPOSTHOG_VISION_OBSERVATIONS_LABEL_DESTROYRemove the observation's shared label. Requires session recording edit access.Connection2 scopes
Remove the observation's shared label. Requires session recording edit access.
Authentication
Connected account requiredScopes
replay_scanner:writesession_recording:readTags
Vision Observations ListPOSTHOG_VISION_OBSERVATIONS_LISTRead-only access to a session's observations across every scanner the caller can read, for the replay-page dock.Connection2 scopes
Read-only access to a session's observations across every scanner the caller can read, for the replay-page dock.
Authentication
Connected account requiredScopes
replay_scanner:readsession_recording:readTags
Vision Observations RetrievePOSTHOG_VISION_OBSERVATIONS_RETRIEVERead-only access to a session's observations across every scanner the caller can read, for the replay-page dock.Connection2 scopes
Read-only access to a session's observations across every scanner the caller can read, for the replay-page dock.
Authentication
Connected account requiredScopes
replay_scanner:readsession_recording:readTags
Vision Observations Retry CreatePOSTHOG_VISION_OBSERVATIONS_RETRY_CREATEDelete a failed observation and re-run its scanner on the same recording. Returns 202 with the workflow handle.Connection2 scopes
Delete a failed observation and re-run its scanner on the same recording. Returns 202 with the workflow handle.
Authentication
Connected account requiredScopes
replay_scanner:writesession_recording:readTags
Vision Scanners CreatePOSTHOG_VISION_SCANNERS_CREATECRUD for Replay Vision scanners.Connection2 scopes
CRUD for Replay Vision scanners.
Authentication
Connected account requiredScopes
replay_scanner:writesession_recording:readTags
Vision Scanners Creators RetrievePOSTHOG_VISION_SCANNERS_CREATORS_RETRIEVEDistinct creators across the team's scanners — feeds the `Created by` filter dropdown.Connection1 scope
Distinct creators across the team's scanners — feeds the `Created by` filter dropdown.
Authentication
Connected account requiredScopes
replay_scanner:readTags
Vision Scanners DestroyPOSTHOG_VISION_SCANNERS_DESTROYCRUD for Replay Vision scanners.Connection1 scope
CRUD for Replay Vision scanners.
Authentication
Connected account requiredScopes
replay_scanner:writeTags
Vision Scanners Estimate CreatePOSTHOG_VISION_SCANNERS_ESTIMATE_CREATEEstimate the observation volume a proposed scanner would generate, for the pre-save cost preview.Connection2 scopes
Estimate the observation volume a proposed scanner would generate, for the pre-save cost preview.
Authentication
Connected account requiredScopes
replay_scanner:readsession_recording:readTags
Vision Scanners ListPOSTHOG_VISION_SCANNERS_LISTCRUD for Replay Vision scanners.Connection1 scope
CRUD for Replay Vision scanners.
Authentication
Connected account requiredScopes
replay_scanner:readTags
Vision Scanners Observations Label CreatePOSTHOG_VISION_SCANNERS_OBSERVATIONS_LABEL_CREATESet or update the observation's shared label: whether the scanner scored the session correctly, plus optional feedback on what it got wrong. One label per observation, shared across the team; these labels feed prompt improvement. Requires session recording edit access.Connection2 scopes
Set or update the observation's shared label: whether the scanner scored the session correctly, plus optional feedback on what it got wrong. One label per observation, shared across the team; these labels feed prompt improvement. Requires session recording edit access.
Authentication
Connected account requiredScopes
replay_scanner:writesession_recording:readTags
Vision Scanners Observations Label DestroyPOSTHOG_VISION_SCANNERS_OBSERVATIONS_LABEL_DESTROYRemove the observation's shared label. Requires session recording edit access.Connection2 scopes
Remove the observation's shared label. Requires session recording edit access.
Authentication
Connected account requiredScopes
replay_scanner:writesession_recording:readTags
Vision Scanners Observations ListPOSTHOG_VISION_SCANNERS_OBSERVATIONS_LISTRead-only access to observations produced by a scanner.Connection2 scopes
Read-only access to observations produced by a scanner.
Authentication
Connected account requiredScopes
replay_scanner:readsession_recording:readTags
Vision Scanners Observations RetrievePOSTHOG_VISION_SCANNERS_OBSERVATIONS_RETRIEVERead-only access to observations produced by a scanner.Connection2 scopes
Read-only access to observations produced by a scanner.
Authentication
Connected account requiredScopes
replay_scanner:readsession_recording:readTags
Vision Scanners Observations Retry CreatePOSTHOG_VISION_SCANNERS_OBSERVATIONS_RETRY_CREATEDelete a failed observation and re-run its scanner on the same recording. Returns 202 with the workflow handle.Connection2 scopes
Delete a failed observation and re-run its scanner on the same recording. Returns 202 with the workflow handle.
Authentication
Connected account requiredScopes
replay_scanner:writesession_recording:readTags
Vision Scanners Observations Stats RetrievePOSTHOG_VISION_SCANNERS_OBSERVATIONS_STATS_RETRIEVEAggregate counts and per-scanner-type distributions over the filtered observation set. Same filters as the list endpoint apply.Connection2 scopes
Aggregate counts and per-scanner-type distributions over the filtered observation set. Same filters as the list endpoint apply.
Authentication
Connected account requiredScopes
replay_scanner:readsession_recording:readTags
Vision Scanners Observe CreatePOSTHOG_VISION_SCANNERS_OBSERVE_CREATEApply this scanner to one specific session, on demand. Returns 202 with the workflow handle.Connection2 scopes
Apply this scanner to one specific session, on demand. Returns 202 with the workflow handle.
Authentication
Connected account requiredScopes
replay_scanner:writesession_recording:readTags
Vision Scanners Partial UpdatePOSTHOG_VISION_SCANNERS_PARTIAL_UPDATECRUD for Replay Vision scanners.Connection2 scopes
CRUD for Replay Vision scanners.
Authentication
Connected account requiredScopes
replay_scanner:writesession_recording:readTags
Vision Scanners Prompt Suggestions Apply CreatePOSTHOG_VISION_SCANNERS_PROMPT_SUGGESTIONS_APPLY_CREATEApply this suggestion: write its prompt to the scanner (bumping the scanner version) and mark the suggestion applied. Only the current pending suggestion can be applied. Requires session recording edit access.Connection2 scopes
Apply this suggestion: write its prompt to the scanner (bumping the scanner version) and mark the suggestion applied. Only the current pending suggestion can be applied. Requires session recording edit access.
Authentication
Connected account requiredScopes
replay_scanner:writesession_recording:readTags
Vision Scanners Prompt Suggestions Current RetrievePOSTHOG_VISION_SCANNERS_PROMPT_SUGGESTIONS_CURRENT_RETRIEVEThe scanner's newest prompt suggestion plus whether it is stale (the ratings changed since it was generated) and how many rated observations are available.Connection2 scopes
The scanner's newest prompt suggestion plus whether it is stale (the ratings changed since it was generated) and how many rated observations are available.
Authentication
Connected account requiredScopes
replay_scanner:readsession_recording:readTags
Vision Scanners Prompt Suggestions Dismiss CreatePOSTHOG_VISION_SCANNERS_PROMPT_SUGGESTIONS_DISMISS_CREATEDismiss this suggestion without applying it. Only the current pending suggestion can be dismissed. Requires session recording edit access.Connection2 scopes
Dismiss this suggestion without applying it. Only the current pending suggestion can be dismissed. Requires session recording edit access.
Authentication
Connected account requiredScopes
replay_scanner:writesession_recording:readTags
Vision Scanners Prompt Suggestions Generate CreatePOSTHOG_VISION_SCANNERS_PROMPT_SUGGESTIONS_GENERATE_CREATEGenerate a fresh prompt suggestion from the team's current ratings. The previous pending suggestion becomes history (superseded). Requires at least one rated observation and session recording edit access.Connection2 scopes
Generate a fresh prompt suggestion from the team's current ratings. The previous pending suggestion becomes history (superseded). Requires at least one rated observation and session recording edit access.
Authentication
Connected account requiredScopes
replay_scanner:writesession_recording:readTags
Vision Scanners Prompt Suggestions ListPOSTHOG_VISION_SCANNERS_PROMPT_SUGGESTIONS_LISTAI prompt-rewrite suggestions for a scanner, generated from the team's thumbs up/down ratings.Connection2 scopes
AI prompt-rewrite suggestions for a scanner, generated from the team's thumbs up/down ratings.
Authentication
Connected account requiredScopes
replay_scanner:readsession_recording:readTags
Vision Scanners RetrievePOSTHOG_VISION_SCANNERS_RETRIEVECRUD for Replay Vision scanners.Connection1 scope
CRUD for Replay Vision scanners.
Authentication
Connected account requiredScopes
replay_scanner:readTags
Vision Scanners Stats RetrievePOSTHOG_VISION_SCANNERS_STATS_RETRIEVETeam-wide scanner counts — independent of list filters, so the overview stays stable.Connection1 scope
Team-wide scanner counts — independent of list filters, so the overview stays stable.
Authentication
Connected account requiredScopes
replay_scanner:readTags
Vision Scanners Suggest Tags CreatePOSTHOG_VISION_SCANNERS_SUGGEST_TAGS_CREATESuggest classifier tags grounded in the scanner's own observations and the org's product data.Connection2 scopes
Suggest classifier tags grounded in the scanner's own observations and the org's product data.
Authentication
Connected account requiredScopes
replay_scanner:readsession_recording:readTags
Visual Review Repos Baselines RetrievePOSTHOG_VISUAL_REVIEW_REPOS_BASELINES_RETRIEVESnapshots overview for a repo: every identifier with a current baseline (latest non-superseded master/main run per run_type), plus tolerate counts, active quarantine state, and a 30-day stability sparkline. Capped at 5000 entries — sets `truncated` and returns the most recently active when exceeded. Filtering / faceting / search are all done client-side; this endpoint takes no filter query params.Connection1 scope
Snapshots overview for a repo: every identifier with a current baseline (latest non-superseded master/main run per run_type), plus tolerate counts, active quarantine state, and a 30-day stability sparkline. Capped at 5000 entries — sets `truncated` and returns the most recently active when exceeded. Filtering / faceting / search are all done client-side; this endpoint takes no filter query params.
Authentication
Connected account requiredScopes
visual_review:readTags
Visual Review Repos CreatePOSTHOG_VISUAL_REVIEW_REPOS_CREATECreate a new repo.Connection1 scope
Create a new repo.
Authentication
Connected account requiredScopes
visual_review:writeTags
Visual Review Repos ListPOSTHOG_VISUAL_REVIEW_REPOS_LISTList all projects for the team.Connection1 scope
List all projects for the team.
Authentication
Connected account requiredScopes
visual_review:readTags
Visual Review Repos Partial UpdatePOSTHOG_VISUAL_REVIEW_REPOS_PARTIAL_UPDATEUpdate a repo's settings.Connection1 scope
Update a repo's settings.
Authentication
Connected account requiredScopes
visual_review:writeTags
Visual Review Repos Quarantine CreatePOSTHOG_VISUAL_REVIEW_REPOS_QUARANTINE_CREATEQuarantine a snapshot identifier for a specific run type.Connection1 scope
Quarantine a snapshot identifier for a specific run type.
Authentication
Connected account requiredScopes
visual_review:writeTags
Visual Review Repos Quarantine Expire CreatePOSTHOG_VISUAL_REVIEW_REPOS_QUARANTINE_EXPIRE_CREATEExpire all active quarantine entries for an identifier.Connection1 scope
Expire all active quarantine entries for an identifier.
Authentication
Connected account requiredScopes
visual_review:writeTags
Visual Review Repos Quarantine ListPOSTHOG_VISUAL_REVIEW_REPOS_QUARANTINE_LISTList quarantined identifiers. Without filter: active only. With identifier: full history.Connection1 scope
List quarantined identifiers. Without filter: active only. With identifier: full history.
Authentication
Connected account requiredScopes
visual_review:readTags
Visual Review Repos RetrievePOSTHOG_VISUAL_REVIEW_REPOS_RETRIEVEGet a repo by ID.Connection1 scope
Get a repo by ID.
Authentication
Connected account requiredScopes
visual_review:readTags
Visual Review Repos Runs Counts RetrievePOSTHOG_VISUAL_REVIEW_REPOS_RUNS_COUNTS_RETRIEVEReview state counts for runs in this repo.Connection1 scope
Review state counts for runs in this repo.
Authentication
Connected account requiredScopes
visual_review:readTags
Visual Review Repos Runs ListPOSTHOG_VISUAL_REVIEW_REPOS_RUNS_LISTList runs in this repo, optionally filtered by review state and free-text search.Connection1 scope
List runs in this repo, optionally filtered by review state and free-text search.
Authentication
Connected account requiredScopes
visual_review:readTags
Visual Review Repos Snapshots ListPOSTHOG_VISUAL_REVIEW_REPOS_SNAPSHOTS_LISTDeduped baseline timeline for a snapshot identity. Newest first.Connection1 scope
Deduped baseline timeline for a snapshot identity. Newest first.
Authentication
Connected account requiredScopes
visual_review:readTags
Visual Review Repos Thumbnails RetrievePOSTHOG_VISUAL_REVIEW_REPOS_THUMBNAILS_RETRIEVEServe a snapshot thumbnail by identifier. Returns WebP with ETag caching.Connection1 scope
Serve a snapshot thumbnail by identifier. Returns WebP with ETag caching.
Authentication
Connected account requiredScopes
visual_review:readTags
Visual Review Runs Add Snapshots CreatePOSTHOG_VISUAL_REVIEW_RUNS_ADD_SNAPSHOTS_CREATEAdd a batch of snapshots to a pending run (shard-based flow).Connection1 scope
Add a batch of snapshots to a pending run (shard-based flow).
Authentication
Connected account requiredScopes
visual_review:writeTags
Visual Review Runs Approve CreatePOSTHOG_VISUAL_REVIEW_RUNS_APPROVE_CREATEMark snapshots reviewed (DB only). Records the per-snapshot "Accept change" decision. Does not commit the baseline or change the GitHub gate — call finalize to ship the run.Connection1 scope
Mark snapshots reviewed (DB only). Records the per-snapshot "Accept change" decision. Does not commit the baseline or change the GitHub gate — call finalize to ship the run.
Authentication
Connected account requiredScopes
visual_review:writeTags
Visual Review Runs Complete CreatePOSTHOG_VISUAL_REVIEW_RUNS_COMPLETE_CREATEComplete a run: detect removals, verify uploads, trigger diff processing.Connection1 scope
Complete a run: detect removals, verify uploads, trigger diff processing.
Authentication
Connected account requiredScopes
visual_review:writeTags
Visual Review Runs Counts RetrievePOSTHOG_VISUAL_REVIEW_RUNS_COUNTS_RETRIEVEReview state counts for the runs list.Connection1 scope
Review state counts for the runs list.
Authentication
Connected account requiredScopes
visual_review:readTags
Visual Review Runs CreatePOSTHOG_VISUAL_REVIEW_RUNS_CREATECreate a new run from a CI manifest.Connection1 scope
Create a new run from a CI manifest.
Authentication
Connected account requiredScopes
visual_review:writeTags
Visual Review Runs Finalize CreatePOSTHOG_VISUAL_REVIEW_RUNS_FINALIZE_CREATEFinalize a fully-reviewed run: commit the approved baseline and green the gate. Commits exactly the snapshots approved in the DB (tolerated ones keep their baseline) and only succeeds once every changed/new snapshot is resolved. With approve_all=true, any still-pending changed/new snapshot is approved first. With commit_to_github=false the server returns the signed baseline YAML instead of committing it.Connection1 scope
Finalize a fully-reviewed run: commit the approved baseline and green the gate. Commits exactly the snapshots approved in the DB (tolerated ones keep their baseline) and only succeeds once every changed/new snapshot is resolved. With approve_all=true, any still-pending changed/new snapshot is approved first. With commit_to_github=false the server returns the signed baseline YAML instead of committing it.
Authentication
Connected account requiredScopes
visual_review:writeTags
Visual Review Runs ListPOSTHOG_VISUAL_REVIEW_RUNS_LISTList runs for the team, optionally filtered by review state, PR number, commit SHA, branch, or free-text search.Connection1 scope
List runs for the team, optionally filtered by review state, PR number, commit SHA, branch, or free-text search.
Authentication
Connected account requiredScopes
visual_review:readTags
Visual Review Runs Recompute CreatePOSTHOG_VISUAL_REVIEW_RUNS_RECOMPUTE_CREATERe-evaluate quarantine and counts, update commit status, and optionally rerun the CI job.Connection1 scope
Re-evaluate quarantine and counts, update commit status, and optionally rerun the CI job.
Authentication
Connected account requiredScopes
visual_review:writeTags
Visual Review Runs RetrievePOSTHOG_VISUAL_REVIEW_RUNS_RETRIEVEGet run status and summary.Connection1 scope
Get run status and summary.
Authentication
Connected account requiredScopes
visual_review:readTags
Visual Review Runs Snapshot History ListPOSTHOG_VISUAL_REVIEW_RUNS_SNAPSHOT_HISTORY_LISTRecent change history for a snapshot identifier across runs.Connection1 scope
Recent change history for a snapshot identifier across runs.
Authentication
Connected account requiredScopes
visual_review:readTags
Visual Review Runs Snapshots ListPOSTHOG_VISUAL_REVIEW_RUNS_SNAPSHOTS_LISTGet a run's snapshots with diff results, excluding quarantined ones by default.Connection1 scope
Get a run's snapshots with diff results, excluding quarantined ones by default.
Authentication
Connected account requiredScopes
visual_review:readTags
Visual Review Runs Tolerate CreatePOSTHOG_VISUAL_REVIEW_RUNS_TOLERATE_CREATEMark a changed snapshot as a known tolerated alternate.Connection1 scope
Mark a changed snapshot as a known tolerated alternate.
Authentication
Connected account requiredScopes
visual_review:writeTags
Visual Review Runs Tolerated Hashes ListPOSTHOG_VISUAL_REVIEW_RUNS_TOLERATED_HASHES_LISTList known tolerated hashes for a snapshot identifier.Connection1 scope
List known tolerated hashes for a snapshot identifier.
Authentication
Connected account requiredScopes
visual_review:readTags
Warehouse Column Annotations CreatePOSTHOG_WAREHOUSE_COLUMN_ANNOTATIONS_CREATERead and edit semantic descriptions of warehouse tables and columns surfaced to the AI agent. List can be filtered to one table with `?table_id=<uuid>`. Any create or update is treated as a user edit (`is_user_edited=True`), which protects the row from being overwritten by automatic enrichment. Create upserts on `(table, column_name)`; the table cannot be changed after creation.Connection1 scope
Read and edit semantic descriptions of warehouse tables and columns surfaced to the AI agent. List can be filtered to one table with `?table_id=<uuid>`. Any create or update is treated as a user edit (`is_user_edited=True`), which protects the row from being overwritten by automatic enrichment. Create upserts on `(table, column_name)`; the table cannot be changed after creation.
Authentication
Connected account requiredScopes
warehouse_table:writeTags
Warehouse Column Annotations DestroyPOSTHOG_WAREHOUSE_COLUMN_ANNOTATIONS_DESTROYRead and edit semantic descriptions of warehouse tables and columns surfaced to the AI agent. List can be filtered to one table with `?table_id=<uuid>`. Any create or update is treated as a user edit (`is_user_edited=True`), which protects the row from being overwritten by automatic enrichment. Create upserts on `(table, column_name)`; the table cannot be changed after creation.Connection1 scope
Read and edit semantic descriptions of warehouse tables and columns surfaced to the AI agent. List can be filtered to one table with `?table_id=<uuid>`. Any create or update is treated as a user edit (`is_user_edited=True`), which protects the row from being overwritten by automatic enrichment. Create upserts on `(table, column_name)`; the table cannot be changed after creation.
Authentication
Connected account requiredScopes
warehouse_table:writeTags
Warehouse Column Annotations ListPOSTHOG_WAREHOUSE_COLUMN_ANNOTATIONS_LISTRead and edit semantic descriptions of warehouse tables and columns surfaced to the AI agent. List can be filtered to one table with `?table_id=<uuid>`. Any create or update is treated as a user edit (`is_user_edited=True`), which protects the row from being overwritten by automatic enrichment. Create upserts on `(table, column_name)`; the table cannot be changed after creation.Connection1 scope
Read and edit semantic descriptions of warehouse tables and columns surfaced to the AI agent. List can be filtered to one table with `?table_id=<uuid>`. Any create or update is treated as a user edit (`is_user_edited=True`), which protects the row from being overwritten by automatic enrichment. Create upserts on `(table, column_name)`; the table cannot be changed after creation.
Authentication
Connected account requiredScopes
warehouse_table:readTags
Warehouse Column Annotations Partial UpdatePOSTHOG_WAREHOUSE_COLUMN_ANNOTATIONS_PARTIAL_UPDATERead and edit semantic descriptions of warehouse tables and columns surfaced to the AI agent. List can be filtered to one table with `?table_id=<uuid>`. Any create or update is treated as a user edit (`is_user_edited=True`), which protects the row from being overwritten by automatic enrichment. Create upserts on `(table, column_name)`; the table cannot be changed after creation.Connection1 scope
Read and edit semantic descriptions of warehouse tables and columns surfaced to the AI agent. List can be filtered to one table with `?table_id=<uuid>`. Any create or update is treated as a user edit (`is_user_edited=True`), which protects the row from being overwritten by automatic enrichment. Create upserts on `(table, column_name)`; the table cannot be changed after creation.
Authentication
Connected account requiredScopes
warehouse_table:writeTags
Warehouse Column Annotations RetrievePOSTHOG_WAREHOUSE_COLUMN_ANNOTATIONS_RETRIEVERead and edit semantic descriptions of warehouse tables and columns surfaced to the AI agent. List can be filtered to one table with `?table_id=<uuid>`. Any create or update is treated as a user edit (`is_user_edited=True`), which protects the row from being overwritten by automatic enrichment. Create upserts on `(table, column_name)`; the table cannot be changed after creation.Connection1 scope
Read and edit semantic descriptions of warehouse tables and columns surfaced to the AI agent. List can be filtered to one table with `?table_id=<uuid>`. Any create or update is treated as a user edit (`is_user_edited=True`), which protects the row from being overwritten by automatic enrichment. Create upserts on `(table, column_name)`; the table cannot be changed after creation.
Authentication
Connected account requiredScopes
warehouse_table:readTags
Warehouse Column Annotations UpdatePOSTHOG_WAREHOUSE_COLUMN_ANNOTATIONS_UPDATERead and edit semantic descriptions of warehouse tables and columns surfaced to the AI agent. List can be filtered to one table with `?table_id=<uuid>`. Any create or update is treated as a user edit (`is_user_edited=True`), which protects the row from being overwritten by automatic enrichment. Create upserts on `(table, column_name)`; the table cannot be changed after creation.Connection1 scope
Read and edit semantic descriptions of warehouse tables and columns surfaced to the AI agent. List can be filtered to one table with `?table_id=<uuid>`. Any create or update is treated as a user edit (`is_user_edited=True`), which protects the row from being overwritten by automatic enrichment. Create upserts on `(table, column_name)`; the table cannot be changed after creation.
Authentication
Connected account requiredScopes
warehouse_table:writeTags
Warehouse Column Statistics ListPOSTHOG_WAREHOUSE_COLUMN_STATISTICS_LISTRead per-column data statistics (null fraction, min/max, row count) for warehouse tables. Statistics are computed automatically after a sync and surfaced to the AI agent so it can write better queries. They are system-owned and read-only here. List can be filtered to one table with `?table_id=<uuid>`.Connection1 scope
Read per-column data statistics (null fraction, min/max, row count) for warehouse tables. Statistics are computed automatically after a sync and surfaced to the AI agent so it can write better queries. They are system-owned and read-only here. List can be filtered to one table with `?table_id=<uuid>`.
Authentication
Connected account requiredScopes
warehouse_table:readTags
Warehouse Column Statistics RetrievePOSTHOG_WAREHOUSE_COLUMN_STATISTICS_RETRIEVERead per-column data statistics (null fraction, min/max, row count) for warehouse tables. Statistics are computed automatically after a sync and surfaced to the AI agent so it can write better queries. They are system-owned and read-only here. List can be filtered to one table with `?table_id=<uuid>`.Connection1 scope
Read per-column data statistics (null fraction, min/max, row count) for warehouse tables. Statistics are computed automatically after a sync and surfaced to the AI agent so it can write better queries. They are system-owned and read-only here. List can be filtered to one table with `?table_id=<uuid>`.
Authentication
Connected account requiredScopes
warehouse_table:readTags
Warehouse Dag ListPOSTHOG_WAREHOUSE_DAG_LISTReturn this team's DAG as a set of edges and nodesConnection1 scope
Return this team's DAG as a set of edges and nodes
Authentication
Connected account requiredScopes
warehouse_view:readTags
Warehouse Model Paths ListPOSTHOG_WAREHOUSE_MODEL_PATHS_LISTWarehouse Model Paths ListConnection1 scope
Warehouse Model Paths List
Authentication
Connected account requiredScopes
warehouse_view:readTags
Warehouse Model Paths RetrievePOSTHOG_WAREHOUSE_MODEL_PATHS_RETRIEVEWarehouse Model Paths RetrieveConnection1 scope
Warehouse Model Paths Retrieve
Authentication
Connected account requiredScopes
warehouse_view:readTags
Warehouse Saved Queries Activity RetrievePOSTHOG_WAREHOUSE_SAVED_QUERIES_ACTIVITY_RETRIEVECreate, Read, Update and Delete Warehouse Tables.Connection1 scope
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredScopes
activity_log:readTags
Warehouse Saved Queries Ancestors CreatePOSTHOG_WAREHOUSE_SAVED_QUERIES_ANCESTORS_CREATEReturn the ancestors of this saved query. By default, we return the immediate parents. The `level` parameter can be used to look further back into the ancestor tree. If `level` overshoots (i.e. points to only ancestors beyond the root), we return an empty list.Connection
Return the ancestors of this saved query. By default, we return the immediate parents. The `level` parameter can be used to look further back into the ancestor tree. If `level` overshoots (i.e. points to only ancestors beyond the root), we return an empty list.
Authentication
Connected account requiredTags
Warehouse Saved Queries Cancel CreatePOSTHOG_WAREHOUSE_SAVED_QUERIES_CANCEL_CREATECancel a running saved query workflow.Connection
Cancel a running saved query workflow.
Authentication
Connected account requiredTags
Warehouse Saved Queries CreatePOSTHOG_WAREHOUSE_SAVED_QUERIES_CREATECreate, Read, Update and Delete Warehouse Tables.Connection1 scope
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Warehouse Saved Queries Dependencies RetrievePOSTHOG_WAREHOUSE_SAVED_QUERIES_DEPENDENCIES_RETRIEVEReturn the count of immediate upstream and downstream dependencies for this saved query.Connection
Return the count of immediate upstream and downstream dependencies for this saved query.
Authentication
Connected account requiredTags
Warehouse Saved Queries Descendants CreatePOSTHOG_WAREHOUSE_SAVED_QUERIES_DESCENDANTS_CREATEReturn the descendants of this saved query. By default, we return the immediate children. The `level` parameter can be used to look further ahead into the descendants tree. If `level` overshoots (i.e. points to only descendants further than a leaf), we return an empty list.Connection
Return the descendants of this saved query. By default, we return the immediate children. The `level` parameter can be used to look further ahead into the descendants tree. If `level` overshoots (i.e. points to only descendants further than a leaf), we return an empty list.
Authentication
Connected account requiredTags
Warehouse Saved Queries DestroyPOSTHOG_WAREHOUSE_SAVED_QUERIES_DESTROYCreate, Read, Update and Delete Warehouse Tables.Connection1 scope
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Warehouse Saved Queries ListPOSTHOG_WAREHOUSE_SAVED_QUERIES_LISTCreate, Read, Update and Delete Warehouse Tables.Connection1 scope
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredScopes
warehouse_view:readTags
Warehouse Saved Queries Materialize CreatePOSTHOG_WAREHOUSE_SAVED_QUERIES_MATERIALIZE_CREATEEnable materialization for this saved query with a 24-hour sync frequency.Connection1 scope
Enable materialization for this saved query with a 24-hour sync frequency.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Warehouse Saved Queries Partial UpdatePOSTHOG_WAREHOUSE_SAVED_QUERIES_PARTIAL_UPDATECreate, Read, Update and Delete Warehouse Tables.Connection1 scope
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Warehouse Saved Queries Resume Schedules CreatePOSTHOG_WAREHOUSE_SAVED_QUERIES_RESUME_SCHEDULES_CREATEResume paused materialization schedules for multiple matviews. Accepts a list of view IDs in the request body: {"view_ids": ["id1", "id2", ...]} This endpoint is idempotent - calling it on already running or non-existent schedules is safe.Connection
Resume paused materialization schedules for multiple matviews. Accepts a list of view IDs in the request body: {"view_ids": ["id1", "id2", ...]} This endpoint is idempotent - calling it on already running or non-existent schedules is safe.
Authentication
Connected account requiredTags
Warehouse Saved Queries RetrievePOSTHOG_WAREHOUSE_SAVED_QUERIES_RETRIEVECreate, Read, Update and Delete Warehouse Tables.Connection1 scope
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredScopes
warehouse_view:readTags
Warehouse Saved Queries Revert Materialization CreatePOSTHOG_WAREHOUSE_SAVED_QUERIES_REVERT_MATERIALIZATION_CREATEUndo materialization, revert back to the original view. (i.e. delete the materialized table and the schedule)Connection1 scope
Undo materialization, revert back to the original view. (i.e. delete the materialized table and the schedule)
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Warehouse Saved Queries Run CreatePOSTHOG_WAREHOUSE_SAVED_QUERIES_RUN_CREATERun this saved query.Connection1 scope
Run this saved query.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Warehouse Saved Queries Run History RetrievePOSTHOG_WAREHOUSE_SAVED_QUERIES_RUN_HISTORY_RETRIEVEReturn the recent run history (up to 5 most recent) for this materialized view.Connection1 scope
Return the recent run history (up to 5 most recent) for this materialized view.
Authentication
Connected account requiredScopes
warehouse_view:readTags
Warehouse Saved Queries UpdatePOSTHOG_WAREHOUSE_SAVED_QUERIES_UPDATECreate, Read, Update and Delete Warehouse Tables.Connection1 scope
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Warehouse Saved Query Folders CreatePOSTHOG_WAREHOUSE_SAVED_QUERY_FOLDERS_CREATEWarehouse Saved Query Folders CreateConnection1 scope
Warehouse Saved Query Folders Create
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Warehouse Saved Query Folders DestroyPOSTHOG_WAREHOUSE_SAVED_QUERY_FOLDERS_DESTROYWarehouse Saved Query Folders DestroyConnection1 scope
Warehouse Saved Query Folders Destroy
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Warehouse Saved Query Folders ListPOSTHOG_WAREHOUSE_SAVED_QUERY_FOLDERS_LISTWarehouse Saved Query Folders ListConnection1 scope
Warehouse Saved Query Folders List
Authentication
Connected account requiredScopes
warehouse_view:readTags
Warehouse Saved Query Folders Partial UpdatePOSTHOG_WAREHOUSE_SAVED_QUERY_FOLDERS_PARTIAL_UPDATEWarehouse Saved Query Folders Partial UpdateConnection1 scope
Warehouse Saved Query Folders Partial Update
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Warehouse Saved Query Folders RetrievePOSTHOG_WAREHOUSE_SAVED_QUERY_FOLDERS_RETRIEVEWarehouse Saved Query Folders RetrieveConnection1 scope
Warehouse Saved Query Folders Retrieve
Authentication
Connected account requiredScopes
warehouse_view:readTags
Warehouse Tables CreatePOSTHOG_WAREHOUSE_TABLES_CREATECreate, Read, Update and Delete Warehouse Tables.Connection1 scope
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredScopes
warehouse_table:writeTags
Warehouse Tables DestroyPOSTHOG_WAREHOUSE_TABLES_DESTROYCreate, Read, Update and Delete Warehouse Tables.Connection1 scope
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredScopes
warehouse_table:writeTags
Warehouse Tables File CreatePOSTHOG_WAREHOUSE_TABLES_FILE_CREATECreate, Read, Update and Delete Warehouse Tables.Connection1 scope
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredScopes
warehouse_table:writeTags
Warehouse Tables ListPOSTHOG_WAREHOUSE_TABLES_LISTCreate, Read, Update and Delete Warehouse Tables.Connection1 scope
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredScopes
warehouse_table:readTags
Warehouse Tables Partial UpdatePOSTHOG_WAREHOUSE_TABLES_PARTIAL_UPDATECreate, Read, Update and Delete Warehouse Tables.Connection1 scope
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredScopes
warehouse_table:writeTags
Refresh table schema from sourcePOSTHOG_WAREHOUSE_TABLES_REFRESH_SCHEMA_CREATERe-introspect a self-managed (manually linked) warehouse table's schema from its underlying source files and overwrite its stored column list. Use when the source schema has evolved (e.g. new columns in the underlying Delta/Parquet/CSV files) but queries still can't see the new columns, because PostHog serves a cached column snapshot until the table is refreshed. Not for tables managed by an external data source sync — those refresh on their own schedule.Connection1 scope
Re-introspect a self-managed (manually linked) warehouse table's schema from its underlying source files and overwrite its stored column list. Use when the source schema has evolved (e.g. new columns in the underlying Delta/Parquet/CSV files) but queries still can't see the new columns, because PostHog serves a cached column snapshot until the table is refreshed. Not for tables managed by an external data source sync — those refresh on their own schedule.
Authentication
Connected account requiredScopes
warehouse_table:writeTags
Warehouse Tables RetrievePOSTHOG_WAREHOUSE_TABLES_RETRIEVECreate, Read, Update and Delete Warehouse Tables.Connection1 scope
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredScopes
warehouse_table:readTags
Warehouse Tables UpdatePOSTHOG_WAREHOUSE_TABLES_UPDATECreate, Read, Update and Delete Warehouse Tables.Connection1 scope
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredScopes
warehouse_table:writeTags
Warehouse Tables Update Schema CreatePOSTHOG_WAREHOUSE_TABLES_UPDATE_SCHEMA_CREATECreate, Read, Update and Delete Warehouse Tables.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
Warehouse View Link CreatePOSTHOG_WAREHOUSE_VIEW_LINK_CREATECreate, Read, Update and Delete View Columns.Connection1 scope
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Warehouse View Link DestroyPOSTHOG_WAREHOUSE_VIEW_LINK_DESTROYCreate, Read, Update and Delete View Columns.Connection1 scope
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Warehouse View Link ListPOSTHOG_WAREHOUSE_VIEW_LINK_LISTCreate, Read, Update and Delete View Columns.Connection1 scope
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredScopes
warehouse_view:readTags
Warehouse View Link Partial UpdatePOSTHOG_WAREHOUSE_VIEW_LINK_PARTIAL_UPDATECreate, Read, Update and Delete View Columns.Connection1 scope
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Warehouse View Link RetrievePOSTHOG_WAREHOUSE_VIEW_LINK_RETRIEVECreate, Read, Update and Delete View Columns.Connection1 scope
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredScopes
warehouse_view:readTags
Warehouse View Link UpdatePOSTHOG_WAREHOUSE_VIEW_LINK_UPDATECreate, Read, Update and Delete View Columns.Connection1 scope
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Warehouse View Link Validate CreatePOSTHOG_WAREHOUSE_VIEW_LINK_VALIDATE_CREATECreate, Read, Update and Delete View Columns.Connection
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredTags
Warehouse View Links CreatePOSTHOG_WAREHOUSE_VIEW_LINKS_CREATECreate, Read, Update and Delete View Columns.Connection1 scope
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Warehouse View Links DestroyPOSTHOG_WAREHOUSE_VIEW_LINKS_DESTROYCreate, Read, Update and Delete View Columns.Connection1 scope
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Warehouse View Links ListPOSTHOG_WAREHOUSE_VIEW_LINKS_LISTCreate, Read, Update and Delete View Columns.Connection1 scope
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredScopes
warehouse_view:readTags
Warehouse View Links Partial UpdatePOSTHOG_WAREHOUSE_VIEW_LINKS_PARTIAL_UPDATECreate, Read, Update and Delete View Columns.Connection1 scope
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Warehouse View Links RetrievePOSTHOG_WAREHOUSE_VIEW_LINKS_RETRIEVECreate, Read, Update and Delete View Columns.Connection1 scope
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredScopes
warehouse_view:readTags
Warehouse View Links UpdatePOSTHOG_WAREHOUSE_VIEW_LINKS_UPDATECreate, Read, Update and Delete View Columns.Connection1 scope
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredScopes
warehouse_view:writeTags
Warehouse View Links Validate CreatePOSTHOG_WAREHOUSE_VIEW_LINKS_VALIDATE_CREATECreate, Read, Update and Delete View Columns.Connection
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredTags
Acknowledge an achievement celebrationPOSTHOG_WEB_ANALYTICS_ACHIEVEMENTS_ACKNOWLEDGE_CELEBRATIONClears a pending celebration for the given track and stage once the client has shown it, so it isn't celebrated again. Idempotent.Connection
Clears a pending celebration for the given track and stage once the client has shown it, so it isn't celebrated again. Idempotent.
Authentication
Connected account requiredTags
Get Web analytics achievements overviewPOSTHOG_WEB_ANALYTICS_ACHIEVEMENTS_OVERVIEWReturns the achievement track definitions (thresholds resolved for the requesting user's streak-cadence arm), the user's and team's progress, and any newly unlocked stages awaiting an in-session celebration.Connection
Returns the achievement track definitions (thresholds resolved for the requesting user's streak-cadence arm), the user's and team's progress, and any newly unlocked stages awaiting an in-session celebration.
Authentication
Connected account requiredTags
Get Web analytics achievements preferencesPOSTHOG_WEB_ANALYTICS_ACHIEVEMENTS_PREFERENCESReturns the requesting user's per-project Web analytics achievements preferences.Connection
Returns the requesting user's per-project Web analytics achievements preferences.
Authentication
Connected account requiredTags
Record a Web analytics interactionPOSTHOG_WEB_ANALYTICS_ACHIEVEMENTS_RECORD_INTERACTIONIdempotently increments the requesting user's first-party counter for an in-product Web analytics interaction (slicing data, or opening a session recording), which drives the Explorer and Detective achievement tracks.Connection
Idempotently increments the requesting user's first-party counter for an in-product Web analytics interaction (slicing data, or opening a session recording), which drives the Explorer and Detective achievement tracks.
Authentication
Connected account requiredTags
Record a Web analytics visitPOSTHOG_WEB_ANALYTICS_ACHIEVEMENTS_RECORD_VISITIdempotently records that the requesting user opened Web analytics today (team-local date) and schedules a debounced achievement recompute. Intended to be called once per session.Connection
Idempotently records that the requesting user opened Web analytics today (team-local date) and schedules a debounced achievement recompute. Intended to be called once per session.
Authentication
Connected account requiredTags
Update Web analytics achievements preferencesPOSTHOG_WEB_ANALYTICS_ACHIEVEMENTS_UPDATE_PREFERENCESSets the requesting user's per-project Web analytics achievements preferences.Connection
Sets the requesting user's per-project Web analytics achievements preferences.
Authentication
Connected account requiredTags
Weekly web analytics recapPOSTHOG_WEB_ANALYTICS_RECAPThe 'Wrapped'-style weekly recap: everything in the weekly digest (visitors, pageviews, sessions, bounce rate, average session duration with period-over-period comparisons, top pages, top sources, and goals) plus a single derived weekly persona and a short list of screenshot-worthy highlights for the period.Connection1 scope
The 'Wrapped'-style weekly recap: everything in the weekly digest (visitors, pageviews, sessions, bounce rate, average session duration with period-over-period comparisons, top pages, top sources, and goals) plus a single derived weekly persona and a short list of screenshot-worthy highlights for the period.
Authentication
Connected account requiredScopes
web_analytics:readTags
Summarize web analyticsPOSTHOG_WEB_ANALYTICS_WEEKLY_DIGESTSummarizes a project's web analytics over a lookback window (default 7 days): unique visitors, pageviews, sessions, bounce rate, and average session duration with period-over-period comparisons, plus the top 5 pages, top 5 traffic sources, and goal conversions.Connection1 scope
Summarizes a project's web analytics over a lookback window (default 7 days): unique visitors, pageviews, sessions, bounce rate, and average session duration with period-over-period comparisons, plus the top 5 pages, top 5 traffic sources, and goal conversions.
Authentication
Connected account requiredScopes
web_analytics:readTags
Web Experiments CreatePOSTHOG_WEB_EXPERIMENTS_CREATEWeb Experiments CreateConnection1 scope
Web Experiments Create
Authentication
Connected account requiredScopes
experiment:writeTags
Web Experiments DestroyPOSTHOG_WEB_EXPERIMENTS_DESTROYWeb Experiments DestroyConnection1 scope
Web Experiments Destroy
Authentication
Connected account requiredScopes
experiment:writeTags
Web Experiments ListPOSTHOG_WEB_EXPERIMENTS_LISTWeb Experiments ListConnection1 scope
Web Experiments List
Authentication
Connected account requiredScopes
experiment:readTags
Web Experiments Partial UpdatePOSTHOG_WEB_EXPERIMENTS_PARTIAL_UPDATEWeb Experiments Partial UpdateConnection1 scope
Web Experiments Partial Update
Authentication
Connected account requiredScopes
experiment:writeTags
Web Experiments RetrievePOSTHOG_WEB_EXPERIMENTS_RETRIEVEWeb Experiments RetrieveConnection1 scope
Web Experiments Retrieve
Authentication
Connected account requiredScopes
experiment:readTags
Web Experiments UpdatePOSTHOG_WEB_EXPERIMENTS_UPDATEWeb Experiments UpdateConnection1 scope
Web Experiments Update
Authentication
Connected account requiredScopes
experiment:writeTags
Web Vitals RetrievePOSTHOG_WEB_VITALS_RETRIEVEGet web vitals for a specific pathname. Toolbar accesses this via OAuth (handled by TeamAndOrgViewSetMixin.get_authenticators).Connection1 scope
Get web vitals for a specific pathname. Toolbar accesses this via OAuth (handled by TeamAndOrgViewSetMixin.get_authenticators).
Authentication
Connected account requiredScopes
query:readTags
Welcome Current RetrievePOSTHOG_WELCOME_CURRENT_RETRIEVEAggregated payload for the invited-user welcome screen.Connection
Aggregated payload for the invited-user welcome screen.
Authentication
Connected account requiredTags
Wizard Sessions CreatePOSTHOG_WIZARD_SESSIONS_CREATEUpsert a wizard session. The `session_id` key is the idempotency anchor — reposting the same `session_id` replaces the existing row. Returns 201 on create, 200 on update.Connection1 scope
Upsert a wizard session. The `session_id` key is the idempotency anchor — reposting the same `session_id` replaces the existing row. Returns 201 on create, 200 on update.
Authentication
Connected account requiredScopes
wizard_session:writeTags
Wizard Sessions Latest RetrievePOSTHOG_WIZARD_SESSIONS_LATEST_RETRIEVEReturn the single most-recent wizard session for a workflow (and optional skill), or 204 if none exists. Unlike `list`, this is a point lookup the app shell uses to decide whether to open the live SSE stream — it never returns a collection, and 'no run' is a 204 rather than a 404 so clients don't conflate it with a missing endpoint.Connection1 scope
Return the single most-recent wizard session for a workflow (and optional skill), or 204 if none exists. Unlike `list`, this is a point lookup the app shell uses to decide whether to open the live SSE stream — it never returns a collection, and 'no run' is a 204 rather than a 404 so clients don't conflate it with a missing endpoint.
Authentication
Connected account requiredScopes
wizard_session:readTags
Wizard Sessions ListPOSTHOG_WIZARD_SESSIONS_LISTList wizard sessions for the project, ordered by started_at desc. This should only be called by the PostHog Wizard. Optional filters: ?workflow_id=<id> and ?skill_id=<id>.Connection1 scope
List wizard sessions for the project, ordered by started_at desc. This should only be called by the PostHog Wizard. Optional filters: ?workflow_id=<id> and ?skill_id=<id>.
Authentication
Connected account requiredScopes
wizard_session:readTags
Wizard Sessions RetrievePOSTHOG_WIZARD_SESSIONS_RETRIEVERetrieve a single wizard session by its session_id.Connection1 scope
Retrieve a single wizard session by its session_id.
Authentication
Connected account requiredScopes
wizard_session:readTags
Wizard Sessions Stream RetrievePOSTHOG_WIZARD_SESSIONS_STREAM_RETRIEVEServer-Sent Events stream of wizard session updates for a (workflow_id, skill_id) pair. On connect, the current latest session (if any) is emitted as the first event; subsequent upserts are streamed in real time. The server closes the connection after 900 seconds with an `event: end` line so the client (EventSource) can reconnect. **SDK consumers**: do not call the generated fetch wrapper for this path — it will buffer the entire infinite stream. Use the URL builder (`getWizardSessionsStreamRetrieveUrl`) with the browser's `EventSource` API instead.Connection1 scope
Server-Sent Events stream of wizard session updates for a (workflow_id, skill_id) pair. On connect, the current latest session (if any) is emitted as the first event; subsequent upserts are streamed in real time. The server closes the connection after 900 seconds with an `event: end` line so the client (EventSource) can reconnect. **SDK consumers**: do not call the generated fetch wrapper for this path — it will buffer the entire infinite stream. Use the URL builder (`getWizardSessionsStreamRetrieveUrl`) with the browser's `EventSource` API instead.
Authentication
Connected account requiredScopes
wizard_session:readTags