PostHog
Work with product analytics, feature flags, experiments, session replay, surveys, and error tracking.
Authentication
| Method | Kind | Status | Details |
|---|---|---|---|
| API Key | api_key | available | Authenticate PostHog with API Key. Provide the value expected by the provider; request access follows the provider's authentication rules. |
| OAuth 2.0 | oauth2 | available | Authorize PostHog with OAuth 2.0. Complete the provider's sign-in or consent flow; requests run with the permissions granted to this connection. |
Call a tool
import { createClient } from "@open-connector/commercial-sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "POSTHOG_ACCOUNTS_CREATE", 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_ACCOUNTS_CREATE", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute POSTHOG_ACCOUNTS_CREATE --data '{ }'Tool catalog
Available tools
2473 callable operations
Accounts CreatePOSTHOG_ACCOUNTS_CREATEAccounts CreateConnection
Accounts Create
Authentication
Connected account requiredTags
Accounts Custom Property Values CreatePOSTHOG_ACCOUNTS_CUSTOM_PROPERTY_VALUES_CREATEAccounts Custom Property Values CreateConnection
Accounts Custom Property Values Create
Authentication
Connected account requiredTags
Accounts Custom Property Values ListPOSTHOG_ACCOUNTS_CUSTOM_PROPERTY_VALUES_LISTAccounts Custom Property Values ListConnection
Accounts Custom Property Values List
Authentication
Connected account requiredTags
Accounts DestroyPOSTHOG_ACCOUNTS_DESTROYAccounts DestroyConnection
Accounts Destroy
Authentication
Connected account requiredTags
Accounts ListPOSTHOG_ACCOUNTS_LISTAccounts ListConnection
Accounts List
Authentication
Connected account requiredTags
Accounts Notebooks CreatePOSTHOG_ACCOUNTS_NOTEBOOKS_CREATEAccounts Notebooks CreateConnection
Accounts Notebooks Create
Authentication
Connected account requiredTags
Accounts Notebooks DestroyPOSTHOG_ACCOUNTS_NOTEBOOKS_DESTROYAccounts Notebooks DestroyConnection
Accounts Notebooks Destroy
Authentication
Connected account requiredTags
Accounts Notebooks ListPOSTHOG_ACCOUNTS_NOTEBOOKS_LISTAccounts Notebooks ListConnection
Accounts Notebooks List
Authentication
Connected account requiredTags
Accounts Notebooks RetrievePOSTHOG_ACCOUNTS_NOTEBOOKS_RETRIEVEAccounts Notebooks RetrieveConnection
Accounts Notebooks Retrieve
Authentication
Connected account requiredTags
Accounts Partial UpdatePOSTHOG_ACCOUNTS_PARTIAL_UPDATEAccounts Partial UpdateConnection
Accounts Partial Update
Authentication
Connected account requiredTags
Accounts Relationships CreatePOSTHOG_ACCOUNTS_RELATIONSHIPS_CREATEAccounts Relationships CreateConnection
Accounts Relationships Create
Authentication
Connected account requiredTags
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 ListConnection
Accounts Relationships List
Authentication
Connected account requiredTags
Accounts RetrievePOSTHOG_ACCOUNTS_RETRIEVEAccounts RetrieveConnection
Accounts Retrieve
Authentication
Connected account requiredTags
Accounts UpdatePOSTHOG_ACCOUNTS_UPDATEAccounts UpdateConnection
Accounts Update
Authentication
Connected account requiredTags
Account Notes ListPOSTHOG_ACCOUNT_NOTES_LISTAccount Notes ListConnection
Account Notes List
Authentication
Connected account requiredTags
Account Relationship Definitions CreatePOSTHOG_ACCOUNT_RELATIONSHIP_DEFINITIONS_CREATEAccount Relationship Definitions CreateConnection
Account Relationship Definitions Create
Authentication
Connected account requiredTags
Account Relationship Definitions DestroyPOSTHOG_ACCOUNT_RELATIONSHIP_DEFINITIONS_DESTROYAccount Relationship Definitions DestroyConnection
Account Relationship Definitions Destroy
Authentication
Connected account requiredTags
Account Relationship Definitions ListPOSTHOG_ACCOUNT_RELATIONSHIP_DEFINITIONS_LISTAccount Relationship Definitions ListConnection
Account Relationship Definitions List
Authentication
Connected account requiredTags
Account Relationship Definitions Partial UpdatePOSTHOG_ACCOUNT_RELATIONSHIP_DEFINITIONS_PARTIAL_UPDATEAccount Relationship Definitions Partial UpdateConnection
Account Relationship Definitions Partial Update
Authentication
Connected account requiredTags
Account Relationship Definitions RetrievePOSTHOG_ACCOUNT_RELATIONSHIP_DEFINITIONS_RETRIEVEAccount Relationship Definitions RetrieveConnection
Account Relationship Definitions Retrieve
Authentication
Connected account requiredTags
Account Relationship Definitions UpdatePOSTHOG_ACCOUNT_RELATIONSHIP_DEFINITIONS_UPDATEAccount Relationship Definitions UpdateConnection
Account Relationship Definitions Update
Authentication
Connected account requiredTags
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 CreateConnection
Actions Create
Authentication
Connected account requiredTags
Actions DestroyPOSTHOG_ACTIONS_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
Actions ListPOSTHOG_ACTIONS_LISTActions ListConnection
Actions List
Authentication
Connected account requiredTags
Actions Partial UpdatePOSTHOG_ACTIONS_PARTIAL_UPDATEActions Partial UpdateConnection
Actions Partial Update
Authentication
Connected account requiredTags
Actions References ListPOSTHOG_ACTIONS_REFERENCES_LISTActions References ListConnection
Actions References List
Authentication
Connected account requiredTags
Actions RetrievePOSTHOG_ACTIONS_RETRIEVEActions RetrieveConnection
Actions Retrieve
Authentication
Connected account requiredTags
Actions UpdatePOSTHOG_ACTIONS_UPDATEActions UpdateConnection
Actions Update
Authentication
Connected account requiredTags
Activity Log ListPOSTHOG_ACTIVITY_LOG_LISTActivity Log ListConnection
Activity Log List
Authentication
Connected account requiredTags
Advanced Activity Logs Available Filters RetrievePOSTHOG_ADVANCED_ACTIVITY_LOGS_AVAILABLE_FILTERS_RETRIEVEAdvanced Activity Logs Available Filters RetrieveConnection
Advanced Activity Logs Available Filters Retrieve
Authentication
Connected account requiredTags
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 ListConnection
Advanced Activity Logs List
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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).Connection
Single approval request — full proposed args, assistant snapshot, decision metadata, dispatch outcome. Team-admin only (plan §6.1).
Authentication
Connected account requiredTags
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 keyConnection
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 requiredTags
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 keyConnection
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 requiredTags
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 keyConnection
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 requiredTags
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.Connection
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 requiredTags
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 keyConnection
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 requiredTags
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`).Connection
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 requiredTags
Agent Applications Preview Proxy GetPOSTHOG_AGENT_APPLICATIONS_PREVIEW_PROXY_GETGET passthrough for the preview-proxy — used for `/listen` SSE.Connection
GET passthrough for the preview-proxy — used for `/listen` SSE.
Authentication
Connected account requiredTags
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`.Connection
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 requiredTags
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.Connection
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 requiredTags
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 keyConnection
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 requiredTags
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)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 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).Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Agent Applications Revisions Bundle RetrievePOSTHOG_AGENT_APPLICATIONS_REVISIONS_BUNDLE_RETRIEVERead the full typed bundle: `{ agent_md, skills, tools, spec }`.Connection
Read the full typed bundle: `{ agent_md, skills, tools, spec }`.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Agent Applications Revisions Clone From CreatePOSTHOG_AGENT_APPLICATIONS_REVISIONS_CLONE_FROM_CREATECopy every file from `source_revision_id` into this revision.Connection
Copy every file from `source_revision_id` into this revision.
Authentication
Connected account requiredTags
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)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 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.Connection
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 requiredTags
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.Connection
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 requiredTags
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)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 Manifest RetrievePOSTHOG_AGENT_APPLICATIONS_REVISIONS_MANIFEST_RETRIEVEList every file in this revision's bundle (path, size, sha256).Connection
List every file in this revision's bundle (path, size, sha256).
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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)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 Promote CreatePOSTHOG_AGENT_APPLICATIONS_REVISIONS_PROMOTE_CREATEready → live. Sets the parent application's live_revision.Connection
ready → live. Sets the parent application's live_revision.
Authentication
Connected account requiredTags
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)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 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).Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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)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 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.Connection
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 requiredTags
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)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 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.Connection
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 requiredTags
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)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 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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Agent Applications StatsPOSTHOG_AGENT_APPLICATIONS_STATSRoll-up stats for the agent — drives the agent-detail overview tiles.Connection
Roll-up stats for the agent — drives the agent-detail overview tiles.
Authentication
Connected account requiredTags
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 keyConnection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Agent Fleet Approvals ListPOSTHOG_AGENT_FLEET_APPROVALS_LISTApproval-gated tool requests across every agent in this team. Team-admin only.Connection
Approval-gated tool requests across every agent in this team. Team-admin only.
Authentication
Connected account requiredTags
Agent Fleet Live SessionsPOSTHOG_AGENT_FLEET_LIVE_SESSIONSLive (non-terminal) sessions across every agent owned by this team, newest activity first.Connection
Live (non-terminal) sessions across every agent owned by this team, newest activity first.
Authentication
Connected account requiredTags
Agent Fleet StatsPOSTHOG_AGENT_FLEET_STATSRoll-up stats across every agent owned by this team.Connection
Roll-up stats across every agent owned by this team.
Authentication
Connected account requiredTags
Agent Memory Create FilePOSTHOG_AGENT_MEMORY_CREATE_FILECreate a memory file. Fails if the path already exists — use the update endpoint to overwrite.Connection
Create a memory file. Fails if the path already exists — use the update endpoint to overwrite.
Authentication
Connected account requiredTags
Agent Memory Delete FilePOSTHOG_AGENT_MEMORY_DELETE_FILEHard-delete a memory file. Activity log captures the action against the agent.Connection
Hard-delete a memory file. Activity log captures the action against the agent.
Authentication
Connected account requiredTags
Agent Memory Get FilePOSTHOG_AGENT_MEMORY_GET_FILERead one memory file in full (frontmatter + markdown body).Connection
Read one memory file in full (frontmatter + markdown body).
Authentication
Connected account requiredTags
Agent Memory List FilesPOSTHOG_AGENT_MEMORY_LIST_FILESList memory file headers under the agent's prefix. Headers only — no bodies.Connection
List memory file headers under the agent's prefix. Headers only — no bodies.
Authentication
Connected account requiredTags
Agent Memory List TablesPOSTHOG_AGENT_MEMORY_LIST_TABLESList the agent's tabular-reference tables (the @posthog/table-* JSONL tables): name + byte size.Connection
List the agent's tabular-reference tables (the @posthog/table-* JSONL tables): name + byte size.
Authentication
Connected account requiredTags
Agent Memory Read TablePOSTHOG_AGENT_MEMORY_READ_TABLERead rows from one tabular-reference table (capped via ?limit).Connection
Read rows from one tabular-reference table (capped via ?limit).
Authentication
Connected account requiredTags
Agent Memory SearchPOSTHOG_AGENT_MEMORY_SEARCHBM25 search across the agent's memory files. Ranks by description+tags+path+body with field weighting.Connection
BM25 search across the agent's memory files. Ranks by description+tags+path+body with field weighting.
Authentication
Connected account requiredTags
Agent Memory TreePOSTHOG_AGENT_MEMORY_TREEPre-aggregated folder tree of memory files. Saves the frontend re-derivation work.Connection
Pre-aggregated folder tree of memory files. Saves the frontend re-derivation work.
Authentication
Connected account requiredTags
Agent Memory Update FilePOSTHOG_AGENT_MEMORY_UPDATE_FILEUpdate a memory file. Any field omitted is preserved from the existing file.Connection
Update a memory file. Any field omitted is preserved from the existing file.
Authentication
Connected account requiredTags
Agent Native Tools ListPOSTHOG_AGENT_NATIVE_TOOLS_LISTRead-only catalog of every @posthog/* native tool the runner knows.Connection
Read-only catalog of every @posthog/* native tool the runner knows.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Alerts CreatePOSTHOG_ALERTS_CREATEAlerts CreateConnection
Alerts Create
Authentication
Connected account requiredTags
Alerts DestroyPOSTHOG_ALERTS_DESTROYAlerts DestroyConnection
Alerts Destroy
Authentication
Connected account requiredTags
Alerts ListPOSTHOG_ALERTS_LISTAlerts ListConnection
Alerts List
Authentication
Connected account requiredTags
Alerts Partial UpdatePOSTHOG_ALERTS_PARTIAL_UPDATEAlerts Partial UpdateConnection
Alerts Partial Update
Authentication
Connected account requiredTags
Alerts RetrievePOSTHOG_ALERTS_RETRIEVEAlerts RetrieveConnection
Alerts Retrieve
Authentication
Connected account requiredTags
Alerts Simulate CreatePOSTHOG_ALERTS_SIMULATE_CREATESimulate a detector on an insight's historical data. Read-only — no AlertCheck records are created.Connection
Simulate a detector on an insight's historical data. Read-only — no AlertCheck records are created.
Authentication
Connected account requiredTags
Alerts UpdatePOSTHOG_ALERTS_UPDATEAlerts UpdateConnection
Alerts Update
Authentication
Connected account requiredTags
Annotations CreatePOSTHOG_ANNOTATIONS_CREATECreate, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.Connection
Create, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.
Authentication
Connected account requiredTags
Annotations DestroyPOSTHOG_ANNOTATIONS_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
Annotations ListPOSTHOG_ANNOTATIONS_LISTCreate, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.Connection
Create, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.
Authentication
Connected account requiredTags
Annotations Partial UpdatePOSTHOG_ANNOTATIONS_PARTIAL_UPDATECreate, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.Connection
Create, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.
Authentication
Connected account requiredTags
Annotations RetrievePOSTHOG_ANNOTATIONS_RETRIEVECreate, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.Connection
Create, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.
Authentication
Connected account requiredTags
Annotations UpdatePOSTHOG_ANNOTATIONS_UPDATECreate, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.Connection
Create, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.
Authentication
Connected account requiredTags
Approval Policies CreatePOSTHOG_APPROVAL_POLICIES_CREATEApproval Policies CreateConnection
Approval Policies Create
Authentication
Connected account requiredTags
Approval Policies DestroyPOSTHOG_APPROVAL_POLICIES_DESTROYApproval Policies DestroyConnection
Approval Policies Destroy
Authentication
Connected account requiredTags
Approval Policies ListPOSTHOG_APPROVAL_POLICIES_LISTApproval Policies ListConnection
Approval Policies List
Authentication
Connected account requiredTags
Approval Policies Partial UpdatePOSTHOG_APPROVAL_POLICIES_PARTIAL_UPDATEApproval Policies Partial UpdateConnection
Approval Policies Partial Update
Authentication
Connected account requiredTags
Approval Policies RetrievePOSTHOG_APPROVAL_POLICIES_RETRIEVEApproval Policies RetrieveConnection
Approval Policies Retrieve
Authentication
Connected account requiredTags
Approval Policies UpdatePOSTHOG_APPROVAL_POLICIES_UPDATEApproval Policies UpdateConnection
Approval Policies Update
Authentication
Connected account requiredTags
Batch Exports Backfills Cancel CreatePOSTHOG_BATCH_EXPORTS_BACKFILLS_CANCEL_CREATECancel a batch export backfill.Connection
Cancel a batch export backfill.
Authentication
Connected account requiredTags
Batch Exports Backfills CreatePOSTHOG_BATCH_EXPORTS_BACKFILLS_CREATECreate a new backfill for a BatchExport.Connection
Create a new backfill for a BatchExport.
Authentication
Connected account requiredTags
Batch Exports Backfills ListPOSTHOG_BATCH_EXPORTS_BACKFILLS_LISTViewSet for BatchExportBackfill models. Allows creating and reading backfills, but not updating or deleting them.Connection
ViewSet for BatchExportBackfill models. Allows creating and reading backfills, but not updating or deleting them.
Authentication
Connected account requiredTags
Batch Exports Backfills RetrievePOSTHOG_BATCH_EXPORTS_BACKFILLS_RETRIEVEViewSet for BatchExportBackfill models. Allows creating and reading backfills, but not updating or deleting them.Connection
ViewSet for BatchExportBackfill models. Allows creating and reading backfills, but not updating or deleting them.
Authentication
Connected account requiredTags
Batch Exports CreatePOSTHOG_BATCH_EXPORTS_CREATEBatch Exports CreateConnection
Batch Exports Create
Authentication
Connected account requiredTags
Batch Exports DestroyPOSTHOG_BATCH_EXPORTS_DESTROYBatch Exports DestroyConnection
Batch Exports Destroy
Authentication
Connected account requiredTags
Batch Exports ListPOSTHOG_BATCH_EXPORTS_LISTBatch Exports ListConnection
Batch Exports List
Authentication
Connected account requiredTags
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 UpdateConnection
Batch Exports Partial Update
Authentication
Connected account requiredTags
Batch Exports Pause CreatePOSTHOG_BATCH_EXPORTS_PAUSE_CREATEPause a BatchExport.Connection
Pause a BatchExport.
Authentication
Connected account requiredTags
Batch Exports RetrievePOSTHOG_BATCH_EXPORTS_RETRIEVEBatch Exports RetrieveConnection
Batch Exports Retrieve
Authentication
Connected account requiredTags
Batch Exports Runs Cancel CreatePOSTHOG_BATCH_EXPORTS_RUNS_CANCEL_CREATECancel a batch export run.Connection
Cancel a batch export run.
Authentication
Connected account requiredTags
Batch Exports Runs ListPOSTHOG_BATCH_EXPORTS_RUNS_LISTBatch Exports Runs ListConnection
Batch Exports Runs List
Authentication
Connected account requiredTags
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 RetrieveConnection
Batch Exports Runs Retrieve
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Batch Exports Run Test Step CreatePOSTHOG_BATCH_EXPORTS_RUN_TEST_STEP_CREATEBatch Exports Run Test Step CreateConnection
Batch Exports Run Test Step Create
Authentication
Connected account requiredTags
Batch Exports Run Test Step New CreatePOSTHOG_BATCH_EXPORTS_RUN_TEST_STEP_NEW_CREATEBatch Exports Run Test Step New CreateConnection
Batch Exports Run Test Step New Create
Authentication
Connected account requiredTags
Batch Exports Test RetrievePOSTHOG_BATCH_EXPORTS_TEST_RETRIEVEBatch Exports Test RetrieveConnection
Batch Exports Test Retrieve
Authentication
Connected account requiredTags
Batch Exports Unpause CreatePOSTHOG_BATCH_EXPORTS_UNPAUSE_CREATEUnpause a BatchExport.Connection
Unpause a BatchExport.
Authentication
Connected account requiredTags
Batch Exports UpdatePOSTHOG_BATCH_EXPORTS_UPDATEBatch Exports UpdateConnection
Batch Exports Update
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Business Knowledge Sources CreatePOSTHOG_BUSINESS_KNOWLEDGE_SOURCES_CREATEBusiness Knowledge Sources CreateConnection
Business Knowledge Sources Create
Authentication
Connected account requiredTags
Business Knowledge Sources DestroyPOSTHOG_BUSINESS_KNOWLEDGE_SOURCES_DESTROYBusiness Knowledge Sources DestroyConnection
Business Knowledge Sources Destroy
Authentication
Connected account requiredTags
Business Knowledge Sources ListPOSTHOG_BUSINESS_KNOWLEDGE_SOURCES_LISTBusiness Knowledge Sources ListConnection
Business Knowledge Sources List
Authentication
Connected account requiredTags
Business Knowledge Sources Partial UpdatePOSTHOG_BUSINESS_KNOWLEDGE_SOURCES_PARTIAL_UPDATEBusiness Knowledge Sources Partial UpdateConnection
Business Knowledge Sources Partial Update
Authentication
Connected account requiredTags
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 RetrieveConnection
Business Knowledge Sources Retrieve
Authentication
Connected account requiredTags
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.Connection
Approve a change request. If quorum is reached, automatically applies the change immediately.
Authentication
Connected account requiredTags
Change Requests Cancel CreatePOSTHOG_CHANGE_REQUESTS_CANCEL_CREATECancel a change request. Only the requester can cancel their own pending change request.Connection
Cancel a change request. Only the requester can cancel their own pending change request.
Authentication
Connected account requiredTags
Change Requests ListPOSTHOG_CHANGE_REQUESTS_LISTChange Requests ListConnection
Change Requests List
Authentication
Connected account requiredTags
Change Requests Reject CreatePOSTHOG_CHANGE_REQUESTS_REJECT_CREATEReject a change request.Connection
Reject a change request.
Authentication
Connected account requiredTags
Change Requests RetrievePOSTHOG_CHANGE_REQUESTS_RETRIEVEChange Requests RetrieveConnection
Change Requests Retrieve
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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 RetrieveConnection
Cohorts Activity Retrieve
Authentication
Connected account requiredTags
Cohorts Add Persons To Static Cohort Partial UpdatePOSTHOG_COHORTS_ADD_PERSONS_TO_STATIC_COHORT_PARTIAL_UPDATECohorts Add Persons To Static Cohort Partial UpdateConnection
Cohorts Add Persons To Static Cohort Partial Update
Authentication
Connected account requiredTags
Cohorts All Activity RetrievePOSTHOG_COHORTS_ALL_ACTIVITY_RETRIEVECohorts All Activity RetrieveConnection
Cohorts All Activity Retrieve
Authentication
Connected account requiredTags
Cohorts Calculation History RetrievePOSTHOG_COHORTS_CALCULATION_HISTORY_RETRIEVECohorts Calculation History RetrieveConnection
Cohorts Calculation History Retrieve
Authentication
Connected account requiredTags
Cohorts CreatePOSTHOG_COHORTS_CREATECohorts CreateConnection
Cohorts Create
Authentication
Connected account requiredTags
Cohorts DestroyPOSTHOG_COHORTS_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
Cohorts ListPOSTHOG_COHORTS_LISTCohorts ListConnection
Cohorts List
Authentication
Connected account requiredTags
Cohorts Partial UpdatePOSTHOG_COHORTS_PARTIAL_UPDATECohorts Partial UpdateConnection
Cohorts Partial Update
Authentication
Connected account requiredTags
Cohorts Persons RetrievePOSTHOG_COHORTS_PERSONS_RETRIEVECohorts Persons RetrieveConnection
Cohorts Persons Retrieve
Authentication
Connected account requiredTags
Cohorts Remove Person From Static Cohort Partial UpdatePOSTHOG_COHORTS_REMOVE_PERSON_FROM_STATIC_COHORT_PARTIAL_UPDATECohorts Remove Person From Static Cohort Partial UpdateConnection
Cohorts Remove Person From Static Cohort Partial Update
Authentication
Connected account requiredTags
Cohorts RetrievePOSTHOG_COHORTS_RETRIEVECohorts RetrieveConnection
Cohorts Retrieve
Authentication
Connected account requiredTags
Cohorts UpdatePOSTHOG_COHORTS_UPDATECohorts UpdateConnection
Cohorts Update
Authentication
Connected account requiredTags
Cohorts Used In RetrievePOSTHOG_COHORTS_USED_IN_RETRIEVECohorts Used In RetrieveConnection
Cohorts Used In Retrieve
Authentication
Connected account requiredTags
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 RetrieveConnection
Comments Count Retrieve
Authentication
Connected account requiredTags
Comments CreatePOSTHOG_COMMENTS_CREATEComments CreateConnection
Comments Create
Authentication
Connected account requiredTags
Comments DestroyPOSTHOG_COMMENTS_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
Comments ListPOSTHOG_COMMENTS_LISTComments ListConnection
Comments List
Authentication
Connected account requiredTags
Comments Partial UpdatePOSTHOG_COMMENTS_PARTIAL_UPDATEComments Partial UpdateConnection
Comments Partial Update
Authentication
Connected account requiredTags
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 RetrieveConnection
Comments Retrieve
Authentication
Connected account requiredTags
Comments Thread RetrievePOSTHOG_COMMENTS_THREAD_RETRIEVEComments Thread RetrieveConnection
Comments Thread Retrieve
Authentication
Connected account requiredTags
Comments UpdatePOSTHOG_COMMENTS_UPDATEComments UpdateConnection
Comments Update
Authentication
Connected account requiredTags
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 conversationConnection
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 requiredTags
Conversations DestroyPOSTHOG_CONVERSATIONS_DESTROYDelete a conversation.Connection
Delete a conversation.
Authentication
Connected account requiredTags
Conversations ListPOSTHOG_CONVERSATIONS_LISTConversations ListConnection
Conversations List
Authentication
Connected account requiredTags
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 RetrieveConnection
Conversations Retrieve
Authentication
Connected account requiredTags
Conversations Tickets Ai Feedback CreatePOSTHOG_CONVERSATIONS_TICKETS_AI_FEEDBACK_CREATERecord reviewer feedback on an AI reply, captured to the internal analytics project.Connection
Record reviewer feedback on an AI reply, captured to the internal analytics project.
Authentication
Connected account requiredTags
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.Connection
Create a new outbound ticket and send the first message to the customer.
Authentication
Connected account requiredTags
Conversations Tickets CreatePOSTHOG_CONVERSATIONS_TICKETS_CREATEConversations Tickets CreateConnection
Conversations Tickets Create
Authentication
Connected account requiredTags
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.Connection
List tickets with person data attached.
Authentication
Connected account requiredTags
Conversations Tickets Messages ListPOSTHOG_CONVERSATIONS_TICKETS_MESSAGES_LISTReturn the message thread for a ticket, ordered chronologically (paginated).Connection
Return the message thread for a ticket, ordered chronologically (paginated).
Authentication
Connected account requiredTags
Conversations Tickets Partial UpdatePOSTHOG_CONVERSATIONS_TICKETS_PARTIAL_UPDATEConversations Tickets Partial UpdateConnection
Conversations Tickets Partial Update
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Conversations Tickets RetrievePOSTHOG_CONVERSATIONS_TICKETS_RETRIEVEGet single ticket and mark as read by team.Connection
Get single ticket and mark as read by team.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Conversations Tickets UpdatePOSTHOG_CONVERSATIONS_TICKETS_UPDATEHandle ticket updates including assignee changes.Connection
Handle ticket updates including assignee changes.
Authentication
Connected account requiredTags
Conversations Views CreatePOSTHOG_CONVERSATIONS_VIEWS_CREATEConversations Views CreateConnection
Conversations Views Create
Authentication
Connected account requiredTags
Conversations Views DestroyPOSTHOG_CONVERSATIONS_VIEWS_DESTROYConversations Views DestroyConnection
Conversations Views Destroy
Authentication
Connected account requiredTags
Conversations Views ListPOSTHOG_CONVERSATIONS_VIEWS_LISTConversations Views ListConnection
Conversations Views List
Authentication
Connected account requiredTags
Conversations Views RetrievePOSTHOG_CONVERSATIONS_VIEWS_RETRIEVEConversations Views RetrieveConnection
Conversations Views Retrieve
Authentication
Connected account requiredTags
CreatePOSTHOG_CREATECreateConnection
Create
Authentication
Connected account requiredTags
Create Session SummariesPOSTHOG_CREATE_SESSION_SUMMARIESGenerate AI summary for a group of session recordings to find patterns and generate a notebook.Connection
Generate AI summary for a group of session recordings to find patterns and generate a notebook.
Authentication
Connected account requiredTags
Create Session Summaries IndividuallyPOSTHOG_CREATE_SESSION_SUMMARIES_INDIVIDUALLYGenerate AI individual summary for each session, without grouping.Connection
Generate AI individual summary for each session, without grouping.
Authentication
Connected account requiredTags
Customer Journeys CreatePOSTHOG_CUSTOMER_JOURNEYS_CREATECustomer Journeys CreateConnection
Customer Journeys Create
Authentication
Connected account requiredTags
Customer Journeys DestroyPOSTHOG_CUSTOMER_JOURNEYS_DESTROYCustomer Journeys DestroyConnection
Customer Journeys Destroy
Authentication
Connected account requiredTags
Customer Journeys ListPOSTHOG_CUSTOMER_JOURNEYS_LISTCustomer Journeys ListConnection
Customer Journeys List
Authentication
Connected account requiredTags
Customer Journeys Partial UpdatePOSTHOG_CUSTOMER_JOURNEYS_PARTIAL_UPDATECustomer Journeys Partial UpdateConnection
Customer Journeys Partial Update
Authentication
Connected account requiredTags
Customer Journeys RetrievePOSTHOG_CUSTOMER_JOURNEYS_RETRIEVECustomer Journeys RetrieveConnection
Customer Journeys Retrieve
Authentication
Connected account requiredTags
Customer Journeys UpdatePOSTHOG_CUSTOMER_JOURNEYS_UPDATECustomer Journeys UpdateConnection
Customer Journeys Update
Authentication
Connected account requiredTags
Customer Profile Configs CreatePOSTHOG_CUSTOMER_PROFILE_CONFIGS_CREATECustomer Profile Configs CreateConnection
Customer Profile Configs Create
Authentication
Connected account requiredTags
Customer Profile Configs DestroyPOSTHOG_CUSTOMER_PROFILE_CONFIGS_DESTROYCustomer Profile Configs DestroyConnection
Customer Profile Configs Destroy
Authentication
Connected account requiredTags
Customer Profile Configs ListPOSTHOG_CUSTOMER_PROFILE_CONFIGS_LISTCustomer Profile Configs ListConnection
Customer Profile Configs List
Authentication
Connected account requiredTags
Customer Profile Configs Partial UpdatePOSTHOG_CUSTOMER_PROFILE_CONFIGS_PARTIAL_UPDATECustomer Profile Configs Partial UpdateConnection
Customer Profile Configs Partial Update
Authentication
Connected account requiredTags
Customer Profile Configs RetrievePOSTHOG_CUSTOMER_PROFILE_CONFIGS_RETRIEVECustomer Profile Configs RetrieveConnection
Customer Profile Configs Retrieve
Authentication
Connected account requiredTags
Customer Profile Configs UpdatePOSTHOG_CUSTOMER_PROFILE_CONFIGS_UPDATECustomer Profile Configs UpdateConnection
Customer Profile Configs Update
Authentication
Connected account requiredTags
Custom Property Definitions CreatePOSTHOG_CUSTOM_PROPERTY_DEFINITIONS_CREATECustom Property Definitions CreateConnection
Custom Property Definitions Create
Authentication
Connected account requiredTags
Custom Property Definitions DestroyPOSTHOG_CUSTOM_PROPERTY_DEFINITIONS_DESTROYCustom Property Definitions DestroyConnection
Custom Property Definitions Destroy
Authentication
Connected account requiredTags
Custom Property Definitions ListPOSTHOG_CUSTOM_PROPERTY_DEFINITIONS_LISTCustom Property Definitions ListConnection
Custom Property Definitions List
Authentication
Connected account requiredTags
Custom Property Definitions Partial UpdatePOSTHOG_CUSTOM_PROPERTY_DEFINITIONS_PARTIAL_UPDATECustom Property Definitions Partial UpdateConnection
Custom Property Definitions Partial Update
Authentication
Connected account requiredTags
Custom Property Definitions RetrievePOSTHOG_CUSTOM_PROPERTY_DEFINITIONS_RETRIEVECustom Property Definitions RetrieveConnection
Custom Property Definitions Retrieve
Authentication
Connected account requiredTags
Custom Property Definitions UpdatePOSTHOG_CUSTOM_PROPERTY_DEFINITIONS_UPDATECustom Property Definitions UpdateConnection
Custom Property Definitions Update
Authentication
Connected account requiredTags
Custom Property Sources CreatePOSTHOG_CUSTOM_PROPERTY_SOURCES_CREATECustom Property Sources CreateConnection
Custom Property Sources Create
Authentication
Connected account requiredTags
Custom Property Sources DestroyPOSTHOG_CUSTOM_PROPERTY_SOURCES_DESTROYCustom Property Sources DestroyConnection
Custom Property Sources Destroy
Authentication
Connected account requiredTags
Custom Property Sources ListPOSTHOG_CUSTOM_PROPERTY_SOURCES_LISTCustom Property Sources ListConnection
Custom Property Sources List
Authentication
Connected account requiredTags
Custom Property Sources Partial UpdatePOSTHOG_CUSTOM_PROPERTY_SOURCES_PARTIAL_UPDATECustom Property Sources Partial UpdateConnection
Custom Property Sources Partial Update
Authentication
Connected account requiredTags
Custom Property Sources RetrievePOSTHOG_CUSTOM_PROPERTY_SOURCES_RETRIEVECustom Property Sources RetrieveConnection
Custom Property Sources Retrieve
Authentication
Connected account requiredTags
Custom Property Sources UpdatePOSTHOG_CUSTOM_PROPERTY_SOURCES_UPDATECustom Property Sources UpdateConnection
Custom Property Sources Update
Authentication
Connected account requiredTags
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 CreateConnection
Dashboards Collaborators Create
Authentication
Connected account requiredTags
Dashboards Collaborators DestroyPOSTHOG_DASHBOARDS_COLLABORATORS_DESTROYDashboards Collaborators DestroyConnection
Dashboards Collaborators Destroy
Authentication
Connected account requiredTags
Dashboards Collaborators ListPOSTHOG_DASHBOARDS_COLLABORATORS_LISTDashboards Collaborators ListConnection
Dashboards Collaborators List
Authentication
Connected account requiredTags
Dashboards Copy Tile CreatePOSTHOG_DASHBOARDS_COPY_TILE_CREATECopy an existing dashboard tile to another dashboard (insight, text card, or widget tile).Connection
Copy an existing dashboard tile to another dashboard (insight, text card, or widget tile).
Authentication
Connected account requiredTags
Dashboards CreatePOSTHOG_DASHBOARDS_CREATEDashboards CreateConnection
Dashboards Create
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Dashboards DestroyPOSTHOG_DASHBOARDS_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
Dashboards ListPOSTHOG_DASHBOARDS_LISTDashboards ListConnection
Dashboards List
Authentication
Connected account requiredTags
Dashboards Move Tile CreatePOSTHOG_DASHBOARDS_MOVE_TILE_CREATEDashboards Move Tile CreateConnection
Dashboards Move Tile Create
Authentication
Connected account requiredTags
Dashboards Move Tile Partial UpdatePOSTHOG_DASHBOARDS_MOVE_TILE_PARTIAL_UPDATEDashboards Move Tile Partial UpdateConnection
Dashboards Move Tile Partial Update
Authentication
Connected account requiredTags
Dashboards Partial UpdatePOSTHOG_DASHBOARDS_PARTIAL_UPDATEDashboards Partial UpdateConnection
Dashboards Partial Update
Authentication
Connected account requiredTags
Dashboards Reorder Tiles CreatePOSTHOG_DASHBOARDS_REORDER_TILES_CREATEDashboards Reorder Tiles CreateConnection
Dashboards Reorder Tiles Create
Authentication
Connected account requiredTags
Dashboards RetrievePOSTHOG_DASHBOARDS_RETRIEVEDashboards RetrieveConnection
Dashboards Retrieve
Authentication
Connected account requiredTags
Dashboards Run Insights RetrievePOSTHOG_DASHBOARDS_RUN_INSIGHTS_RETRIEVERun all insights on a dashboard and return their results.Connection
Run all insights on a dashboard and return their results.
Authentication
Connected account requiredTags
Dashboards Run Widgets RetrievePOSTHOG_DASHBOARDS_RUN_WIDGETS_RETRIEVEDashboards Run Widgets RetrieveConnection
Dashboards Run Widgets Retrieve
Authentication
Connected account requiredTags
Dashboards Sharing ListPOSTHOG_DASHBOARDS_SHARING_LISTDashboards Sharing ListConnection
Dashboards Sharing List
Authentication
Connected account requiredTags
Dashboards Sharing Passwords CreatePOSTHOG_DASHBOARDS_SHARING_PASSWORDS_CREATECreate a new password for the sharing configuration.Connection
Create a new password for the sharing configuration.
Authentication
Connected account requiredTags
Dashboards Sharing Passwords DestroyPOSTHOG_DASHBOARDS_SHARING_PASSWORDS_DESTROYDelete a password from the sharing configuration.Connection
Delete a password from the sharing configuration.
Authentication
Connected account requiredTags
Dashboards Sharing Refresh CreatePOSTHOG_DASHBOARDS_SHARING_REFRESH_CREATEDashboards Sharing Refresh CreateConnection
Dashboards Sharing Refresh Create
Authentication
Connected account requiredTags
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 UpdateConnection
Dashboards Update
Authentication
Connected account requiredTags
Dashboards Update Text Tile CreatePOSTHOG_DASHBOARDS_UPDATE_TEXT_TILE_CREATEUpdate the markdown body, layout, or color of an existing text tile on a dashboard.Connection
Update the markdown body, layout, or color of an existing text tile on a dashboard.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Dashboards Widgets Batch CreatePOSTHOG_DASHBOARDS_WIDGETS_BATCH_CREATEAdd multiple widget tiles to a dashboard in one atomic request.Connection
Add multiple widget tiles to a dashboard in one atomic request.
Authentication
Connected account requiredTags
Dashboards Widget Catalog RetrievePOSTHOG_DASHBOARDS_WIDGET_CATALOG_RETRIEVEList registered dashboard widget types and per-type config_schema documentation for agents.Connection
List registered dashboard widget types and per-type config_schema documentation for agents.
Authentication
Connected account requiredTags
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 CreateConnection
Dashboard Templates Create
Authentication
Connected account requiredTags
Dashboard Templates DestroyPOSTHOG_DASHBOARD_TEMPLATES_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
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 ListConnection
Dashboard Templates List
Authentication
Connected account requiredTags
Dashboard Templates Partial UpdatePOSTHOG_DASHBOARD_TEMPLATES_PARTIAL_UPDATEDashboard Templates Partial UpdateConnection
Dashboard Templates Partial Update
Authentication
Connected account requiredTags
Dashboard Templates RetrievePOSTHOG_DASHBOARD_TEMPLATES_RETRIEVEDashboard Templates RetrieveConnection
Dashboard Templates Retrieve
Authentication
Connected account requiredTags
Dashboard Templates UpdatePOSTHOG_DASHBOARD_TEMPLATES_UPDATEDashboard Templates UpdateConnection
Dashboard Templates Update
Authentication
Connected account requiredTags
Datasets CreatePOSTHOG_DATASETS_CREATEDatasets CreateConnection
Datasets Create
Authentication
Connected account requiredTags
Datasets DestroyPOSTHOG_DATASETS_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
Datasets ListPOSTHOG_DATASETS_LISTDatasets ListConnection
Datasets List
Authentication
Connected account requiredTags
Datasets Partial UpdatePOSTHOG_DATASETS_PARTIAL_UPDATEDatasets Partial UpdateConnection
Datasets Partial Update
Authentication
Connected account requiredTags
Datasets RetrievePOSTHOG_DATASETS_RETRIEVEDatasets RetrieveConnection
Datasets Retrieve
Authentication
Connected account requiredTags
Datasets UpdatePOSTHOG_DATASETS_UPDATEDatasets UpdateConnection
Datasets Update
Authentication
Connected account requiredTags
Dataset Items CreatePOSTHOG_DATASET_ITEMS_CREATEDataset Items CreateConnection
Dataset Items Create
Authentication
Connected account requiredTags
Dataset Items DestroyPOSTHOG_DATASET_ITEMS_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
Dataset Items ListPOSTHOG_DATASET_ITEMS_LISTDataset Items ListConnection
Dataset Items List
Authentication
Connected account requiredTags
Dataset Items Partial UpdatePOSTHOG_DATASET_ITEMS_PARTIAL_UPDATEDataset Items Partial UpdateConnection
Dataset Items Partial Update
Authentication
Connected account requiredTags
Dataset Items RetrievePOSTHOG_DATASET_ITEMS_RETRIEVEDataset Items RetrieveConnection
Dataset Items Retrieve
Authentication
Connected account requiredTags
Dataset Items UpdatePOSTHOG_DATASET_ITEMS_UPDATEDataset Items UpdateConnection
Dataset Items Update
Authentication
Connected account requiredTags
Data Color Themes CreatePOSTHOG_DATA_COLOR_THEMES_CREATEData Color Themes CreateConnection
Data Color Themes Create
Authentication
Connected account requiredTags
Data Color Themes DestroyPOSTHOG_DATA_COLOR_THEMES_DESTROYData Color Themes DestroyConnection
Data Color Themes Destroy
Authentication
Connected account requiredTags
Data Color Themes ListPOSTHOG_DATA_COLOR_THEMES_LISTData Color Themes ListConnection
Data Color Themes List
Authentication
Connected account requiredTags
Data Color Themes Partial UpdatePOSTHOG_DATA_COLOR_THEMES_PARTIAL_UPDATEData Color Themes Partial UpdateConnection
Data Color Themes Partial Update
Authentication
Connected account requiredTags
Data Color Themes RetrievePOSTHOG_DATA_COLOR_THEMES_RETRIEVEData Color Themes RetrieveConnection
Data Color Themes Retrieve
Authentication
Connected account requiredTags
Data Color Themes UpdatePOSTHOG_DATA_COLOR_THEMES_UPDATEData Color Themes UpdateConnection
Data Color Themes Update
Authentication
Connected account requiredTags
Data Modeling Jobs ListPOSTHOG_DATA_MODELING_JOBS_LISTList data modeling jobs which are "runs" for our saved queries.Connection
List data modeling jobs which are "runs" for our saved queries.
Authentication
Connected account requiredTags
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.Connection
List data modeling jobs which are "runs" for our saved queries.
Authentication
Connected account requiredTags
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.Connection
Returns failed/disabled data pipeline items for the Pipeline status side panel. Includes: materializations, syncs, sources, destinations, and transformations.
Authentication
Connected account requiredTags
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.Connection
Returns the data ops overview dashboard ID for this team, creating it if it doesn't exist yet.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Data Warehouse Deprovision CreatePOSTHOG_DATA_WAREHOUSE_DEPROVISION_CREATEStart deprovisioning the organization's managed warehouse. Restricted to organization admins.Connection
Start deprovisioning the organization's managed warehouse. Restricted to organization admins.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
API endpoints for data warehouse aggregate statistics and operations.
Authentication
Connected account requiredTags
Data Warehouse Provision CreatePOSTHOG_DATA_WAREHOUSE_PROVISION_CREATEStart provisioning a managed warehouse for this organization (shared by all its teams).Connection
Start provisioning a managed warehouse for this organization (shared by all its teams).
Authentication
Connected account requiredTags
Data Warehouse Reset Password CreatePOSTHOG_DATA_WAREHOUSE_RESET_PASSWORD_CREATEReset the root password for the managed warehouse.Connection
Reset the root password for the managed warehouse.
Authentication
Connected account requiredTags
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
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.Connection
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 requiredTags
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.Connection
Return the Task currently generating this folder's CONTEXT.md, or null if none.
Authentication
Connected account requiredTags
Desktop File System Context Generation UpdatePOSTHOG_DESKTOP_FILE_SYSTEM_CONTEXT_GENERATION_UPDATESet or clear the Task associated with this folder's CONTEXT.md generation.Connection
Set or clear the Task associated with this folder's CONTEXT.md generation.
Authentication
Connected account requiredTags
Desktop File System Count By Path CreatePOSTHOG_DESKTOP_FILE_SYSTEM_COUNT_BY_PATH_CREATEGet count of all files in a folder.Connection
Get count of all files in a folder.
Authentication
Connected account requiredTags
Desktop File System Count CreatePOSTHOG_DESKTOP_FILE_SYSTEM_COUNT_CREATEGet count of all files in a folder.Connection
Get count of all files in a folder.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Desktop File System Instructions DestroyPOSTHOG_DESKTOP_FILE_SYSTEM_INSTRUCTIONS_DESTROYSoft-delete every version of this folder's instructions.Connection
Soft-delete every version of this folder's instructions.
Authentication
Connected account requiredTags
Desktop File System Instructions Partial UpdatePOSTHOG_DESKTOP_FILE_SYSTEM_INSTRUCTIONS_PARTIAL_UPDATEPublish a new version of the folder's instructions.Connection
Publish a new version of the folder's instructions.
Authentication
Connected account requiredTags
Desktop File System Instructions RetrievePOSTHOG_DESKTOP_FILE_SYSTEM_INSTRUCTIONS_RETRIEVEReturn the latest non-deleted instructions for this folder.Connection
Return the latest non-deleted instructions for this folder.
Authentication
Connected account requiredTags
Desktop File System Instructions UpdatePOSTHOG_DESKTOP_FILE_SYSTEM_INSTRUCTIONS_UPDATEPublish a new version of the folder's instructions.Connection
Publish a new version of the folder's instructions.
Authentication
Connected account requiredTags
Desktop File System Instructions Versions ListPOSTHOG_DESKTOP_FILE_SYSTEM_INSTRUCTIONS_VERSIONS_LISTList the version history for this folder's instructions, newest first.Connection
List the version history for this folder's instructions, newest first.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
DestroyPOSTHOG_DESTROYDestroyConnection
Destroy
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Domains CreatePOSTHOG_DOMAINS_CREATEDomains CreateConnection
Domains Create
Authentication
Connected account requiredTags
Domains DestroyPOSTHOG_DOMAINS_DESTROYDomains DestroyConnection
Domains Destroy
Authentication
Connected account requiredTags
Domains ListPOSTHOG_DOMAINS_LISTDomains ListConnection
Domains List
Authentication
Connected account requiredTags
Domains Partial UpdatePOSTHOG_DOMAINS_PARTIAL_UPDATEDomains Partial UpdateConnection
Domains Partial Update
Authentication
Connected account requiredTags
Domains RetrievePOSTHOG_DOMAINS_RETRIEVEDomains RetrieveConnection
Domains Retrieve
Authentication
Connected account requiredTags
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 UpdateConnection
Domains Update
Authentication
Connected account requiredTags
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 CreateConnection
Early Access Feature Create
Authentication
Connected account requiredTags
Early Access Feature DestroyPOSTHOG_EARLY_ACCESS_FEATURE_DESTROYEarly Access Feature DestroyConnection
Early Access Feature Destroy
Authentication
Connected account requiredTags
Early Access Feature ListPOSTHOG_EARLY_ACCESS_FEATURE_LISTEarly Access Feature ListConnection
Early Access Feature List
Authentication
Connected account requiredTags
Early Access Feature Partial UpdatePOSTHOG_EARLY_ACCESS_FEATURE_PARTIAL_UPDATEEarly Access Feature Partial UpdateConnection
Early Access Feature Partial Update
Authentication
Connected account requiredTags
Early Access Feature RetrievePOSTHOG_EARLY_ACCESS_FEATURE_RETRIEVEEarly Access Feature RetrieveConnection
Early Access Feature Retrieve
Authentication
Connected account requiredTags
Early Access Feature UpdatePOSTHOG_EARLY_ACCESS_FEATURE_UPDATEEarly Access Feature UpdateConnection
Early Access Feature Update
Authentication
Connected account requiredTags
Elements CreatePOSTHOG_ELEMENTS_CREATEElements CreateConnection
Elements Create
Authentication
Connected account requiredTags
Elements DestroyPOSTHOG_ELEMENTS_DESTROYElements DestroyConnection
Elements Destroy
Authentication
Connected account requiredTags
Elements ListPOSTHOG_ELEMENTS_LISTElements ListConnection
Elements List
Authentication
Connected account requiredTags
Elements Partial UpdatePOSTHOG_ELEMENTS_PARTIAL_UPDATEElements Partial UpdateConnection
Elements Partial Update
Authentication
Connected account requiredTags
Elements RetrievePOSTHOG_ELEMENTS_RETRIEVEElements RetrieveConnection
Elements Retrieve
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Elements UpdatePOSTHOG_ELEMENTS_UPDATEElements UpdateConnection
Elements Update
Authentication
Connected account requiredTags
Elements Values ListPOSTHOG_ELEMENTS_VALUES_LISTElements Values ListConnection
Elements Values List
Authentication
Connected account requiredTags
Endpoints CreatePOSTHOG_ENDPOINTS_CREATECreate a new endpoint.Connection
Create a new endpoint.
Authentication
Connected account requiredTags
Endpoints DestroyPOSTHOG_ENDPOINTS_DESTROYDelete an endpoint and clean up materialized query.Connection
Delete an endpoint and clean up materialized query.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Endpoints ListPOSTHOG_ENDPOINTS_LISTList all endpoints for the team.Connection
List all endpoints for the team.
Authentication
Connected account requiredTags
Endpoints Logs RetrievePOSTHOG_ENDPOINTS_LOGS_RETRIEVEEndpoints Logs RetrieveConnection
Endpoints Logs Retrieve
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Endpoints Materialization Status RetrievePOSTHOG_ENDPOINTS_MATERIALIZATION_STATUS_RETRIEVEGet materialization status for an endpoint. Supports ?version=N query param.Connection
Get materialization status for an endpoint. Supports ?version=N query param.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Endpoints Openapi Spec RetrievePOSTHOG_ENDPOINTS_OPENAPI_SPEC_RETRIEVEGet OpenAPI 3.0 specification for this endpoint. Use this to generate typed SDK clients.Connection
Get OpenAPI 3.0 specification for this endpoint. Use this to generate typed SDK clients.
Authentication
Connected account requiredTags
Endpoints Partial UpdatePOSTHOG_ENDPOINTS_PARTIAL_UPDATEUpdate an existing endpoint.Connection
Update an existing endpoint.
Authentication
Connected account requiredTags
Endpoints RetrievePOSTHOG_ENDPOINTS_RETRIEVERetrieve an endpoint, or a specific version via ?version=N.Connection
Retrieve an endpoint, or a specific version via ?version=N.
Authentication
Connected account requiredTags
Endpoints Run CreatePOSTHOG_ENDPOINTS_RUN_CREATEExecute endpoint with optional materialization. Supports version parameter, runs latest version if not set.Connection
Execute endpoint with optional materialization. Supports version parameter, runs latest version if not set.
Authentication
Connected account requiredTags
Endpoints Run RetrievePOSTHOG_ENDPOINTS_RUN_RETRIEVEExecute endpoint with optional materialization. Supports version parameter, runs latest version if not set.Connection
Execute endpoint with optional materialization. Supports version parameter, runs latest version if not set.
Authentication
Connected account requiredTags
Endpoints UpdatePOSTHOG_ENDPOINTS_UPDATEUpdate an existing endpoint. Parameters are optional. Pass version in body or ?version=N query param to target a specific version.Connection
Update an existing endpoint. Parameters are optional. Pass version in body or ?version=N query param to target a specific version.
Authentication
Connected account requiredTags
Endpoints Versions ListPOSTHOG_ENDPOINTS_VERSIONS_LISTList all versions for an endpoint.Connection
List all versions for an endpoint.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Environments Accounts CreatePOSTHOG_ENVIRONMENTS_ACCOUNTS_CREATEEnvironments Accounts CreateConnection
Environments Accounts Create
Authentication
Connected account requiredTags
Environments Accounts DestroyPOSTHOG_ENVIRONMENTS_ACCOUNTS_DESTROYEnvironments Accounts DestroyConnection
Environments Accounts Destroy
Authentication
Connected account requiredTags
Environments Accounts ListPOSTHOG_ENVIRONMENTS_ACCOUNTS_LISTEnvironments Accounts ListConnection
Environments Accounts List
Authentication
Connected account requiredTags
Environments Accounts Notebooks CreatePOSTHOG_ENVIRONMENTS_ACCOUNTS_NOTEBOOKS_CREATEEnvironments Accounts Notebooks CreateConnection
Environments Accounts Notebooks Create
Authentication
Connected account requiredTags
Environments Accounts Notebooks DestroyPOSTHOG_ENVIRONMENTS_ACCOUNTS_NOTEBOOKS_DESTROYEnvironments Accounts Notebooks DestroyConnection
Environments Accounts Notebooks Destroy
Authentication
Connected account requiredTags
Environments Accounts Notebooks ListPOSTHOG_ENVIRONMENTS_ACCOUNTS_NOTEBOOKS_LISTEnvironments Accounts Notebooks ListConnection
Environments Accounts Notebooks List
Authentication
Connected account requiredTags
Environments Accounts Notebooks RetrievePOSTHOG_ENVIRONMENTS_ACCOUNTS_NOTEBOOKS_RETRIEVEEnvironments Accounts Notebooks RetrieveConnection
Environments Accounts Notebooks Retrieve
Authentication
Connected account requiredTags
Environments Accounts Partial UpdatePOSTHOG_ENVIRONMENTS_ACCOUNTS_PARTIAL_UPDATEEnvironments Accounts Partial UpdateConnection
Environments Accounts Partial Update
Authentication
Connected account requiredTags
Environments Accounts RetrievePOSTHOG_ENVIRONMENTS_ACCOUNTS_RETRIEVEEnvironments Accounts RetrieveConnection
Environments Accounts Retrieve
Authentication
Connected account requiredTags
Environments Accounts UpdatePOSTHOG_ENVIRONMENTS_ACCOUNTS_UPDATEEnvironments Accounts UpdateConnection
Environments Accounts Update
Authentication
Connected account requiredTags
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.Connection
Deprecated: use /api/environments/{id}/ instead.
Authentication
Connected account requiredTags
Environments Alerts CreatePOSTHOG_ENVIRONMENTS_ALERTS_CREATEEnvironments Alerts CreateConnection
Environments Alerts Create
Authentication
Connected account requiredTags
Environments Alerts DestroyPOSTHOG_ENVIRONMENTS_ALERTS_DESTROYEnvironments Alerts DestroyConnection
Environments Alerts Destroy
Authentication
Connected account requiredTags
Environments Alerts ListPOSTHOG_ENVIRONMENTS_ALERTS_LISTEnvironments Alerts ListConnection
Environments Alerts List
Authentication
Connected account requiredTags
Environments Alerts Partial UpdatePOSTHOG_ENVIRONMENTS_ALERTS_PARTIAL_UPDATEEnvironments Alerts Partial UpdateConnection
Environments Alerts Partial Update
Authentication
Connected account requiredTags
Environments Alerts RetrievePOSTHOG_ENVIRONMENTS_ALERTS_RETRIEVEEnvironments Alerts RetrieveConnection
Environments Alerts Retrieve
Authentication
Connected account requiredTags
Environments Alerts Simulate CreatePOSTHOG_ENVIRONMENTS_ALERTS_SIMULATE_CREATESimulate a detector on an insight's historical data. Read-only — no AlertCheck records are created.Connection
Simulate a detector on an insight's historical data. Read-only — no AlertCheck records are created.
Authentication
Connected account requiredTags
Environments Alerts UpdatePOSTHOG_ENVIRONMENTS_ALERTS_UPDATEEnvironments Alerts UpdateConnection
Environments Alerts Update
Authentication
Connected account requiredTags
Environments Approval Policies CreatePOSTHOG_ENVIRONMENTS_APPROVAL_POLICIES_CREATEEnvironments Approval Policies CreateConnection
Environments Approval Policies Create
Authentication
Connected account requiredTags
Environments Approval Policies DestroyPOSTHOG_ENVIRONMENTS_APPROVAL_POLICIES_DESTROYEnvironments Approval Policies DestroyConnection
Environments Approval Policies Destroy
Authentication
Connected account requiredTags
Environments Approval Policies ListPOSTHOG_ENVIRONMENTS_APPROVAL_POLICIES_LISTEnvironments Approval Policies ListConnection
Environments Approval Policies List
Authentication
Connected account requiredTags
Environments Approval Policies Partial UpdatePOSTHOG_ENVIRONMENTS_APPROVAL_POLICIES_PARTIAL_UPDATEEnvironments Approval Policies Partial UpdateConnection
Environments Approval Policies Partial Update
Authentication
Connected account requiredTags
Environments Approval Policies RetrievePOSTHOG_ENVIRONMENTS_APPROVAL_POLICIES_RETRIEVEEnvironments Approval Policies RetrieveConnection
Environments Approval Policies Retrieve
Authentication
Connected account requiredTags
Environments Approval Policies UpdatePOSTHOG_ENVIRONMENTS_APPROVAL_POLICIES_UPDATEEnvironments Approval Policies UpdateConnection
Environments Approval Policies Update
Authentication
Connected account requiredTags
Environments Batch Exports Backfills Cancel CreatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_BACKFILLS_CANCEL_CREATECancel a batch export backfill.Connection
Cancel a batch export backfill.
Authentication
Connected account requiredTags
Environments Batch Exports Backfills CreatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_BACKFILLS_CREATECreate a new backfill for a BatchExport.Connection
Create a new backfill for a BatchExport.
Authentication
Connected account requiredTags
Environments Batch Exports Backfills ListPOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_BACKFILLS_LISTViewSet for BatchExportBackfill models. Allows creating and reading backfills, but not updating or deleting them.Connection
ViewSet for BatchExportBackfill models. Allows creating and reading backfills, but not updating or deleting them.
Authentication
Connected account requiredTags
Environments Batch Exports Backfills RetrievePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_BACKFILLS_RETRIEVEViewSet for BatchExportBackfill models. Allows creating and reading backfills, but not updating or deleting them.Connection
ViewSet for BatchExportBackfill models. Allows creating and reading backfills, but not updating or deleting them.
Authentication
Connected account requiredTags
Environments Batch Exports CreatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_CREATEEnvironments Batch Exports CreateConnection
Environments Batch Exports Create
Authentication
Connected account requiredTags
Environments Batch Exports DestroyPOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_DESTROYEnvironments Batch Exports DestroyConnection
Environments Batch Exports Destroy
Authentication
Connected account requiredTags
Environments Batch Exports ListPOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_LISTEnvironments Batch Exports ListConnection
Environments Batch Exports List
Authentication
Connected account requiredTags
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 UpdateConnection
Environments Batch Exports Partial Update
Authentication
Connected account requiredTags
Environments Batch Exports Pause CreatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_PAUSE_CREATEPause a BatchExport.Connection
Pause a BatchExport.
Authentication
Connected account requiredTags
Environments Batch Exports RetrievePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_RETRIEVEEnvironments Batch Exports RetrieveConnection
Environments Batch Exports Retrieve
Authentication
Connected account requiredTags
Environments Batch Exports Runs Cancel CreatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_RUNS_CANCEL_CREATECancel a batch export run.Connection
Cancel a batch export run.
Authentication
Connected account requiredTags
Environments Batch Exports Runs ListPOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_RUNS_LISTEnvironments Batch Exports Runs ListConnection
Environments Batch Exports Runs List
Authentication
Connected account requiredTags
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 RetrieveConnection
Environments Batch Exports Runs Retrieve
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Environments Batch Exports Run Test Step CreatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_RUN_TEST_STEP_CREATEEnvironments Batch Exports Run Test Step CreateConnection
Environments Batch Exports Run Test Step Create
Authentication
Connected account requiredTags
Environments Batch Exports Run Test Step New CreatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_RUN_TEST_STEP_NEW_CREATEEnvironments Batch Exports Run Test Step New CreateConnection
Environments Batch Exports Run Test Step New Create
Authentication
Connected account requiredTags
Environments Batch Exports Test RetrievePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_TEST_RETRIEVEEnvironments Batch Exports Test RetrieveConnection
Environments Batch Exports Test Retrieve
Authentication
Connected account requiredTags
Environments Batch Exports Unpause CreatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_UNPAUSE_CREATEUnpause a BatchExport.Connection
Unpause a BatchExport.
Authentication
Connected account requiredTags
Environments Batch Exports UpdatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_UPDATEEnvironments Batch Exports UpdateConnection
Environments Batch Exports Update
Authentication
Connected account requiredTags
Environments Change Requests Approve CreatePOSTHOG_ENVIRONMENTS_CHANGE_REQUESTS_APPROVE_CREATEApprove a change request. If quorum is reached, automatically applies the change immediately.Connection
Approve a change request. If quorum is reached, automatically applies the change immediately.
Authentication
Connected account requiredTags
Environments Change Requests Cancel CreatePOSTHOG_ENVIRONMENTS_CHANGE_REQUESTS_CANCEL_CREATECancel a change request. Only the requester can cancel their own pending change request.Connection
Cancel a change request. Only the requester can cancel their own pending change request.
Authentication
Connected account requiredTags
Environments Change Requests ListPOSTHOG_ENVIRONMENTS_CHANGE_REQUESTS_LISTEnvironments Change Requests ListConnection
Environments Change Requests List
Authentication
Connected account requiredTags
Environments Change Requests Reject CreatePOSTHOG_ENVIRONMENTS_CHANGE_REQUESTS_REJECT_CREATEReject a change request.Connection
Reject a change request.
Authentication
Connected account requiredTags
Environments Change Requests RetrievePOSTHOG_ENVIRONMENTS_CHANGE_REQUESTS_RETRIEVEEnvironments Change Requests RetrieveConnection
Environments Change Requests Retrieve
Authentication
Connected account requiredTags
Environments Complete Product Onboarding Partial UpdatePOSTHOG_ENVIRONMENTS_COMPLETE_PRODUCT_ONBOARDING_PARTIAL_UPDATEDeprecated: use /api/environments/{id}/ instead.Connection
Deprecated: use /api/environments/{id}/ instead.
Authentication
Connected account requiredTags
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 conversationConnection
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 requiredTags
Environments Conversations DestroyPOSTHOG_ENVIRONMENTS_CONVERSATIONS_DESTROYDelete a conversation.Connection
Delete a conversation.
Authentication
Connected account requiredTags
Environments Conversations ListPOSTHOG_ENVIRONMENTS_CONVERSATIONS_LISTEnvironments Conversations ListConnection
Environments Conversations List
Authentication
Connected account requiredTags
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 RetrieveConnection
Environments Conversations Retrieve
Authentication
Connected account requiredTags
Environments Conversations Views CreatePOSTHOG_ENVIRONMENTS_CONVERSATIONS_VIEWS_CREATEEnvironments Conversations Views CreateConnection
Environments Conversations Views Create
Authentication
Connected account requiredTags
Environments Conversations Views DestroyPOSTHOG_ENVIRONMENTS_CONVERSATIONS_VIEWS_DESTROYEnvironments Conversations Views DestroyConnection
Environments Conversations Views Destroy
Authentication
Connected account requiredTags
Environments Conversations Views ListPOSTHOG_ENVIRONMENTS_CONVERSATIONS_VIEWS_LISTEnvironments Conversations Views ListConnection
Environments Conversations Views List
Authentication
Connected account requiredTags
Environments Conversations Views RetrievePOSTHOG_ENVIRONMENTS_CONVERSATIONS_VIEWS_RETRIEVEEnvironments Conversations Views RetrieveConnection
Environments Conversations Views Retrieve
Authentication
Connected account requiredTags
Environments CreatePOSTHOG_ENVIRONMENTS_CREATEDeprecated: use /api/environments/{id}/ instead.Connection
Deprecated: use /api/environments/{id}/ instead.
Authentication
Connected account requiredTags
Environments Create Session SummariesPOSTHOG_ENVIRONMENTS_CREATE_SESSION_SUMMARIESGenerate AI summary for a group of session recordings to find patterns and generate a notebook.Connection
Generate AI summary for a group of session recordings to find patterns and generate a notebook.
Authentication
Connected account requiredTags
Environments Create Session Summaries IndividuallyPOSTHOG_ENVIRONMENTS_CREATE_SESSION_SUMMARIES_INDIVIDUALLYGenerate AI individual summary for each session, without grouping.Connection
Generate AI individual summary for each session, without grouping.
Authentication
Connected account requiredTags
Environments Customer Journeys CreatePOSTHOG_ENVIRONMENTS_CUSTOMER_JOURNEYS_CREATEEnvironments Customer Journeys CreateConnection
Environments Customer Journeys Create
Authentication
Connected account requiredTags
Environments Customer Journeys DestroyPOSTHOG_ENVIRONMENTS_CUSTOMER_JOURNEYS_DESTROYEnvironments Customer Journeys DestroyConnection
Environments Customer Journeys Destroy
Authentication
Connected account requiredTags
Environments Customer Journeys ListPOSTHOG_ENVIRONMENTS_CUSTOMER_JOURNEYS_LISTEnvironments Customer Journeys ListConnection
Environments Customer Journeys List
Authentication
Connected account requiredTags
Environments Customer Journeys Partial UpdatePOSTHOG_ENVIRONMENTS_CUSTOMER_JOURNEYS_PARTIAL_UPDATEEnvironments Customer Journeys Partial UpdateConnection
Environments Customer Journeys Partial Update
Authentication
Connected account requiredTags
Environments Customer Journeys RetrievePOSTHOG_ENVIRONMENTS_CUSTOMER_JOURNEYS_RETRIEVEEnvironments Customer Journeys RetrieveConnection
Environments Customer Journeys Retrieve
Authentication
Connected account requiredTags
Environments Customer Journeys UpdatePOSTHOG_ENVIRONMENTS_CUSTOMER_JOURNEYS_UPDATEEnvironments Customer Journeys UpdateConnection
Environments Customer Journeys Update
Authentication
Connected account requiredTags
Environments Customer Profile Configs CreatePOSTHOG_ENVIRONMENTS_CUSTOMER_PROFILE_CONFIGS_CREATEEnvironments Customer Profile Configs CreateConnection
Environments Customer Profile Configs Create
Authentication
Connected account requiredTags
Environments Customer Profile Configs DestroyPOSTHOG_ENVIRONMENTS_CUSTOMER_PROFILE_CONFIGS_DESTROYEnvironments Customer Profile Configs DestroyConnection
Environments Customer Profile Configs Destroy
Authentication
Connected account requiredTags
Environments Customer Profile Configs ListPOSTHOG_ENVIRONMENTS_CUSTOMER_PROFILE_CONFIGS_LISTEnvironments Customer Profile Configs ListConnection
Environments Customer Profile Configs List
Authentication
Connected account requiredTags
Environments Customer Profile Configs Partial UpdatePOSTHOG_ENVIRONMENTS_CUSTOMER_PROFILE_CONFIGS_PARTIAL_UPDATEEnvironments Customer Profile Configs Partial UpdateConnection
Environments Customer Profile Configs Partial Update
Authentication
Connected account requiredTags
Environments Customer Profile Configs RetrievePOSTHOG_ENVIRONMENTS_CUSTOMER_PROFILE_CONFIGS_RETRIEVEEnvironments Customer Profile Configs RetrieveConnection
Environments Customer Profile Configs Retrieve
Authentication
Connected account requiredTags
Environments Customer Profile Configs UpdatePOSTHOG_ENVIRONMENTS_CUSTOMER_PROFILE_CONFIGS_UPDATEEnvironments Customer Profile Configs UpdateConnection
Environments Customer Profile Configs Update
Authentication
Connected account requiredTags
Environments Custom Property Definitions CreatePOSTHOG_ENVIRONMENTS_CUSTOM_PROPERTY_DEFINITIONS_CREATEEnvironments Custom Property Definitions CreateConnection
Environments Custom Property Definitions Create
Authentication
Connected account requiredTags
Environments Custom Property Definitions DestroyPOSTHOG_ENVIRONMENTS_CUSTOM_PROPERTY_DEFINITIONS_DESTROYEnvironments Custom Property Definitions DestroyConnection
Environments Custom Property Definitions Destroy
Authentication
Connected account requiredTags
Environments Custom Property Definitions ListPOSTHOG_ENVIRONMENTS_CUSTOM_PROPERTY_DEFINITIONS_LISTEnvironments Custom Property Definitions ListConnection
Environments Custom Property Definitions List
Authentication
Connected account requiredTags
Environments Custom Property Definitions Partial UpdatePOSTHOG_ENVIRONMENTS_CUSTOM_PROPERTY_DEFINITIONS_PARTIAL_UPDATEEnvironments Custom Property Definitions Partial UpdateConnection
Environments Custom Property Definitions Partial Update
Authentication
Connected account requiredTags
Environments Custom Property Definitions RetrievePOSTHOG_ENVIRONMENTS_CUSTOM_PROPERTY_DEFINITIONS_RETRIEVEEnvironments Custom Property Definitions RetrieveConnection
Environments Custom Property Definitions Retrieve
Authentication
Connected account requiredTags
Environments Custom Property Definitions UpdatePOSTHOG_ENVIRONMENTS_CUSTOM_PROPERTY_DEFINITIONS_UPDATEEnvironments Custom Property Definitions UpdateConnection
Environments Custom Property Definitions Update
Authentication
Connected account requiredTags
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 CreateConnection
Environments Dashboards Collaborators Create
Authentication
Connected account requiredTags
Environments Dashboards Collaborators DestroyPOSTHOG_ENVIRONMENTS_DASHBOARDS_COLLABORATORS_DESTROYEnvironments Dashboards Collaborators DestroyConnection
Environments Dashboards Collaborators Destroy
Authentication
Connected account requiredTags
Environments Dashboards Collaborators ListPOSTHOG_ENVIRONMENTS_DASHBOARDS_COLLABORATORS_LISTEnvironments Dashboards Collaborators ListConnection
Environments Dashboards Collaborators List
Authentication
Connected account requiredTags
Environments Dashboards Copy Tile CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_COPY_TILE_CREATECopy an existing dashboard tile to another dashboard (insight, text card, or widget tile).Connection
Copy an existing dashboard tile to another dashboard (insight, text card, or widget tile).
Authentication
Connected account requiredTags
Environments Dashboards CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_CREATEEnvironments Dashboards CreateConnection
Environments Dashboards Create
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Environments Dashboards DestroyPOSTHOG_ENVIRONMENTS_DASHBOARDS_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 Dashboards ListPOSTHOG_ENVIRONMENTS_DASHBOARDS_LISTEnvironments Dashboards ListConnection
Environments Dashboards List
Authentication
Connected account requiredTags
Environments Dashboards Move Tile CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_MOVE_TILE_CREATEEnvironments Dashboards Move Tile CreateConnection
Environments Dashboards Move Tile Create
Authentication
Connected account requiredTags
Environments Dashboards Move Tile Partial UpdatePOSTHOG_ENVIRONMENTS_DASHBOARDS_MOVE_TILE_PARTIAL_UPDATEEnvironments Dashboards Move Tile Partial UpdateConnection
Environments Dashboards Move Tile Partial Update
Authentication
Connected account requiredTags
Environments Dashboards Partial UpdatePOSTHOG_ENVIRONMENTS_DASHBOARDS_PARTIAL_UPDATEEnvironments Dashboards Partial UpdateConnection
Environments Dashboards Partial Update
Authentication
Connected account requiredTags
Environments Dashboards Reorder Tiles CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_REORDER_TILES_CREATEEnvironments Dashboards Reorder Tiles CreateConnection
Environments Dashboards Reorder Tiles Create
Authentication
Connected account requiredTags
Environments Dashboards RetrievePOSTHOG_ENVIRONMENTS_DASHBOARDS_RETRIEVEEnvironments Dashboards RetrieveConnection
Environments Dashboards Retrieve
Authentication
Connected account requiredTags
Environments Dashboards Run Insights RetrievePOSTHOG_ENVIRONMENTS_DASHBOARDS_RUN_INSIGHTS_RETRIEVERun all insights on a dashboard and return their results.Connection
Run all insights on a dashboard and return their results.
Authentication
Connected account requiredTags
Environments Dashboards Run Widgets RetrievePOSTHOG_ENVIRONMENTS_DASHBOARDS_RUN_WIDGETS_RETRIEVEEnvironments Dashboards Run Widgets RetrieveConnection
Environments Dashboards Run Widgets Retrieve
Authentication
Connected account requiredTags
Environments Dashboards Sharing ListPOSTHOG_ENVIRONMENTS_DASHBOARDS_SHARING_LISTEnvironments Dashboards Sharing ListConnection
Environments Dashboards Sharing List
Authentication
Connected account requiredTags
Environments Dashboards Sharing Passwords CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_SHARING_PASSWORDS_CREATECreate a new password for the sharing configuration.Connection
Create a new password for the sharing configuration.
Authentication
Connected account requiredTags
Environments Dashboards Sharing Passwords DestroyPOSTHOG_ENVIRONMENTS_DASHBOARDS_SHARING_PASSWORDS_DESTROYDelete a password from the sharing configuration.Connection
Delete a password from the sharing configuration.
Authentication
Connected account requiredTags
Environments Dashboards Sharing Refresh CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_SHARING_REFRESH_CREATEEnvironments Dashboards Sharing Refresh CreateConnection
Environments Dashboards Sharing Refresh Create
Authentication
Connected account requiredTags
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 UpdateConnection
Environments Dashboards Update
Authentication
Connected account requiredTags
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.Connection
Update the markdown body, layout, or color of an existing text tile on a dashboard.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Environments Dashboards Widgets Batch CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_WIDGETS_BATCH_CREATEAdd multiple widget tiles to a dashboard in one atomic request.Connection
Add multiple widget tiles to a dashboard in one atomic request.
Authentication
Connected account requiredTags
Environments Dashboards Widget Catalog RetrievePOSTHOG_ENVIRONMENTS_DASHBOARDS_WIDGET_CATALOG_RETRIEVEList registered dashboard widget types and per-type config_schema documentation for agents.Connection
List registered dashboard widget types and per-type config_schema documentation for agents.
Authentication
Connected account requiredTags
Environments Datasets CreatePOSTHOG_ENVIRONMENTS_DATASETS_CREATEEnvironments Datasets CreateConnection
Environments Datasets Create
Authentication
Connected account requiredTags
Environments Datasets DestroyPOSTHOG_ENVIRONMENTS_DATASETS_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 Datasets ListPOSTHOG_ENVIRONMENTS_DATASETS_LISTEnvironments Datasets ListConnection
Environments Datasets List
Authentication
Connected account requiredTags
Environments Datasets Partial UpdatePOSTHOG_ENVIRONMENTS_DATASETS_PARTIAL_UPDATEEnvironments Datasets Partial UpdateConnection
Environments Datasets Partial Update
Authentication
Connected account requiredTags
Environments Datasets RetrievePOSTHOG_ENVIRONMENTS_DATASETS_RETRIEVEEnvironments Datasets RetrieveConnection
Environments Datasets Retrieve
Authentication
Connected account requiredTags
Environments Datasets UpdatePOSTHOG_ENVIRONMENTS_DATASETS_UPDATEEnvironments Datasets UpdateConnection
Environments Datasets Update
Authentication
Connected account requiredTags
Environments Dataset Items CreatePOSTHOG_ENVIRONMENTS_DATASET_ITEMS_CREATEEnvironments Dataset Items CreateConnection
Environments Dataset Items Create
Authentication
Connected account requiredTags
Environments Dataset Items DestroyPOSTHOG_ENVIRONMENTS_DATASET_ITEMS_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 Dataset Items ListPOSTHOG_ENVIRONMENTS_DATASET_ITEMS_LISTEnvironments Dataset Items ListConnection
Environments Dataset Items List
Authentication
Connected account requiredTags
Environments Dataset Items Partial UpdatePOSTHOG_ENVIRONMENTS_DATASET_ITEMS_PARTIAL_UPDATEEnvironments Dataset Items Partial UpdateConnection
Environments Dataset Items Partial Update
Authentication
Connected account requiredTags
Environments Dataset Items RetrievePOSTHOG_ENVIRONMENTS_DATASET_ITEMS_RETRIEVEEnvironments Dataset Items RetrieveConnection
Environments Dataset Items Retrieve
Authentication
Connected account requiredTags
Environments Dataset Items UpdatePOSTHOG_ENVIRONMENTS_DATASET_ITEMS_UPDATEEnvironments Dataset Items UpdateConnection
Environments Dataset Items Update
Authentication
Connected account requiredTags
Environments Data Color Themes CreatePOSTHOG_ENVIRONMENTS_DATA_COLOR_THEMES_CREATEEnvironments Data Color Themes CreateConnection
Environments Data Color Themes Create
Authentication
Connected account requiredTags
Environments Data Color Themes DestroyPOSTHOG_ENVIRONMENTS_DATA_COLOR_THEMES_DESTROYEnvironments Data Color Themes DestroyConnection
Environments Data Color Themes Destroy
Authentication
Connected account requiredTags
Environments Data Color Themes ListPOSTHOG_ENVIRONMENTS_DATA_COLOR_THEMES_LISTEnvironments Data Color Themes ListConnection
Environments Data Color Themes List
Authentication
Connected account requiredTags
Environments Data Color Themes Partial UpdatePOSTHOG_ENVIRONMENTS_DATA_COLOR_THEMES_PARTIAL_UPDATEEnvironments Data Color Themes Partial UpdateConnection
Environments Data Color Themes Partial Update
Authentication
Connected account requiredTags
Environments Data Color Themes RetrievePOSTHOG_ENVIRONMENTS_DATA_COLOR_THEMES_RETRIEVEEnvironments Data Color Themes RetrieveConnection
Environments Data Color Themes Retrieve
Authentication
Connected account requiredTags
Environments Data Color Themes UpdatePOSTHOG_ENVIRONMENTS_DATA_COLOR_THEMES_UPDATEEnvironments Data Color Themes UpdateConnection
Environments Data Color Themes Update
Authentication
Connected account requiredTags
Environments Data Modeling Jobs ListPOSTHOG_ENVIRONMENTS_DATA_MODELING_JOBS_LISTList data modeling jobs which are "runs" for our saved queries.Connection
List data modeling jobs which are "runs" for our saved queries.
Authentication
Connected account requiredTags
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.Connection
List data modeling jobs which are "runs" for our saved queries.
Authentication
Connected account requiredTags
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.Connection
Returns failed/disabled data pipeline items for the Pipeline status side panel. Includes: materializations, syncs, sources, destinations, and transformations.
Authentication
Connected account requiredTags
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.Connection
Returns the data ops overview dashboard ID for this team, creating it if it doesn't exist yet.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Environments Data Warehouse Deprovision CreatePOSTHOG_ENVIRONMENTS_DATA_WAREHOUSE_DEPROVISION_CREATEStart deprovisioning the organization's managed warehouse. Restricted to organization admins.Connection
Start deprovisioning the organization's managed warehouse. Restricted to organization admins.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
API endpoints for data warehouse aggregate statistics and operations.
Authentication
Connected account requiredTags
Environments Data Warehouse Provision CreatePOSTHOG_ENVIRONMENTS_DATA_WAREHOUSE_PROVISION_CREATEStart provisioning a managed warehouse for this organization (shared by all its teams).Connection
Start provisioning a managed warehouse for this organization (shared by all its teams).
Authentication
Connected account requiredTags
Environments Data Warehouse Reset Password CreatePOSTHOG_ENVIRONMENTS_DATA_WAREHOUSE_RESET_PASSWORD_CREATEReset the root password for the managed warehouse.Connection
Reset the root password for the managed warehouse.
Authentication
Connected account requiredTags
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 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.Connection
Deprecated: use /api/environments/{id}/ instead.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Environments Elements CreatePOSTHOG_ENVIRONMENTS_ELEMENTS_CREATEEnvironments Elements CreateConnection
Environments Elements Create
Authentication
Connected account requiredTags
Environments Elements DestroyPOSTHOG_ENVIRONMENTS_ELEMENTS_DESTROYEnvironments Elements DestroyConnection
Environments Elements Destroy
Authentication
Connected account requiredTags
Environments Elements ListPOSTHOG_ENVIRONMENTS_ELEMENTS_LISTEnvironments Elements ListConnection
Environments Elements List
Authentication
Connected account requiredTags
Environments Elements Partial UpdatePOSTHOG_ENVIRONMENTS_ELEMENTS_PARTIAL_UPDATEEnvironments Elements Partial UpdateConnection
Environments Elements Partial Update
Authentication
Connected account requiredTags
Environments Elements RetrievePOSTHOG_ENVIRONMENTS_ELEMENTS_RETRIEVEEnvironments Elements RetrieveConnection
Environments Elements Retrieve
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Environments Elements UpdatePOSTHOG_ENVIRONMENTS_ELEMENTS_UPDATEEnvironments Elements UpdateConnection
Environments Elements Update
Authentication
Connected account requiredTags
Environments Elements Values ListPOSTHOG_ENVIRONMENTS_ELEMENTS_VALUES_LISTEnvironments Elements Values ListConnection
Environments Elements Values List
Authentication
Connected account requiredTags
Environments Endpoints CreatePOSTHOG_ENVIRONMENTS_ENDPOINTS_CREATECreate a new endpoint.Connection
Create a new endpoint.
Authentication
Connected account requiredTags
Environments Endpoints DestroyPOSTHOG_ENVIRONMENTS_ENDPOINTS_DESTROYDelete an endpoint and clean up materialized query.Connection
Delete an endpoint and clean up materialized query.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Environments Endpoints ListPOSTHOG_ENVIRONMENTS_ENDPOINTS_LISTList all endpoints for the team.Connection
List all endpoints for the team.
Authentication
Connected account requiredTags
Environments Endpoints Logs RetrievePOSTHOG_ENVIRONMENTS_ENDPOINTS_LOGS_RETRIEVEEnvironments Endpoints Logs RetrieveConnection
Environments Endpoints Logs Retrieve
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Environments Endpoints Materialization Status RetrievePOSTHOG_ENVIRONMENTS_ENDPOINTS_MATERIALIZATION_STATUS_RETRIEVEGet materialization status for an endpoint. Supports ?version=N query param.Connection
Get materialization status for an endpoint. Supports ?version=N query param.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Environments Endpoints Openapi Spec RetrievePOSTHOG_ENVIRONMENTS_ENDPOINTS_OPENAPI_SPEC_RETRIEVEGet OpenAPI 3.0 specification for this endpoint. Use this to generate typed SDK clients.Connection
Get OpenAPI 3.0 specification for this endpoint. Use this to generate typed SDK clients.
Authentication
Connected account requiredTags
Environments Endpoints Partial UpdatePOSTHOG_ENVIRONMENTS_ENDPOINTS_PARTIAL_UPDATEUpdate an existing endpoint.Connection
Update an existing endpoint.
Authentication
Connected account requiredTags
Environments Endpoints RetrievePOSTHOG_ENVIRONMENTS_ENDPOINTS_RETRIEVERetrieve an endpoint, or a specific version via ?version=N.Connection
Retrieve an endpoint, or a specific version via ?version=N.
Authentication
Connected account requiredTags
Environments Endpoints Run CreatePOSTHOG_ENVIRONMENTS_ENDPOINTS_RUN_CREATEExecute endpoint with optional materialization. Supports version parameter, runs latest version if not set.Connection
Execute endpoint with optional materialization. Supports version parameter, runs latest version if not set.
Authentication
Connected account requiredTags
Environments Endpoints Run RetrievePOSTHOG_ENVIRONMENTS_ENDPOINTS_RUN_RETRIEVEExecute endpoint with optional materialization. Supports version parameter, runs latest version if not set.Connection
Execute endpoint with optional materialization. Supports version parameter, runs latest version if not set.
Authentication
Connected account requiredTags
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.Connection
Update an existing endpoint. Parameters are optional. Pass version in body or ?version=N query param to target a specific version.
Authentication
Connected account requiredTags
Environments Endpoints Versions ListPOSTHOG_ENVIRONMENTS_ENDPOINTS_VERSIONS_LISTList all versions for an endpoint.Connection
List all versions for an endpoint.
Authentication
Connected account requiredTags
Environments Environment Vision Quota RetrievePOSTHOG_ENVIRONMENTS_ENVIRONMENT_VISION_QUOTA_RETRIEVEEnvironments Environment Vision Quota RetrieveConnection
Environments Environment Vision Quota Retrieve
Authentication
Connected account requiredTags
Environments Error Tracking Assignment Rules CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ASSIGNMENT_RULES_CREATEEnvironments Error Tracking Assignment Rules CreateConnection
Environments Error Tracking Assignment Rules Create
Authentication
Connected account requiredTags
Environments Error Tracking Assignment Rules DestroyPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ASSIGNMENT_RULES_DESTROYEnvironments Error Tracking Assignment Rules DestroyConnection
Environments Error Tracking Assignment Rules Destroy
Authentication
Connected account requiredTags
Environments Error Tracking Assignment Rules ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ASSIGNMENT_RULES_LISTEnvironments Error Tracking Assignment Rules ListConnection
Environments Error Tracking Assignment Rules List
Authentication
Connected account requiredTags
Environments Error Tracking Assignment Rules Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ASSIGNMENT_RULES_PARTIAL_UPDATEEnvironments Error Tracking Assignment Rules Partial UpdateConnection
Environments Error Tracking Assignment Rules Partial Update
Authentication
Connected account requiredTags
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 RetrieveConnection
Environments Error Tracking Assignment Rules Retrieve
Authentication
Connected account requiredTags
Environments Error Tracking Assignment Rules UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ASSIGNMENT_RULES_UPDATEEnvironments Error Tracking Assignment Rules UpdateConnection
Environments Error Tracking Assignment Rules Update
Authentication
Connected account requiredTags
Environments Error Tracking Bypass Rules CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_BYPASS_RULES_CREATEEnvironments Error Tracking Bypass Rules CreateConnection
Environments Error Tracking Bypass Rules Create
Authentication
Connected account requiredTags
Environments Error Tracking Bypass Rules DestroyPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_BYPASS_RULES_DESTROYEnvironments Error Tracking Bypass Rules DestroyConnection
Environments Error Tracking Bypass Rules Destroy
Authentication
Connected account requiredTags
Environments Error Tracking Bypass Rules ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_BYPASS_RULES_LISTEnvironments Error Tracking Bypass Rules ListConnection
Environments Error Tracking Bypass Rules List
Authentication
Connected account requiredTags
Environments Error Tracking Bypass Rules Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_BYPASS_RULES_PARTIAL_UPDATEEnvironments Error Tracking Bypass Rules Partial UpdateConnection
Environments Error Tracking Bypass Rules Partial Update
Authentication
Connected account requiredTags
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 RetrieveConnection
Environments Error Tracking Bypass Rules Retrieve
Authentication
Connected account requiredTags
Environments Error Tracking Bypass Rules UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_BYPASS_RULES_UPDATEEnvironments Error Tracking Bypass Rules UpdateConnection
Environments Error Tracking Bypass Rules Update
Authentication
Connected account requiredTags
Environments Error Tracking External References CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_EXTERNAL_REFERENCES_CREATEEnvironments Error Tracking External References CreateConnection
Environments Error Tracking External References Create
Authentication
Connected account requiredTags
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 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 External References ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_EXTERNAL_REFERENCES_LISTEnvironments Error Tracking External References ListConnection
Environments Error Tracking External References List
Authentication
Connected account requiredTags
Environments Error Tracking External References RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_EXTERNAL_REFERENCES_RETRIEVEEnvironments Error Tracking External References RetrieveConnection
Environments Error Tracking External References Retrieve
Authentication
Connected account requiredTags
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 ListConnection
Environments Error Tracking Fingerprints List
Authentication
Connected account requiredTags
Environments Error Tracking Fingerprints RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_FINGERPRINTS_RETRIEVEEnvironments Error Tracking Fingerprints RetrieveConnection
Environments Error Tracking Fingerprints Retrieve
Authentication
Connected account requiredTags
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 CreateConnection
Environments Error Tracking Grouping Rules Create
Authentication
Connected account requiredTags
Environments Error Tracking Grouping Rules DestroyPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_GROUPING_RULES_DESTROYEnvironments Error Tracking Grouping Rules DestroyConnection
Environments Error Tracking Grouping Rules Destroy
Authentication
Connected account requiredTags
Environments Error Tracking Grouping Rules ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_GROUPING_RULES_LISTEnvironments Error Tracking Grouping Rules ListConnection
Environments Error Tracking Grouping Rules List
Authentication
Connected account requiredTags
Environments Error Tracking Grouping Rules Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_GROUPING_RULES_PARTIAL_UPDATEEnvironments Error Tracking Grouping Rules Partial UpdateConnection
Environments Error Tracking Grouping Rules Partial Update
Authentication
Connected account requiredTags
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 RetrieveConnection
Environments Error Tracking Grouping Rules Retrieve
Authentication
Connected account requiredTags
Environments Error Tracking Grouping Rules UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_GROUPING_RULES_UPDATEEnvironments Error Tracking Grouping Rules UpdateConnection
Environments Error Tracking Grouping Rules Update
Authentication
Connected account requiredTags
Environments Error Tracking Issues Activity RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_ACTIVITY_RETRIEVEEnvironments Error Tracking Issues Activity RetrieveConnection
Environments Error Tracking Issues Activity Retrieve
Authentication
Connected account requiredTags
Environments Error Tracking Issues All Activity RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_ALL_ACTIVITY_RETRIEVEEnvironments Error Tracking Issues All Activity RetrieveConnection
Environments Error Tracking Issues All Activity Retrieve
Authentication
Connected account requiredTags
Environments Error Tracking Issues Assign Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_ASSIGN_PARTIAL_UPDATEEnvironments Error Tracking Issues Assign Partial UpdateConnection
Environments Error Tracking Issues Assign Partial Update
Authentication
Connected account requiredTags
Environments Error Tracking Issues Bulk CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_BULK_CREATEEnvironments Error Tracking Issues Bulk CreateConnection
Environments Error Tracking Issues Bulk Create
Authentication
Connected account requiredTags
Environments Error Tracking Issues Cohort UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_COHORT_UPDATEEnvironments Error Tracking Issues Cohort UpdateConnection
Environments Error Tracking Issues Cohort Update
Authentication
Connected account requiredTags
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 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 Issues Exists RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_EXISTS_RETRIEVEEnvironments Error Tracking Issues Exists RetrieveConnection
Environments Error Tracking Issues Exists Retrieve
Authentication
Connected account requiredTags
Environments Error Tracking Issues ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_LISTEnvironments Error Tracking Issues ListConnection
Environments Error Tracking Issues List
Authentication
Connected account requiredTags
Environments Error Tracking Issues Merge CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_MERGE_CREATEEnvironments Error Tracking Issues Merge CreateConnection
Environments Error Tracking Issues Merge Create
Authentication
Connected account requiredTags
Environments Error Tracking Issues Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_PARTIAL_UPDATEEnvironments Error Tracking Issues Partial UpdateConnection
Environments Error Tracking Issues Partial Update
Authentication
Connected account requiredTags
Environments Error Tracking Issues RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_RETRIEVEEnvironments Error Tracking Issues RetrieveConnection
Environments Error Tracking Issues Retrieve
Authentication
Connected account requiredTags
Environments Error Tracking Issues Split CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_SPLIT_CREATEEnvironments Error Tracking Issues Split CreateConnection
Environments Error Tracking Issues Split Create
Authentication
Connected account requiredTags
Environments Error Tracking Issues UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_UPDATEEnvironments Error Tracking Issues UpdateConnection
Environments Error Tracking Issues Update
Authentication
Connected account requiredTags
Environments Error Tracking Issues Values RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_VALUES_RETRIEVEEnvironments Error Tracking Issues Values RetrieveConnection
Environments Error Tracking Issues Values Retrieve
Authentication
Connected account requiredTags
List compact error tracking issuesPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_QUERY_ISSUES_LIST_CREATEList error tracking issues with typed filters and compact aggregate counts.Connection
List error tracking issues with typed filters and compact aggregate counts.
Authentication
Connected account requiredTags
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.Connection
Fetch one error tracking issue with impact counts, top in_app frame, latest release, and optional sparkline.
Authentication
Connected account requiredTags
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.Connection
Fetch sampled exception events, stack traces, browser/SDK context, URL, and $session_id values for one issue.
Authentication
Connected account requiredTags
Environments Error Tracking Recommendations Dismiss CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RECOMMENDATIONS_DISMISS_CREATEEnvironments Error Tracking Recommendations Dismiss CreateConnection
Environments Error Tracking Recommendations Dismiss Create
Authentication
Connected account requiredTags
Environments Error Tracking Recommendations ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RECOMMENDATIONS_LISTEnvironments Error Tracking Recommendations ListConnection
Environments Error Tracking Recommendations List
Authentication
Connected account requiredTags
Environments Error Tracking Recommendations Refresh CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RECOMMENDATIONS_REFRESH_CREATEEnvironments Error Tracking Recommendations Refresh CreateConnection
Environments Error Tracking Recommendations Refresh Create
Authentication
Connected account requiredTags
Environments Error Tracking Recommendations Restore CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RECOMMENDATIONS_RESTORE_CREATEEnvironments Error Tracking Recommendations Restore CreateConnection
Environments Error Tracking Recommendations Restore Create
Authentication
Connected account requiredTags
Environments Error Tracking Releases CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RELEASES_CREATEEnvironments Error Tracking Releases CreateConnection
Environments Error Tracking Releases Create
Authentication
Connected account requiredTags
Environments Error Tracking Releases DestroyPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RELEASES_DESTROYEnvironments Error Tracking Releases DestroyConnection
Environments Error Tracking Releases Destroy
Authentication
Connected account requiredTags
Environments Error Tracking Releases Hash RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RELEASES_HASH_RETRIEVEEnvironments Error Tracking Releases Hash RetrieveConnection
Environments Error Tracking Releases Hash Retrieve
Authentication
Connected account requiredTags
Environments Error Tracking Releases ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RELEASES_LISTEnvironments Error Tracking Releases ListConnection
Environments Error Tracking Releases List
Authentication
Connected account requiredTags
Environments Error Tracking Releases Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RELEASES_PARTIAL_UPDATEEnvironments Error Tracking Releases Partial UpdateConnection
Environments Error Tracking Releases Partial Update
Authentication
Connected account requiredTags
Environments Error Tracking Releases RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RELEASES_RETRIEVEEnvironments Error Tracking Releases RetrieveConnection
Environments Error Tracking Releases Retrieve
Authentication
Connected account requiredTags
Environments Error Tracking Releases UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RELEASES_UPDATEEnvironments Error Tracking Releases UpdateConnection
Environments Error Tracking Releases Update
Authentication
Connected account requiredTags
Environments Error Tracking Settings Retrieve Settings RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SETTINGS_RETRIEVE_SETTINGS_RETRIEVEEnvironments Error Tracking Settings Retrieve Settings RetrieveConnection
Environments Error Tracking Settings Retrieve Settings Retrieve
Authentication
Connected account requiredTags
Environments Error Tracking Settings Update Settings Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SETTINGS_UPDATE_SETTINGS_PARTIAL_UPDATEEnvironments Error Tracking Settings Update Settings Partial UpdateConnection
Environments Error Tracking Settings Update Settings Partial Update
Authentication
Connected account requiredTags
Environments Error Tracking Spike Detection Config ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SPIKE_DETECTION_CONFIG_LISTEnvironments Error Tracking Spike Detection Config ListConnection
Environments Error Tracking Spike Detection Config List
Authentication
Connected account requiredTags
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 ListConnection
Environments Error Tracking Spike Events List
Authentication
Connected account requiredTags
Environments Error Tracking Stack Frames Batch Get CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_STACK_FRAMES_BATCH_GET_CREATEEnvironments Error Tracking Stack Frames Batch Get CreateConnection
Environments Error Tracking Stack Frames Batch Get Create
Authentication
Connected account requiredTags
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 ListConnection
Environments Error Tracking Stack Frames List
Authentication
Connected account requiredTags
Environments Error Tracking Stack Frames RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_STACK_FRAMES_RETRIEVEEnvironments Error Tracking Stack Frames RetrieveConnection
Environments Error Tracking Stack Frames Retrieve
Authentication
Connected account requiredTags
Environments Error Tracking Suppression Rules CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SUPPRESSION_RULES_CREATEEnvironments Error Tracking Suppression Rules CreateConnection
Environments Error Tracking Suppression Rules Create
Authentication
Connected account requiredTags
Environments Error Tracking Suppression Rules DestroyPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SUPPRESSION_RULES_DESTROYEnvironments Error Tracking Suppression Rules DestroyConnection
Environments Error Tracking Suppression Rules Destroy
Authentication
Connected account requiredTags
Environments Error Tracking Suppression Rules ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SUPPRESSION_RULES_LISTEnvironments Error Tracking Suppression Rules ListConnection
Environments Error Tracking Suppression Rules List
Authentication
Connected account requiredTags
Environments Error Tracking Suppression Rules Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SUPPRESSION_RULES_PARTIAL_UPDATEEnvironments Error Tracking Suppression Rules Partial UpdateConnection
Environments Error Tracking Suppression Rules Partial Update
Authentication
Connected account requiredTags
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 RetrieveConnection
Environments Error Tracking Suppression Rules Retrieve
Authentication
Connected account requiredTags
Environments Error Tracking Suppression Rules UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SUPPRESSION_RULES_UPDATEEnvironments Error Tracking Suppression Rules UpdateConnection
Environments Error Tracking Suppression Rules Update
Authentication
Connected account requiredTags
Environments Error Tracking Symbol Sets Bulk Delete CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SYMBOL_SETS_BULK_DELETE_CREATEEnvironments Error Tracking Symbol Sets Bulk Delete CreateConnection
Environments Error Tracking Symbol Sets Bulk Delete Create
Authentication
Connected account requiredTags
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 CreateConnection
Environments Error Tracking Symbol Sets Bulk Finish Upload Create
Authentication
Connected account requiredTags
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 CreateConnection
Environments Error Tracking Symbol Sets Bulk Start Upload Create
Authentication
Connected account requiredTags
Environments Error Tracking Symbol Sets DestroyPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SYMBOL_SETS_DESTROYEnvironments Error Tracking Symbol Sets DestroyConnection
Environments Error Tracking Symbol Sets Destroy
Authentication
Connected account requiredTags
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.Connection
Return a presigned URL for downloading the symbol set's source map.
Authentication
Connected account requiredTags
Environments Error Tracking Symbol Sets Finish Upload UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SYMBOL_SETS_FINISH_UPLOAD_UPDATEEnvironments Error Tracking Symbol Sets Finish Upload UpdateConnection
Environments Error Tracking Symbol Sets Finish Upload Update
Authentication
Connected account requiredTags
Environments Error Tracking Symbol Sets ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SYMBOL_SETS_LISTEnvironments Error Tracking Symbol Sets ListConnection
Environments Error Tracking Symbol Sets List
Authentication
Connected account requiredTags
Environments Error Tracking Symbol Sets RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SYMBOL_SETS_RETRIEVEEnvironments Error Tracking Symbol Sets RetrieveConnection
Environments Error Tracking Symbol Sets Retrieve
Authentication
Connected account requiredTags
Environments Evaluations CreatePOSTHOG_ENVIRONMENTS_EVALUATIONS_CREATEEnvironments Evaluations CreateConnection
Environments Evaluations Create
Authentication
Connected account requiredTags
Environments Evaluations DestroyPOSTHOG_ENVIRONMENTS_EVALUATIONS_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 Evaluations ListPOSTHOG_ENVIRONMENTS_EVALUATIONS_LISTEnvironments Evaluations ListConnection
Environments Evaluations List
Authentication
Connected account requiredTags
Environments Evaluations Partial UpdatePOSTHOG_ENVIRONMENTS_EVALUATIONS_PARTIAL_UPDATEEnvironments Evaluations Partial UpdateConnection
Environments Evaluations Partial Update
Authentication
Connected account requiredTags
Environments Evaluations RetrievePOSTHOG_ENVIRONMENTS_EVALUATIONS_RETRIEVEEnvironments Evaluations RetrieveConnection
Environments Evaluations Retrieve
Authentication
Connected account requiredTags
Environments Evaluations Test Hog CreatePOSTHOG_ENVIRONMENTS_EVALUATIONS_TEST_HOG_CREATETest Hog evaluation code against sample events without saving.Connection
Test Hog evaluation code against sample events without saving.
Authentication
Connected account requiredTags
Environments Evaluations UpdatePOSTHOG_ENVIRONMENTS_EVALUATIONS_UPDATEEnvironments Evaluations UpdateConnection
Environments Evaluations Update
Authentication
Connected account requiredTags
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.Connection
Create a new evaluation run. This endpoint validates the request and enqueues a Temporal workflow to asynchronously execute the evaluation.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Environments Events RetrievePOSTHOG_ENVIRONMENTS_EVENTS_RETRIEVEEnvironments Events RetrieveConnection
Environments Events Retrieve
Authentication
Connected account requiredTags
Environments Events Values RetrievePOSTHOG_ENVIRONMENTS_EVENTS_VALUES_RETRIEVEEnvironments Events Values RetrieveConnection
Environments Events Values Retrieve
Authentication
Connected account requiredTags
Environments Event Filter CreatePOSTHOG_ENVIRONMENTS_EVENT_FILTER_CREATECreate or update the event filter config.Connection
Create or update the event filter config.
Authentication
Connected account requiredTags
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 totalsConnection
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 requiredTags
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 totalsConnection
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 requiredTags
Environments Event Filter RetrievePOSTHOG_ENVIRONMENTS_EVENT_FILTER_RETRIEVEReturns the event filter config for the team, or null if not yet created.Connection
Returns the event filter config for the team, or null if not yet created.
Authentication
Connected account requiredTags
Environments Event Ingestion Restrictions RetrievePOSTHOG_ENVIRONMENTS_EVENT_INGESTION_RESTRICTIONS_RETRIEVEDeprecated: use /api/environments/{id}/ instead.Connection
Deprecated: use /api/environments/{id}/ instead.
Authentication
Connected account requiredTags
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 RetrieveConnection
Environments Exports Content Retrieve
Authentication
Connected account requiredTags
Environments Exports CreatePOSTHOG_ENVIRONMENTS_EXPORTS_CREATEEnvironments Exports CreateConnection
Environments Exports Create
Authentication
Connected account requiredTags
Environments Exports ListPOSTHOG_ENVIRONMENTS_EXPORTS_LISTEnvironments Exports ListConnection
Environments Exports List
Authentication
Connected account requiredTags
Environments Exports RetrievePOSTHOG_ENVIRONMENTS_EXPORTS_RETRIEVEEnvironments Exports RetrieveConnection
Environments Exports Retrieve
Authentication
Connected account requiredTags
Environments External Data Schemas Cancel CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_CANCEL_CREATEEnvironments External Data Schemas Cancel CreateConnection
Environments External Data Schemas Cancel Create
Authentication
Connected account requiredTags
Environments External Data Schemas CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_CREATEEnvironments External Data Schemas CreateConnection
Environments External Data Schemas Create
Authentication
Connected account requiredTags
Environments External Data Schemas Delete Data DestroyPOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_DELETE_DATA_DESTROYEnvironments External Data Schemas Delete Data DestroyConnection
Environments External Data Schemas Delete Data Destroy
Authentication
Connected account requiredTags
Environments External Data Schemas DestroyPOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_DESTROYEnvironments External Data Schemas DestroyConnection
Environments External Data Schemas Destroy
Authentication
Connected account requiredTags
Environments External Data Schemas Incremental Fields CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_INCREMENTAL_FIELDS_CREATEEnvironments External Data Schemas Incremental Fields CreateConnection
Environments External Data Schemas Incremental Fields Create
Authentication
Connected account requiredTags
Environments External Data Schemas ListPOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_LISTEnvironments External Data Schemas ListConnection
Environments External Data Schemas List
Authentication
Connected account requiredTags
Environments External Data Schemas Logs RetrievePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_LOGS_RETRIEVEEnvironments External Data Schemas Logs RetrieveConnection
Environments External Data Schemas Logs Retrieve
Authentication
Connected account requiredTags
Environments External Data Schemas Partial UpdatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_PARTIAL_UPDATEEnvironments External Data Schemas Partial UpdateConnection
Environments External Data Schemas Partial Update
Authentication
Connected account requiredTags
Environments External Data Schemas Reload CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_RELOAD_CREATEEnvironments External Data Schemas Reload CreateConnection
Environments External Data Schemas Reload Create
Authentication
Connected account requiredTags
Environments External Data Schemas Resync CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_RESYNC_CREATEEnvironments External Data Schemas Resync CreateConnection
Environments External Data Schemas Resync Create
Authentication
Connected account requiredTags
Environments External Data Schemas RetrievePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_RETRIEVEEnvironments External Data Schemas RetrieveConnection
Environments External Data Schemas Retrieve
Authentication
Connected account requiredTags
Environments External Data Schemas UpdatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_UPDATEEnvironments External Data Schemas UpdateConnection
Environments External Data Schemas Update
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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).Connection
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 requiredTags
Environments External Data Sources Connections ListPOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_CONNECTIONS_LISTCreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Environments External Data Sources CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_CREATECreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
Environments External Data Sources Create Webhook CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_CREATE_WEBHOOK_CREATECreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
Environments External Data Sources Database Schema CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_DATABASE_SCHEMA_CREATECreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
Environments External Data Sources Delete Webhook CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_DELETE_WEBHOOK_CREATECreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
Environments External Data Sources DestroyPOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_DESTROYCreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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).Connection
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 requiredTags
Environments External Data Sources Jobs RetrievePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_JOBS_RETRIEVECreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
Environments External Data Sources ListPOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_LISTCreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
Environments External Data Sources Partial UpdatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_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 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`.Connection
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 requiredTags
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).Connection
Fetch current schema/table list from the source and create any new ExternalDataSchema rows (no data sync).
Authentication
Connected account requiredTags
Environments External Data Sources Reload CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_RELOAD_CREATECreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Environments External Data Sources RetrievePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_RETRIEVECreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
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.Connection
Update the revenue analytics configuration and return the full external data source.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Environments External Data Sources Source Prefix CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_SOURCE_PREFIX_CREATECreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
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`.Connection
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 requiredTags
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.Connection
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 requiredTags
Environments External Data Sources UpdatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_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 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.Connection
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 requiredTags
Environments External Data Sources Update Webhook Inputs CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_UPDATE_WEBHOOK_INPUTS_CREATECreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
Environments External Data Sources Webhook Info RetrievePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_WEBHOOK_INFO_RETRIEVECreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
Environments External Data Sources Wizard RetrievePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_WIZARD_RETRIEVECreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
Environments File Download Batch Exports Cancel CreatePOSTHOG_ENVIRONMENTS_FILE_DOWNLOAD_BATCH_EXPORTS_CANCEL_CREATECancel an ongoing file-download batch export.Connection
Cancel an ongoing file-download batch export.
Authentication
Connected account requiredTags
Environments File Download Batch Exports CreatePOSTHOG_ENVIRONMENTS_FILE_DOWNLOAD_BATCH_EXPORTS_CREATECreate and start a batch export on demand run to download a file.Connection
Create and start a batch export on demand run to download a file.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Environments File Download Batch Exports ListPOSTHOG_ENVIRONMENTS_FILE_DOWNLOAD_BATCH_EXPORTS_LISTEnvironments File Download Batch Exports ListConnection
Environments File Download Batch Exports List
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Environments File System Count By Path CreatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_COUNT_BY_PATH_CREATEGet count of all files in a folder.Connection
Get count of all files in a folder.
Authentication
Connected account requiredTags
Environments File System Count CreatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_COUNT_CREATEGet count of all files in a folder.Connection
Get count of all files in a folder.
Authentication
Connected account requiredTags
Environments File System CreatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_CREATEEnvironments File System CreateConnection
Environments File System Create
Authentication
Connected account requiredTags
Environments File System DestroyPOSTHOG_ENVIRONMENTS_FILE_SYSTEM_DESTROYEnvironments File System DestroyConnection
Environments File System Destroy
Authentication
Connected account requiredTags
Environments File System Link CreatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_LINK_CREATEEnvironments File System Link CreateConnection
Environments File System Link Create
Authentication
Connected account requiredTags
Environments File System ListPOSTHOG_ENVIRONMENTS_FILE_SYSTEM_LISTEnvironments File System ListConnection
Environments File System List
Authentication
Connected account requiredTags
Environments File System Log View CreatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_LOG_VIEW_CREATEEnvironments File System Log View CreateConnection
Environments File System Log View Create
Authentication
Connected account requiredTags
Environments File System Log View RetrievePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_LOG_VIEW_RETRIEVEEnvironments File System Log View RetrieveConnection
Environments File System Log View Retrieve
Authentication
Connected account requiredTags
Environments File System Move CreatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_MOVE_CREATEEnvironments File System Move CreateConnection
Environments File System Move Create
Authentication
Connected account requiredTags
Environments File System Partial UpdatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_PARTIAL_UPDATEEnvironments File System Partial UpdateConnection
Environments File System Partial Update
Authentication
Connected account requiredTags
Environments File System RetrievePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_RETRIEVEEnvironments File System RetrieveConnection
Environments File System Retrieve
Authentication
Connected account requiredTags
Environments File System Shortcut CreatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_SHORTCUT_CREATEEnvironments File System Shortcut CreateConnection
Environments File System Shortcut Create
Authentication
Connected account requiredTags
Environments File System Shortcut DestroyPOSTHOG_ENVIRONMENTS_FILE_SYSTEM_SHORTCUT_DESTROYEnvironments File System Shortcut DestroyConnection
Environments File System Shortcut Destroy
Authentication
Connected account requiredTags
Environments File System Shortcut ListPOSTHOG_ENVIRONMENTS_FILE_SYSTEM_SHORTCUT_LISTEnvironments File System Shortcut ListConnection
Environments File System Shortcut List
Authentication
Connected account requiredTags
Environments File System Shortcut Partial UpdatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_SHORTCUT_PARTIAL_UPDATEEnvironments File System Shortcut Partial UpdateConnection
Environments File System Shortcut Partial Update
Authentication
Connected account requiredTags
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 RetrieveConnection
Environments File System Shortcut Retrieve
Authentication
Connected account requiredTags
Environments File System Shortcut UpdatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_SHORTCUT_UPDATEEnvironments File System Shortcut UpdateConnection
Environments File System Shortcut Update
Authentication
Connected account requiredTags
Environments File System Undo Delete CreatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_UNDO_DELETE_CREATEEnvironments File System Undo Delete CreateConnection
Environments File System Undo Delete Create
Authentication
Connected account requiredTags
Environments File System Unfiled RetrievePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_UNFILED_RETRIEVEEnvironments File System Unfiled RetrieveConnection
Environments File System Unfiled Retrieve
Authentication
Connected account requiredTags
Environments File System UpdatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_UPDATEEnvironments File System UpdateConnection
Environments File System Update
Authentication
Connected account requiredTags
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 RetrieveConnection
Environments Groups Activity Retrieve
Authentication
Connected account requiredTags
Environments Groups CreatePOSTHOG_ENVIRONMENTS_GROUPS_CREATEEnvironments Groups CreateConnection
Environments Groups Create
Authentication
Connected account requiredTags
Environments Groups Delete Property CreatePOSTHOG_ENVIRONMENTS_GROUPS_DELETE_PROPERTY_CREATEEnvironments Groups Delete Property CreateConnection
Environments Groups Delete Property Create
Authentication
Connected account requiredTags
Environments Groups Find RetrievePOSTHOG_ENVIRONMENTS_GROUPS_FIND_RETRIEVEEnvironments Groups Find RetrieveConnection
Environments Groups Find Retrieve
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Environments Groups Property Values RetrievePOSTHOG_ENVIRONMENTS_GROUPS_PROPERTY_VALUES_RETRIEVEEnvironments Groups Property Values RetrieveConnection
Environments Groups Property Values Retrieve
Authentication
Connected account requiredTags
Environments Groups Related RetrievePOSTHOG_ENVIRONMENTS_GROUPS_RELATED_RETRIEVEEnvironments Groups Related RetrieveConnection
Environments Groups Related Retrieve
Authentication
Connected account requiredTags
Environments Groups Update Property CreatePOSTHOG_ENVIRONMENTS_GROUPS_UPDATE_PROPERTY_CREATEEnvironments Groups Update Property CreateConnection
Environments Groups Update Property Create
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Environments Health Issues Partial UpdatePOSTHOG_ENVIRONMENTS_HEALTH_ISSUES_PARTIAL_UPDATEEnvironments Health Issues Partial UpdateConnection
Environments Health Issues Partial Update
Authentication
Connected account requiredTags
Environments Health Issues Refresh CreatePOSTHOG_ENVIRONMENTS_HEALTH_ISSUES_REFRESH_CREATEEnvironments Health Issues Refresh CreateConnection
Environments Health Issues Refresh Create
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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).Connection
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 requiredTags
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.Connection
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 requiredTags
Environments Hog Flows Assets RetrievePOSTHOG_ENVIRONMENTS_HOG_FLOWS_ASSETS_RETRIEVEEnvironments Hog Flows Assets RetrieveConnection
Environments Hog Flows Assets Retrieve
Authentication
Connected account requiredTags
Environments Hog Flows Asset Content RetrievePOSTHOG_ENVIRONMENTS_HOG_FLOWS_ASSET_CONTENT_RETRIEVEEnvironments Hog Flows Asset Content RetrieveConnection
Environments Hog Flows Asset Content Retrieve
Authentication
Connected account requiredTags
Environments Hog Flows Batch Jobs CreatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_BATCH_JOBS_CREATEEnvironments Hog Flows Batch Jobs CreateConnection
Environments Hog Flows Batch Jobs Create
Authentication
Connected account requiredTags
Environments Hog Flows Batch Jobs ListPOSTHOG_ENVIRONMENTS_HOG_FLOWS_BATCH_JOBS_LISTEnvironments Hog Flows Batch Jobs ListConnection
Environments Hog Flows Batch Jobs List
Authentication
Connected account requiredTags
Environments Hog Flows Bulk Delete CreatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_BULK_DELETE_CREATEEnvironments Hog Flows Bulk Delete CreateConnection
Environments Hog Flows Bulk Delete Create
Authentication
Connected account requiredTags
Environments Hog Flows CreatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_CREATEEnvironments Hog Flows CreateConnection
Environments Hog Flows Create
Authentication
Connected account requiredTags
Environments Hog Flows DestroyPOSTHOG_ENVIRONMENTS_HOG_FLOWS_DESTROYEnvironments Hog Flows DestroyConnection
Environments Hog Flows Destroy
Authentication
Connected account requiredTags
Environments Hog Flows Graph Partial UpdatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_GRAPH_PARTIAL_UPDATEEnvironments Hog Flows Graph Partial UpdateConnection
Environments Hog Flows Graph Partial Update
Authentication
Connected account requiredTags
Environments Hog Flows Invocations CreatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_INVOCATIONS_CREATEEnvironments Hog Flows Invocations CreateConnection
Environments Hog Flows Invocations Create
Authentication
Connected account requiredTags
Environments Hog Flows Invocation Results RetrievePOSTHOG_ENVIRONMENTS_HOG_FLOWS_INVOCATION_RESULTS_RETRIEVEEnvironments Hog Flows Invocation Results RetrieveConnection
Environments Hog Flows Invocation Results Retrieve
Authentication
Connected account requiredTags
Environments Hog Flows Invocation Result RetrievePOSTHOG_ENVIRONMENTS_HOG_FLOWS_INVOCATION_RESULT_RETRIEVEEnvironments Hog Flows Invocation Result RetrieveConnection
Environments Hog Flows Invocation Result Retrieve
Authentication
Connected account requiredTags
Environments Hog Flows ListPOSTHOG_ENVIRONMENTS_HOG_FLOWS_LISTEnvironments Hog Flows ListConnection
Environments Hog Flows List
Authentication
Connected account requiredTags
Environments Hog Flows Logs RetrievePOSTHOG_ENVIRONMENTS_HOG_FLOWS_LOGS_RETRIEVEEnvironments Hog Flows Logs RetrieveConnection
Environments Hog Flows Logs Retrieve
Authentication
Connected account requiredTags
Environments Hog Flows Metrics Global RetrievePOSTHOG_ENVIRONMENTS_HOG_FLOWS_METRICS_GLOBAL_RETRIEVEEnvironments Hog Flows Metrics Global RetrieveConnection
Environments Hog Flows Metrics Global Retrieve
Authentication
Connected account requiredTags
Environments Hog Flows Metrics RetrievePOSTHOG_ENVIRONMENTS_HOG_FLOWS_METRICS_RETRIEVEEnvironments Hog Flows Metrics RetrieveConnection
Environments Hog Flows Metrics Retrieve
Authentication
Connected account requiredTags
Environments Hog Flows Metrics Totals RetrievePOSTHOG_ENVIRONMENTS_HOG_FLOWS_METRICS_TOTALS_RETRIEVEEnvironments Hog Flows Metrics Totals RetrieveConnection
Environments Hog Flows Metrics Totals Retrieve
Authentication
Connected account requiredTags
Environments Hog Flows Partial UpdatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_PARTIAL_UPDATEEnvironments Hog Flows Partial UpdateConnection
Environments Hog Flows Partial Update
Authentication
Connected account requiredTags
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`.Connection
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 requiredTags
Environments Hog Flows RetrievePOSTHOG_ENVIRONMENTS_HOG_FLOWS_RETRIEVEEnvironments Hog Flows RetrieveConnection
Environments Hog Flows Retrieve
Authentication
Connected account requiredTags
Environments Hog Flows Schedules CreatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_SCHEDULES_CREATEEnvironments Hog Flows Schedules CreateConnection
Environments Hog Flows Schedules Create
Authentication
Connected account requiredTags
Environments Hog Flows Schedules DestroyPOSTHOG_ENVIRONMENTS_HOG_FLOWS_SCHEDULES_DESTROYEnvironments Hog Flows Schedules DestroyConnection
Environments Hog Flows Schedules Destroy
Authentication
Connected account requiredTags
Environments Hog Flows Schedules ListPOSTHOG_ENVIRONMENTS_HOG_FLOWS_SCHEDULES_LISTEnvironments Hog Flows Schedules ListConnection
Environments Hog Flows Schedules List
Authentication
Connected account requiredTags
Environments Hog Flows Schedules Partial UpdatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_SCHEDULES_PARTIAL_UPDATEEnvironments Hog Flows Schedules Partial UpdateConnection
Environments Hog Flows Schedules Partial Update
Authentication
Connected account requiredTags
Environments Hog Flows UpdatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_UPDATEEnvironments Hog Flows UpdateConnection
Environments Hog Flows Update
Authentication
Connected account requiredTags
Environments Hog Flows User Blast Radius CreatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_USER_BLAST_RADIUS_CREATEEnvironments Hog Flows User Blast Radius CreateConnection
Environments Hog Flows User Blast Radius Create
Authentication
Connected account requiredTags
Environments Hog Functions CreatePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_CREATEEnvironments Hog Functions CreateConnection
Environments Hog Functions Create
Authentication
Connected account requiredTags
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 Icons RetrievePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_ICONS_RETRIEVEEnvironments Hog Functions Icons RetrieveConnection
Environments Hog Functions Icons Retrieve
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 Invocations CreatePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_INVOCATIONS_CREATEEnvironments Hog Functions Invocations CreateConnection
Environments Hog Functions Invocations Create
Authentication
Connected account requiredTags
Environments Hog Functions ListPOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_LISTEnvironments Hog Functions ListConnection
Environments Hog Functions List
Authentication
Connected account requiredTags
Environments Hog Functions Logs RetrievePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_LOGS_RETRIEVEEnvironments Hog Functions Logs RetrieveConnection
Environments Hog Functions Logs Retrieve
Authentication
Connected account requiredTags
Environments Hog Functions Metrics RetrievePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_METRICS_RETRIEVEEnvironments Hog Functions Metrics RetrieveConnection
Environments Hog Functions Metrics Retrieve
Authentication
Connected account requiredTags
Environments Hog Functions Metrics Totals RetrievePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_METRICS_TOTALS_RETRIEVEEnvironments Hog Functions Metrics Totals RetrieveConnection
Environments Hog Functions Metrics Totals Retrieve
Authentication
Connected account requiredTags
Environments Hog Functions Partial UpdatePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_PARTIAL_UPDATEEnvironments Hog Functions Partial UpdateConnection
Environments Hog Functions Partial Update
Authentication
Connected account requiredTags
Environments Hog Functions Rearrange Partial UpdatePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_REARRANGE_PARTIAL_UPDATEUpdate the execution order of multiple HogFunctions.Connection
Update the execution order of multiple HogFunctions.
Authentication
Connected account requiredTags
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`.Connection
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 requiredTags
Environments Hog Functions RetrievePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_RETRIEVEEnvironments Hog Functions RetrieveConnection
Environments Hog Functions Retrieve
Authentication
Connected account requiredTags
Environments Hog Functions UpdatePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_UPDATEEnvironments Hog Functions UpdateConnection
Environments Hog Functions Update
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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`.Connection
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 requiredTags
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.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 DestroyPOSTHOG_ENVIRONMENTS_INSIGHTS_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 Insights Generate Metadata CreatePOSTHOG_ENVIRONMENTS_INSIGHTS_GENERATE_METADATA_CREATEGenerate an AI-suggested name and description for an insight based on its query configuration.Connection
Generate an AI-suggested name and description for an insight based on its query configuration.
Authentication
Connected account requiredTags
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.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 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.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 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.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 Sharing ListPOSTHOG_ENVIRONMENTS_INSIGHTS_SHARING_LISTEnvironments Insights Sharing ListConnection
Environments Insights Sharing List
Authentication
Connected account requiredTags
Environments Insights Sharing Passwords CreatePOSTHOG_ENVIRONMENTS_INSIGHTS_SHARING_PASSWORDS_CREATECreate a new password for the sharing configuration.Connection
Create a new password for the sharing configuration.
Authentication
Connected account requiredTags
Environments Insights Sharing Passwords DestroyPOSTHOG_ENVIRONMENTS_INSIGHTS_SHARING_PASSWORDS_DESTROYDelete a password from the sharing configuration.Connection
Delete a password from the sharing configuration.
Authentication
Connected account requiredTags
Environments Insights Sharing Refresh CreatePOSTHOG_ENVIRONMENTS_INSIGHTS_SHARING_REFRESH_CREATEEnvironments Insights Sharing Refresh CreateConnection
Environments Insights Sharing Refresh Create
Authentication
Connected account requiredTags
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 ListConnection
Environments Insights Thresholds List
Authentication
Connected account requiredTags
Environments Insights Thresholds RetrievePOSTHOG_ENVIRONMENTS_INSIGHTS_THRESHOLDS_RETRIEVEEnvironments Insights Thresholds RetrieveConnection
Environments Insights Thresholds Retrieve
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.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 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.Connection
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 requiredTags
Environments Insight Variables CreatePOSTHOG_ENVIRONMENTS_INSIGHT_VARIABLES_CREATEEnvironments Insight Variables CreateConnection
Environments Insight Variables Create
Authentication
Connected account requiredTags
Environments Insight Variables DestroyPOSTHOG_ENVIRONMENTS_INSIGHT_VARIABLES_DESTROYEnvironments Insight Variables DestroyConnection
Environments Insight Variables Destroy
Authentication
Connected account requiredTags
Environments Insight Variables ListPOSTHOG_ENVIRONMENTS_INSIGHT_VARIABLES_LISTEnvironments Insight Variables ListConnection
Environments Insight Variables List
Authentication
Connected account requiredTags
Environments Insight Variables Partial UpdatePOSTHOG_ENVIRONMENTS_INSIGHT_VARIABLES_PARTIAL_UPDATEEnvironments Insight Variables Partial UpdateConnection
Environments Insight Variables Partial Update
Authentication
Connected account requiredTags
Environments Insight Variables RetrievePOSTHOG_ENVIRONMENTS_INSIGHT_VARIABLES_RETRIEVEEnvironments Insight Variables RetrieveConnection
Environments Insight Variables Retrieve
Authentication
Connected account requiredTags
Environments Insight Variables UpdatePOSTHOG_ENVIRONMENTS_INSIGHT_VARIABLES_UPDATEEnvironments Insight Variables UpdateConnection
Environments Insight Variables Update
Authentication
Connected account requiredTags
Environments Integrations Anthropic Managed Agents RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_ANTHROPIC_MANAGED_AGENTS_RETRIEVEEnvironments Integrations Anthropic Managed Agents RetrieveConnection
Environments Integrations Anthropic Managed Agents Retrieve
Authentication
Connected account requiredTags
Environments Integrations Anthropic Managed Agent Envs RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_ANTHROPIC_MANAGED_AGENT_ENVS_RETRIEVEEnvironments Integrations Anthropic Managed Agent Envs RetrieveConnection
Environments Integrations Anthropic Managed Agent Envs Retrieve
Authentication
Connected account requiredTags
Environments Integrations Anthropic Managed Agent Vaults RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_ANTHROPIC_MANAGED_AGENT_VAULTS_RETRIEVEEnvironments Integrations Anthropic Managed Agent Vaults RetrieveConnection
Environments Integrations Anthropic Managed Agent Vaults Retrieve
Authentication
Connected account requiredTags
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 RetrieveConnection
Environments Integrations Channels Retrieve
Authentication
Connected account requiredTags
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 CreateConnection
Environments Integrations Create
Authentication
Connected account requiredTags
Environments Integrations DestroyPOSTHOG_ENVIRONMENTS_INTEGRATIONS_DESTROYEnvironments Integrations DestroyConnection
Environments Integrations Destroy
Authentication
Connected account requiredTags
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 RetrieveConnection
Environments Integrations Github Branches Retrieve
Authentication
Connected account requiredTags
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.Connection
Reuse a GitHub installation already linked to a sibling team in the same organization.
Authentication
Connected account requiredTags
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.Connection
Mint a User OAuth URL to bootstrap a fresh `code` when the install flow returns without one.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Environments Integrations Github Repos Refresh CreatePOSTHOG_ENVIRONMENTS_INTEGRATIONS_GITHUB_REPOS_REFRESH_CREATEEnvironments Integrations Github Repos Refresh CreateConnection
Environments Integrations Github Repos Refresh Create
Authentication
Connected account requiredTags
Environments Integrations Github Repos RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_GITHUB_REPOS_RETRIEVEEnvironments Integrations Github Repos RetrieveConnection
Environments Integrations Github Repos Retrieve
Authentication
Connected account requiredTags
Environments Integrations Github Teams RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_GITHUB_TEAMS_RETRIEVEEnvironments Integrations Github Teams RetrieveConnection
Environments Integrations Github Teams Retrieve
Authentication
Connected account requiredTags
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.Connection
List the Search Console properties the connected Google account has access to.
Authentication
Connected account requiredTags
Environments Integrations Jira Projects RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_JIRA_PROJECTS_RETRIEVEEnvironments Integrations Jira Projects RetrieveConnection
Environments Integrations Jira Projects Retrieve
Authentication
Connected account requiredTags
Environments Integrations Linear Teams RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_LINEAR_TEAMS_RETRIEVEEnvironments Integrations Linear Teams RetrieveConnection
Environments Integrations Linear Teams Retrieve
Authentication
Connected account requiredTags
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 ListConnection
Environments Integrations List
Authentication
Connected account requiredTags
Environments Integrations Request Access CreatePOSTHOG_ENVIRONMENTS_INTEGRATIONS_REQUEST_ACCESS_CREATENotify project admins that a member is requesting an integration be connected.Connection
Notify project admins that a member is requesting an integration be connected.
Authentication
Connected account requiredTags
Environments Integrations RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_RETRIEVEEnvironments Integrations RetrieveConnection
Environments Integrations Retrieve
Authentication
Connected account requiredTags
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.Connection
Deprecated: use /api/environments/{id}/ instead.
Authentication
Connected account requiredTags
Environments Llm Analytics Clustering Config ListPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_CLUSTERING_CONFIG_LISTTeam-level clustering configuration (event filters for automated pipelines).Connection
Team-level clustering configuration (event filters for automated pipelines).
Authentication
Connected account requiredTags
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).Connection
Team-level clustering configuration (event filters for automated pipelines).
Authentication
Connected account requiredTags
Environments Llm Analytics Clustering Jobs CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_CLUSTERING_JOBS_CREATECRUD for clustering job configurations (max 10 per team).Connection
CRUD for clustering job configurations (max 10 per team).
Authentication
Connected account requiredTags
Environments Llm Analytics Clustering Jobs DestroyPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_CLUSTERING_JOBS_DESTROYCRUD for clustering job configurations (max 10 per team).Connection
CRUD for clustering job configurations (max 10 per team).
Authentication
Connected account requiredTags
Environments Llm Analytics Clustering Jobs ListPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_CLUSTERING_JOBS_LISTCRUD for clustering job configurations (max 10 per team).Connection
CRUD for clustering job configurations (max 10 per team).
Authentication
Connected account requiredTags
Environments Llm Analytics Clustering Jobs Partial UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_CLUSTERING_JOBS_PARTIAL_UPDATECRUD for clustering job configurations (max 10 per team).Connection
CRUD for clustering job configurations (max 10 per team).
Authentication
Connected account requiredTags
Environments Llm Analytics Clustering Jobs RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_CLUSTERING_JOBS_RETRIEVECRUD for clustering job configurations (max 10 per team).Connection
CRUD for clustering job configurations (max 10 per team).
Authentication
Connected account requiredTags
Environments Llm Analytics Clustering Jobs UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_CLUSTERING_JOBS_UPDATECRUD for clustering job configurations (max 10 per team).Connection
CRUD for clustering job configurations (max 10 per team).
Authentication
Connected account requiredTags
Environments Llm Analytics Evaluation Config RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_CONFIG_RETRIEVEGet the evaluation config for this teamConnection
Get the evaluation config for this team
Authentication
Connected account requiredTags
Environments Llm Analytics Evaluation Config Set Active Key CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_CONFIG_SET_ACTIVE_KEY_CREATESet the active provider key for evaluationsConnection
Set the active provider key for evaluations
Authentication
Connected account requiredTags
Environments Llm Analytics Evaluation Reports CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_REPORTS_CREATECRUD for evaluation report configurations + report run history.Connection
CRUD for evaluation report configurations + report run history.
Authentication
Connected account requiredTags
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.Connection
Evaluation report configs are deleted only when their evaluation is deleted. Use PATCH enabled=false to stop delivery.
Authentication
Connected account requiredTags
Environments Llm Analytics Evaluation Reports Generate CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_REPORTS_GENERATE_CREATETrigger immediate report generation.Connection
Trigger immediate report generation.
Authentication
Connected account requiredTags
Environments Llm Analytics Evaluation Reports ListPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_REPORTS_LISTCRUD for evaluation report configurations + report run history.Connection
CRUD for evaluation report configurations + report run history.
Authentication
Connected account requiredTags
Environments Llm Analytics Evaluation Reports Partial UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_REPORTS_PARTIAL_UPDATECRUD for evaluation report configurations + report run history.Connection
CRUD for evaluation report configurations + report run history.
Authentication
Connected account requiredTags
Environments Llm Analytics Evaluation Reports RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_REPORTS_RETRIEVECRUD for evaluation report configurations + report run history.Connection
CRUD for evaluation report configurations + report run history.
Authentication
Connected account requiredTags
Environments Llm Analytics Evaluation Reports Runs ListPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_REPORTS_RUNS_LISTList report runs (history) for this report.Connection
List report runs (history) for this report.
Authentication
Connected account requiredTags
Environments Llm Analytics Evaluation Reports UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_REPORTS_UPDATECRUD for evaluation report configurations + report run history.Connection
CRUD for evaluation report configurations + report run history.
Authentication
Connected account requiredTags
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 onceConnection
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 requiredTags
Environments Llm Analytics Models RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_MODELS_RETRIEVEList available models for a provider.Connection
List available models for a provider.
Authentication
Connected account requiredTags
Environments Llm Analytics Offline Evaluations Experiment Items CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_OFFLINE_EVALUATIONS_EXPERIMENT_ITEMS_CREATEEnvironments Llm Analytics Offline Evaluations Experiment Items CreateConnection
Environments Llm Analytics Offline Evaluations Experiment Items Create
Authentication
Connected account requiredTags
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 CreateConnection
Environments Llm Analytics Provider Keys Create
Authentication
Connected account requiredTags
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 DestroyConnection
Environments Llm Analytics Provider Keys Destroy
Authentication
Connected account requiredTags
Environments Llm Analytics Provider Keys ListPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_PROVIDER_KEYS_LISTEnvironments Llm Analytics Provider Keys ListConnection
Environments Llm Analytics Provider Keys List
Authentication
Connected account requiredTags
Environments Llm Analytics Provider Keys Partial UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_PROVIDER_KEYS_PARTIAL_UPDATEEnvironments Llm Analytics Provider Keys Partial UpdateConnection
Environments Llm Analytics Provider Keys Partial Update
Authentication
Connected account requiredTags
Environments Llm Analytics Provider Keys RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_PROVIDER_KEYS_RETRIEVEEnvironments Llm Analytics Provider Keys RetrieveConnection
Environments Llm Analytics Provider Keys Retrieve
Authentication
Connected account requiredTags
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 UpdateConnection
Environments Llm Analytics Provider Keys Update
Authentication
Connected account requiredTags
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 Provider Key Validations CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_PROVIDER_KEY_VALIDATIONS_CREATEValidate LLM provider API keys without persisting themConnection
Validate LLM provider API keys without persisting them
Authentication
Connected account requiredTags
Environments Llm Analytics Review Queues CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUES_CREATEEnvironments Llm Analytics Review Queues CreateConnection
Environments Llm Analytics Review Queues Create
Authentication
Connected account requiredTags
Environments Llm Analytics Review Queues DestroyPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUES_DESTROYEnvironments Llm Analytics Review Queues DestroyConnection
Environments Llm Analytics Review Queues Destroy
Authentication
Connected account requiredTags
Environments Llm Analytics Review Queues ListPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUES_LISTEnvironments Llm Analytics Review Queues ListConnection
Environments Llm Analytics Review Queues List
Authentication
Connected account requiredTags
Environments Llm Analytics Review Queues Partial UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUES_PARTIAL_UPDATEEnvironments Llm Analytics Review Queues Partial UpdateConnection
Environments Llm Analytics Review Queues Partial Update
Authentication
Connected account requiredTags
Environments Llm Analytics Review Queues RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUES_RETRIEVEEnvironments Llm Analytics Review Queues RetrieveConnection
Environments Llm Analytics Review Queues Retrieve
Authentication
Connected account requiredTags
Environments Llm Analytics Review Queue Items CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_CREATEEnvironments Llm Analytics Review Queue Items CreateConnection
Environments Llm Analytics Review Queue Items Create
Authentication
Connected account requiredTags
Environments Llm Analytics Review Queue Items DestroyPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_DESTROYEnvironments Llm Analytics Review Queue Items DestroyConnection
Environments Llm Analytics Review Queue Items Destroy
Authentication
Connected account requiredTags
Environments Llm Analytics Review Queue Items ListPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_LISTEnvironments Llm Analytics Review Queue Items ListConnection
Environments Llm Analytics Review Queue Items List
Authentication
Connected account requiredTags
Environments Llm Analytics Review Queue Items Partial UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_PARTIAL_UPDATEEnvironments Llm Analytics Review Queue Items Partial UpdateConnection
Environments Llm Analytics Review Queue Items Partial Update
Authentication
Connected account requiredTags
Environments Llm Analytics Review Queue Items RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_RETRIEVEEnvironments Llm Analytics Review Queue Items RetrieveConnection
Environments Llm Analytics Review Queue Items Retrieve
Authentication
Connected account requiredTags
Environments Llm Analytics Score Definitions CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_SCORE_DEFINITIONS_CREATEEnvironments Llm Analytics Score Definitions CreateConnection
Environments Llm Analytics Score Definitions Create
Authentication
Connected account requiredTags
Environments Llm Analytics Score Definitions ListPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_SCORE_DEFINITIONS_LISTEnvironments Llm Analytics Score Definitions ListConnection
Environments Llm Analytics Score Definitions List
Authentication
Connected account requiredTags
Environments Llm Analytics Score Definitions New Version CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_SCORE_DEFINITIONS_NEW_VERSION_CREATEEnvironments Llm Analytics Score Definitions New Version CreateConnection
Environments Llm Analytics Score Definitions New Version Create
Authentication
Connected account requiredTags
Environments Llm Analytics Score Definitions Partial UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_SCORE_DEFINITIONS_PARTIAL_UPDATEEnvironments Llm Analytics Score Definitions Partial UpdateConnection
Environments Llm Analytics Score Definitions Partial Update
Authentication
Connected account requiredTags
Environments Llm Analytics Score Definitions RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_SCORE_DEFINITIONS_RETRIEVEEnvironments Llm Analytics Score Definitions RetrieveConnection
Environments Llm Analytics Score Definitions Retrieve
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Environments Llm Analytics Trace Reviews CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_TRACE_REVIEWS_CREATEEnvironments Llm Analytics Trace Reviews CreateConnection
Environments Llm Analytics Trace Reviews Create
Authentication
Connected account requiredTags
Environments Llm Analytics Trace Reviews DestroyPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_TRACE_REVIEWS_DESTROYEnvironments Llm Analytics Trace Reviews DestroyConnection
Environments Llm Analytics Trace Reviews Destroy
Authentication
Connected account requiredTags
Environments Llm Analytics Trace Reviews ListPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_TRACE_REVIEWS_LISTEnvironments Llm Analytics Trace Reviews ListConnection
Environments Llm Analytics Trace Reviews List
Authentication
Connected account requiredTags
Environments Llm Analytics Trace Reviews Partial UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_TRACE_REVIEWS_PARTIAL_UPDATEEnvironments Llm Analytics Trace Reviews Partial UpdateConnection
Environments Llm Analytics Trace Reviews Partial Update
Authentication
Connected account requiredTags
Environments Llm Analytics Trace Reviews RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_TRACE_REVIEWS_RETRIEVEEnvironments Llm Analytics Trace Reviews RetrieveConnection
Environments Llm Analytics Trace Reviews Retrieve
Authentication
Connected account requiredTags
Environments Llm Analytics Translate CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_TRANSLATE_CREATETranslate text to target language.Connection
Translate text to target language.
Authentication
Connected account requiredTags
Environments Llm Prompts CreatePOSTHOG_ENVIRONMENTS_LLM_PROMPTS_CREATEEnvironments Llm Prompts CreateConnection
Environments Llm Prompts Create
Authentication
Connected account requiredTags
Environments Llm Prompts ListPOSTHOG_ENVIRONMENTS_LLM_PROMPTS_LISTEnvironments Llm Prompts ListConnection
Environments Llm Prompts List
Authentication
Connected account requiredTags
Environments Llm Prompts Name Archive CreatePOSTHOG_ENVIRONMENTS_LLM_PROMPTS_NAME_ARCHIVE_CREATEEnvironments Llm Prompts Name Archive CreateConnection
Environments Llm Prompts Name Archive Create
Authentication
Connected account requiredTags
Environments Llm Prompts Name Duplicate CreatePOSTHOG_ENVIRONMENTS_LLM_PROMPTS_NAME_DUPLICATE_CREATEEnvironments Llm Prompts Name Duplicate CreateConnection
Environments Llm Prompts Name Duplicate Create
Authentication
Connected account requiredTags
Environments Llm Prompts Name Partial UpdatePOSTHOG_ENVIRONMENTS_LLM_PROMPTS_NAME_PARTIAL_UPDATEEnvironments Llm Prompts Name Partial UpdateConnection
Environments Llm Prompts Name Partial Update
Authentication
Connected account requiredTags
Environments Llm Prompts Name RetrievePOSTHOG_ENVIRONMENTS_LLM_PROMPTS_NAME_RETRIEVEEnvironments Llm Prompts Name RetrieveConnection
Environments Llm Prompts Name Retrieve
Authentication
Connected account requiredTags
Environments Llm Prompts Resolve Name RetrievePOSTHOG_ENVIRONMENTS_LLM_PROMPTS_RESOLVE_NAME_RETRIEVEEnvironments Llm Prompts Resolve Name RetrieveConnection
Environments Llm Prompts Resolve Name Retrieve
Authentication
Connected account requiredTags
Environments Llm Skills CreatePOSTHOG_ENVIRONMENTS_LLM_SKILLS_CREATEEnvironments Llm Skills CreateConnection
Environments Llm Skills Create
Authentication
Connected account requiredTags
Environments Llm Skills Import CreatePOSTHOG_ENVIRONMENTS_LLM_SKILLS_IMPORT_CREATEEnvironments Llm Skills Import CreateConnection
Environments Llm Skills Import Create
Authentication
Connected account requiredTags
Environments Llm Skills ListPOSTHOG_ENVIRONMENTS_LLM_SKILLS_LISTEnvironments Llm Skills ListConnection
Environments Llm Skills List
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Environments Llm Skills Name Archive CreatePOSTHOG_ENVIRONMENTS_LLM_SKILLS_NAME_ARCHIVE_CREATEEnvironments Llm Skills Name Archive CreateConnection
Environments Llm Skills Name Archive Create
Authentication
Connected account requiredTags
Environments Llm Skills Name Duplicate CreatePOSTHOG_ENVIRONMENTS_LLM_SKILLS_NAME_DUPLICATE_CREATEEnvironments Llm Skills Name Duplicate CreateConnection
Environments Llm Skills Name Duplicate Create
Authentication
Connected account requiredTags
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 CreateConnection
Environments Llm Skills Name Files Create
Authentication
Connected account requiredTags
Environments Llm Skills Name Files DestroyPOSTHOG_ENVIRONMENTS_LLM_SKILLS_NAME_FILES_DESTROYEnvironments Llm Skills Name Files DestroyConnection
Environments Llm Skills Name Files Destroy
Authentication
Connected account requiredTags
Environments Llm Skills Name Files Rename CreatePOSTHOG_ENVIRONMENTS_LLM_SKILLS_NAME_FILES_RENAME_CREATEEnvironments Llm Skills Name Files Rename CreateConnection
Environments Llm Skills Name Files Rename Create
Authentication
Connected account requiredTags
Environments Llm Skills Name Files RetrievePOSTHOG_ENVIRONMENTS_LLM_SKILLS_NAME_FILES_RETRIEVEEnvironments Llm Skills Name Files RetrieveConnection
Environments Llm Skills Name Files Retrieve
Authentication
Connected account requiredTags
Environments Llm Skills Name Partial UpdatePOSTHOG_ENVIRONMENTS_LLM_SKILLS_NAME_PARTIAL_UPDATEEnvironments Llm Skills Name Partial UpdateConnection
Environments Llm Skills Name Partial Update
Authentication
Connected account requiredTags
Environments Llm Skills Name RetrievePOSTHOG_ENVIRONMENTS_LLM_SKILLS_NAME_RETRIEVEEnvironments Llm Skills Name RetrieveConnection
Environments Llm Skills Name Retrieve
Authentication
Connected account requiredTags
Environments Llm Skills Resolve Name RetrievePOSTHOG_ENVIRONMENTS_LLM_SKILLS_RESOLVE_NAME_RETRIEVEEnvironments Llm Skills Resolve Name RetrieveConnection
Environments Llm Skills Resolve Name Retrieve
Authentication
Connected account requiredTags
Environments Logs Alerts CreatePOSTHOG_ENVIRONMENTS_LOGS_ALERTS_CREATEEnvironments Logs Alerts CreateConnection
Environments Logs Alerts Create
Authentication
Connected account requiredTags
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.Connection
Create a notification destination for this alert. One HogFunction is created per alert event kind (firing, resolved, ...) atomically.
Authentication
Connected account requiredTags
Environments Logs Alerts Destinations Delete CreatePOSTHOG_ENVIRONMENTS_LOGS_ALERTS_DESTINATIONS_DELETE_CREATEDelete a notification destination by deleting its HogFunction group atomically.Connection
Delete a notification destination by deleting its HogFunction group atomically.
Authentication
Connected account requiredTags
Environments Logs Alerts DestroyPOSTHOG_ENVIRONMENTS_LOGS_ALERTS_DESTROYEnvironments Logs Alerts DestroyConnection
Environments Logs Alerts Destroy
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Environments Logs Alerts ListPOSTHOG_ENVIRONMENTS_LOGS_ALERTS_LISTEnvironments Logs Alerts ListConnection
Environments Logs Alerts List
Authentication
Connected account requiredTags
Environments Logs Alerts Partial UpdatePOSTHOG_ENVIRONMENTS_LOGS_ALERTS_PARTIAL_UPDATEEnvironments Logs Alerts Partial UpdateConnection
Environments Logs Alerts Partial Update
Authentication
Connected account requiredTags
Environments Logs Alerts Reset CreatePOSTHOG_ENVIRONMENTS_LOGS_ALERTS_RESET_CREATEReset a broken alert. Clears the consecutive-failure counter and schedules an immediate recheck.Connection
Reset a broken alert. Clears the consecutive-failure counter and schedules an immediate recheck.
Authentication
Connected account requiredTags
Environments Logs Alerts RetrievePOSTHOG_ENVIRONMENTS_LOGS_ALERTS_RETRIEVEEnvironments Logs Alerts RetrieveConnection
Environments Logs Alerts Retrieve
Authentication
Connected account requiredTags
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.Connection
Simulate a logs alert on historical data using the full state machine. Read-only — no alert check records are created.
Authentication
Connected account requiredTags
Environments Logs Alerts UpdatePOSTHOG_ENVIRONMENTS_LOGS_ALERTS_UPDATEEnvironments Logs Alerts UpdateConnection
Environments Logs Alerts Update
Authentication
Connected account requiredTags
Environments Logs Attributes RetrievePOSTHOG_ENVIRONMENTS_LOGS_ATTRIBUTES_RETRIEVEEnvironments Logs Attributes RetrieveConnection
Environments Logs Attributes Retrieve
Authentication
Connected account requiredTags
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 CreateConnection
Environments Logs Count Create
Authentication
Connected account requiredTags
Environments Logs Count Ranges CreatePOSTHOG_ENVIRONMENTS_LOGS_COUNT_RANGES_CREATEEnvironments Logs Count Ranges CreateConnection
Environments Logs Count Ranges Create
Authentication
Connected account requiredTags
Environments Logs ExplainLogWithAI CreatePOSTHOG_ENVIRONMENTS_LOGS_EXPLAIN_LOG_WITH_AI_CREATEExplain a log entry using AI. POST /api/environments/:id/logs/explainLogWithAI/Connection
Explain a log entry using AI. POST /api/environments/:id/logs/explainLogWithAI/
Authentication
Connected account requiredTags
Environments Logs Export CreatePOSTHOG_ENVIRONMENTS_LOGS_EXPORT_CREATEEnvironments Logs Export CreateConnection
Environments Logs Export Create
Authentication
Connected account requiredTags
Environments Logs Facet Values CreatePOSTHOG_ENVIRONMENTS_LOGS_FACET_VALUES_CREATEEnvironments Logs Facet Values CreateConnection
Environments Logs Facet Values Create
Authentication
Connected account requiredTags
Environments Logs Group By CreatePOSTHOG_ENVIRONMENTS_LOGS_GROUP_BY_CREATEEnvironments Logs Group By CreateConnection
Environments Logs Group By Create
Authentication
Connected account requiredTags
Environments Logs Has Logs RetrievePOSTHOG_ENVIRONMENTS_LOGS_HAS_LOGS_RETRIEVEEnvironments Logs Has Logs RetrieveConnection
Environments Logs Has Logs Retrieve
Authentication
Connected account requiredTags
Environments Logs Patterns CreatePOSTHOG_ENVIRONMENTS_LOGS_PATTERNS_CREATEEnvironments Logs Patterns CreateConnection
Environments Logs Patterns Create
Authentication
Connected account requiredTags
Environments Logs Query CreatePOSTHOG_ENVIRONMENTS_LOGS_QUERY_CREATEEnvironments Logs Query CreateConnection
Environments Logs Query Create
Authentication
Connected account requiredTags
Environments Logs Sampling Rules CreatePOSTHOG_ENVIRONMENTS_LOGS_SAMPLING_RULES_CREATEEnvironments Logs Sampling Rules CreateConnection
Environments Logs Sampling Rules Create
Authentication
Connected account requiredTags
Environments Logs Sampling Rules DestroyPOSTHOG_ENVIRONMENTS_LOGS_SAMPLING_RULES_DESTROYEnvironments Logs Sampling Rules DestroyConnection
Environments Logs Sampling Rules Destroy
Authentication
Connected account requiredTags
Environments Logs Sampling Rules ListPOSTHOG_ENVIRONMENTS_LOGS_SAMPLING_RULES_LISTEnvironments Logs Sampling Rules ListConnection
Environments Logs Sampling Rules List
Authentication
Connected account requiredTags
Environments Logs Sampling Rules Partial UpdatePOSTHOG_ENVIRONMENTS_LOGS_SAMPLING_RULES_PARTIAL_UPDATEEnvironments Logs Sampling Rules Partial UpdateConnection
Environments Logs Sampling Rules Partial Update
Authentication
Connected account requiredTags
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 RetrieveConnection
Environments Logs Sampling Rules Retrieve
Authentication
Connected account requiredTags
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 UpdateConnection
Environments Logs Sampling Rules Update
Authentication
Connected account requiredTags
Environments Logs Services CreatePOSTHOG_ENVIRONMENTS_LOGS_SERVICES_CREATEEnvironments Logs Services CreateConnection
Environments Logs Services Create
Authentication
Connected account requiredTags
Environments Logs Sparkline CreatePOSTHOG_ENVIRONMENTS_LOGS_SPARKLINE_CREATEEnvironments Logs Sparkline CreateConnection
Environments Logs Sparkline Create
Authentication
Connected account requiredTags
Environments Logs Values RetrievePOSTHOG_ENVIRONMENTS_LOGS_VALUES_RETRIEVEEnvironments Logs Values RetrieveConnection
Environments Logs Values Retrieve
Authentication
Connected account requiredTags
Environments Logs Views CreatePOSTHOG_ENVIRONMENTS_LOGS_VIEWS_CREATEEnvironments Logs Views CreateConnection
Environments Logs Views Create
Authentication
Connected account requiredTags
Environments Logs Views DestroyPOSTHOG_ENVIRONMENTS_LOGS_VIEWS_DESTROYEnvironments Logs Views DestroyConnection
Environments Logs Views Destroy
Authentication
Connected account requiredTags
Environments Logs Views ListPOSTHOG_ENVIRONMENTS_LOGS_VIEWS_LISTEnvironments Logs Views ListConnection
Environments Logs Views List
Authentication
Connected account requiredTags
Environments Logs Views Partial UpdatePOSTHOG_ENVIRONMENTS_LOGS_VIEWS_PARTIAL_UPDATEEnvironments Logs Views Partial UpdateConnection
Environments Logs Views Partial Update
Authentication
Connected account requiredTags
Environments Logs Views RetrievePOSTHOG_ENVIRONMENTS_LOGS_VIEWS_RETRIEVEEnvironments Logs Views RetrieveConnection
Environments Logs Views Retrieve
Authentication
Connected account requiredTags
Environments Logs Views UpdatePOSTHOG_ENVIRONMENTS_LOGS_VIEWS_UPDATEEnvironments Logs Views UpdateConnection
Environments Logs Views Update
Authentication
Connected account requiredTags
Environments Managed Viewsets RetrievePOSTHOG_ENVIRONMENTS_MANAGED_VIEWSETS_RETRIEVEGet all views associated with a specific managed viewset. GET /api/environments/{team_id}/managed_viewsets/{kind}/Connection
Get all views associated with a specific managed viewset. GET /api/environments/{team_id}/managed_viewsets/{kind}/
Authentication
Connected account requiredTags
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}Connection
Enable or disable a managed viewset by kind. PUT /api/environments/{team_id}/managed_viewsets/{kind}/ with body {"enabled": true/false}
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
Cross-reference campaigns with spend from ad platforms against pageview events with UTM parameters to identify tracking issues.
Authentication
Connected account requiredTags
Environments Max Tools Create And Query Insight CreatePOSTHOG_ENVIRONMENTS_MAX_TOOLS_CREATE_AND_QUERY_INSIGHT_CREATEEnvironments Max Tools Create And Query Insight CreateConnection
Environments Max Tools Create And Query Insight Create
Authentication
Connected account requiredTags
Environments Mcp Analytics Feedback CreatePOSTHOG_ENVIRONMENTS_MCP_ANALYTICS_FEEDBACK_CREATECreate a new MCP feedback submission for the current project.Connection
Create a new MCP feedback submission for the current project.
Authentication
Connected account requiredTags
Environments Mcp Analytics Feedback ListPOSTHOG_ENVIRONMENTS_MCP_ANALYTICS_FEEDBACK_LISTList MCP feedback submissions for the current project, newest first.Connection
List MCP feedback submissions for the current project, newest first.
Authentication
Connected account requiredTags
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').Connection
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 requiredTags
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.Connection
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 requiredTags
Environments Mcp Analytics Missing Capabilities CreatePOSTHOG_ENVIRONMENTS_MCP_ANALYTICS_MISSING_CAPABILITIES_CREATECreate a new missing capability report for the current project.Connection
Create a new missing capability report for the current project.
Authentication
Connected account requiredTags
Environments Mcp Analytics Missing Capabilities ListPOSTHOG_ENVIRONMENTS_MCP_ANALYTICS_MISSING_CAPABILITIES_LISTList missing capability reports for the current project, newest first.Connection
List missing capability reports for the current project, newest first.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
List a page of the $mcp_tool_call events that belong to a given $session_id, in chronological order.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Environments Mcp Server Installations CreatePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_CREATEEnvironments Mcp Server Installations CreateConnection
Environments Mcp Server Installations Create
Authentication
Connected account requiredTags
Environments Mcp Server Installations DestroyPOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_DESTROYEnvironments Mcp Server Installations DestroyConnection
Environments Mcp Server Installations Destroy
Authentication
Connected account requiredTags
Environments Mcp Server Installations Install Custom CreatePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_INSTALL_CUSTOM_CREATEEnvironments Mcp Server Installations Install Custom CreateConnection
Environments Mcp Server Installations Install Custom Create
Authentication
Connected account requiredTags
Environments Mcp Server Installations Install Template CreatePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_INSTALL_TEMPLATE_CREATEEnvironments Mcp Server Installations Install Template CreateConnection
Environments Mcp Server Installations Install Template Create
Authentication
Connected account requiredTags
Environments Mcp Server Installations ListPOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_LISTEnvironments Mcp Server Installations ListConnection
Environments Mcp Server Installations List
Authentication
Connected account requiredTags
Environments Mcp Server Installations Partial UpdatePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_PARTIAL_UPDATEEnvironments Mcp Server Installations Partial UpdateConnection
Environments Mcp Server Installations Partial Update
Authentication
Connected account requiredTags
Environments Mcp Server Installations Proxy CreatePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_PROXY_CREATEEnvironments Mcp Server Installations Proxy CreateConnection
Environments Mcp Server Installations Proxy Create
Authentication
Connected account requiredTags
Environments Mcp Server Installations RetrievePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_RETRIEVEEnvironments Mcp Server Installations RetrieveConnection
Environments Mcp Server Installations Retrieve
Authentication
Connected account requiredTags
Environments Mcp Server Installations Tools Partial UpdatePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_TOOLS_PARTIAL_UPDATEEnvironments Mcp Server Installations Tools Partial UpdateConnection
Environments Mcp Server Installations Tools Partial Update
Authentication
Connected account requiredTags
Environments Mcp Server Installations Tools Refresh CreatePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_TOOLS_REFRESH_CREATEEnvironments Mcp Server Installations Tools Refresh CreateConnection
Environments Mcp Server Installations Tools Refresh Create
Authentication
Connected account requiredTags
Environments Mcp Server Installations Tools RetrievePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_TOOLS_RETRIEVEEnvironments Mcp Server Installations Tools RetrieveConnection
Environments Mcp Server Installations Tools Retrieve
Authentication
Connected account requiredTags
Environments Mcp Server Installations UpdatePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_UPDATEEnvironments Mcp Server Installations UpdateConnection
Environments Mcp Server Installations Update
Authentication
Connected account requiredTags
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 CreateConnection
Environments Messaging Templates Create
Authentication
Connected account requiredTags
Environments Messaging Templates Design Partial UpdatePOSTHOG_ENVIRONMENTS_MESSAGING_TEMPLATES_DESIGN_PARTIAL_UPDATEEnvironments Messaging Templates Design Partial UpdateConnection
Environments Messaging Templates Design Partial Update
Authentication
Connected account requiredTags
Environments Messaging Templates DestroyPOSTHOG_ENVIRONMENTS_MESSAGING_TEMPLATES_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 Messaging Templates ListPOSTHOG_ENVIRONMENTS_MESSAGING_TEMPLATES_LISTEnvironments Messaging Templates ListConnection
Environments Messaging Templates List
Authentication
Connected account requiredTags
Environments Messaging Templates Partial UpdatePOSTHOG_ENVIRONMENTS_MESSAGING_TEMPLATES_PARTIAL_UPDATEEnvironments Messaging Templates Partial UpdateConnection
Environments Messaging Templates Partial Update
Authentication
Connected account requiredTags
Environments Messaging Templates RetrievePOSTHOG_ENVIRONMENTS_MESSAGING_TEMPLATES_RETRIEVEEnvironments Messaging Templates RetrieveConnection
Environments Messaging Templates Retrieve
Authentication
Connected account requiredTags
Environments Messaging Templates UpdatePOSTHOG_ENVIRONMENTS_MESSAGING_TEMPLATES_UPDATEEnvironments Messaging Templates UpdateConnection
Environments Messaging Templates Update
Authentication
Connected account requiredTags
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.Connection
Characterize a metric anomaly: compare an anomaly window against a baseline, find the onset, and rank which label values moved.
Authentication
Connected account requiredTags
Environments Metrics Has Metrics RetrievePOSTHOG_ENVIRONMENTS_METRICS_HAS_METRICS_RETRIEVEEnvironments Metrics Has Metrics RetrieveConnection
Environments Metrics Has Metrics Retrieve
Authentication
Connected account requiredTags
Environments Metrics Query CreatePOSTHOG_ENVIRONMENTS_METRICS_QUERY_CREATEEnvironments Metrics Query CreateConnection
Environments Metrics Query Create
Authentication
Connected account requiredTags
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.Connection
Raw individual emissions for a metric (the events model), newest first — backs the Samples view and the metric->trace pivot.
Authentication
Connected account requiredTags
Environments Metrics Values RetrievePOSTHOG_ENVIRONMENTS_METRICS_VALUES_RETRIEVEDistinct metric names for the team. Backs the picker UI.Connection
Distinct metric names for the team. Backs the picker UI.
Authentication
Connected account requiredTags
Environments Partial UpdatePOSTHOG_ENVIRONMENTS_PARTIAL_UPDATEDeprecated: use /api/environments/{id}/ instead.Connection
Deprecated: use /api/environments/{id}/ instead.
Authentication
Connected account requiredTags
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.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 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.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 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.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 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.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 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.Connection
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 requiredTags
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.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 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.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 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.Connection
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 requiredTags
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.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 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.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 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.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 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)Connection
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 requiredTags
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.Connection
Reset a distinct_id for a deleted person. This allows the distinct_id to be used again.
Authentication
Connected account requiredTags
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.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 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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.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 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.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 Plugin Configs Logs ListPOSTHOG_ENVIRONMENTS_PLUGIN_CONFIGS_LOGS_LISTEnvironments Plugin Configs Logs ListConnection
Environments Plugin Configs Logs List
Authentication
Connected account requiredTags
Environments Project Secret Api Keys CreatePOSTHOG_ENVIRONMENTS_PROJECT_SECRET_API_KEYS_CREATEEnvironments Project Secret Api Keys CreateConnection
Environments Project Secret Api Keys Create
Authentication
Connected account requiredTags
Environments Project Secret Api Keys DestroyPOSTHOG_ENVIRONMENTS_PROJECT_SECRET_API_KEYS_DESTROYEnvironments Project Secret Api Keys DestroyConnection
Environments Project Secret Api Keys Destroy
Authentication
Connected account requiredTags
Environments Project Secret Api Keys ListPOSTHOG_ENVIRONMENTS_PROJECT_SECRET_API_KEYS_LISTEnvironments Project Secret Api Keys ListConnection
Environments Project Secret Api Keys List
Authentication
Connected account requiredTags
Environments Project Secret Api Keys Partial UpdatePOSTHOG_ENVIRONMENTS_PROJECT_SECRET_API_KEYS_PARTIAL_UPDATEEnvironments Project Secret Api Keys Partial UpdateConnection
Environments Project Secret Api Keys Partial Update
Authentication
Connected account requiredTags
Environments Project Secret Api Keys RetrievePOSTHOG_ENVIRONMENTS_PROJECT_SECRET_API_KEYS_RETRIEVEEnvironments Project Secret Api Keys RetrieveConnection
Environments Project Secret Api Keys Retrieve
Authentication
Connected account requiredTags
Environments Project Secret Api Keys Roll CreatePOSTHOG_ENVIRONMENTS_PROJECT_SECRET_API_KEYS_ROLL_CREATERoll a project secret API keyConnection
Roll a project secret API key
Authentication
Connected account requiredTags
Environments Project Secret Api Keys UpdatePOSTHOG_ENVIRONMENTS_PROJECT_SECRET_API_KEYS_UPDATEEnvironments Project Secret Api Keys UpdateConnection
Environments Project Secret Api Keys Update
Authentication
Connected account requiredTags
Environments Property Access Controls CreatePOSTHOG_ENVIRONMENTS_PROPERTY_ACCESS_CONTROLS_CREATECreate or update a property access control rule.Connection
Create or update a property access control rule.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Environments Property Access Controls RetrievePOSTHOG_ENVIRONMENTS_PROPERTY_ACCESS_CONTROLS_RETRIEVEGet all property access control rules for a property definition.Connection
Get all property access control rules for a property definition.
Authentication
Connected account requiredTags
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.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 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)Connection
(Experimental)
Authentication
Connected account requiredTags
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)Connection
(Experimental)
Authentication
Connected account requiredTags
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.Connection
Deprecated: use /api/environments/{id}/ instead.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Environments Saved DestroyPOSTHOG_ENVIRONMENTS_SAVED_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 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.Connection
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 requiredTags
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.Connection
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 requiredTags
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'.Connection
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 requiredTags
Environments Saved RetrievePOSTHOG_ENVIRONMENTS_SAVED_RETRIEVEGet a single saved heatmap by its short_id, including per-width render status.Connection
Get a single saved heatmap by its short_id, including per-width render status.
Authentication
Connected account requiredTags
Environments Sessions Property Definitions RetrievePOSTHOG_ENVIRONMENTS_SESSIONS_PROPERTY_DEFINITIONS_RETRIEVEEnvironments Sessions Property Definitions RetrieveConnection
Environments Sessions Property Definitions Retrieve
Authentication
Connected account requiredTags
Environments Sessions Values RetrievePOSTHOG_ENVIRONMENTS_SESSIONS_VALUES_RETRIEVEEnvironments Sessions Values RetrieveConnection
Environments Sessions Values Retrieve
Authentication
Connected account requiredTags
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 DestroyConnection
Environments Session Recordings Destroy
Authentication
Connected account requiredTags
Environments Session Recordings ListPOSTHOG_ENVIRONMENTS_SESSION_RECORDINGS_LISTEnvironments Session Recordings ListConnection
Environments Session Recordings List
Authentication
Connected account requiredTags
Environments Session Recordings Partial UpdatePOSTHOG_ENVIRONMENTS_SESSION_RECORDINGS_PARTIAL_UPDATEEnvironments Session Recordings Partial UpdateConnection
Environments Session Recordings Partial Update
Authentication
Connected account requiredTags
Environments Session Recordings RetrievePOSTHOG_ENVIRONMENTS_SESSION_RECORDINGS_RETRIEVEEnvironments Session Recordings RetrieveConnection
Environments Session Recordings Retrieve
Authentication
Connected account requiredTags
Environments Session Recordings Sharing ListPOSTHOG_ENVIRONMENTS_SESSION_RECORDINGS_SHARING_LISTEnvironments Session Recordings Sharing ListConnection
Environments Session Recordings Sharing List
Authentication
Connected account requiredTags
Environments Session Recordings Sharing Passwords CreatePOSTHOG_ENVIRONMENTS_SESSION_RECORDINGS_SHARING_PASSWORDS_CREATECreate a new password for the sharing configuration.Connection
Create a new password for the sharing configuration.
Authentication
Connected account requiredTags
Environments Session Recordings Sharing Passwords DestroyPOSTHOG_ENVIRONMENTS_SESSION_RECORDINGS_SHARING_PASSWORDS_DESTROYDelete a password from the sharing configuration.Connection
Delete a password from the sharing configuration.
Authentication
Connected account requiredTags
Environments Session Recordings Sharing Refresh CreatePOSTHOG_ENVIRONMENTS_SESSION_RECORDINGS_SHARING_REFRESH_CREATEEnvironments Session Recordings Sharing Refresh CreateConnection
Environments Session Recordings Sharing Refresh Create
Authentication
Connected account requiredTags
Environments Session Recordings UpdatePOSTHOG_ENVIRONMENTS_SESSION_RECORDINGS_UPDATEEnvironments Session Recordings UpdateConnection
Environments Session Recordings Update
Authentication
Connected account requiredTags
Environments Session Recording Playlists CreatePOSTHOG_ENVIRONMENTS_SESSION_RECORDING_PLAYLISTS_CREATEEnvironments Session Recording Playlists CreateConnection
Environments Session Recording Playlists Create
Authentication
Connected account requiredTags
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 trueConnection
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Environments Session Recording Playlists Partial UpdatePOSTHOG_ENVIRONMENTS_SESSION_RECORDING_PLAYLISTS_PARTIAL_UPDATEEnvironments Session Recording Playlists Partial UpdateConnection
Environments Session Recording Playlists Partial Update
Authentication
Connected account requiredTags
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 RetrieveConnection
Environments Session Recording Playlists Recordings Retrieve
Authentication
Connected account requiredTags
Environments Session Recording Playlists RetrievePOSTHOG_ENVIRONMENTS_SESSION_RECORDING_PLAYLISTS_RETRIEVEEnvironments Session Recording Playlists RetrieveConnection
Environments Session Recording Playlists Retrieve
Authentication
Connected account requiredTags
Environments Session Recording Playlists UpdatePOSTHOG_ENVIRONMENTS_SESSION_RECORDING_PLAYLISTS_UPDATEEnvironments Session Recording Playlists UpdateConnection
Environments Session Recording Playlists Update
Authentication
Connected account requiredTags
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 CreateConnection
Environments Subscriptions Create
Authentication
Connected account requiredTags
List subscription deliveriesPOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_DELIVERIES_LISTPaginated delivery history for a subscription. Requires premium subscriptions.Connection
Paginated delivery history for a subscription. Requires premium subscriptions.
Authentication
Connected account requiredTags
Retrieve subscription deliveryPOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_DELIVERIES_RETRIEVEFetch one delivery row by id.Connection
Fetch one delivery row by id.
Authentication
Connected account requiredTags
Environments Subscriptions DestroyPOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_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 Subscriptions ListPOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_LISTEnvironments Subscriptions ListConnection
Environments Subscriptions List
Authentication
Connected account requiredTags
Environments Subscriptions Partial UpdatePOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_PARTIAL_UPDATEEnvironments Subscriptions Partial UpdateConnection
Environments Subscriptions Partial Update
Authentication
Connected account requiredTags
Environments Subscriptions RetrievePOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_RETRIEVEEnvironments Subscriptions RetrieveConnection
Environments Subscriptions Retrieve
Authentication
Connected account requiredTags
Environments Subscriptions Summary Quota RetrievePOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_SUMMARY_QUOTA_RETRIEVEEnvironments Subscriptions Summary Quota RetrieveConnection
Environments Subscriptions Summary Quota Retrieve
Authentication
Connected account requiredTags
Environments Subscriptions Test Delivery CreatePOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_TEST_DELIVERY_CREATEEnvironments Subscriptions Test Delivery CreateConnection
Environments Subscriptions Test Delivery Create
Authentication
Connected account requiredTags
Environments Subscriptions UpdatePOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_UPDATEEnvironments Subscriptions UpdateConnection
Environments Subscriptions Update
Authentication
Connected account requiredTags
Environments Taggers CreatePOSTHOG_ENVIRONMENTS_TAGGERS_CREATEEnvironments Taggers CreateConnection
Environments Taggers Create
Authentication
Connected account requiredTags
Environments Taggers DestroyPOSTHOG_ENVIRONMENTS_TAGGERS_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 Taggers ListPOSTHOG_ENVIRONMENTS_TAGGERS_LISTEnvironments Taggers ListConnection
Environments Taggers List
Authentication
Connected account requiredTags
Environments Taggers Partial UpdatePOSTHOG_ENVIRONMENTS_TAGGERS_PARTIAL_UPDATEEnvironments Taggers Partial UpdateConnection
Environments Taggers Partial Update
Authentication
Connected account requiredTags
Environments Taggers RetrievePOSTHOG_ENVIRONMENTS_TAGGERS_RETRIEVEEnvironments Taggers RetrieveConnection
Environments Taggers Retrieve
Authentication
Connected account requiredTags
Environments Taggers Test Hog CreatePOSTHOG_ENVIRONMENTS_TAGGERS_TEST_HOG_CREATETest Hog tagger code against sample events without saving.Connection
Test Hog tagger code against sample events without saving.
Authentication
Connected account requiredTags
Environments Taggers UpdatePOSTHOG_ENVIRONMENTS_TAGGERS_UPDATEEnvironments Taggers UpdateConnection
Environments Taggers Update
Authentication
Connected account requiredTags
Environments Tracing Spans Aggregate CreatePOSTHOG_ENVIRONMENTS_TRACING_SPANS_AGGREGATE_CREATEEnvironments Tracing Spans Aggregate CreateConnection
Environments Tracing Spans Aggregate Create
Authentication
Connected account requiredTags
Environments Tracing Spans Attributes RetrievePOSTHOG_ENVIRONMENTS_TRACING_SPANS_ATTRIBUTES_RETRIEVEEnvironments Tracing Spans Attributes RetrieveConnection
Environments Tracing Spans Attributes Retrieve
Authentication
Connected account requiredTags
Environments Tracing Spans Attribute Breakdown CreatePOSTHOG_ENVIRONMENTS_TRACING_SPANS_ATTRIBUTE_BREAKDOWN_CREATEEnvironments Tracing Spans Attribute Breakdown CreateConnection
Environments Tracing Spans Attribute Breakdown Create
Authentication
Connected account requiredTags
Environments Tracing Spans Count CreatePOSTHOG_ENVIRONMENTS_TRACING_SPANS_COUNT_CREATEEnvironments Tracing Spans Count CreateConnection
Environments Tracing Spans Count Create
Authentication
Connected account requiredTags
Environments Tracing Spans Duration Histogram CreatePOSTHOG_ENVIRONMENTS_TRACING_SPANS_DURATION_HISTOGRAM_CREATEEnvironments Tracing Spans Duration Histogram CreateConnection
Environments Tracing Spans Duration Histogram Create
Authentication
Connected account requiredTags
Environments Tracing Spans Has Spans RetrievePOSTHOG_ENVIRONMENTS_TRACING_SPANS_HAS_SPANS_RETRIEVEEnvironments Tracing Spans Has Spans RetrieveConnection
Environments Tracing Spans Has Spans Retrieve
Authentication
Connected account requiredTags
Environments Tracing Spans Query CreatePOSTHOG_ENVIRONMENTS_TRACING_SPANS_QUERY_CREATEEnvironments Tracing Spans Query CreateConnection
Environments Tracing Spans Query Create
Authentication
Connected account requiredTags
Environments Tracing Spans Service Names RetrievePOSTHOG_ENVIRONMENTS_TRACING_SPANS_SERVICE_NAMES_RETRIEVEEnvironments Tracing Spans Service Names RetrieveConnection
Environments Tracing Spans Service Names Retrieve
Authentication
Connected account requiredTags
Environments Tracing Spans Sparkline CreatePOSTHOG_ENVIRONMENTS_TRACING_SPANS_SPARKLINE_CREATEEnvironments Tracing Spans Sparkline CreateConnection
Environments Tracing Spans Sparkline Create
Authentication
Connected account requiredTags
Environments Tracing Spans Symbol Stats CreatePOSTHOG_ENVIRONMENTS_TRACING_SPANS_SYMBOL_STATS_CREATEEnvironments Tracing Spans Symbol Stats CreateConnection
Environments Tracing Spans Symbol Stats Create
Authentication
Connected account requiredTags
Environments Tracing Spans Trace CreatePOSTHOG_ENVIRONMENTS_TRACING_SPANS_TRACE_CREATEEnvironments Tracing Spans Trace CreateConnection
Environments Tracing Spans Trace Create
Authentication
Connected account requiredTags
Environments Tracing Spans Tree CreatePOSTHOG_ENVIRONMENTS_TRACING_SPANS_TREE_CREATEEnvironments Tracing Spans Tree CreateConnection
Environments Tracing Spans Tree Create
Authentication
Connected account requiredTags
Environments Tracing Spans Values RetrievePOSTHOG_ENVIRONMENTS_TRACING_SPANS_VALUES_RETRIEVEEnvironments Tracing Spans Values RetrieveConnection
Environments Tracing Spans Values Retrieve
Authentication
Connected account requiredTags
Environments Tracing Views CreatePOSTHOG_ENVIRONMENTS_TRACING_VIEWS_CREATEEnvironments Tracing Views CreateConnection
Environments Tracing Views Create
Authentication
Connected account requiredTags
Environments Tracing Views DestroyPOSTHOG_ENVIRONMENTS_TRACING_VIEWS_DESTROYEnvironments Tracing Views DestroyConnection
Environments Tracing Views Destroy
Authentication
Connected account requiredTags
Environments Tracing Views ListPOSTHOG_ENVIRONMENTS_TRACING_VIEWS_LISTEnvironments Tracing Views ListConnection
Environments Tracing Views List
Authentication
Connected account requiredTags
Environments Tracing Views Partial UpdatePOSTHOG_ENVIRONMENTS_TRACING_VIEWS_PARTIAL_UPDATEEnvironments Tracing Views Partial UpdateConnection
Environments Tracing Views Partial Update
Authentication
Connected account requiredTags
Environments Tracing Views RetrievePOSTHOG_ENVIRONMENTS_TRACING_VIEWS_RETRIEVEEnvironments Tracing Views RetrieveConnection
Environments Tracing Views Retrieve
Authentication
Connected account requiredTags
Environments Tracing Views UpdatePOSTHOG_ENVIRONMENTS_TRACING_VIEWS_UPDATEEnvironments Tracing Views UpdateConnection
Environments Tracing Views Update
Authentication
Connected account requiredTags
Environments UpdatePOSTHOG_ENVIRONMENTS_UPDATEDeprecated: use /api/environments/{id}/ instead.Connection
Deprecated: use /api/environments/{id}/ instead.
Authentication
Connected account requiredTags
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 Interviews CreatePOSTHOG_ENVIRONMENTS_USER_INTERVIEWS_CREATEEnvironments User Interviews CreateConnection
Environments User Interviews Create
Authentication
Connected account requiredTags
Environments User Interviews DestroyPOSTHOG_ENVIRONMENTS_USER_INTERVIEWS_DESTROYEnvironments User Interviews DestroyConnection
Environments User Interviews Destroy
Authentication
Connected account requiredTags
Environments User Interviews ListPOSTHOG_ENVIRONMENTS_USER_INTERVIEWS_LISTEnvironments User Interviews ListConnection
Environments User Interviews List
Authentication
Connected account requiredTags
Environments User Interviews Partial UpdatePOSTHOG_ENVIRONMENTS_USER_INTERVIEWS_PARTIAL_UPDATEEnvironments User Interviews Partial UpdateConnection
Environments User Interviews Partial Update
Authentication
Connected account requiredTags
Environments User Interviews RetrievePOSTHOG_ENVIRONMENTS_USER_INTERVIEWS_RETRIEVEEnvironments User Interviews RetrieveConnection
Environments User Interviews Retrieve
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Environments User Interviews UpdatePOSTHOG_ENVIRONMENTS_USER_INTERVIEWS_UPDATEEnvironments User Interviews UpdateConnection
Environments User Interviews Update
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.Connection
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 requiredTags
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.Connection
Planned user interview topics: who we want to target and what we want to ask about.
Authentication
Connected account requiredTags
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.Connection
Planned user interview topics: who we want to target and what we want to ask about.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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).Connection
Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).
Authentication
Connected account requiredTags
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).Connection
Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).
Authentication
Connected account requiredTags
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).Connection
Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).
Authentication
Connected account requiredTags
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).Connection
Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).
Authentication
Connected account requiredTags
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).Connection
Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).
Authentication
Connected account requiredTags
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).Connection
Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
Planned user interview topics: who we want to target and what we want to ask about.
Authentication
Connected account requiredTags
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.Connection
Planned user interview topics: who we want to target and what we want to ask about.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
Planned user interview topics: who we want to target and what we want to ask about.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
Planned user interview topics: who we want to target and what we want to ask about.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Environments Vision Observations Label DestroyPOSTHOG_ENVIRONMENTS_VISION_OBSERVATIONS_LABEL_DESTROYRemove the observation's shared label. Requires session recording edit access.Connection
Remove the observation's shared label. Requires session recording edit access.
Authentication
Connected account requiredTags
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.Connection
Read-only access to a session's observations across every scanner the caller can read, for the replay-page dock.
Authentication
Connected account requiredTags
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.Connection
Read-only access to a session's observations across every scanner the caller can read, for the replay-page dock.
Authentication
Connected account requiredTags
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.Connection
Delete a failed observation and re-run its scanner on the same recording. Returns 202 with the workflow handle.
Authentication
Connected account requiredTags
Environments Vision Scanners CreatePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_CREATECRUD for Replay Vision scanners.Connection
CRUD for Replay Vision scanners.
Authentication
Connected account requiredTags
Environments Vision Scanners Creators RetrievePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_CREATORS_RETRIEVEDistinct creators across the team's scanners — feeds the `Created by` filter dropdown.Connection
Distinct creators across the team's scanners — feeds the `Created by` filter dropdown.
Authentication
Connected account requiredTags
Environments Vision Scanners DestroyPOSTHOG_ENVIRONMENTS_VISION_SCANNERS_DESTROYCRUD for Replay Vision scanners.Connection
CRUD for Replay Vision scanners.
Authentication
Connected account requiredTags
Environments Vision Scanners Estimate CreatePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_ESTIMATE_CREATEEstimate the observation volume a proposed scanner would generate, for the pre-save cost preview.Connection
Estimate the observation volume a proposed scanner would generate, for the pre-save cost preview.
Authentication
Connected account requiredTags
Environments Vision Scanners ListPOSTHOG_ENVIRONMENTS_VISION_SCANNERS_LISTCRUD for Replay Vision scanners.Connection
CRUD for Replay Vision scanners.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Environments Vision Scanners Observations Label DestroyPOSTHOG_ENVIRONMENTS_VISION_SCANNERS_OBSERVATIONS_LABEL_DESTROYRemove the observation's shared label. Requires session recording edit access.Connection
Remove the observation's shared label. Requires session recording edit access.
Authentication
Connected account requiredTags
Environments Vision Scanners Observations ListPOSTHOG_ENVIRONMENTS_VISION_SCANNERS_OBSERVATIONS_LISTRead-only access to observations produced by a scanner.Connection
Read-only access to observations produced by a scanner.
Authentication
Connected account requiredTags
Environments Vision Scanners Observations RetrievePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_OBSERVATIONS_RETRIEVERead-only access to observations produced by a scanner.Connection
Read-only access to observations produced by a scanner.
Authentication
Connected account requiredTags
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.Connection
Delete a failed observation and re-run its scanner on the same recording. Returns 202 with the workflow handle.
Authentication
Connected account requiredTags
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.Connection
Aggregate counts and per-scanner-type distributions over the filtered observation set. Same filters as the list endpoint apply.
Authentication
Connected account requiredTags
Environments Vision Scanners Observe CreatePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_OBSERVE_CREATEApply this scanner to one specific session, on demand. Returns 202 with the workflow handle.Connection
Apply this scanner to one specific session, on demand. Returns 202 with the workflow handle.
Authentication
Connected account requiredTags
Environments Vision Scanners Partial UpdatePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_PARTIAL_UPDATECRUD for Replay Vision scanners.Connection
CRUD for Replay Vision scanners.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
Dismiss this suggestion without applying it. Only the current pending suggestion can be dismissed. Requires session recording edit access.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
AI prompt-rewrite suggestions for a scanner, generated from the team's thumbs up/down ratings.
Authentication
Connected account requiredTags
Environments Vision Scanners RetrievePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_RETRIEVECRUD for Replay Vision scanners.Connection
CRUD for Replay Vision scanners.
Authentication
Connected account requiredTags
Environments Vision Scanners Stats RetrievePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_STATS_RETRIEVETeam-wide scanner counts — independent of list filters, so the overview stays stable.Connection
Team-wide scanner counts — independent of list filters, so the overview stays stable.
Authentication
Connected account requiredTags
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.Connection
Suggest classifier tags grounded in the scanner's own observations and the org's product data.
Authentication
Connected account requiredTags
Environments Warehouse Saved Queries Activity RetrievePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_ACTIVITY_RETRIEVECreate, Read, Update and Delete Warehouse Tables.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
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.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
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.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
Environments Warehouse Saved Queries ListPOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_LISTCreate, Read, Update and Delete Warehouse Tables.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
Environments Warehouse Saved Queries Materialize CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_MATERIALIZE_CREATEEnable materialization for this saved query with a 24-hour sync frequency.Connection
Enable materialization for this saved query with a 24-hour sync frequency.
Authentication
Connected account requiredTags
Environments Warehouse Saved Queries Partial UpdatePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_PARTIAL_UPDATECreate, Read, Update and Delete Warehouse Tables.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
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.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
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)Connection
Undo materialization, revert back to the original view. (i.e. delete the materialized table and the schedule)
Authentication
Connected account requiredTags
Environments Warehouse Saved Queries Run CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_RUN_CREATERun this saved query.Connection
Run this saved query.
Authentication
Connected account requiredTags
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.Connection
Return the recent run history (up to 5 most recent) for this materialized view.
Authentication
Connected account requiredTags
Environments Warehouse Saved Queries UpdatePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_UPDATECreate, Read, Update and Delete Warehouse Tables.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
Environments Warehouse Saved Query Folders CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERY_FOLDERS_CREATEEnvironments Warehouse Saved Query Folders CreateConnection
Environments Warehouse Saved Query Folders Create
Authentication
Connected account requiredTags
Environments Warehouse Saved Query Folders DestroyPOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERY_FOLDERS_DESTROYEnvironments Warehouse Saved Query Folders DestroyConnection
Environments Warehouse Saved Query Folders Destroy
Authentication
Connected account requiredTags
Environments Warehouse Saved Query Folders ListPOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERY_FOLDERS_LISTEnvironments Warehouse Saved Query Folders ListConnection
Environments Warehouse Saved Query Folders List
Authentication
Connected account requiredTags
Environments Warehouse Saved Query Folders Partial UpdatePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERY_FOLDERS_PARTIAL_UPDATEEnvironments Warehouse Saved Query Folders Partial UpdateConnection
Environments Warehouse Saved Query Folders Partial Update
Authentication
Connected account requiredTags
Environments Warehouse Saved Query Folders RetrievePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERY_FOLDERS_RETRIEVEEnvironments Warehouse Saved Query Folders RetrieveConnection
Environments Warehouse Saved Query Folders Retrieve
Authentication
Connected account requiredTags
Environments Warehouse Tables CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_TABLES_CREATECreate, Read, Update and Delete Warehouse Tables.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
Environments Warehouse Tables DestroyPOSTHOG_ENVIRONMENTS_WAREHOUSE_TABLES_DESTROYCreate, Read, Update and Delete Warehouse Tables.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
Environments Warehouse Tables File CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_TABLES_FILE_CREATECreate, Read, Update and Delete Warehouse Tables.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
Environments Warehouse Tables ListPOSTHOG_ENVIRONMENTS_WAREHOUSE_TABLES_LISTCreate, Read, Update and Delete Warehouse Tables.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
Environments Warehouse Tables Partial UpdatePOSTHOG_ENVIRONMENTS_WAREHOUSE_TABLES_PARTIAL_UPDATECreate, Read, Update and Delete Warehouse Tables.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Environments Warehouse Tables RetrievePOSTHOG_ENVIRONMENTS_WAREHOUSE_TABLES_RETRIEVECreate, Read, Update and Delete Warehouse Tables.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
Environments Warehouse Tables UpdatePOSTHOG_ENVIRONMENTS_WAREHOUSE_TABLES_UPDATECreate, Read, Update and Delete Warehouse Tables.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
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 Links CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINKS_CREATECreate, Read, Update and Delete View Columns.Connection
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredTags
Environments Warehouse View Links DestroyPOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINKS_DESTROYCreate, Read, Update and Delete View Columns.Connection
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredTags
Environments Warehouse View Links ListPOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINKS_LISTCreate, Read, Update and Delete View Columns.Connection
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredTags
Environments Warehouse View Links Partial UpdatePOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINKS_PARTIAL_UPDATECreate, Read, Update and Delete View Columns.Connection
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredTags
Environments Warehouse View Links RetrievePOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINKS_RETRIEVECreate, Read, Update and Delete View Columns.Connection
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredTags
Environments Warehouse View Links UpdatePOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINKS_UPDATECreate, Read, Update and Delete View Columns.Connection
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredTags
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
Environments Warehouse View Link CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINK_CREATECreate, Read, Update and Delete View Columns.Connection
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredTags
Environments Warehouse View Link DestroyPOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINK_DESTROYCreate, Read, Update and Delete View Columns.Connection
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredTags
Environments Warehouse View Link ListPOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINK_LISTCreate, Read, Update and Delete View Columns.Connection
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredTags
Environments Warehouse View Link Partial UpdatePOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINK_PARTIAL_UPDATECreate, Read, Update and Delete View Columns.Connection
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredTags
Environments Warehouse View Link RetrievePOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINK_RETRIEVECreate, Read, Update and Delete View Columns.Connection
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredTags
Environments Warehouse View Link UpdatePOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINK_UPDATECreate, Read, Update and Delete View Columns.Connection
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredTags
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
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Environments Web Vitals RetrievePOSTHOG_ENVIRONMENTS_WEB_VITALS_RETRIEVEGet web vitals for a specific pathname. Toolbar accesses this via OAuth (handled by TeamAndOrgViewSetMixin.get_authenticators).Connection
Get web vitals for a specific pathname. Toolbar accesses this via OAuth (handled by TeamAndOrgViewSetMixin.get_authenticators).
Authentication
Connected account requiredTags
Environment Vision Quota RetrievePOSTHOG_ENVIRONMENT_VISION_QUOTA_RETRIEVEEnvironment Vision Quota RetrieveConnection
Environment Vision Quota Retrieve
Authentication
Connected account requiredTags
Error Tracking Assignment Rules CreatePOSTHOG_ERROR_TRACKING_ASSIGNMENT_RULES_CREATEError Tracking Assignment Rules CreateConnection
Error Tracking Assignment Rules Create
Authentication
Connected account requiredTags
Error Tracking Assignment Rules DestroyPOSTHOG_ERROR_TRACKING_ASSIGNMENT_RULES_DESTROYError Tracking Assignment Rules DestroyConnection
Error Tracking Assignment Rules Destroy
Authentication
Connected account requiredTags
Error Tracking Assignment Rules ListPOSTHOG_ERROR_TRACKING_ASSIGNMENT_RULES_LISTError Tracking Assignment Rules ListConnection
Error Tracking Assignment Rules List
Authentication
Connected account requiredTags
Error Tracking Assignment Rules Partial UpdatePOSTHOG_ERROR_TRACKING_ASSIGNMENT_RULES_PARTIAL_UPDATEError Tracking Assignment Rules Partial UpdateConnection
Error Tracking Assignment Rules Partial Update
Authentication
Connected account requiredTags
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 RetrieveConnection
Error Tracking Assignment Rules Retrieve
Authentication
Connected account requiredTags
Error Tracking Assignment Rules UpdatePOSTHOG_ERROR_TRACKING_ASSIGNMENT_RULES_UPDATEError Tracking Assignment Rules UpdateConnection
Error Tracking Assignment Rules Update
Authentication
Connected account requiredTags
Error Tracking Bypass Rules CreatePOSTHOG_ERROR_TRACKING_BYPASS_RULES_CREATEError Tracking Bypass Rules CreateConnection
Error Tracking Bypass Rules Create
Authentication
Connected account requiredTags
Error Tracking Bypass Rules DestroyPOSTHOG_ERROR_TRACKING_BYPASS_RULES_DESTROYError Tracking Bypass Rules DestroyConnection
Error Tracking Bypass Rules Destroy
Authentication
Connected account requiredTags
Error Tracking Bypass Rules ListPOSTHOG_ERROR_TRACKING_BYPASS_RULES_LISTError Tracking Bypass Rules ListConnection
Error Tracking Bypass Rules List
Authentication
Connected account requiredTags
Error Tracking Bypass Rules Partial UpdatePOSTHOG_ERROR_TRACKING_BYPASS_RULES_PARTIAL_UPDATEError Tracking Bypass Rules Partial UpdateConnection
Error Tracking Bypass Rules Partial Update
Authentication
Connected account requiredTags
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 RetrieveConnection
Error Tracking Bypass Rules Retrieve
Authentication
Connected account requiredTags
Error Tracking Bypass Rules UpdatePOSTHOG_ERROR_TRACKING_BYPASS_RULES_UPDATEError Tracking Bypass Rules UpdateConnection
Error Tracking Bypass Rules Update
Authentication
Connected account requiredTags
Error Tracking External References CreatePOSTHOG_ERROR_TRACKING_EXTERNAL_REFERENCES_CREATEError Tracking External References CreateConnection
Error Tracking External References Create
Authentication
Connected account requiredTags
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 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 External References ListPOSTHOG_ERROR_TRACKING_EXTERNAL_REFERENCES_LISTError Tracking External References ListConnection
Error Tracking External References List
Authentication
Connected account requiredTags
Error Tracking External References RetrievePOSTHOG_ERROR_TRACKING_EXTERNAL_REFERENCES_RETRIEVEError Tracking External References RetrieveConnection
Error Tracking External References Retrieve
Authentication
Connected account requiredTags
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 ListConnection
Error Tracking Fingerprints List
Authentication
Connected account requiredTags
Error Tracking Fingerprints RetrievePOSTHOG_ERROR_TRACKING_FINGERPRINTS_RETRIEVEError Tracking Fingerprints RetrieveConnection
Error Tracking Fingerprints Retrieve
Authentication
Connected account requiredTags
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 CreateConnection
Error Tracking Grouping Rules Create
Authentication
Connected account requiredTags
Error Tracking Grouping Rules DestroyPOSTHOG_ERROR_TRACKING_GROUPING_RULES_DESTROYError Tracking Grouping Rules DestroyConnection
Error Tracking Grouping Rules Destroy
Authentication
Connected account requiredTags
Error Tracking Grouping Rules ListPOSTHOG_ERROR_TRACKING_GROUPING_RULES_LISTError Tracking Grouping Rules ListConnection
Error Tracking Grouping Rules List
Authentication
Connected account requiredTags
Error Tracking Grouping Rules Partial UpdatePOSTHOG_ERROR_TRACKING_GROUPING_RULES_PARTIAL_UPDATEError Tracking Grouping Rules Partial UpdateConnection
Error Tracking Grouping Rules Partial Update
Authentication
Connected account requiredTags
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 RetrieveConnection
Error Tracking Grouping Rules Retrieve
Authentication
Connected account requiredTags
Error Tracking Grouping Rules UpdatePOSTHOG_ERROR_TRACKING_GROUPING_RULES_UPDATEError Tracking Grouping Rules UpdateConnection
Error Tracking Grouping Rules Update
Authentication
Connected account requiredTags
Error Tracking Issues Activity RetrievePOSTHOG_ERROR_TRACKING_ISSUES_ACTIVITY_RETRIEVEError Tracking Issues Activity RetrieveConnection
Error Tracking Issues Activity Retrieve
Authentication
Connected account requiredTags
Error Tracking Issues All Activity RetrievePOSTHOG_ERROR_TRACKING_ISSUES_ALL_ACTIVITY_RETRIEVEError Tracking Issues All Activity RetrieveConnection
Error Tracking Issues All Activity Retrieve
Authentication
Connected account requiredTags
Error Tracking Issues Assign Partial UpdatePOSTHOG_ERROR_TRACKING_ISSUES_ASSIGN_PARTIAL_UPDATEError Tracking Issues Assign Partial UpdateConnection
Error Tracking Issues Assign Partial Update
Authentication
Connected account requiredTags
Error Tracking Issues Bulk CreatePOSTHOG_ERROR_TRACKING_ISSUES_BULK_CREATEError Tracking Issues Bulk CreateConnection
Error Tracking Issues Bulk Create
Authentication
Connected account requiredTags
Error Tracking Issues Cohort UpdatePOSTHOG_ERROR_TRACKING_ISSUES_COHORT_UPDATEError Tracking Issues Cohort UpdateConnection
Error Tracking Issues Cohort Update
Authentication
Connected account requiredTags
Error Tracking Issues DestroyPOSTHOG_ERROR_TRACKING_ISSUES_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 Issues Exists RetrievePOSTHOG_ERROR_TRACKING_ISSUES_EXISTS_RETRIEVEError Tracking Issues Exists RetrieveConnection
Error Tracking Issues Exists Retrieve
Authentication
Connected account requiredTags
Error Tracking Issues ListPOSTHOG_ERROR_TRACKING_ISSUES_LISTError Tracking Issues ListConnection
Error Tracking Issues List
Authentication
Connected account requiredTags
Error Tracking Issues Merge CreatePOSTHOG_ERROR_TRACKING_ISSUES_MERGE_CREATEError Tracking Issues Merge CreateConnection
Error Tracking Issues Merge Create
Authentication
Connected account requiredTags
Error Tracking Issues Partial UpdatePOSTHOG_ERROR_TRACKING_ISSUES_PARTIAL_UPDATEError Tracking Issues Partial UpdateConnection
Error Tracking Issues Partial Update
Authentication
Connected account requiredTags
Error Tracking Issues RetrievePOSTHOG_ERROR_TRACKING_ISSUES_RETRIEVEError Tracking Issues RetrieveConnection
Error Tracking Issues Retrieve
Authentication
Connected account requiredTags
Error Tracking Issues Split CreatePOSTHOG_ERROR_TRACKING_ISSUES_SPLIT_CREATEError Tracking Issues Split CreateConnection
Error Tracking Issues Split Create
Authentication
Connected account requiredTags
Error Tracking Issues UpdatePOSTHOG_ERROR_TRACKING_ISSUES_UPDATEError Tracking Issues UpdateConnection
Error Tracking Issues Update
Authentication
Connected account requiredTags
Error Tracking Issues Values RetrievePOSTHOG_ERROR_TRACKING_ISSUES_VALUES_RETRIEVEError Tracking Issues Values RetrieveConnection
Error Tracking Issues Values Retrieve
Authentication
Connected account requiredTags
List compact error tracking issuesPOSTHOG_ERROR_TRACKING_QUERY_ISSUES_LIST_CREATEList error tracking issues with typed filters and compact aggregate counts.Connection
List error tracking issues with typed filters and compact aggregate counts.
Authentication
Connected account requiredTags
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.Connection
Fetch one error tracking issue with impact counts, top in_app frame, latest release, and optional sparkline.
Authentication
Connected account requiredTags
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.Connection
Fetch sampled exception events, stack traces, browser/SDK context, URL, and $session_id values for one issue.
Authentication
Connected account requiredTags
Error Tracking Recommendations Dismiss CreatePOSTHOG_ERROR_TRACKING_RECOMMENDATIONS_DISMISS_CREATEError Tracking Recommendations Dismiss CreateConnection
Error Tracking Recommendations Dismiss Create
Authentication
Connected account requiredTags
Error Tracking Recommendations ListPOSTHOG_ERROR_TRACKING_RECOMMENDATIONS_LISTError Tracking Recommendations ListConnection
Error Tracking Recommendations List
Authentication
Connected account requiredTags
Error Tracking Recommendations Refresh CreatePOSTHOG_ERROR_TRACKING_RECOMMENDATIONS_REFRESH_CREATEError Tracking Recommendations Refresh CreateConnection
Error Tracking Recommendations Refresh Create
Authentication
Connected account requiredTags
Error Tracking Recommendations Restore CreatePOSTHOG_ERROR_TRACKING_RECOMMENDATIONS_RESTORE_CREATEError Tracking Recommendations Restore CreateConnection
Error Tracking Recommendations Restore Create
Authentication
Connected account requiredTags
Error Tracking Releases CreatePOSTHOG_ERROR_TRACKING_RELEASES_CREATEError Tracking Releases CreateConnection
Error Tracking Releases Create
Authentication
Connected account requiredTags
Error Tracking Releases DestroyPOSTHOG_ERROR_TRACKING_RELEASES_DESTROYError Tracking Releases DestroyConnection
Error Tracking Releases Destroy
Authentication
Connected account requiredTags
Error Tracking Releases Hash RetrievePOSTHOG_ERROR_TRACKING_RELEASES_HASH_RETRIEVEError Tracking Releases Hash RetrieveConnection
Error Tracking Releases Hash Retrieve
Authentication
Connected account requiredTags
Error Tracking Releases ListPOSTHOG_ERROR_TRACKING_RELEASES_LISTError Tracking Releases ListConnection
Error Tracking Releases List
Authentication
Connected account requiredTags
Error Tracking Releases Partial UpdatePOSTHOG_ERROR_TRACKING_RELEASES_PARTIAL_UPDATEError Tracking Releases Partial UpdateConnection
Error Tracking Releases Partial Update
Authentication
Connected account requiredTags
Error Tracking Releases RetrievePOSTHOG_ERROR_TRACKING_RELEASES_RETRIEVEError Tracking Releases RetrieveConnection
Error Tracking Releases Retrieve
Authentication
Connected account requiredTags
Error Tracking Releases UpdatePOSTHOG_ERROR_TRACKING_RELEASES_UPDATEError Tracking Releases UpdateConnection
Error Tracking Releases Update
Authentication
Connected account requiredTags
Error Tracking Settings Retrieve Settings RetrievePOSTHOG_ERROR_TRACKING_SETTINGS_RETRIEVE_SETTINGS_RETRIEVEError Tracking Settings Retrieve Settings RetrieveConnection
Error Tracking Settings Retrieve Settings Retrieve
Authentication
Connected account requiredTags
Error Tracking Settings Update Settings Partial UpdatePOSTHOG_ERROR_TRACKING_SETTINGS_UPDATE_SETTINGS_PARTIAL_UPDATEError Tracking Settings Update Settings Partial UpdateConnection
Error Tracking Settings Update Settings Partial Update
Authentication
Connected account requiredTags
Error Tracking Spike Detection Config ListPOSTHOG_ERROR_TRACKING_SPIKE_DETECTION_CONFIG_LISTError Tracking Spike Detection Config ListConnection
Error Tracking Spike Detection Config List
Authentication
Connected account requiredTags
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 ListConnection
Error Tracking Spike Events List
Authentication
Connected account requiredTags
Error Tracking Stack Frames Batch Get CreatePOSTHOG_ERROR_TRACKING_STACK_FRAMES_BATCH_GET_CREATEError Tracking Stack Frames Batch Get CreateConnection
Error Tracking Stack Frames Batch Get Create
Authentication
Connected account requiredTags
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 ListConnection
Error Tracking Stack Frames List
Authentication
Connected account requiredTags
Error Tracking Stack Frames RetrievePOSTHOG_ERROR_TRACKING_STACK_FRAMES_RETRIEVEError Tracking Stack Frames RetrieveConnection
Error Tracking Stack Frames Retrieve
Authentication
Connected account requiredTags
Error Tracking Suppression Rules CreatePOSTHOG_ERROR_TRACKING_SUPPRESSION_RULES_CREATEError Tracking Suppression Rules CreateConnection
Error Tracking Suppression Rules Create
Authentication
Connected account requiredTags
Error Tracking Suppression Rules DestroyPOSTHOG_ERROR_TRACKING_SUPPRESSION_RULES_DESTROYError Tracking Suppression Rules DestroyConnection
Error Tracking Suppression Rules Destroy
Authentication
Connected account requiredTags
Error Tracking Suppression Rules ListPOSTHOG_ERROR_TRACKING_SUPPRESSION_RULES_LISTError Tracking Suppression Rules ListConnection
Error Tracking Suppression Rules List
Authentication
Connected account requiredTags
Error Tracking Suppression Rules Partial UpdatePOSTHOG_ERROR_TRACKING_SUPPRESSION_RULES_PARTIAL_UPDATEError Tracking Suppression Rules Partial UpdateConnection
Error Tracking Suppression Rules Partial Update
Authentication
Connected account requiredTags
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 RetrieveConnection
Error Tracking Suppression Rules Retrieve
Authentication
Connected account requiredTags
Error Tracking Suppression Rules UpdatePOSTHOG_ERROR_TRACKING_SUPPRESSION_RULES_UPDATEError Tracking Suppression Rules UpdateConnection
Error Tracking Suppression Rules Update
Authentication
Connected account requiredTags
Error Tracking Symbol Sets Bulk Delete CreatePOSTHOG_ERROR_TRACKING_SYMBOL_SETS_BULK_DELETE_CREATEError Tracking Symbol Sets Bulk Delete CreateConnection
Error Tracking Symbol Sets Bulk Delete Create
Authentication
Connected account requiredTags
Error Tracking Symbol Sets Bulk Finish Upload CreatePOSTHOG_ERROR_TRACKING_SYMBOL_SETS_BULK_FINISH_UPLOAD_CREATEError Tracking Symbol Sets Bulk Finish Upload CreateConnection
Error Tracking Symbol Sets Bulk Finish Upload Create
Authentication
Connected account requiredTags
Error Tracking Symbol Sets Bulk Start Upload CreatePOSTHOG_ERROR_TRACKING_SYMBOL_SETS_BULK_START_UPLOAD_CREATEError Tracking Symbol Sets Bulk Start Upload CreateConnection
Error Tracking Symbol Sets Bulk Start Upload Create
Authentication
Connected account requiredTags
Error Tracking Symbol Sets DestroyPOSTHOG_ERROR_TRACKING_SYMBOL_SETS_DESTROYError Tracking Symbol Sets DestroyConnection
Error Tracking Symbol Sets Destroy
Authentication
Connected account requiredTags
Error Tracking Symbol Sets Download RetrievePOSTHOG_ERROR_TRACKING_SYMBOL_SETS_DOWNLOAD_RETRIEVEReturn a presigned URL for downloading the symbol set's source map.Connection
Return a presigned URL for downloading the symbol set's source map.
Authentication
Connected account requiredTags
Error Tracking Symbol Sets Finish Upload UpdatePOSTHOG_ERROR_TRACKING_SYMBOL_SETS_FINISH_UPLOAD_UPDATEError Tracking Symbol Sets Finish Upload UpdateConnection
Error Tracking Symbol Sets Finish Upload Update
Authentication
Connected account requiredTags
Error Tracking Symbol Sets ListPOSTHOG_ERROR_TRACKING_SYMBOL_SETS_LISTError Tracking Symbol Sets ListConnection
Error Tracking Symbol Sets List
Authentication
Connected account requiredTags
Error Tracking Symbol Sets RetrievePOSTHOG_ERROR_TRACKING_SYMBOL_SETS_RETRIEVEError Tracking Symbol Sets RetrieveConnection
Error Tracking Symbol Sets Retrieve
Authentication
Connected account requiredTags
Evaluations CreatePOSTHOG_EVALUATIONS_CREATEEvaluations CreateConnection
Evaluations Create
Authentication
Connected account requiredTags
Evaluations DestroyPOSTHOG_EVALUATIONS_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
Evaluations ListPOSTHOG_EVALUATIONS_LISTEvaluations ListConnection
Evaluations List
Authentication
Connected account requiredTags
Evaluations Partial UpdatePOSTHOG_EVALUATIONS_PARTIAL_UPDATEEvaluations Partial UpdateConnection
Evaluations Partial Update
Authentication
Connected account requiredTags
Evaluations RetrievePOSTHOG_EVALUATIONS_RETRIEVEEvaluations RetrieveConnection
Evaluations Retrieve
Authentication
Connected account requiredTags
Evaluations Test Hog CreatePOSTHOG_EVALUATIONS_TEST_HOG_CREATETest Hog evaluation code against sample events without saving.Connection
Test Hog evaluation code against sample events without saving.
Authentication
Connected account requiredTags
Evaluations UpdatePOSTHOG_EVALUATIONS_UPDATEEvaluations UpdateConnection
Evaluations Update
Authentication
Connected account requiredTags
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.Connection
Create a new evaluation run. This endpoint validates the request and enqueues a Temporal workflow to asynchronously execute the evaluation.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Events RetrievePOSTHOG_EVENTS_RETRIEVEEvents RetrieveConnection
Events Retrieve
Authentication
Connected account requiredTags
Events Values RetrievePOSTHOG_EVENTS_VALUES_RETRIEVEEvents Values RetrieveConnection
Events Values Retrieve
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Event Definitions By Name RetrievePOSTHOG_EVENT_DEFINITIONS_BY_NAME_RETRIEVEGet event definition by exact nameConnection
Get event definition by exact name
Authentication
Connected account requiredTags
Event Definitions CreatePOSTHOG_EVENT_DEFINITIONS_CREATEEvent Definitions CreateConnection
Event Definitions Create
Authentication
Connected account requiredTags
Event Definitions DestroyPOSTHOG_EVENT_DEFINITIONS_DESTROYEvent Definitions DestroyConnection
Event Definitions Destroy
Authentication
Connected account requiredTags
Event Definitions Golang RetrievePOSTHOG_EVENT_DEFINITIONS_GOLANG_RETRIEVEEvent Definitions Golang RetrieveConnection
Event Definitions Golang Retrieve
Authentication
Connected account requiredTags
Event Definitions ListPOSTHOG_EVENT_DEFINITIONS_LISTEvent Definitions ListConnection
Event Definitions List
Authentication
Connected account requiredTags
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 UpdateConnection
Event Definitions Partial Update
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Event Definitions Python RetrievePOSTHOG_EVENT_DEFINITIONS_PYTHON_RETRIEVEEvent Definitions Python RetrieveConnection
Event Definitions Python Retrieve
Authentication
Connected account requiredTags
Event Definitions RetrievePOSTHOG_EVENT_DEFINITIONS_RETRIEVEEvent Definitions RetrieveConnection
Event Definitions Retrieve
Authentication
Connected account requiredTags
Event Definitions Typescript RetrievePOSTHOG_EVENT_DEFINITIONS_TYPESCRIPT_RETRIEVEEvent Definitions Typescript RetrieveConnection
Event Definitions Typescript Retrieve
Authentication
Connected account requiredTags
Event Definitions UpdatePOSTHOG_EVENT_DEFINITIONS_UPDATEEvent Definitions UpdateConnection
Event Definitions Update
Authentication
Connected account requiredTags
Event Filter CreatePOSTHOG_EVENT_FILTER_CREATECreate or update the event filter config.Connection
Create or update the event filter config.
Authentication
Connected account requiredTags
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 totalsConnection
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 requiredTags
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 totalsConnection
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 requiredTags
Event Filter RetrievePOSTHOG_EVENT_FILTER_RETRIEVEReturns the event filter config for the team, or null if not yet created.Connection
Returns the event filter config for the team, or null if not yet created.
Authentication
Connected account requiredTags
Event Schemas CreatePOSTHOG_EVENT_SCHEMAS_CREATEEvent Schemas CreateConnection
Event Schemas Create
Authentication
Connected account requiredTags
Event Schemas DestroyPOSTHOG_EVENT_SCHEMAS_DESTROYEvent Schemas DestroyConnection
Event Schemas Destroy
Authentication
Connected account requiredTags
Event Schemas ListPOSTHOG_EVENT_SCHEMAS_LISTEvent Schemas ListConnection
Event Schemas List
Authentication
Connected account requiredTags
Event Schemas Partial UpdatePOSTHOG_EVENT_SCHEMAS_PARTIAL_UPDATEEvent Schemas Partial UpdateConnection
Event Schemas Partial Update
Authentication
Connected account requiredTags
Event Schemas UpdatePOSTHOG_EVENT_SCHEMAS_UPDATEEvent Schemas UpdateConnection
Event Schemas Update
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Experiments Copy To Project CreatePOSTHOG_EXPERIMENTS_COPY_TO_PROJECT_CREATECopy an experiment into another project in the same organization as a new draft.Connection
Copy an experiment into another project in the same organization as a new draft.
Authentication
Connected account requiredTags
Experiments CreatePOSTHOG_EXPERIMENTS_CREATECreate a new experiment in draft status with optional metrics.Connection
Create a new experiment in draft status with optional metrics.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Experiments DestroyPOSTHOG_EXPERIMENTS_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
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.Connection
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 requiredTags
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")Connection
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 requiredTags
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.Connection
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 requiredTags
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).Connection
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 requiredTags
Experiments ListPOSTHOG_EXPERIMENTS_LISTList experiments for the current project. Supports filtering by status and archival state.Connection
List experiments for the current project. Supports filtering by status and archival state.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Experiments Prompt Templates RetrievePOSTHOG_EXPERIMENTS_PROMPT_TEMPLATES_RETRIEVEList the LLM metric templates that can be passed to `create_from_prompt`.Connection
List the LLM metric templates that can be passed to `create_from_prompt`.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Experiments RetrievePOSTHOG_EXPERIMENTS_RETRIEVERetrieve a single experiment by ID, including its current status, metrics, feature flag, and results metadata.Connection
Retrieve a single experiment by ID, including its current status, metrics, feature flag, and results metadata.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
Unarchive an archived experiment. Restores the experiment to the default list view. Returns 400 if the experiment is not currently archived.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Experiment Holdouts CreatePOSTHOG_EXPERIMENT_HOLDOUTS_CREATEExperiment Holdouts CreateConnection
Experiment Holdouts Create
Authentication
Connected account requiredTags
Experiment Holdouts DestroyPOSTHOG_EXPERIMENT_HOLDOUTS_DESTROYExperiment Holdouts DestroyConnection
Experiment Holdouts Destroy
Authentication
Connected account requiredTags
Experiment Holdouts ListPOSTHOG_EXPERIMENT_HOLDOUTS_LISTExperiment Holdouts ListConnection
Experiment Holdouts List
Authentication
Connected account requiredTags
Experiment Holdouts Partial UpdatePOSTHOG_EXPERIMENT_HOLDOUTS_PARTIAL_UPDATEExperiment Holdouts Partial UpdateConnection
Experiment Holdouts Partial Update
Authentication
Connected account requiredTags
Experiment Holdouts RetrievePOSTHOG_EXPERIMENT_HOLDOUTS_RETRIEVEExperiment Holdouts RetrieveConnection
Experiment Holdouts Retrieve
Authentication
Connected account requiredTags
Experiment Holdouts UpdatePOSTHOG_EXPERIMENT_HOLDOUTS_UPDATEExperiment Holdouts UpdateConnection
Experiment Holdouts Update
Authentication
Connected account requiredTags
Experiment Saved Metrics CreatePOSTHOG_EXPERIMENT_SAVED_METRICS_CREATEExperiment Saved Metrics CreateConnection
Experiment Saved Metrics Create
Authentication
Connected account requiredTags
Experiment Saved Metrics DestroyPOSTHOG_EXPERIMENT_SAVED_METRICS_DESTROYExperiment Saved Metrics DestroyConnection
Experiment Saved Metrics Destroy
Authentication
Connected account requiredTags
Experiment Saved Metrics ListPOSTHOG_EXPERIMENT_SAVED_METRICS_LISTExperiment Saved Metrics ListConnection
Experiment Saved Metrics List
Authentication
Connected account requiredTags
Experiment Saved Metrics Partial UpdatePOSTHOG_EXPERIMENT_SAVED_METRICS_PARTIAL_UPDATEExperiment Saved Metrics Partial UpdateConnection
Experiment Saved Metrics Partial Update
Authentication
Connected account requiredTags
Experiment Saved Metrics RetrievePOSTHOG_EXPERIMENT_SAVED_METRICS_RETRIEVEExperiment Saved Metrics RetrieveConnection
Experiment Saved Metrics Retrieve
Authentication
Connected account requiredTags
Experiment Saved Metrics UpdatePOSTHOG_EXPERIMENT_SAVED_METRICS_UPDATEExperiment Saved Metrics UpdateConnection
Experiment Saved Metrics Update
Authentication
Connected account requiredTags
Exports Content RetrievePOSTHOG_EXPORTS_CONTENT_RETRIEVEExports Content RetrieveConnection
Exports Content Retrieve
Authentication
Connected account requiredTags
Exports CreatePOSTHOG_EXPORTS_CREATEExports CreateConnection
Exports Create
Authentication
Connected account requiredTags
Exports ListPOSTHOG_EXPORTS_LISTExports ListConnection
Exports List
Authentication
Connected account requiredTags
Exports RetrievePOSTHOG_EXPORTS_RETRIEVEExports RetrieveConnection
Exports Retrieve
Authentication
Connected account requiredTags
External Data Schemas Cancel CreatePOSTHOG_EXTERNAL_DATA_SCHEMAS_CANCEL_CREATEExternal Data Schemas Cancel CreateConnection
External Data Schemas Cancel Create
Authentication
Connected account requiredTags
External Data Schemas CreatePOSTHOG_EXTERNAL_DATA_SCHEMAS_CREATEExternal Data Schemas CreateConnection
External Data Schemas Create
Authentication
Connected account requiredTags
External Data Schemas Delete Data DestroyPOSTHOG_EXTERNAL_DATA_SCHEMAS_DELETE_DATA_DESTROYExternal Data Schemas Delete Data DestroyConnection
External Data Schemas Delete Data Destroy
Authentication
Connected account requiredTags
External Data Schemas DestroyPOSTHOG_EXTERNAL_DATA_SCHEMAS_DESTROYExternal Data Schemas DestroyConnection
External Data Schemas Destroy
Authentication
Connected account requiredTags
External Data Schemas Incremental Fields CreatePOSTHOG_EXTERNAL_DATA_SCHEMAS_INCREMENTAL_FIELDS_CREATEExternal Data Schemas Incremental Fields CreateConnection
External Data Schemas Incremental Fields Create
Authentication
Connected account requiredTags
External Data Schemas ListPOSTHOG_EXTERNAL_DATA_SCHEMAS_LISTExternal Data Schemas ListConnection
External Data Schemas List
Authentication
Connected account requiredTags
External Data Schemas Logs RetrievePOSTHOG_EXTERNAL_DATA_SCHEMAS_LOGS_RETRIEVEExternal Data Schemas Logs RetrieveConnection
External Data Schemas Logs Retrieve
Authentication
Connected account requiredTags
External Data Schemas Partial UpdatePOSTHOG_EXTERNAL_DATA_SCHEMAS_PARTIAL_UPDATEExternal Data Schemas Partial UpdateConnection
External Data Schemas Partial Update
Authentication
Connected account requiredTags
External Data Schemas Reload CreatePOSTHOG_EXTERNAL_DATA_SCHEMAS_RELOAD_CREATEExternal Data Schemas Reload CreateConnection
External Data Schemas Reload Create
Authentication
Connected account requiredTags
External Data Schemas Resync CreatePOSTHOG_EXTERNAL_DATA_SCHEMAS_RESYNC_CREATEExternal Data Schemas Resync CreateConnection
External Data Schemas Resync Create
Authentication
Connected account requiredTags
External Data Schemas RetrievePOSTHOG_EXTERNAL_DATA_SCHEMAS_RETRIEVEExternal Data Schemas RetrieveConnection
External Data Schemas Retrieve
Authentication
Connected account requiredTags
External Data Schemas UpdatePOSTHOG_EXTERNAL_DATA_SCHEMAS_UPDATEExternal Data Schemas UpdateConnection
External Data Schemas Update
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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).Connection
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 requiredTags
External Data Sources Connections ListPOSTHOG_EXTERNAL_DATA_SOURCES_CONNECTIONS_LISTCreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
External Data Sources CreatePOSTHOG_EXTERNAL_DATA_SOURCES_CREATECreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
External Data Sources Create Webhook CreatePOSTHOG_EXTERNAL_DATA_SOURCES_CREATE_WEBHOOK_CREATECreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
External Data Sources Database Schema CreatePOSTHOG_EXTERNAL_DATA_SOURCES_DATABASE_SCHEMA_CREATECreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
External Data Sources Delete Webhook CreatePOSTHOG_EXTERNAL_DATA_SOURCES_DELETE_WEBHOOK_CREATECreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
External Data Sources DestroyPOSTHOG_EXTERNAL_DATA_SOURCES_DESTROYCreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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).Connection
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 requiredTags
External Data Sources Jobs RetrievePOSTHOG_EXTERNAL_DATA_SOURCES_JOBS_RETRIEVECreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
External Data Sources ListPOSTHOG_EXTERNAL_DATA_SOURCES_LISTCreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
External Data Sources Partial UpdatePOSTHOG_EXTERNAL_DATA_SOURCES_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 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`.Connection
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 requiredTags
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).Connection
Fetch current schema/table list from the source and create any new ExternalDataSchema rows (no data sync).
Authentication
Connected account requiredTags
External Data Sources Reload CreatePOSTHOG_EXTERNAL_DATA_SOURCES_RELOAD_CREATECreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
External Data Sources RetrievePOSTHOG_EXTERNAL_DATA_SOURCES_RETRIEVECreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
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.Connection
Update the revenue analytics configuration and return the full external data source.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
External Data Sources Source Prefix CreatePOSTHOG_EXTERNAL_DATA_SOURCES_SOURCE_PREFIX_CREATECreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
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`.Connection
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 requiredTags
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.Connection
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 requiredTags
External Data Sources UpdatePOSTHOG_EXTERNAL_DATA_SOURCES_UPDATECreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
External Data Sources Update Webhook Inputs CreatePOSTHOG_EXTERNAL_DATA_SOURCES_UPDATE_WEBHOOK_INPUTS_CREATECreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
External Data Sources Webhook Info RetrievePOSTHOG_EXTERNAL_DATA_SOURCES_WEBHOOK_INFO_RETRIEVECreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
External Data Sources Wizard RetrievePOSTHOG_EXTERNAL_DATA_SOURCES_WIZARD_RETRIEVECreate, Read, Update and Delete External data Sources.Connection
Create, Read, Update and Delete External data Sources.
Authentication
Connected account requiredTags
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.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 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.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 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.Connection
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 requiredTags
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.Connection
Get feature flag keys by IDs. Accepts a list of feature flag IDs and returns a mapping of ID to key.
Authentication
Connected account requiredTags
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 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
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.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 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.Connection
Get other active flags that depend on this flag.
Authentication
Connected account requiredTags
Feature Flags DestroyPOSTHOG_FEATURE_FLAGS_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
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.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 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.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 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.Connection
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 requiredTags
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.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 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.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 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.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 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.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 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.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 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.Connection
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 requiredTags
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.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 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.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 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.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
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
File Download Batch Exports Cancel CreatePOSTHOG_FILE_DOWNLOAD_BATCH_EXPORTS_CANCEL_CREATECancel an ongoing file-download batch export.Connection
Cancel an ongoing file-download batch export.
Authentication
Connected account requiredTags
File Download Batch Exports CreatePOSTHOG_FILE_DOWNLOAD_BATCH_EXPORTS_CREATECreate and start a batch export on demand run to download a file.Connection
Create and start a batch export on demand run to download a file.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
File Download Batch Exports ListPOSTHOG_FILE_DOWNLOAD_BATCH_EXPORTS_LISTFile Download Batch Exports ListConnection
File Download Batch Exports List
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
File System Count By Path CreatePOSTHOG_FILE_SYSTEM_COUNT_BY_PATH_CREATEGet count of all files in a folder.Connection
Get count of all files in a folder.
Authentication
Connected account requiredTags
File System Count CreatePOSTHOG_FILE_SYSTEM_COUNT_CREATEGet count of all files in a folder.Connection
Get count of all files in a folder.
Authentication
Connected account requiredTags
File System CreatePOSTHOG_FILE_SYSTEM_CREATEFile System CreateConnection
File System Create
Authentication
Connected account requiredTags
File System DestroyPOSTHOG_FILE_SYSTEM_DESTROYFile System DestroyConnection
File System Destroy
Authentication
Connected account requiredTags
File System Link CreatePOSTHOG_FILE_SYSTEM_LINK_CREATEFile System Link CreateConnection
File System Link Create
Authentication
Connected account requiredTags
File System ListPOSTHOG_FILE_SYSTEM_LISTFile System ListConnection
File System List
Authentication
Connected account requiredTags
File System Log View CreatePOSTHOG_FILE_SYSTEM_LOG_VIEW_CREATEFile System Log View CreateConnection
File System Log View Create
Authentication
Connected account requiredTags
File System Log View RetrievePOSTHOG_FILE_SYSTEM_LOG_VIEW_RETRIEVEFile System Log View RetrieveConnection
File System Log View Retrieve
Authentication
Connected account requiredTags
File System Move CreatePOSTHOG_FILE_SYSTEM_MOVE_CREATEFile System Move CreateConnection
File System Move Create
Authentication
Connected account requiredTags
File System Partial UpdatePOSTHOG_FILE_SYSTEM_PARTIAL_UPDATEFile System Partial UpdateConnection
File System Partial Update
Authentication
Connected account requiredTags
File System RetrievePOSTHOG_FILE_SYSTEM_RETRIEVEFile System RetrieveConnection
File System Retrieve
Authentication
Connected account requiredTags
File System Shortcut CreatePOSTHOG_FILE_SYSTEM_SHORTCUT_CREATEFile System Shortcut CreateConnection
File System Shortcut Create
Authentication
Connected account requiredTags
File System Shortcut DestroyPOSTHOG_FILE_SYSTEM_SHORTCUT_DESTROYFile System Shortcut DestroyConnection
File System Shortcut Destroy
Authentication
Connected account requiredTags
File System Shortcut ListPOSTHOG_FILE_SYSTEM_SHORTCUT_LISTFile System Shortcut ListConnection
File System Shortcut List
Authentication
Connected account requiredTags
File System Shortcut Partial UpdatePOSTHOG_FILE_SYSTEM_SHORTCUT_PARTIAL_UPDATEFile System Shortcut Partial UpdateConnection
File System Shortcut Partial Update
Authentication
Connected account requiredTags
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 RetrieveConnection
File System Shortcut Retrieve
Authentication
Connected account requiredTags
File System Shortcut UpdatePOSTHOG_FILE_SYSTEM_SHORTCUT_UPDATEFile System Shortcut UpdateConnection
File System Shortcut Update
Authentication
Connected account requiredTags
File System Undo Delete CreatePOSTHOG_FILE_SYSTEM_UNDO_DELETE_CREATEFile System Undo Delete CreateConnection
File System Undo Delete Create
Authentication
Connected account requiredTags
File System Unfiled RetrievePOSTHOG_FILE_SYSTEM_UNFILED_RETRIEVEFile System Unfiled RetrieveConnection
File System Unfiled Retrieve
Authentication
Connected account requiredTags
File System UpdatePOSTHOG_FILE_SYSTEM_UPDATEFile System UpdateConnection
File System Update
Authentication
Connected account requiredTags
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 RetrieveConnection
Groups Activity Retrieve
Authentication
Connected account requiredTags
Groups CreatePOSTHOG_GROUPS_CREATEGroups CreateConnection
Groups Create
Authentication
Connected account requiredTags
Groups Delete Property CreatePOSTHOG_GROUPS_DELETE_PROPERTY_CREATEGroups Delete Property CreateConnection
Groups Delete Property Create
Authentication
Connected account requiredTags
Groups Find RetrievePOSTHOG_GROUPS_FIND_RETRIEVEGroups Find RetrieveConnection
Groups Find Retrieve
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Groups Property Values RetrievePOSTHOG_GROUPS_PROPERTY_VALUES_RETRIEVEGroups Property Values RetrieveConnection
Groups Property Values Retrieve
Authentication
Connected account requiredTags
Groups Related RetrievePOSTHOG_GROUPS_RELATED_RETRIEVEGroups Related RetrieveConnection
Groups Related Retrieve
Authentication
Connected account requiredTags
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 DestroyConnection
Groups Types Destroy
Authentication
Connected account requiredTags
Groups Types ListPOSTHOG_GROUPS_TYPES_LISTGroups Types ListConnection
Groups Types List
Authentication
Connected account requiredTags
Groups Types Metrics CreatePOSTHOG_GROUPS_TYPES_METRICS_CREATEGroups Types Metrics CreateConnection
Groups Types Metrics Create
Authentication
Connected account requiredTags
Groups Types Metrics DestroyPOSTHOG_GROUPS_TYPES_METRICS_DESTROYGroups Types Metrics DestroyConnection
Groups Types Metrics Destroy
Authentication
Connected account requiredTags
Groups Types Metrics ListPOSTHOG_GROUPS_TYPES_METRICS_LISTGroups Types Metrics ListConnection
Groups Types Metrics List
Authentication
Connected account requiredTags
Groups Types Metrics Partial UpdatePOSTHOG_GROUPS_TYPES_METRICS_PARTIAL_UPDATEGroups Types Metrics Partial UpdateConnection
Groups Types Metrics Partial Update
Authentication
Connected account requiredTags
Groups Types Metrics RetrievePOSTHOG_GROUPS_TYPES_METRICS_RETRIEVEGroups Types Metrics RetrieveConnection
Groups Types Metrics Retrieve
Authentication
Connected account requiredTags
Groups Types Metrics UpdatePOSTHOG_GROUPS_TYPES_METRICS_UPDATEGroups Types Metrics UpdateConnection
Groups Types Metrics Update
Authentication
Connected account requiredTags
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 CreateConnection
Groups Update Property Create
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Health Issues Partial UpdatePOSTHOG_HEALTH_ISSUES_PARTIAL_UPDATEHealth Issues Partial UpdateConnection
Health Issues Partial Update
Authentication
Connected account requiredTags
Health Issues Refresh CreatePOSTHOG_HEALTH_ISSUES_REFRESH_CREATEHealth Issues Refresh CreateConnection
Health Issues Refresh Create
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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).Connection
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 requiredTags
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.Connection
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 requiredTags
Hog Flows Assets RetrievePOSTHOG_HOG_FLOWS_ASSETS_RETRIEVEHog Flows Assets RetrieveConnection
Hog Flows Assets Retrieve
Authentication
Connected account requiredTags
Hog Flows Asset Content RetrievePOSTHOG_HOG_FLOWS_ASSET_CONTENT_RETRIEVEHog Flows Asset Content RetrieveConnection
Hog Flows Asset Content Retrieve
Authentication
Connected account requiredTags
Hog Flows Batch Jobs CreatePOSTHOG_HOG_FLOWS_BATCH_JOBS_CREATEHog Flows Batch Jobs CreateConnection
Hog Flows Batch Jobs Create
Authentication
Connected account requiredTags
Hog Flows Batch Jobs ListPOSTHOG_HOG_FLOWS_BATCH_JOBS_LISTHog Flows Batch Jobs ListConnection
Hog Flows Batch Jobs List
Authentication
Connected account requiredTags
Hog Flows Bulk Delete CreatePOSTHOG_HOG_FLOWS_BULK_DELETE_CREATEHog Flows Bulk Delete CreateConnection
Hog Flows Bulk Delete Create
Authentication
Connected account requiredTags
Hog Flows CreatePOSTHOG_HOG_FLOWS_CREATEHog Flows CreateConnection
Hog Flows Create
Authentication
Connected account requiredTags
Hog Flows DestroyPOSTHOG_HOG_FLOWS_DESTROYHog Flows DestroyConnection
Hog Flows Destroy
Authentication
Connected account requiredTags
Hog Flows Graph Partial UpdatePOSTHOG_HOG_FLOWS_GRAPH_PARTIAL_UPDATEHog Flows Graph Partial UpdateConnection
Hog Flows Graph Partial Update
Authentication
Connected account requiredTags
Hog Flows Invocations CreatePOSTHOG_HOG_FLOWS_INVOCATIONS_CREATEHog Flows Invocations CreateConnection
Hog Flows Invocations Create
Authentication
Connected account requiredTags
Hog Flows Invocation Results RetrievePOSTHOG_HOG_FLOWS_INVOCATION_RESULTS_RETRIEVEHog Flows Invocation Results RetrieveConnection
Hog Flows Invocation Results Retrieve
Authentication
Connected account requiredTags
Hog Flows Invocation Result RetrievePOSTHOG_HOG_FLOWS_INVOCATION_RESULT_RETRIEVEHog Flows Invocation Result RetrieveConnection
Hog Flows Invocation Result Retrieve
Authentication
Connected account requiredTags
Hog Flows ListPOSTHOG_HOG_FLOWS_LISTHog Flows ListConnection
Hog Flows List
Authentication
Connected account requiredTags
Hog Flows Logs RetrievePOSTHOG_HOG_FLOWS_LOGS_RETRIEVEHog Flows Logs RetrieveConnection
Hog Flows Logs Retrieve
Authentication
Connected account requiredTags
Hog Flows Metrics Global RetrievePOSTHOG_HOG_FLOWS_METRICS_GLOBAL_RETRIEVEHog Flows Metrics Global RetrieveConnection
Hog Flows Metrics Global Retrieve
Authentication
Connected account requiredTags
Hog Flows Metrics RetrievePOSTHOG_HOG_FLOWS_METRICS_RETRIEVEHog Flows Metrics RetrieveConnection
Hog Flows Metrics Retrieve
Authentication
Connected account requiredTags
Hog Flows Metrics Totals RetrievePOSTHOG_HOG_FLOWS_METRICS_TOTALS_RETRIEVEHog Flows Metrics Totals RetrieveConnection
Hog Flows Metrics Totals Retrieve
Authentication
Connected account requiredTags
Hog Flows Partial UpdatePOSTHOG_HOG_FLOWS_PARTIAL_UPDATEHog Flows Partial UpdateConnection
Hog Flows Partial Update
Authentication
Connected account requiredTags
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`.Connection
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 requiredTags
Hog Flows RetrievePOSTHOG_HOG_FLOWS_RETRIEVEHog Flows RetrieveConnection
Hog Flows Retrieve
Authentication
Connected account requiredTags
Hog Flows Schedules CreatePOSTHOG_HOG_FLOWS_SCHEDULES_CREATEHog Flows Schedules CreateConnection
Hog Flows Schedules Create
Authentication
Connected account requiredTags
Hog Flows Schedules DestroyPOSTHOG_HOG_FLOWS_SCHEDULES_DESTROYHog Flows Schedules DestroyConnection
Hog Flows Schedules Destroy
Authentication
Connected account requiredTags
Hog Flows Schedules ListPOSTHOG_HOG_FLOWS_SCHEDULES_LISTHog Flows Schedules ListConnection
Hog Flows Schedules List
Authentication
Connected account requiredTags
Hog Flows Schedules Partial UpdatePOSTHOG_HOG_FLOWS_SCHEDULES_PARTIAL_UPDATEHog Flows Schedules Partial UpdateConnection
Hog Flows Schedules Partial Update
Authentication
Connected account requiredTags
Hog Flows UpdatePOSTHOG_HOG_FLOWS_UPDATEHog Flows UpdateConnection
Hog Flows Update
Authentication
Connected account requiredTags
Hog Flows User Blast Radius CreatePOSTHOG_HOG_FLOWS_USER_BLAST_RADIUS_CREATEHog Flows User Blast Radius CreateConnection
Hog Flows User Blast Radius Create
Authentication
Connected account requiredTags
Hog Functions CreatePOSTHOG_HOG_FUNCTIONS_CREATEHog Functions CreateConnection
Hog Functions Create
Authentication
Connected account requiredTags
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 Icons RetrievePOSTHOG_HOG_FUNCTIONS_ICONS_RETRIEVEHog Functions Icons RetrieveConnection
Hog Functions Icons Retrieve
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 Invocations CreatePOSTHOG_HOG_FUNCTIONS_INVOCATIONS_CREATEHog Functions Invocations CreateConnection
Hog Functions Invocations Create
Authentication
Connected account requiredTags
Hog Functions ListPOSTHOG_HOG_FUNCTIONS_LISTHog Functions ListConnection
Hog Functions List
Authentication
Connected account requiredTags
Hog Functions Logs RetrievePOSTHOG_HOG_FUNCTIONS_LOGS_RETRIEVEHog Functions Logs RetrieveConnection
Hog Functions Logs Retrieve
Authentication
Connected account requiredTags
Hog Functions Metrics RetrievePOSTHOG_HOG_FUNCTIONS_METRICS_RETRIEVEHog Functions Metrics RetrieveConnection
Hog Functions Metrics Retrieve
Authentication
Connected account requiredTags
Hog Functions Metrics Totals RetrievePOSTHOG_HOG_FUNCTIONS_METRICS_TOTALS_RETRIEVEHog Functions Metrics Totals RetrieveConnection
Hog Functions Metrics Totals Retrieve
Authentication
Connected account requiredTags
Hog Functions Partial UpdatePOSTHOG_HOG_FUNCTIONS_PARTIAL_UPDATEHog Functions Partial UpdateConnection
Hog Functions Partial Update
Authentication
Connected account requiredTags
Hog Functions Rearrange Partial UpdatePOSTHOG_HOG_FUNCTIONS_REARRANGE_PARTIAL_UPDATEUpdate the execution order of multiple HogFunctions.Connection
Update the execution order of multiple HogFunctions.
Authentication
Connected account requiredTags
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`.Connection
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 requiredTags
Hog Functions RetrievePOSTHOG_HOG_FUNCTIONS_RETRIEVEHog Functions RetrieveConnection
Hog Functions Retrieve
Authentication
Connected account requiredTags
Hog Functions UpdatePOSTHOG_HOG_FUNCTIONS_UPDATEHog Functions UpdateConnection
Hog Functions Update
Authentication
Connected account requiredTags
Hog Function Templates ListPOSTHOG_HOG_FUNCTION_TEMPLATES_LISTHog Function Templates ListConnection
Hog Function Templates List
Authentication
Connected account requiredTags
Hog Function Templates RetrievePOSTHOG_HOG_FUNCTION_TEMPLATES_RETRIEVEHog Function Templates RetrieveConnection
Hog Function Templates Retrieve
Authentication
Connected account requiredTags
Identity Provider Configs CreatePOSTHOG_IDENTITY_PROVIDER_CONFIGS_CREATEIdentity Provider Configs CreateConnection
Identity Provider Configs Create
Authentication
Connected account requiredTags
Identity Provider Configs DestroyPOSTHOG_IDENTITY_PROVIDER_CONFIGS_DESTROYIdentity Provider Configs DestroyConnection
Identity Provider Configs Destroy
Authentication
Connected account requiredTags
Identity Provider Configs ListPOSTHOG_IDENTITY_PROVIDER_CONFIGS_LISTIdentity Provider Configs ListConnection
Identity Provider Configs List
Authentication
Connected account requiredTags
Identity Provider Configs Partial UpdatePOSTHOG_IDENTITY_PROVIDER_CONFIGS_PARTIAL_UPDATEIdentity Provider Configs Partial UpdateConnection
Identity Provider Configs Partial Update
Authentication
Connected account requiredTags
Identity Provider Configs RetrievePOSTHOG_IDENTITY_PROVIDER_CONFIGS_RETRIEVEIdentity Provider Configs RetrieveConnection
Identity Provider Configs Retrieve
Authentication
Connected account requiredTags
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 UpdateConnection
Identity Provider Configs Update
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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`.Connection
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 requiredTags
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.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 DestroyPOSTHOG_INSIGHTS_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
Insights Generate Metadata CreatePOSTHOG_INSIGHTS_GENERATE_METADATA_CREATEGenerate an AI-suggested name and description for an insight based on its query configuration.Connection
Generate an AI-suggested name and description for an insight based on its query configuration.
Authentication
Connected account requiredTags
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.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 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.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 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.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 Sharing ListPOSTHOG_INSIGHTS_SHARING_LISTInsights Sharing ListConnection
Insights Sharing List
Authentication
Connected account requiredTags
Insights Sharing Passwords CreatePOSTHOG_INSIGHTS_SHARING_PASSWORDS_CREATECreate a new password for the sharing configuration.Connection
Create a new password for the sharing configuration.
Authentication
Connected account requiredTags
Insights Sharing Passwords DestroyPOSTHOG_INSIGHTS_SHARING_PASSWORDS_DESTROYDelete a password from the sharing configuration.Connection
Delete a password from the sharing configuration.
Authentication
Connected account requiredTags
Insights Sharing Refresh CreatePOSTHOG_INSIGHTS_SHARING_REFRESH_CREATEInsights Sharing Refresh CreateConnection
Insights Sharing Refresh Create
Authentication
Connected account requiredTags
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 ListConnection
Insights Thresholds List
Authentication
Connected account requiredTags
Insights Thresholds RetrievePOSTHOG_INSIGHTS_THRESHOLDS_RETRIEVEInsights Thresholds RetrieveConnection
Insights Thresholds Retrieve
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.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 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.Connection
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 requiredTags
Insight Variables CreatePOSTHOG_INSIGHT_VARIABLES_CREATEInsight Variables CreateConnection
Insight Variables Create
Authentication
Connected account requiredTags
Insight Variables DestroyPOSTHOG_INSIGHT_VARIABLES_DESTROYInsight Variables DestroyConnection
Insight Variables Destroy
Authentication
Connected account requiredTags
Insight Variables ListPOSTHOG_INSIGHT_VARIABLES_LISTInsight Variables ListConnection
Insight Variables List
Authentication
Connected account requiredTags
Insight Variables Partial UpdatePOSTHOG_INSIGHT_VARIABLES_PARTIAL_UPDATEInsight Variables Partial UpdateConnection
Insight Variables Partial Update
Authentication
Connected account requiredTags
Insight Variables RetrievePOSTHOG_INSIGHT_VARIABLES_RETRIEVEInsight Variables RetrieveConnection
Insight Variables Retrieve
Authentication
Connected account requiredTags
Insight Variables UpdatePOSTHOG_INSIGHT_VARIABLES_UPDATEInsight Variables UpdateConnection
Insight Variables Update
Authentication
Connected account requiredTags
Integrations Anthropic Managed Agents RetrievePOSTHOG_INTEGRATIONS_ANTHROPIC_MANAGED_AGENTS_RETRIEVEIntegrations Anthropic Managed Agents RetrieveConnection
Integrations Anthropic Managed Agents Retrieve
Authentication
Connected account requiredTags
Integrations Anthropic Managed Agent Envs RetrievePOSTHOG_INTEGRATIONS_ANTHROPIC_MANAGED_AGENT_ENVS_RETRIEVEIntegrations Anthropic Managed Agent Envs RetrieveConnection
Integrations Anthropic Managed Agent Envs Retrieve
Authentication
Connected account requiredTags
Integrations Anthropic Managed Agent Vaults RetrievePOSTHOG_INTEGRATIONS_ANTHROPIC_MANAGED_AGENT_VAULTS_RETRIEVEIntegrations Anthropic Managed Agent Vaults RetrieveConnection
Integrations Anthropic Managed Agent Vaults Retrieve
Authentication
Connected account requiredTags
Integrations Authorize RetrievePOSTHOG_INTEGRATIONS_AUTHORIZE_RETRIEVEIntegrations Authorize RetrieveConnection
Integrations Authorize Retrieve
Authentication
Connected account requiredTags
Integrations Channels RetrievePOSTHOG_INTEGRATIONS_CHANNELS_RETRIEVEIntegrations Channels RetrieveConnection
Integrations Channels Retrieve
Authentication
Connected account requiredTags
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 CreateConnection
Integrations Create
Authentication
Connected account requiredTags
Integrations DestroyPOSTHOG_INTEGRATIONS_DESTROYIntegrations DestroyConnection
Integrations Destroy
Authentication
Connected account requiredTags
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 RetrieveConnection
Integrations Github Branches Retrieve
Authentication
Connected account requiredTags
Integrations Github Link Existing CreatePOSTHOG_INTEGRATIONS_GITHUB_LINK_EXISTING_CREATEReuse a GitHub installation already linked to a sibling team in the same organization.Connection
Reuse a GitHub installation already linked to a sibling team in the same organization.
Authentication
Connected account requiredTags
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.Connection
Mint a User OAuth URL to bootstrap a fresh `code` when the install flow returns without one.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Integrations Github Repos Refresh CreatePOSTHOG_INTEGRATIONS_GITHUB_REPOS_REFRESH_CREATEIntegrations Github Repos Refresh CreateConnection
Integrations Github Repos Refresh Create
Authentication
Connected account requiredTags
Integrations Github Repos RetrievePOSTHOG_INTEGRATIONS_GITHUB_REPOS_RETRIEVEIntegrations Github Repos RetrieveConnection
Integrations Github Repos Retrieve
Authentication
Connected account requiredTags
Integrations Github Teams RetrievePOSTHOG_INTEGRATIONS_GITHUB_TEAMS_RETRIEVEIntegrations Github Teams RetrieveConnection
Integrations Github Teams Retrieve
Authentication
Connected account requiredTags
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.Connection
List the Search Console properties the connected Google account has access to.
Authentication
Connected account requiredTags
Integrations Jira Projects RetrievePOSTHOG_INTEGRATIONS_JIRA_PROJECTS_RETRIEVEIntegrations Jira Projects RetrieveConnection
Integrations Jira Projects Retrieve
Authentication
Connected account requiredTags
Integrations Linear Teams RetrievePOSTHOG_INTEGRATIONS_LINEAR_TEAMS_RETRIEVEIntegrations Linear Teams RetrieveConnection
Integrations Linear Teams Retrieve
Authentication
Connected account requiredTags
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 ListConnection
Integrations List
Authentication
Connected account requiredTags
Integrations Request Access CreatePOSTHOG_INTEGRATIONS_REQUEST_ACCESS_CREATENotify project admins that a member is requesting an integration be connected.Connection
Notify project admins that a member is requesting an integration be connected.
Authentication
Connected account requiredTags
Integrations RetrievePOSTHOG_INTEGRATIONS_RETRIEVEIntegrations RetrieveConnection
Integrations Retrieve
Authentication
Connected account requiredTags
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 CreateConnection
Invites Bulk Create
Authentication
Connected account requiredTags
Invites CreatePOSTHOG_INVITES_CREATEInvites CreateConnection
Invites Create
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Invites DestroyPOSTHOG_INVITES_DESTROYInvites DestroyConnection
Invites Destroy
Authentication
Connected account requiredTags
Invites ListPOSTHOG_INVITES_LISTInvites ListConnection
Invites List
Authentication
Connected account requiredTags
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 CreateConnection
Legal Documents Create
Authentication
Connected account requiredTags
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).Connection
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 requiredTags
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 ListConnection
Legal Documents List
Authentication
Connected account requiredTags
Legal Documents RetrievePOSTHOG_LEGAL_DOCUMENTS_RETRIEVELegal Documents RetrieveConnection
Legal Documents Retrieve
Authentication
Connected account requiredTags
ListPOSTHOG_LISTListConnection
List
Authentication
Connected account requiredTags
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 KeyConnection
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 requiredTags
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.Connection
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 requiredTags
Live Debugger Breakpoints CreatePOSTHOG_LIVE_DEBUGGER_BREAKPOINTS_CREATECreate, Read, Update and Delete breakpoints for live debugging.Connection
Create, Read, Update and Delete breakpoints for live debugging.
Authentication
Connected account requiredTags
Live Debugger Breakpoints DestroyPOSTHOG_LIVE_DEBUGGER_BREAKPOINTS_DESTROYCreate, Read, Update and Delete breakpoints for live debugging.Connection
Create, Read, Update and Delete breakpoints for live debugging.
Authentication
Connected account requiredTags
Live Debugger Breakpoints ListPOSTHOG_LIVE_DEBUGGER_BREAKPOINTS_LISTCreate, Read, Update and Delete breakpoints for live debugging.Connection
Create, Read, Update and Delete breakpoints for live debugging.
Authentication
Connected account requiredTags
Live Debugger Breakpoints Partial UpdatePOSTHOG_LIVE_DEBUGGER_BREAKPOINTS_PARTIAL_UPDATECreate, Read, Update and Delete breakpoints for live debugging.Connection
Create, Read, Update and Delete breakpoints for live debugging.
Authentication
Connected account requiredTags
Live Debugger Breakpoints RetrievePOSTHOG_LIVE_DEBUGGER_BREAKPOINTS_RETRIEVECreate, Read, Update and Delete breakpoints for live debugging.Connection
Create, Read, Update and Delete breakpoints for live debugging.
Authentication
Connected account requiredTags
Live Debugger Breakpoints UpdatePOSTHOG_LIVE_DEBUGGER_BREAKPOINTS_UPDATECreate, Read, Update and Delete breakpoints for live debugging.Connection
Create, Read, Update and Delete breakpoints for live debugging.
Authentication
Connected account requiredTags
Llm Analytics Clustering Config ListPOSTHOG_LLM_ANALYTICS_CLUSTERING_CONFIG_LISTTeam-level clustering configuration (event filters for automated pipelines).Connection
Team-level clustering configuration (event filters for automated pipelines).
Authentication
Connected account requiredTags
Llm Analytics Clustering Config Set Event Filters CreatePOSTHOG_LLM_ANALYTICS_CLUSTERING_CONFIG_SET_EVENT_FILTERS_CREATETeam-level clustering configuration (event filters for automated pipelines).Connection
Team-level clustering configuration (event filters for automated pipelines).
Authentication
Connected account requiredTags
Llm Analytics Clustering Jobs CreatePOSTHOG_LLM_ANALYTICS_CLUSTERING_JOBS_CREATECRUD for clustering job configurations (max 10 per team).Connection
CRUD for clustering job configurations (max 10 per team).
Authentication
Connected account requiredTags
Llm Analytics Clustering Jobs DestroyPOSTHOG_LLM_ANALYTICS_CLUSTERING_JOBS_DESTROYCRUD for clustering job configurations (max 10 per team).Connection
CRUD for clustering job configurations (max 10 per team).
Authentication
Connected account requiredTags
Llm Analytics Clustering Jobs ListPOSTHOG_LLM_ANALYTICS_CLUSTERING_JOBS_LISTCRUD for clustering job configurations (max 10 per team).Connection
CRUD for clustering job configurations (max 10 per team).
Authentication
Connected account requiredTags
Llm Analytics Clustering Jobs Partial UpdatePOSTHOG_LLM_ANALYTICS_CLUSTERING_JOBS_PARTIAL_UPDATECRUD for clustering job configurations (max 10 per team).Connection
CRUD for clustering job configurations (max 10 per team).
Authentication
Connected account requiredTags
Llm Analytics Clustering Jobs RetrievePOSTHOG_LLM_ANALYTICS_CLUSTERING_JOBS_RETRIEVECRUD for clustering job configurations (max 10 per team).Connection
CRUD for clustering job configurations (max 10 per team).
Authentication
Connected account requiredTags
Llm Analytics Clustering Jobs UpdatePOSTHOG_LLM_ANALYTICS_CLUSTERING_JOBS_UPDATECRUD for clustering job configurations (max 10 per team).Connection
CRUD for clustering job configurations (max 10 per team).
Authentication
Connected account requiredTags
Llm Analytics Evaluation Config RetrievePOSTHOG_LLM_ANALYTICS_EVALUATION_CONFIG_RETRIEVEGet the evaluation config for this teamConnection
Get the evaluation config for this team
Authentication
Connected account requiredTags
Llm Analytics Evaluation Config Set Active Key CreatePOSTHOG_LLM_ANALYTICS_EVALUATION_CONFIG_SET_ACTIVE_KEY_CREATESet the active provider key for evaluationsConnection
Set the active provider key for evaluations
Authentication
Connected account requiredTags
Llm Analytics Evaluation Reports CreatePOSTHOG_LLM_ANALYTICS_EVALUATION_REPORTS_CREATECRUD for evaluation report configurations + report run history.Connection
CRUD for evaluation report configurations + report run history.
Authentication
Connected account requiredTags
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.Connection
Evaluation report configs are deleted only when their evaluation is deleted. Use PATCH enabled=false to stop delivery.
Authentication
Connected account requiredTags
Llm Analytics Evaluation Reports Generate CreatePOSTHOG_LLM_ANALYTICS_EVALUATION_REPORTS_GENERATE_CREATETrigger immediate report generation.Connection
Trigger immediate report generation.
Authentication
Connected account requiredTags
Llm Analytics Evaluation Reports ListPOSTHOG_LLM_ANALYTICS_EVALUATION_REPORTS_LISTCRUD for evaluation report configurations + report run history.Connection
CRUD for evaluation report configurations + report run history.
Authentication
Connected account requiredTags
Llm Analytics Evaluation Reports Partial UpdatePOSTHOG_LLM_ANALYTICS_EVALUATION_REPORTS_PARTIAL_UPDATECRUD for evaluation report configurations + report run history.Connection
CRUD for evaluation report configurations + report run history.
Authentication
Connected account requiredTags
Llm Analytics Evaluation Reports RetrievePOSTHOG_LLM_ANALYTICS_EVALUATION_REPORTS_RETRIEVECRUD for evaluation report configurations + report run history.Connection
CRUD for evaluation report configurations + report run history.
Authentication
Connected account requiredTags
Llm Analytics Evaluation Reports Runs ListPOSTHOG_LLM_ANALYTICS_EVALUATION_REPORTS_RUNS_LISTList report runs (history) for this report.Connection
List report runs (history) for this report.
Authentication
Connected account requiredTags
Llm Analytics Evaluation Reports UpdatePOSTHOG_LLM_ANALYTICS_EVALUATION_REPORTS_UPDATECRUD for evaluation report configurations + report run history.Connection
CRUD for evaluation report configurations + report run history.
Authentication
Connected account requiredTags
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 onceConnection
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 requiredTags
Llm Analytics Models RetrievePOSTHOG_LLM_ANALYTICS_MODELS_RETRIEVEList available models for a provider.Connection
List available models for a provider.
Authentication
Connected account requiredTags
Llm Analytics Offline Evaluations Experiment Items CreatePOSTHOG_LLM_ANALYTICS_OFFLINE_EVALUATIONS_EXPERIMENT_ITEMS_CREATELlm Analytics Offline Evaluations Experiment Items CreateConnection
Llm Analytics Offline Evaluations Experiment Items Create
Authentication
Connected account requiredTags
Llm Analytics Parser Recipes CreatePOSTHOG_LLM_ANALYTICS_PARSER_RECIPES_CREATELlm Analytics Parser Recipes CreateConnection
Llm Analytics Parser Recipes Create
Authentication
Connected account requiredTags
Llm Analytics Parser Recipes DestroyPOSTHOG_LLM_ANALYTICS_PARSER_RECIPES_DESTROYLlm Analytics Parser Recipes DestroyConnection
Llm Analytics Parser Recipes Destroy
Authentication
Connected account requiredTags
Llm Analytics Parser Recipes ListPOSTHOG_LLM_ANALYTICS_PARSER_RECIPES_LISTLlm Analytics Parser Recipes ListConnection
Llm Analytics Parser Recipes List
Authentication
Connected account requiredTags
Llm Analytics Parser Recipes Partial UpdatePOSTHOG_LLM_ANALYTICS_PARSER_RECIPES_PARTIAL_UPDATELlm Analytics Parser Recipes Partial UpdateConnection
Llm Analytics Parser Recipes Partial Update
Authentication
Connected account requiredTags
Llm Analytics Parser Recipes RetrievePOSTHOG_LLM_ANALYTICS_PARSER_RECIPES_RETRIEVELlm Analytics Parser Recipes RetrieveConnection
Llm Analytics Parser Recipes Retrieve
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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 CreateConnection
Llm Analytics Provider Keys Create
Authentication
Connected account requiredTags
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 DestroyConnection
Llm Analytics Provider Keys Destroy
Authentication
Connected account requiredTags
Llm Analytics Provider Keys ListPOSTHOG_LLM_ANALYTICS_PROVIDER_KEYS_LISTLlm Analytics Provider Keys ListConnection
Llm Analytics Provider Keys List
Authentication
Connected account requiredTags
Llm Analytics Provider Keys Partial UpdatePOSTHOG_LLM_ANALYTICS_PROVIDER_KEYS_PARTIAL_UPDATELlm Analytics Provider Keys Partial UpdateConnection
Llm Analytics Provider Keys Partial Update
Authentication
Connected account requiredTags
Llm Analytics Provider Keys RetrievePOSTHOG_LLM_ANALYTICS_PROVIDER_KEYS_RETRIEVELlm Analytics Provider Keys RetrieveConnection
Llm Analytics Provider Keys Retrieve
Authentication
Connected account requiredTags
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 UpdateConnection
Llm Analytics Provider Keys Update
Authentication
Connected account requiredTags
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 Provider Key Validations CreatePOSTHOG_LLM_ANALYTICS_PROVIDER_KEY_VALIDATIONS_CREATEValidate LLM provider API keys without persisting themConnection
Validate LLM provider API keys without persisting them
Authentication
Connected account requiredTags
Llm Analytics Review Queues CreatePOSTHOG_LLM_ANALYTICS_REVIEW_QUEUES_CREATELlm Analytics Review Queues CreateConnection
Llm Analytics Review Queues Create
Authentication
Connected account requiredTags
Llm Analytics Review Queues DestroyPOSTHOG_LLM_ANALYTICS_REVIEW_QUEUES_DESTROYLlm Analytics Review Queues DestroyConnection
Llm Analytics Review Queues Destroy
Authentication
Connected account requiredTags
Llm Analytics Review Queues ListPOSTHOG_LLM_ANALYTICS_REVIEW_QUEUES_LISTLlm Analytics Review Queues ListConnection
Llm Analytics Review Queues List
Authentication
Connected account requiredTags
Llm Analytics Review Queues Partial UpdatePOSTHOG_LLM_ANALYTICS_REVIEW_QUEUES_PARTIAL_UPDATELlm Analytics Review Queues Partial UpdateConnection
Llm Analytics Review Queues Partial Update
Authentication
Connected account requiredTags
Llm Analytics Review Queues RetrievePOSTHOG_LLM_ANALYTICS_REVIEW_QUEUES_RETRIEVELlm Analytics Review Queues RetrieveConnection
Llm Analytics Review Queues Retrieve
Authentication
Connected account requiredTags
Llm Analytics Review Queue Items CreatePOSTHOG_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_CREATELlm Analytics Review Queue Items CreateConnection
Llm Analytics Review Queue Items Create
Authentication
Connected account requiredTags
Llm Analytics Review Queue Items DestroyPOSTHOG_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_DESTROYLlm Analytics Review Queue Items DestroyConnection
Llm Analytics Review Queue Items Destroy
Authentication
Connected account requiredTags
Llm Analytics Review Queue Items ListPOSTHOG_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_LISTLlm Analytics Review Queue Items ListConnection
Llm Analytics Review Queue Items List
Authentication
Connected account requiredTags
Llm Analytics Review Queue Items Partial UpdatePOSTHOG_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_PARTIAL_UPDATELlm Analytics Review Queue Items Partial UpdateConnection
Llm Analytics Review Queue Items Partial Update
Authentication
Connected account requiredTags
Llm Analytics Review Queue Items RetrievePOSTHOG_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_RETRIEVELlm Analytics Review Queue Items RetrieveConnection
Llm Analytics Review Queue Items Retrieve
Authentication
Connected account requiredTags
Llm Analytics Score Definitions CreatePOSTHOG_LLM_ANALYTICS_SCORE_DEFINITIONS_CREATELlm Analytics Score Definitions CreateConnection
Llm Analytics Score Definitions Create
Authentication
Connected account requiredTags
Llm Analytics Score Definitions ListPOSTHOG_LLM_ANALYTICS_SCORE_DEFINITIONS_LISTLlm Analytics Score Definitions ListConnection
Llm Analytics Score Definitions List
Authentication
Connected account requiredTags
Llm Analytics Score Definitions New Version CreatePOSTHOG_LLM_ANALYTICS_SCORE_DEFINITIONS_NEW_VERSION_CREATELlm Analytics Score Definitions New Version CreateConnection
Llm Analytics Score Definitions New Version Create
Authentication
Connected account requiredTags
Llm Analytics Score Definitions Partial UpdatePOSTHOG_LLM_ANALYTICS_SCORE_DEFINITIONS_PARTIAL_UPDATELlm Analytics Score Definitions Partial UpdateConnection
Llm Analytics Score Definitions Partial Update
Authentication
Connected account requiredTags
Llm Analytics Score Definitions RetrievePOSTHOG_LLM_ANALYTICS_SCORE_DEFINITIONS_RETRIEVELlm Analytics Score Definitions RetrieveConnection
Llm Analytics Score Definitions Retrieve
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Llm Analytics Trace Reviews CreatePOSTHOG_LLM_ANALYTICS_TRACE_REVIEWS_CREATELlm Analytics Trace Reviews CreateConnection
Llm Analytics Trace Reviews Create
Authentication
Connected account requiredTags
Llm Analytics Trace Reviews DestroyPOSTHOG_LLM_ANALYTICS_TRACE_REVIEWS_DESTROYLlm Analytics Trace Reviews DestroyConnection
Llm Analytics Trace Reviews Destroy
Authentication
Connected account requiredTags
Llm Analytics Trace Reviews ListPOSTHOG_LLM_ANALYTICS_TRACE_REVIEWS_LISTLlm Analytics Trace Reviews ListConnection
Llm Analytics Trace Reviews List
Authentication
Connected account requiredTags
Llm Analytics Trace Reviews Partial UpdatePOSTHOG_LLM_ANALYTICS_TRACE_REVIEWS_PARTIAL_UPDATELlm Analytics Trace Reviews Partial UpdateConnection
Llm Analytics Trace Reviews Partial Update
Authentication
Connected account requiredTags
Llm Analytics Trace Reviews RetrievePOSTHOG_LLM_ANALYTICS_TRACE_REVIEWS_RETRIEVELlm Analytics Trace Reviews RetrieveConnection
Llm Analytics Trace Reviews Retrieve
Authentication
Connected account requiredTags
Llm Analytics Translate CreatePOSTHOG_LLM_ANALYTICS_TRANSLATE_CREATETranslate text to target language.Connection
Translate text to target language.
Authentication
Connected account requiredTags
Llm Prompts CreatePOSTHOG_LLM_PROMPTS_CREATELlm Prompts CreateConnection
Llm Prompts Create
Authentication
Connected account requiredTags
Llm Prompts ListPOSTHOG_LLM_PROMPTS_LISTLlm Prompts ListConnection
Llm Prompts List
Authentication
Connected account requiredTags
Llm Prompts Name Archive CreatePOSTHOG_LLM_PROMPTS_NAME_ARCHIVE_CREATELlm Prompts Name Archive CreateConnection
Llm Prompts Name Archive Create
Authentication
Connected account requiredTags
Llm Prompts Name Duplicate CreatePOSTHOG_LLM_PROMPTS_NAME_DUPLICATE_CREATELlm Prompts Name Duplicate CreateConnection
Llm Prompts Name Duplicate Create
Authentication
Connected account requiredTags
Llm Prompts Name Partial UpdatePOSTHOG_LLM_PROMPTS_NAME_PARTIAL_UPDATELlm Prompts Name Partial UpdateConnection
Llm Prompts Name Partial Update
Authentication
Connected account requiredTags
Llm Prompts Name RetrievePOSTHOG_LLM_PROMPTS_NAME_RETRIEVELlm Prompts Name RetrieveConnection
Llm Prompts Name Retrieve
Authentication
Connected account requiredTags
Llm Prompts Resolve Name RetrievePOSTHOG_LLM_PROMPTS_RESOLVE_NAME_RETRIEVELlm Prompts Resolve Name RetrieveConnection
Llm Prompts Resolve Name Retrieve
Authentication
Connected account requiredTags
Llm Skills CreatePOSTHOG_LLM_SKILLS_CREATELlm Skills CreateConnection
Llm Skills Create
Authentication
Connected account requiredTags
Llm Skills Import CreatePOSTHOG_LLM_SKILLS_IMPORT_CREATELlm Skills Import CreateConnection
Llm Skills Import Create
Authentication
Connected account requiredTags
Llm Skills ListPOSTHOG_LLM_SKILLS_LISTLlm Skills ListConnection
Llm Skills List
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Llm Skills Name Archive CreatePOSTHOG_LLM_SKILLS_NAME_ARCHIVE_CREATELlm Skills Name Archive CreateConnection
Llm Skills Name Archive Create
Authentication
Connected account requiredTags
Llm Skills Name Duplicate CreatePOSTHOG_LLM_SKILLS_NAME_DUPLICATE_CREATELlm Skills Name Duplicate CreateConnection
Llm Skills Name Duplicate Create
Authentication
Connected account requiredTags
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 CreateConnection
Llm Skills Name Files Create
Authentication
Connected account requiredTags
Llm Skills Name Files DestroyPOSTHOG_LLM_SKILLS_NAME_FILES_DESTROYLlm Skills Name Files DestroyConnection
Llm Skills Name Files Destroy
Authentication
Connected account requiredTags
Llm Skills Name Files Rename CreatePOSTHOG_LLM_SKILLS_NAME_FILES_RENAME_CREATELlm Skills Name Files Rename CreateConnection
Llm Skills Name Files Rename Create
Authentication
Connected account requiredTags
Llm Skills Name Files RetrievePOSTHOG_LLM_SKILLS_NAME_FILES_RETRIEVELlm Skills Name Files RetrieveConnection
Llm Skills Name Files Retrieve
Authentication
Connected account requiredTags
Llm Skills Name Partial UpdatePOSTHOG_LLM_SKILLS_NAME_PARTIAL_UPDATELlm Skills Name Partial UpdateConnection
Llm Skills Name Partial Update
Authentication
Connected account requiredTags
Llm Skills Name RetrievePOSTHOG_LLM_SKILLS_NAME_RETRIEVELlm Skills Name RetrieveConnection
Llm Skills Name Retrieve
Authentication
Connected account requiredTags
Llm Skills Resolve Name RetrievePOSTHOG_LLM_SKILLS_RESOLVE_NAME_RETRIEVELlm Skills Resolve Name RetrieveConnection
Llm Skills Resolve Name Retrieve
Authentication
Connected account requiredTags
Logs Alerts CreatePOSTHOG_LOGS_ALERTS_CREATELogs Alerts CreateConnection
Logs Alerts Create
Authentication
Connected account requiredTags
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.Connection
Create a notification destination for this alert. One HogFunction is created per alert event kind (firing, resolved, ...) atomically.
Authentication
Connected account requiredTags
Logs Alerts Destinations Delete CreatePOSTHOG_LOGS_ALERTS_DESTINATIONS_DELETE_CREATEDelete a notification destination by deleting its HogFunction group atomically.Connection
Delete a notification destination by deleting its HogFunction group atomically.
Authentication
Connected account requiredTags
Logs Alerts DestroyPOSTHOG_LOGS_ALERTS_DESTROYLogs Alerts DestroyConnection
Logs Alerts Destroy
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Logs Alerts ListPOSTHOG_LOGS_ALERTS_LISTLogs Alerts ListConnection
Logs Alerts List
Authentication
Connected account requiredTags
Logs Alerts Partial UpdatePOSTHOG_LOGS_ALERTS_PARTIAL_UPDATELogs Alerts Partial UpdateConnection
Logs Alerts Partial Update
Authentication
Connected account requiredTags
Logs Alerts Reset CreatePOSTHOG_LOGS_ALERTS_RESET_CREATEReset a broken alert. Clears the consecutive-failure counter and schedules an immediate recheck.Connection
Reset a broken alert. Clears the consecutive-failure counter and schedules an immediate recheck.
Authentication
Connected account requiredTags
Logs Alerts RetrievePOSTHOG_LOGS_ALERTS_RETRIEVELogs Alerts RetrieveConnection
Logs Alerts Retrieve
Authentication
Connected account requiredTags
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.Connection
Simulate a logs alert on historical data using the full state machine. Read-only — no alert check records are created.
Authentication
Connected account requiredTags
Logs Alerts UpdatePOSTHOG_LOGS_ALERTS_UPDATELogs Alerts UpdateConnection
Logs Alerts Update
Authentication
Connected account requiredTags
Logs Attributes RetrievePOSTHOG_LOGS_ATTRIBUTES_RETRIEVELogs Attributes RetrieveConnection
Logs Attributes Retrieve
Authentication
Connected account requiredTags
Logs Count CreatePOSTHOG_LOGS_COUNT_CREATELogs Count CreateConnection
Logs Count Create
Authentication
Connected account requiredTags
Logs Count Ranges CreatePOSTHOG_LOGS_COUNT_RANGES_CREATELogs Count Ranges CreateConnection
Logs Count Ranges Create
Authentication
Connected account requiredTags
Logs ExplainLogWithAI CreatePOSTHOG_LOGS_EXPLAIN_LOG_WITH_AI_CREATEExplain a log entry using AI. POST /api/environments/:id/logs/explainLogWithAI/Connection
Explain a log entry using AI. POST /api/environments/:id/logs/explainLogWithAI/
Authentication
Connected account requiredTags
Logs Export CreatePOSTHOG_LOGS_EXPORT_CREATELogs Export CreateConnection
Logs Export Create
Authentication
Connected account requiredTags
Logs Facet Values CreatePOSTHOG_LOGS_FACET_VALUES_CREATELogs Facet Values CreateConnection
Logs Facet Values Create
Authentication
Connected account requiredTags
Logs Group By CreatePOSTHOG_LOGS_GROUP_BY_CREATELogs Group By CreateConnection
Logs Group By Create
Authentication
Connected account requiredTags
Logs Has Logs RetrievePOSTHOG_LOGS_HAS_LOGS_RETRIEVELogs Has Logs RetrieveConnection
Logs Has Logs Retrieve
Authentication
Connected account requiredTags
Logs Patterns CreatePOSTHOG_LOGS_PATTERNS_CREATELogs Patterns CreateConnection
Logs Patterns Create
Authentication
Connected account requiredTags
Logs Query CreatePOSTHOG_LOGS_QUERY_CREATELogs Query CreateConnection
Logs Query Create
Authentication
Connected account requiredTags
Logs Sampling Rules CreatePOSTHOG_LOGS_SAMPLING_RULES_CREATELogs Sampling Rules CreateConnection
Logs Sampling Rules Create
Authentication
Connected account requiredTags
Logs Sampling Rules DestroyPOSTHOG_LOGS_SAMPLING_RULES_DESTROYLogs Sampling Rules DestroyConnection
Logs Sampling Rules Destroy
Authentication
Connected account requiredTags
Logs Sampling Rules ListPOSTHOG_LOGS_SAMPLING_RULES_LISTLogs Sampling Rules ListConnection
Logs Sampling Rules List
Authentication
Connected account requiredTags
Logs Sampling Rules Partial UpdatePOSTHOG_LOGS_SAMPLING_RULES_PARTIAL_UPDATELogs Sampling Rules Partial UpdateConnection
Logs Sampling Rules Partial Update
Authentication
Connected account requiredTags
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 RetrieveConnection
Logs Sampling Rules Retrieve
Authentication
Connected account requiredTags
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 UpdateConnection
Logs Sampling Rules Update
Authentication
Connected account requiredTags
Logs Services CreatePOSTHOG_LOGS_SERVICES_CREATELogs Services CreateConnection
Logs Services Create
Authentication
Connected account requiredTags
Logs Sparkline CreatePOSTHOG_LOGS_SPARKLINE_CREATELogs Sparkline CreateConnection
Logs Sparkline Create
Authentication
Connected account requiredTags
Logs Values RetrievePOSTHOG_LOGS_VALUES_RETRIEVELogs Values RetrieveConnection
Logs Values Retrieve
Authentication
Connected account requiredTags
Logs Views CreatePOSTHOG_LOGS_VIEWS_CREATELogs Views CreateConnection
Logs Views Create
Authentication
Connected account requiredTags
Logs Views DestroyPOSTHOG_LOGS_VIEWS_DESTROYLogs Views DestroyConnection
Logs Views Destroy
Authentication
Connected account requiredTags
Logs Views ListPOSTHOG_LOGS_VIEWS_LISTLogs Views ListConnection
Logs Views List
Authentication
Connected account requiredTags
Logs Views Partial UpdatePOSTHOG_LOGS_VIEWS_PARTIAL_UPDATELogs Views Partial UpdateConnection
Logs Views Partial Update
Authentication
Connected account requiredTags
Logs Views RetrievePOSTHOG_LOGS_VIEWS_RETRIEVELogs Views RetrieveConnection
Logs Views Retrieve
Authentication
Connected account requiredTags
Logs Views UpdatePOSTHOG_LOGS_VIEWS_UPDATELogs Views UpdateConnection
Logs Views Update
Authentication
Connected account requiredTags
Managed Viewsets RetrievePOSTHOG_MANAGED_VIEWSETS_RETRIEVEGet all views associated with a specific managed viewset. GET /api/environments/{team_id}/managed_viewsets/{kind}/Connection
Get all views associated with a specific managed viewset. GET /api/environments/{team_id}/managed_viewsets/{kind}/
Authentication
Connected account requiredTags
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}Connection
Enable or disable a managed viewset by kind. PUT /api/environments/{team_id}/managed_viewsets/{kind}/ with body {"enabled": true/false}
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
Cross-reference campaigns with spend from ad platforms against pageview events with UTM parameters to identify tracking issues.
Authentication
Connected account requiredTags
Max Tools Create And Query Insight CreatePOSTHOG_MAX_TOOLS_CREATE_AND_QUERY_INSIGHT_CREATEMax Tools Create And Query Insight CreateConnection
Max Tools Create And Query Insight Create
Authentication
Connected account requiredTags
Mcp Analytics Feedback CreatePOSTHOG_MCP_ANALYTICS_FEEDBACK_CREATECreate a new MCP feedback submission for the current project.Connection
Create a new MCP feedback submission for the current project.
Authentication
Connected account requiredTags
Mcp Analytics Feedback ListPOSTHOG_MCP_ANALYTICS_FEEDBACK_LISTList MCP feedback submissions for the current project, newest first.Connection
List MCP feedback submissions for the current project, newest first.
Authentication
Connected account requiredTags
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').Connection
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 requiredTags
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.Connection
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 requiredTags
Mcp Analytics Missing Capabilities CreatePOSTHOG_MCP_ANALYTICS_MISSING_CAPABILITIES_CREATECreate a new missing capability report for the current project.Connection
Create a new missing capability report for the current project.
Authentication
Connected account requiredTags
Mcp Analytics Missing Capabilities ListPOSTHOG_MCP_ANALYTICS_MISSING_CAPABILITIES_LISTList missing capability reports for the current project, newest first.Connection
List missing capability reports for the current project, newest first.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
List a page of the $mcp_tool_call events that belong to a given $session_id, in chronological order.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Mcp Server Installations CreatePOSTHOG_MCP_SERVER_INSTALLATIONS_CREATEMcp Server Installations CreateConnection
Mcp Server Installations Create
Authentication
Connected account requiredTags
Mcp Server Installations DestroyPOSTHOG_MCP_SERVER_INSTALLATIONS_DESTROYMcp Server Installations DestroyConnection
Mcp Server Installations Destroy
Authentication
Connected account requiredTags
Mcp Server Installations Install Custom CreatePOSTHOG_MCP_SERVER_INSTALLATIONS_INSTALL_CUSTOM_CREATEMcp Server Installations Install Custom CreateConnection
Mcp Server Installations Install Custom Create
Authentication
Connected account requiredTags
Mcp Server Installations Install Template CreatePOSTHOG_MCP_SERVER_INSTALLATIONS_INSTALL_TEMPLATE_CREATEMcp Server Installations Install Template CreateConnection
Mcp Server Installations Install Template Create
Authentication
Connected account requiredTags
Mcp Server Installations ListPOSTHOG_MCP_SERVER_INSTALLATIONS_LISTMcp Server Installations ListConnection
Mcp Server Installations List
Authentication
Connected account requiredTags
Mcp Server Installations Partial UpdatePOSTHOG_MCP_SERVER_INSTALLATIONS_PARTIAL_UPDATEMcp Server Installations Partial UpdateConnection
Mcp Server Installations Partial Update
Authentication
Connected account requiredTags
Mcp Server Installations Proxy CreatePOSTHOG_MCP_SERVER_INSTALLATIONS_PROXY_CREATEMcp Server Installations Proxy CreateConnection
Mcp Server Installations Proxy Create
Authentication
Connected account requiredTags
Mcp Server Installations RetrievePOSTHOG_MCP_SERVER_INSTALLATIONS_RETRIEVEMcp Server Installations RetrieveConnection
Mcp Server Installations Retrieve
Authentication
Connected account requiredTags
Mcp Server Installations Tools Partial UpdatePOSTHOG_MCP_SERVER_INSTALLATIONS_TOOLS_PARTIAL_UPDATEMcp Server Installations Tools Partial UpdateConnection
Mcp Server Installations Tools Partial Update
Authentication
Connected account requiredTags
Mcp Server Installations Tools Refresh CreatePOSTHOG_MCP_SERVER_INSTALLATIONS_TOOLS_REFRESH_CREATEMcp Server Installations Tools Refresh CreateConnection
Mcp Server Installations Tools Refresh Create
Authentication
Connected account requiredTags
Mcp Server Installations Tools RetrievePOSTHOG_MCP_SERVER_INSTALLATIONS_TOOLS_RETRIEVEMcp Server Installations Tools RetrieveConnection
Mcp Server Installations Tools Retrieve
Authentication
Connected account requiredTags
Mcp Server Installations UpdatePOSTHOG_MCP_SERVER_INSTALLATIONS_UPDATEMcp Server Installations UpdateConnection
Mcp Server Installations Update
Authentication
Connected account requiredTags
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 DestroyConnection
Members Destroy
Authentication
Connected account requiredTags
Members Github Login RetrievePOSTHOG_MEMBERS_GITHUB_LOGIN_RETRIEVEMembers Github Login RetrieveConnection
Members Github Login Retrieve
Authentication
Connected account requiredTags
Members ListPOSTHOG_MEMBERS_LISTMembers ListConnection
Members List
Authentication
Connected account requiredTags
Members Partial UpdatePOSTHOG_MEMBERS_PARTIAL_UPDATEMembers Partial UpdateConnection
Members Partial Update
Authentication
Connected account requiredTags
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 UpdateConnection
Members Update
Authentication
Connected account requiredTags
Messaging Templates CreatePOSTHOG_MESSAGING_TEMPLATES_CREATEMessaging Templates CreateConnection
Messaging Templates Create
Authentication
Connected account requiredTags
Messaging Templates Design Partial UpdatePOSTHOG_MESSAGING_TEMPLATES_DESIGN_PARTIAL_UPDATEMessaging Templates Design Partial UpdateConnection
Messaging Templates Design Partial Update
Authentication
Connected account requiredTags
Messaging Templates DestroyPOSTHOG_MESSAGING_TEMPLATES_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
Messaging Templates ListPOSTHOG_MESSAGING_TEMPLATES_LISTMessaging Templates ListConnection
Messaging Templates List
Authentication
Connected account requiredTags
Messaging Templates Partial UpdatePOSTHOG_MESSAGING_TEMPLATES_PARTIAL_UPDATEMessaging Templates Partial UpdateConnection
Messaging Templates Partial Update
Authentication
Connected account requiredTags
Messaging Templates RetrievePOSTHOG_MESSAGING_TEMPLATES_RETRIEVEMessaging Templates RetrieveConnection
Messaging Templates Retrieve
Authentication
Connected account requiredTags
Messaging Templates UpdatePOSTHOG_MESSAGING_TEMPLATES_UPDATEMessaging Templates UpdateConnection
Messaging Templates Update
Authentication
Connected account requiredTags
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.Connection
Characterize a metric anomaly: compare an anomaly window against a baseline, find the onset, and rank which label values moved.
Authentication
Connected account requiredTags
Metrics Has Metrics RetrievePOSTHOG_METRICS_HAS_METRICS_RETRIEVEMetrics Has Metrics RetrieveConnection
Metrics Has Metrics Retrieve
Authentication
Connected account requiredTags
Metrics Query CreatePOSTHOG_METRICS_QUERY_CREATEMetrics Query CreateConnection
Metrics Query Create
Authentication
Connected account requiredTags
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.Connection
Raw individual emissions for a metric (the events model), newest first — backs the Samples view and the metric->trace pivot.
Authentication
Connected account requiredTags
Metrics Values RetrievePOSTHOG_METRICS_VALUES_RETRIEVEDistinct metric names for the team. Backs the picker UI.Connection
Distinct metric names for the team. Backs the picker UI.
Authentication
Connected account requiredTags
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.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 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.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 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.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 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.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 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.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 CreatePOSTHOG_NOTEBOOKS_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 DestroyPOSTHOG_NOTEBOOKS_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
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.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 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.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 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.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 Sharing ListPOSTHOG_NOTEBOOKS_SHARING_LISTNotebooks Sharing ListConnection
Notebooks Sharing List
Authentication
Connected account requiredTags
Notebooks Sharing Passwords CreatePOSTHOG_NOTEBOOKS_SHARING_PASSWORDS_CREATECreate a new password for the sharing configuration.Connection
Create a new password for the sharing configuration.
Authentication
Connected account requiredTags
Notebooks Sharing Passwords DestroyPOSTHOG_NOTEBOOKS_SHARING_PASSWORDS_DESTROYDelete a password from the sharing configuration.Connection
Delete a password from the sharing configuration.
Authentication
Connected account requiredTags
Notebooks Sharing Refresh CreatePOSTHOG_NOTEBOOKS_SHARING_REFRESH_CREATENotebooks Sharing Refresh CreateConnection
Notebooks Sharing Refresh Create
Authentication
Connected account requiredTags
Notebooks UpdatePOSTHOG_NOTEBOOKS_UPDATEThe 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
Oauth Applications ListPOSTHOG_OAUTH_APPLICATIONS_LISTViewSet for listing OAuth applications at the organization level (read-only).Connection
ViewSet for listing OAuth applications at the organization level (read-only).
Authentication
Connected account requiredTags
Object Media Previews CreatePOSTHOG_OBJECT_MEDIA_PREVIEWS_CREATEObject Media Previews CreateConnection
Object Media Previews Create
Authentication
Connected account requiredTags
Object Media Previews DestroyPOSTHOG_OBJECT_MEDIA_PREVIEWS_DESTROYObject Media Previews DestroyConnection
Object Media Previews Destroy
Authentication
Connected account requiredTags
Object Media Previews ListPOSTHOG_OBJECT_MEDIA_PREVIEWS_LISTObject Media Previews ListConnection
Object Media Previews List
Authentication
Connected account requiredTags
Object Media Previews Partial UpdatePOSTHOG_OBJECT_MEDIA_PREVIEWS_PARTIAL_UPDATEObject Media Previews Partial UpdateConnection
Object Media Previews Partial Update
Authentication
Connected account requiredTags
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 RetrieveConnection
Object Media Previews Retrieve
Authentication
Connected account requiredTags
Object Media Previews UpdatePOSTHOG_OBJECT_MEDIA_PREVIEWS_UPDATEObject Media Previews UpdateConnection
Object Media Previews Update
Authentication
Connected account requiredTags
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.Connection
Projects for the current organization.
Authentication
Connected account requiredTags
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.Connection
Projects for the current organization.
Authentication
Connected account requiredTags
Organizations Projects CreatePOSTHOG_ORGANIZATIONS_PROJECTS_CREATEProjects for the current organization.Connection
Projects for the current organization.
Authentication
Connected account requiredTags
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.Connection
Projects for the current organization.
Authentication
Connected account requiredTags
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.Connection
Projects for the current organization.
Authentication
Connected account requiredTags
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.Connection
Projects for the current organization.
Authentication
Connected account requiredTags
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.Connection
Update one or more of a project's settings. Only the fields included in the request body are changed.
Authentication
Connected account requiredTags
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.Connection
Retrieve a project and its settings.
Authentication
Connected account requiredTags
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.Connection
Replace a project and its settings. Prefer the PATCH endpoint for partial updates — PUT requires every writable field to be provided.
Authentication
Connected account requiredTags
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.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 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.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 Batch Exports CreatePOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_CREATEOrg Organizations Batch Exports CreateConnection
Org Organizations Batch Exports Create
Authentication
Connected account requiredTags
Org Organizations Batch Exports DestroyPOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_DESTROYOrg Organizations Batch Exports DestroyConnection
Org Organizations Batch Exports Destroy
Authentication
Connected account requiredTags
Org Organizations Batch Exports ListPOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_LISTOrg Organizations Batch Exports ListConnection
Org Organizations Batch Exports List
Authentication
Connected account requiredTags
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 UpdateConnection
Org Organizations Batch Exports Partial Update
Authentication
Connected account requiredTags
Org Organizations Batch Exports Pause CreatePOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_PAUSE_CREATEPause a BatchExport.Connection
Pause a BatchExport.
Authentication
Connected account requiredTags
Org Organizations Batch Exports RetrievePOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_RETRIEVEOrg Organizations Batch Exports RetrieveConnection
Org Organizations Batch Exports Retrieve
Authentication
Connected account requiredTags
Org Organizations Batch Exports Run Test Step CreatePOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_RUN_TEST_STEP_CREATEOrg Organizations Batch Exports Run Test Step CreateConnection
Org Organizations Batch Exports Run Test Step Create
Authentication
Connected account requiredTags
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 CreateConnection
Org Organizations Batch Exports Run Test Step New Create
Authentication
Connected account requiredTags
Org Organizations Batch Exports Test RetrievePOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_TEST_RETRIEVEOrg Organizations Batch Exports Test RetrieveConnection
Org Organizations Batch Exports Test Retrieve
Authentication
Connected account requiredTags
Org Organizations Batch Exports Unpause CreatePOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_UNPAUSE_CREATEUnpause a BatchExport.Connection
Unpause a BatchExport.
Authentication
Connected account requiredTags
Org Organizations Batch Exports UpdatePOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_UPDATEOrg Organizations Batch Exports UpdateConnection
Org Organizations Batch Exports Update
Authentication
Connected account requiredTags
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.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
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.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
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.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
Partial UpdatePOSTHOG_PARTIAL_UPDATEPartial UpdateConnection
Partial Update
Authentication
Connected account requiredTags
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.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 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.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 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.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 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.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 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.Connection
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 requiredTags
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.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 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.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 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.Connection
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 requiredTags
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.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 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.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 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.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 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)Connection
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 requiredTags
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.Connection
Reset a distinct_id for a deleted person. This allows the distinct_id to be used again.
Authentication
Connected account requiredTags
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.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 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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.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 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.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
Plugin Configs Logs ListPOSTHOG_PLUGIN_CONFIGS_LOGS_LISTPlugin Configs Logs ListConnection
Plugin Configs Logs List
Authentication
Connected account requiredTags
Product Enablement CreatePOSTHOG_PRODUCT_ENABLEMENT_CREATEProduct Enablement CreateConnection
Product Enablement Create
Authentication
Connected account requiredTags
Product Tours CreatePOSTHOG_PRODUCT_TOURS_CREATEProduct Tours CreateConnection
Product Tours Create
Authentication
Connected account requiredTags
Product Tours DestroyPOSTHOG_PRODUCT_TOURS_DESTROYProduct Tours DestroyConnection
Product Tours Destroy
Authentication
Connected account requiredTags
Product Tours Discard Draft DestroyPOSTHOG_PRODUCT_TOURS_DISCARD_DRAFT_DESTROYDiscard draft content.Connection
Discard draft content.
Authentication
Connected account requiredTags
Product Tours Draft Partial UpdatePOSTHOG_PRODUCT_TOURS_DRAFT_PARTIAL_UPDATESave draft content (server-side merge). No side effects triggered.Connection
Save draft content (server-side merge). No side effects triggered.
Authentication
Connected account requiredTags
Product Tours Draft Status RetrievePOSTHOG_PRODUCT_TOURS_DRAFT_STATUS_RETRIEVELightweight polling endpoint for draft change detection.Connection
Lightweight polling endpoint for draft change detection.
Authentication
Connected account requiredTags
Product Tours Generate CreatePOSTHOG_PRODUCT_TOURS_GENERATE_CREATEGenerate tour step content using AI.Connection
Generate tour step content using AI.
Authentication
Connected account requiredTags
Product Tours ListPOSTHOG_PRODUCT_TOURS_LISTProduct Tours ListConnection
Product Tours List
Authentication
Connected account requiredTags
Product Tours Partial UpdatePOSTHOG_PRODUCT_TOURS_PARTIAL_UPDATEProduct Tours Partial UpdateConnection
Product Tours Partial Update
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Product Tours RetrievePOSTHOG_PRODUCT_TOURS_RETRIEVEProduct Tours RetrieveConnection
Product Tours Retrieve
Authentication
Connected account requiredTags
Product Tours UpdatePOSTHOG_PRODUCT_TOURS_UPDATEProduct Tours UpdateConnection
Product Tours Update
Authentication
Connected account requiredTags
Project Secret Api Keys CreatePOSTHOG_PROJECT_SECRET_API_KEYS_CREATEProject Secret Api Keys CreateConnection
Project Secret Api Keys Create
Authentication
Connected account requiredTags
Project Secret Api Keys DestroyPOSTHOG_PROJECT_SECRET_API_KEYS_DESTROYProject Secret Api Keys DestroyConnection
Project Secret Api Keys Destroy
Authentication
Connected account requiredTags
Project Secret Api Keys ListPOSTHOG_PROJECT_SECRET_API_KEYS_LISTProject Secret Api Keys ListConnection
Project Secret Api Keys List
Authentication
Connected account requiredTags
Project Secret Api Keys Partial UpdatePOSTHOG_PROJECT_SECRET_API_KEYS_PARTIAL_UPDATEProject Secret Api Keys Partial UpdateConnection
Project Secret Api Keys Partial Update
Authentication
Connected account requiredTags
Project Secret Api Keys RetrievePOSTHOG_PROJECT_SECRET_API_KEYS_RETRIEVEProject Secret Api Keys RetrieveConnection
Project Secret Api Keys Retrieve
Authentication
Connected account requiredTags
Project Secret Api Keys Roll CreatePOSTHOG_PROJECT_SECRET_API_KEYS_ROLL_CREATERoll a project secret API keyConnection
Roll a project secret API key
Authentication
Connected account requiredTags
Project Secret Api Keys UpdatePOSTHOG_PROJECT_SECRET_API_KEYS_UPDATEProject Secret Api Keys UpdateConnection
Project Secret Api Keys Update
Authentication
Connected account requiredTags
Property Access Controls CreatePOSTHOG_PROPERTY_ACCESS_CONTROLS_CREATECreate or update a property access control rule.Connection
Create or update a property access control rule.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Property Access Controls RetrievePOSTHOG_PROPERTY_ACCESS_CONTROLS_RETRIEVEGet all property access control rules for a property definition.Connection
Get all property access control rules for a property definition.
Authentication
Connected account requiredTags
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 DestroyConnection
Property Definitions Destroy
Authentication
Connected account requiredTags
Property Definitions ListPOSTHOG_PROPERTY_DEFINITIONS_LISTProperty Definitions ListConnection
Property Definitions List
Authentication
Connected account requiredTags
Property Definitions Partial UpdatePOSTHOG_PROPERTY_DEFINITIONS_PARTIAL_UPDATEProperty Definitions Partial UpdateConnection
Property Definitions Partial Update
Authentication
Connected account requiredTags
Property Definitions RetrievePOSTHOG_PROPERTY_DEFINITIONS_RETRIEVEProperty Definitions RetrieveConnection
Property Definitions Retrieve
Authentication
Connected account requiredTags
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_nameConnection
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 requiredTags
Property Definitions UpdatePOSTHOG_PROPERTY_DEFINITIONS_UPDATEProperty Definitions UpdateConnection
Property Definitions Update
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
List all reverse proxies configured for the organization. Returns proxy records along with the maximum number allowed by the current plan.
Authentication
Connected account requiredTags
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.Connection
Get details of a specific reverse proxy by ID. Returns the full configuration including domain, CNAME target, and current provisioning status.
Authentication
Connected account requiredTags
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.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 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)Connection
(Experimental)
Authentication
Connected account requiredTags
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)Connection
(Experimental)
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Reminders CreatePOSTHOG_REMINDERS_CREATEReminders CreateConnection
Reminders Create
Authentication
Connected account requiredTags
Reminders DestroyPOSTHOG_REMINDERS_DESTROYReminders DestroyConnection
Reminders Destroy
Authentication
Connected account requiredTags
Reminders ListPOSTHOG_REMINDERS_LISTReminders ListConnection
Reminders List
Authentication
Connected account requiredTags
Reminders Partial UpdatePOSTHOG_REMINDERS_PARTIAL_UPDATEReminders Partial UpdateConnection
Reminders Partial Update
Authentication
Connected account requiredTags
Reminders RetrievePOSTHOG_REMINDERS_RETRIEVEReminders RetrieveConnection
Reminders Retrieve
Authentication
Connected account requiredTags
Reminders UpdatePOSTHOG_REMINDERS_UPDATEReminders UpdateConnection
Reminders Update
Authentication
Connected account requiredTags
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_RETRIEVERetrieveConnection
Retrieve
Authentication
Connected account requiredTags
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
Roles CreatePOSTHOG_ROLES_CREATERoles CreateConnection
Roles Create
Authentication
Connected account requiredTags
Roles DestroyPOSTHOG_ROLES_DESTROYRoles DestroyConnection
Roles Destroy
Authentication
Connected account requiredTags
Roles ListPOSTHOG_ROLES_LISTRoles ListConnection
Roles List
Authentication
Connected account requiredTags
Roles Partial UpdatePOSTHOG_ROLES_PARTIAL_UPDATERoles Partial UpdateConnection
Roles Partial Update
Authentication
Connected account requiredTags
Roles RetrievePOSTHOG_ROLES_RETRIEVERoles RetrieveConnection
Roles Retrieve
Authentication
Connected account requiredTags
Roles Role Memberships CreatePOSTHOG_ROLES_ROLE_MEMBERSHIPS_CREATERoles Role Memberships CreateConnection
Roles Role Memberships Create
Authentication
Connected account requiredTags
Roles Role Memberships DestroyPOSTHOG_ROLES_ROLE_MEMBERSHIPS_DESTROYRoles Role Memberships DestroyConnection
Roles Role Memberships Destroy
Authentication
Connected account requiredTags
Roles Role Memberships ListPOSTHOG_ROLES_ROLE_MEMBERSHIPS_LISTRoles Role Memberships ListConnection
Roles Role Memberships List
Authentication
Connected account requiredTags
Roles Role Memberships RetrievePOSTHOG_ROLES_ROLE_MEMBERSHIPS_RETRIEVERoles Role Memberships RetrieveConnection
Roles Role Memberships Retrieve
Authentication
Connected account requiredTags
Roles UpdatePOSTHOG_ROLES_UPDATERoles UpdateConnection
Roles Update
Authentication
Connected account requiredTags
Role External References CreatePOSTHOG_ROLE_EXTERNAL_REFERENCES_CREATERole External References CreateConnection
Role External References Create
Authentication
Connected account requiredTags
Role External References DestroyPOSTHOG_ROLE_EXTERNAL_REFERENCES_DESTROYRole External References DestroyConnection
Role External References Destroy
Authentication
Connected account requiredTags
Role External References ListPOSTHOG_ROLE_EXTERNAL_REFERENCES_LISTRole External References ListConnection
Role External References List
Authentication
Connected account requiredTags
Role External References Lookup RetrievePOSTHOG_ROLE_EXTERNAL_REFERENCES_LOOKUP_RETRIEVERole External References Lookup RetrieveConnection
Role External References Lookup Retrieve
Authentication
Connected account requiredTags
Sandbox CreatePOSTHOG_SANDBOX_CREATEAPI for managing sandbox environments that control network access for task runs.Connection
API for managing sandbox environments that control network access for task runs.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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).Connection
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 requiredTags
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).Connection
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 requiredTags
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).Connection
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 requiredTags
Sandbox DestroyPOSTHOG_SANDBOX_DESTROYAPI for managing sandbox environments that control network access for task runs.Connection
API for managing sandbox environments that control network access for task runs.
Authentication
Connected account requiredTags
Sandbox ListPOSTHOG_SANDBOX_LISTAPI for managing sandbox environments that control network access for task runs.Connection
API for managing sandbox environments that control network access for task runs.
Authentication
Connected account requiredTags
Sandbox Partial UpdatePOSTHOG_SANDBOX_PARTIAL_UPDATEAPI for managing sandbox environments that control network access for task runs.Connection
API for managing sandbox environments that control network access for task runs.
Authentication
Connected account requiredTags
Sandbox RetrievePOSTHOG_SANDBOX_RETRIEVEAPI for managing sandbox environments that control network access for task runs.Connection
API for managing sandbox environments that control network access for task runs.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Saved DestroyPOSTHOG_SAVED_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
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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'.Connection
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 requiredTags
Saved RetrievePOSTHOG_SAVED_RETRIEVEGet a single saved heatmap by its short_id, including per-width render status.Connection
Get a single saved heatmap by its short_id, including per-width render status.
Authentication
Connected account requiredTags
Scheduled Changes CreatePOSTHOG_SCHEDULED_CHANGES_CREATECreate, read, update and delete scheduled changes.Connection
Create, read, update and delete scheduled changes.
Authentication
Connected account requiredTags
Scheduled Changes DestroyPOSTHOG_SCHEDULED_CHANGES_DESTROYCreate, read, update and delete scheduled changes.Connection
Create, read, update and delete scheduled changes.
Authentication
Connected account requiredTags
Scheduled Changes ListPOSTHOG_SCHEDULED_CHANGES_LISTCreate, read, update and delete scheduled changes.Connection
Create, read, update and delete scheduled changes.
Authentication
Connected account requiredTags
Scheduled Changes Partial UpdatePOSTHOG_SCHEDULED_CHANGES_PARTIAL_UPDATECreate, read, update and delete scheduled changes.Connection
Create, read, update and delete scheduled changes.
Authentication
Connected account requiredTags
Scheduled Changes RetrievePOSTHOG_SCHEDULED_CHANGES_RETRIEVECreate, read, update and delete scheduled changes.Connection
Create, read, update and delete scheduled changes.
Authentication
Connected account requiredTags
Scheduled Changes UpdatePOSTHOG_SCHEDULED_CHANGES_UPDATECreate, read, update and delete scheduled changes.Connection
Create, read, update and delete scheduled changes.
Authentication
Connected account requiredTags
Schema Property Groups CreatePOSTHOG_SCHEMA_PROPERTY_GROUPS_CREATESchema Property Groups CreateConnection
Schema Property Groups Create
Authentication
Connected account requiredTags
Schema Property Groups DestroyPOSTHOG_SCHEMA_PROPERTY_GROUPS_DESTROYSchema Property Groups DestroyConnection
Schema Property Groups Destroy
Authentication
Connected account requiredTags
Schema Property Groups ListPOSTHOG_SCHEMA_PROPERTY_GROUPS_LISTSchema Property Groups ListConnection
Schema Property Groups List
Authentication
Connected account requiredTags
Schema Property Groups Partial UpdatePOSTHOG_SCHEMA_PROPERTY_GROUPS_PARTIAL_UPDATESchema Property Groups Partial UpdateConnection
Schema Property Groups Partial Update
Authentication
Connected account requiredTags
Schema Property Groups RetrievePOSTHOG_SCHEMA_PROPERTY_GROUPS_RETRIEVESchema Property Groups RetrieveConnection
Schema Property Groups Retrieve
Authentication
Connected account requiredTags
Schema Property Groups UpdatePOSTHOG_SCHEMA_PROPERTY_GROUPS_UPDATESchema Property Groups UpdateConnection
Schema Property Groups Update
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Sessions Property Definitions RetrievePOSTHOG_SESSIONS_PROPERTY_DEFINITIONS_RETRIEVESessions Property Definitions RetrieveConnection
Sessions Property Definitions Retrieve
Authentication
Connected account requiredTags
Sessions Values RetrievePOSTHOG_SESSIONS_VALUES_RETRIEVESessions Values RetrieveConnection
Sessions Values Retrieve
Authentication
Connected account requiredTags
Session Group Summaries CreatePOSTHOG_SESSION_GROUP_SUMMARIES_CREATEAPI for retrieving and managing stored group session summaries.Connection
API for retrieving and managing stored group session summaries.
Authentication
Connected account requiredTags
Session Group Summaries DestroyPOSTHOG_SESSION_GROUP_SUMMARIES_DESTROYAPI for retrieving and managing stored group session summaries.Connection
API for retrieving and managing stored group session summaries.
Authentication
Connected account requiredTags
Session Group Summaries ListPOSTHOG_SESSION_GROUP_SUMMARIES_LISTAPI for retrieving and managing stored group session summaries.Connection
API for retrieving and managing stored group session summaries.
Authentication
Connected account requiredTags
Session Group Summaries Partial UpdatePOSTHOG_SESSION_GROUP_SUMMARIES_PARTIAL_UPDATEAPI for retrieving and managing stored group session summaries.Connection
API for retrieving and managing stored group session summaries.
Authentication
Connected account requiredTags
Session Group Summaries RetrievePOSTHOG_SESSION_GROUP_SUMMARIES_RETRIEVEAPI for retrieving and managing stored group session summaries.Connection
API for retrieving and managing stored group session summaries.
Authentication
Connected account requiredTags
Session Group Summaries UpdatePOSTHOG_SESSION_GROUP_SUMMARIES_UPDATEAPI for retrieving and managing stored group session summaries.Connection
API for retrieving and managing stored group session summaries.
Authentication
Connected account requiredTags
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 DestroyConnection
Session Recordings Destroy
Authentication
Connected account requiredTags
Session Recordings ListPOSTHOG_SESSION_RECORDINGS_LISTSession Recordings ListConnection
Session Recordings List
Authentication
Connected account requiredTags
Session Recordings Partial UpdatePOSTHOG_SESSION_RECORDINGS_PARTIAL_UPDATESession Recordings Partial UpdateConnection
Session Recordings Partial Update
Authentication
Connected account requiredTags
Session Recordings RetrievePOSTHOG_SESSION_RECORDINGS_RETRIEVESession Recordings RetrieveConnection
Session Recordings Retrieve
Authentication
Connected account requiredTags
Session Recordings Sharing ListPOSTHOG_SESSION_RECORDINGS_SHARING_LISTSession Recordings Sharing ListConnection
Session Recordings Sharing List
Authentication
Connected account requiredTags
Session Recordings Sharing Passwords CreatePOSTHOG_SESSION_RECORDINGS_SHARING_PASSWORDS_CREATECreate a new password for the sharing configuration.Connection
Create a new password for the sharing configuration.
Authentication
Connected account requiredTags
Session Recordings Sharing Passwords DestroyPOSTHOG_SESSION_RECORDINGS_SHARING_PASSWORDS_DESTROYDelete a password from the sharing configuration.Connection
Delete a password from the sharing configuration.
Authentication
Connected account requiredTags
Session Recordings Sharing Refresh CreatePOSTHOG_SESSION_RECORDINGS_SHARING_REFRESH_CREATESession Recordings Sharing Refresh CreateConnection
Session Recordings Sharing Refresh Create
Authentication
Connected account requiredTags
Session Recordings UpdatePOSTHOG_SESSION_RECORDINGS_UPDATESession Recordings UpdateConnection
Session Recordings Update
Authentication
Connected account requiredTags
Session Recording Playlists CreatePOSTHOG_SESSION_RECORDING_PLAYLISTS_CREATESession Recording Playlists CreateConnection
Session Recording Playlists Create
Authentication
Connected account requiredTags
Session Recording Playlists DestroyPOSTHOG_SESSION_RECORDING_PLAYLISTS_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
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.Connection
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 requiredTags
Session Recording Playlists Partial UpdatePOSTHOG_SESSION_RECORDING_PLAYLISTS_PARTIAL_UPDATESession Recording Playlists Partial UpdateConnection
Session Recording Playlists Partial Update
Authentication
Connected account requiredTags
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 RetrieveConnection
Session Recording Playlists Recordings Retrieve
Authentication
Connected account requiredTags
Session Recording Playlists RetrievePOSTHOG_SESSION_RECORDING_PLAYLISTS_RETRIEVESession Recording Playlists RetrieveConnection
Session Recording Playlists Retrieve
Authentication
Connected account requiredTags
Session Recording Playlists UpdatePOSTHOG_SESSION_RECORDING_PLAYLISTS_UPDATESession Recording Playlists UpdateConnection
Session Recording Playlists Update
Authentication
Connected account requiredTags
Signals Processing ListPOSTHOG_SIGNALS_PROCESSING_LISTReturn current processing state including pause status.Connection
Return current processing state including pause status.
Authentication
Connected account requiredTags
Signals Processing Pause DestroyPOSTHOG_SIGNALS_PROCESSING_PAUSE_DESTROYView and control signal processing pipeline state for a team.Connection
View and control signal processing pipeline state for a team.
Authentication
Connected account requiredTags
Signals Processing Pause UpdatePOSTHOG_SIGNALS_PROCESSING_PAUSE_UPDATEView and control signal processing pipeline state for a team.Connection
View and control signal processing pipeline state for a team.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Signals Reports ListPOSTHOG_SIGNALS_REPORTS_LISTSignals Reports ListConnection
Signals Reports List
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Signals Reports RetrievePOSTHOG_SIGNALS_REPORTS_RETRIEVESignals Reports RetrieveConnection
Signals Reports Retrieve
Authentication
Connected account requiredTags
List a report's signalsPOSTHOG_SIGNALS_REPORTS_SIGNALS_RETRIEVEFetch all signals for a report from ClickHouse, including full metadata.Connection
Fetch all signals for a report from ClickHouse, including full metadata.
Authentication
Connected account requiredTags
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>, }Connection
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 requiredTags
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.Connection
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 requiredTags
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).Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Get a single artefactPOSTHOG_SIGNALS_REPORT_ARTEFACTS_RETRIEVEGet one artefact by id, content parsed (and reviewers enriched) the same way as the list.Connection
Get one artefact by id, content parsed (and reviewers enriched) the same way as the list.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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).Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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).Connection
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 requiredTags
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.Connection
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 requiredTags
Forget a scratchpad entry by keyPOSTHOG_SIGNALS_SCOUT_SCRATCHPAD_FORGETDelete an entry by key. Returns `deleted=false` if no row matched.Connection
Delete an entry by key. Returns `deleted=false` if no row matched.
Authentication
Connected account requiredTags
Remember a scratchpad entryPOSTHOG_SIGNALS_SCOUT_SCRATCHPAD_REMEMBERUpsert a memory keyed on `(team, key)`. Re-using a key updates the existing entry in place.Connection
Upsert a memory keyed on `(team, key)`. Re-using a key updates the existing entry in place.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Signals Source Configs CreatePOSTHOG_SIGNALS_SOURCE_CONFIGS_CREATESignals Source Configs CreateConnection
Signals Source Configs Create
Authentication
Connected account requiredTags
Signals Source Configs DestroyPOSTHOG_SIGNALS_SOURCE_CONFIGS_DESTROYSignals Source Configs DestroyConnection
Signals Source Configs Destroy
Authentication
Connected account requiredTags
Signals Source Configs ListPOSTHOG_SIGNALS_SOURCE_CONFIGS_LISTSignals Source Configs ListConnection
Signals Source Configs List
Authentication
Connected account requiredTags
Signals Source Configs Partial UpdatePOSTHOG_SIGNALS_SOURCE_CONFIGS_PARTIAL_UPDATESignals Source Configs Partial UpdateConnection
Signals Source Configs Partial Update
Authentication
Connected account requiredTags
Signals Source Configs RetrievePOSTHOG_SIGNALS_SOURCE_CONFIGS_RETRIEVESignals Source Configs RetrieveConnection
Signals Source Configs Retrieve
Authentication
Connected account requiredTags
Signals Source Configs UpdatePOSTHOG_SIGNALS_SOURCE_CONFIGS_UPDATESignals Source Configs UpdateConnection
Signals Source Configs Update
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Subscriptions CreatePOSTHOG_SUBSCRIPTIONS_CREATESubscriptions CreateConnection
Subscriptions Create
Authentication
Connected account requiredTags
List subscription deliveriesPOSTHOG_SUBSCRIPTIONS_DELIVERIES_LISTPaginated delivery history for a subscription. Requires premium subscriptions.Connection
Paginated delivery history for a subscription. Requires premium subscriptions.
Authentication
Connected account requiredTags
Retrieve subscription deliveryPOSTHOG_SUBSCRIPTIONS_DELIVERIES_RETRIEVEFetch one delivery row by id.Connection
Fetch one delivery row by id.
Authentication
Connected account requiredTags
Subscriptions DestroyPOSTHOG_SUBSCRIPTIONS_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
Subscriptions ListPOSTHOG_SUBSCRIPTIONS_LISTSubscriptions ListConnection
Subscriptions List
Authentication
Connected account requiredTags
Subscriptions Partial UpdatePOSTHOG_SUBSCRIPTIONS_PARTIAL_UPDATESubscriptions Partial UpdateConnection
Subscriptions Partial Update
Authentication
Connected account requiredTags
Subscriptions RetrievePOSTHOG_SUBSCRIPTIONS_RETRIEVESubscriptions RetrieveConnection
Subscriptions Retrieve
Authentication
Connected account requiredTags
Subscriptions Summary Quota RetrievePOSTHOG_SUBSCRIPTIONS_SUMMARY_QUOTA_RETRIEVESubscriptions Summary Quota RetrieveConnection
Subscriptions Summary Quota Retrieve
Authentication
Connected account requiredTags
Subscriptions Test Delivery CreatePOSTHOG_SUBSCRIPTIONS_TEST_DELIVERY_CREATESubscriptions Test Delivery CreateConnection
Subscriptions Test Delivery Create
Authentication
Connected account requiredTags
Subscriptions UpdatePOSTHOG_SUBSCRIPTIONS_UPDATESubscriptions UpdateConnection
Subscriptions Update
Authentication
Connected account requiredTags
Surveys Activity RetrievePOSTHOG_SURVEYS_ACTIVITY_RETRIEVESurveys Activity RetrieveConnection
Surveys Activity Retrieve
Authentication
Connected account requiredTags
Surveys All Activity RetrievePOSTHOG_SURVEYS_ALL_ACTIVITY_RETRIEVESurveys All Activity RetrieveConnection
Surveys All Activity Retrieve
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Surveys CreatePOSTHOG_SURVEYS_CREATESurveys CreateConnection
Surveys Create
Authentication
Connected account requiredTags
Surveys DestroyPOSTHOG_SURVEYS_DESTROYSurveys DestroyConnection
Surveys Destroy
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Surveys Generate Translations CreatePOSTHOG_SURVEYS_GENERATE_TRANSLATIONS_CREATESurveys Generate Translations CreateConnection
Surveys Generate Translations Create
Authentication
Connected account requiredTags
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 ratesConnection
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 requiredTags
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.Connection
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 requiredTags
Surveys ListPOSTHOG_SURVEYS_LISTSurveys ListConnection
Surveys List
Authentication
Connected account requiredTags
Surveys Partial UpdatePOSTHOG_SURVEYS_PARTIAL_UPDATESurveys Partial UpdateConnection
Surveys Partial Update
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Surveys Responses Archive CreatePOSTHOG_SURVEYS_RESPONSES_ARCHIVE_CREATEArchive a single survey response.Connection
Archive a single survey response.
Authentication
Connected account requiredTags
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 countsConnection
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 requiredTags
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.Connection
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 requiredTags
Surveys Responses Unarchive CreatePOSTHOG_SURVEYS_RESPONSES_UNARCHIVE_CREATEUnarchive a single survey response.Connection
Unarchive a single survey response.
Authentication
Connected account requiredTags
Surveys RetrievePOSTHOG_SURVEYS_RETRIEVESurveys RetrieveConnection
Surveys Retrieve
Authentication
Connected account requiredTags
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 ratesConnection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Surveys Summary Headline CreatePOSTHOG_SURVEYS_SUMMARY_HEADLINE_CREATESurveys Summary Headline CreateConnection
Surveys Summary Headline Create
Authentication
Connected account requiredTags
Surveys UpdatePOSTHOG_SURVEYS_UPDATESurveys UpdateConnection
Surveys Update
Authentication
Connected account requiredTags
Taggers CreatePOSTHOG_TAGGERS_CREATETaggers CreateConnection
Taggers Create
Authentication
Connected account requiredTags
Taggers DestroyPOSTHOG_TAGGERS_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
Taggers ListPOSTHOG_TAGGERS_LISTTaggers ListConnection
Taggers List
Authentication
Connected account requiredTags
Taggers Partial UpdatePOSTHOG_TAGGERS_PARTIAL_UPDATETaggers Partial UpdateConnection
Taggers Partial Update
Authentication
Connected account requiredTags
Taggers RetrievePOSTHOG_TAGGERS_RETRIEVETaggers RetrieveConnection
Taggers Retrieve
Authentication
Connected account requiredTags
Taggers Test Hog CreatePOSTHOG_TAGGERS_TEST_HOG_CREATETest Hog tagger code against sample events without saving.Connection
Test Hog tagger code against sample events without saving.
Authentication
Connected account requiredTags
Taggers UpdatePOSTHOG_TAGGERS_UPDATETaggers UpdateConnection
Taggers Update
Authentication
Connected account requiredTags
Tasks CreatePOSTHOG_TASKS_CREATEAPI for managing tasks within a project. Tasks represent units of work to be performed by an agent.Connection
API for managing tasks within a project. Tasks represent units of work to be performed by an agent.
Authentication
Connected account requiredTags
Tasks DestroyPOSTHOG_TASKS_DESTROYAPI for managing tasks within a project. Tasks represent units of work to be performed by an agent.Connection
API for managing tasks within a project. Tasks represent units of work to be performed by an agent.
Authentication
Connected account requiredTags
List tasksPOSTHOG_TASKS_LISTGet a list of tasks for the current project, with optional filtering by origin product, stage, organization, repository, and created_by.Connection
Get a list of tasks for the current project, with optional filtering by origin product, stage, organization, repository, and created_by.
Authentication
Connected account requiredTags
Tasks Partial UpdatePOSTHOG_TASKS_PARTIAL_UPDATEAPI for managing tasks within a project. Tasks represent units of work to be performed by an agent.Connection
API for managing tasks within a project. Tasks represent units of work to be performed by an agent.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Get repository readinessPOSTHOG_TASKS_REPOSITORY_READINESS_RETRIEVEGet autonomy readiness details for a specific repository in the current project.Connection
Get autonomy readiness details for a specific repository in the current project.
Authentication
Connected account requiredTags
Get taskPOSTHOG_TASKS_RETRIEVERetrieve a single task by ID.Connection
Retrieve a single task by ID.
Authentication
Connected account requiredTags
Append log entriesPOSTHOG_TASKS_RUNS_APPEND_LOG_CREATEAppend one or more log entries to the task run log arrayConnection
Append one or more log entries to the task run log array
Authentication
Connected account requiredTags
Upload artifacts for a task runPOSTHOG_TASKS_RUNS_ARTIFACTS_CREATEPersist task artifacts to S3 and attach them to the run manifest.Connection
Persist task artifacts to S3 and attach them to the run manifest.
Authentication
Connected account requiredTags
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.Connection
Streams artifact content for a task run artifact after validating that it belongs to the run.
Authentication
Connected account requiredTags
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.Connection
Verify directly uploaded S3 objects and attach them to the run artifact manifest.
Authentication
Connected account requiredTags
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.Connection
Reserve S3 object keys for task artifacts and return presigned POST forms for direct uploads.
Authentication
Connected account requiredTags
Generate presigned URL for an artifactPOSTHOG_TASKS_RUNS_ARTIFACTS_PRESIGN_CREATEReturns a temporary, signed URL that can be used to download a specific artifact.Connection
Returns a temporary, signed URL that can be used to download a specific artifact.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Get sandbox connection tokenPOSTHOG_TASKS_RUNS_CONNECTION_TOKEN_RETRIEVEGenerate a JWT token for direct connection to the sandbox. Valid for 24 hours.Connection
Generate a JWT token for direct connection to the sandbox. Valid for 24 hours.
Authentication
Connected account requiredTags
Create task runPOSTHOG_TASKS_RUNS_CREATECreate a new run for a specific task without starting execution.Connection
Create a new run for a specific task without starting execution.
Authentication
Connected account requiredTags
List task runsPOSTHOG_TASKS_RUNS_LISTGet a list of runs for a specific task.Connection
Get a list of runs for a specific task.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Update task runPOSTHOG_TASKS_RUNS_PARTIAL_UPDATEAPI for managing task runs. Each run represents an execution of a task.Connection
API for managing task runs. Each run represents an execution of a task.
Authentication
Connected account requiredTags
Relay run message to SlackPOSTHOG_TASKS_RUNS_RELAY_MESSAGE_CREATEQueue a Slack relay workflow to post a run message into the mapped Slack thread.Connection
Queue a Slack relay workflow to post a run message into the mapped Slack thread.
Authentication
Connected account requiredTags
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.Connection
Resume an existing task run in a cloud sandbox. Terminates any existing workflow and starts a new one.
Authentication
Connected account requiredTags
Get task runPOSTHOG_TASKS_RUNS_RETRIEVERetrieve a single run for a specific task.Connection
Retrieve a single run for a specific task.
Authentication
Connected account requiredTags
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.Connection
Fetch session log entries for a task run with optional filtering by timestamp, event type, and limit.
Authentication
Connected account requiredTags
Set run outputPOSTHOG_TASKS_RUNS_SET_OUTPUT_PARTIAL_UPDATEUpdate the output field for a task run (e.g., PR URL, commit SHA, etc.)Connection
Update the output field for a task run (e.g., PR URL, commit SHA, etc.)
Authentication
Connected account requiredTags
Start task runPOSTHOG_TASKS_RUNS_START_CREATEStart an existing cloud run after any initial run-scoped attachments have been uploaded.Connection
Start an existing cloud run after any initial run-scoped attachments have been uploaded.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
Generate a run-scoped JWT that authorizes reading this task run's live event stream via the agent-proxy.
Authentication
Connected account requiredTags
Run taskPOSTHOG_TASKS_RUN_CREATECreate a new task run and kick off the workflow.Connection
Create a new task run and kick off the workflow.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
Verify staged S3 uploads and cache their metadata so they can be attached to the next run created for this task.
Authentication
Connected account requiredTags
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.Connection
Reserve S3 object keys for task attachments before creating a new run and return presigned POST forms for direct uploads.
Authentication
Connected account requiredTags
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`.Connection
Returns summary for the requested tasks: `id`, `title`, `repository`, `created_at`, `updated_at`, and the latest run's `status` and `environment`.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
List thread messagesPOSTHOG_TASKS_THREAD_MESSAGES_LISTThe task's thread in chronological order.Connection
The task's thread in chronological order.
Authentication
Connected account requiredTags
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.Connection
Task author only: forwards the message into the task's latest live run.
Authentication
Connected account requiredTags
Tasks UpdatePOSTHOG_TASKS_UPDATEAPI for managing tasks within a project. Tasks represent units of work to be performed by an agent.Connection
API for managing tasks within a project. Tasks represent units of work to be performed by an agent.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Task Automations CreatePOSTHOG_TASK_AUTOMATIONS_CREATEAPI for managing scheduled task automations.Connection
API for managing scheduled task automations.
Authentication
Connected account requiredTags
Task Automations DestroyPOSTHOG_TASK_AUTOMATIONS_DESTROYAPI for managing scheduled task automations.Connection
API for managing scheduled task automations.
Authentication
Connected account requiredTags
Task Automations ListPOSTHOG_TASK_AUTOMATIONS_LISTAPI for managing scheduled task automations.Connection
API for managing scheduled task automations.
Authentication
Connected account requiredTags
Task Automations Partial UpdatePOSTHOG_TASK_AUTOMATIONS_PARTIAL_UPDATEAPI for managing scheduled task automations.Connection
API for managing scheduled task automations.
Authentication
Connected account requiredTags
Task Automations RetrievePOSTHOG_TASK_AUTOMATIONS_RETRIEVEAPI for managing scheduled task automations.Connection
API for managing scheduled task automations.
Authentication
Connected account requiredTags
Task Automations Run CreatePOSTHOG_TASK_AUTOMATIONS_RUN_CREATEAPI for managing scheduled task automations.Connection
API for managing scheduled task automations.
Authentication
Connected account requiredTags
Resolve or create a public channelPOSTHOG_TASK_CHANNELS_CREATEReturns the existing public channel with the (normalized) name, creating it if needed.Connection
Returns the existing public channel with the (normalized) name, creating it if needed.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
List channelsPOSTHOG_TASK_CHANNELS_LISTAll live public channels plus the requester's personal #me channel (created on first list).Connection
All live public channels plus the requester's personal #me channel (created on first list).
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
List mentions of the requesterPOSTHOG_TASK_MENTIONS_LISTThread messages that @-mention the requester, newest first, restricted to tasks they can see.Connection
Thread messages that @-mention the requester, newest first, restricted to tasks they can see.
Authentication
Connected account requiredTags
Tracing Spans Aggregate CreatePOSTHOG_TRACING_SPANS_AGGREGATE_CREATETracing Spans Aggregate CreateConnection
Tracing Spans Aggregate Create
Authentication
Connected account requiredTags
Tracing Spans Attributes RetrievePOSTHOG_TRACING_SPANS_ATTRIBUTES_RETRIEVETracing Spans Attributes RetrieveConnection
Tracing Spans Attributes Retrieve
Authentication
Connected account requiredTags
Tracing Spans Attribute Breakdown CreatePOSTHOG_TRACING_SPANS_ATTRIBUTE_BREAKDOWN_CREATETracing Spans Attribute Breakdown CreateConnection
Tracing Spans Attribute Breakdown Create
Authentication
Connected account requiredTags
Tracing Spans Count CreatePOSTHOG_TRACING_SPANS_COUNT_CREATETracing Spans Count CreateConnection
Tracing Spans Count Create
Authentication
Connected account requiredTags
Tracing Spans Duration Histogram CreatePOSTHOG_TRACING_SPANS_DURATION_HISTOGRAM_CREATETracing Spans Duration Histogram CreateConnection
Tracing Spans Duration Histogram Create
Authentication
Connected account requiredTags
Tracing Spans Has Spans RetrievePOSTHOG_TRACING_SPANS_HAS_SPANS_RETRIEVETracing Spans Has Spans RetrieveConnection
Tracing Spans Has Spans Retrieve
Authentication
Connected account requiredTags
Tracing Spans Query CreatePOSTHOG_TRACING_SPANS_QUERY_CREATETracing Spans Query CreateConnection
Tracing Spans Query Create
Authentication
Connected account requiredTags
Tracing Spans Service Names RetrievePOSTHOG_TRACING_SPANS_SERVICE_NAMES_RETRIEVETracing Spans Service Names RetrieveConnection
Tracing Spans Service Names Retrieve
Authentication
Connected account requiredTags
Tracing Spans Sparkline CreatePOSTHOG_TRACING_SPANS_SPARKLINE_CREATETracing Spans Sparkline CreateConnection
Tracing Spans Sparkline Create
Authentication
Connected account requiredTags
Tracing Spans Symbol Stats CreatePOSTHOG_TRACING_SPANS_SYMBOL_STATS_CREATETracing Spans Symbol Stats CreateConnection
Tracing Spans Symbol Stats Create
Authentication
Connected account requiredTags
Tracing Spans Trace CreatePOSTHOG_TRACING_SPANS_TRACE_CREATETracing Spans Trace CreateConnection
Tracing Spans Trace Create
Authentication
Connected account requiredTags
Tracing Spans Tree CreatePOSTHOG_TRACING_SPANS_TREE_CREATETracing Spans Tree CreateConnection
Tracing Spans Tree Create
Authentication
Connected account requiredTags
Tracing Spans Values RetrievePOSTHOG_TRACING_SPANS_VALUES_RETRIEVETracing Spans Values RetrieveConnection
Tracing Spans Values Retrieve
Authentication
Connected account requiredTags
Tracing Views CreatePOSTHOG_TRACING_VIEWS_CREATETracing Views CreateConnection
Tracing Views Create
Authentication
Connected account requiredTags
Tracing Views DestroyPOSTHOG_TRACING_VIEWS_DESTROYTracing Views DestroyConnection
Tracing Views Destroy
Authentication
Connected account requiredTags
Tracing Views ListPOSTHOG_TRACING_VIEWS_LISTTracing Views ListConnection
Tracing Views List
Authentication
Connected account requiredTags
Tracing Views Partial UpdatePOSTHOG_TRACING_VIEWS_PARTIAL_UPDATETracing Views Partial UpdateConnection
Tracing Views Partial Update
Authentication
Connected account requiredTags
Tracing Views RetrievePOSTHOG_TRACING_VIEWS_RETRIEVETracing Views RetrieveConnection
Tracing Views Retrieve
Authentication
Connected account requiredTags
Tracing Views UpdatePOSTHOG_TRACING_VIEWS_UPDATETracing Views UpdateConnection
Tracing Views Update
Authentication
Connected account requiredTags
UpdatePOSTHOG_UPDATEUpdateConnection
Update
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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 RetrieveConnection
Users Github Login Retrieve
Authentication
Connected account requiredTags
Users Hedgehog Config Partial UpdatePOSTHOG_USERS_HEDGEHOG_CONFIG_PARTIAL_UPDATEUsers Hedgehog Config Partial UpdateConnection
Users Hedgehog Config Partial Update
Authentication
Connected account requiredTags
Users Hedgehog Config RetrievePOSTHOG_USERS_HEDGEHOG_CONFIG_RETRIEVEUsers Hedgehog Config RetrieveConnection
Users Hedgehog Config Retrieve
Authentication
Connected account requiredTags
List branches for a personal GitHub installation repositoryPOSTHOG_USERS_INTEGRATIONS_GITHUB_BRANCHES_RETRIEVEList branches for a repository accessible to a personal GitHub installation.Connection
List branches for a repository accessible to a personal GitHub installation.
Authentication
Connected account requiredTags
Disconnect a personal GitHub integrationPOSTHOG_USERS_INTEGRATIONS_GITHUB_DESTROYRemove a specific GitHub installation by its installation_id.Connection
Remove a specific GitHub installation by its installation_id.
Authentication
Connected account requiredTags
Users Integrations Github Prepare Callback CreatePOSTHOG_USERS_INTEGRATIONS_GITHUB_PREPARE_CALLBACK_CREATESeed personal GitHub manage callback state before opening installation settings on GitHub.Connection
Seed personal GitHub manage callback state before opening installation settings on GitHub.
Authentication
Connected account requiredTags
Refresh repositories for a personal GitHub installationPOSTHOG_USERS_INTEGRATIONS_GITHUB_REPOS_REFRESH_CREATERefresh repositories accessible to a specific GitHub installation.Connection
Refresh repositories accessible to a specific GitHub installation.
Authentication
Connected account requiredTags
List repositories for a personal GitHub installationPOSTHOG_USERS_INTEGRATIONS_GITHUB_REPOS_RETRIEVEList repositories accessible to a specific GitHub installation (paginated, cached).Connection
List repositories accessible to a specific GitHub installation (paginated, cached).
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Users ListPOSTHOG_USERS_LISTUsers ListConnection
Users List
Authentication
Connected account requiredTags
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.Connection
Update one or more of the authenticated user's profile fields or settings.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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)Connection
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 requiredTags
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)Connection
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 requiredTags
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)Connection
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 requiredTags
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.Connection
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 requiredTags
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
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.Connection
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 requiredTags
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.Connection
Get the authenticated user's pinned sidebar tabs and configured homepage for the current team. Pass `@me` as the UUID.
Authentication
Connected account requiredTags
User Interviews CreatePOSTHOG_USER_INTERVIEWS_CREATEUser Interviews CreateConnection
User Interviews Create
Authentication
Connected account requiredTags
User Interviews DestroyPOSTHOG_USER_INTERVIEWS_DESTROYUser Interviews DestroyConnection
User Interviews Destroy
Authentication
Connected account requiredTags
User Interviews ListPOSTHOG_USER_INTERVIEWS_LISTUser Interviews ListConnection
User Interviews List
Authentication
Connected account requiredTags
User Interviews Partial UpdatePOSTHOG_USER_INTERVIEWS_PARTIAL_UPDATEUser Interviews Partial UpdateConnection
User Interviews Partial Update
Authentication
Connected account requiredTags
User Interviews RetrievePOSTHOG_USER_INTERVIEWS_RETRIEVEUser Interviews RetrieveConnection
User Interviews Retrieve
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
User Interviews UpdatePOSTHOG_USER_INTERVIEWS_UPDATEUser Interviews UpdateConnection
User Interviews Update
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
User Interview Topics CreatePOSTHOG_USER_INTERVIEW_TOPICS_CREATEPlanned user interview topics: who we want to target and what we want to ask about.Connection
Planned user interview topics: who we want to target and what we want to ask about.
Authentication
Connected account requiredTags
User Interview Topics DestroyPOSTHOG_USER_INTERVIEW_TOPICS_DESTROYPlanned user interview topics: who we want to target and what we want to ask about.Connection
Planned user interview topics: who we want to target and what we want to ask about.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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).Connection
Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).
Authentication
Connected account requiredTags
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).Connection
Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).
Authentication
Connected account requiredTags
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).Connection
Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).
Authentication
Connected account requiredTags
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).Connection
Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).
Authentication
Connected account requiredTags
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).Connection
Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).
Authentication
Connected account requiredTags
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).Connection
Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
User Interview Topics ListPOSTHOG_USER_INTERVIEW_TOPICS_LISTPlanned user interview topics: who we want to target and what we want to ask about.Connection
Planned user interview topics: who we want to target and what we want to ask about.
Authentication
Connected account requiredTags
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.Connection
Planned user interview topics: who we want to target and what we want to ask about.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
User Interview Topics RetrievePOSTHOG_USER_INTERVIEW_TOPICS_RETRIEVEPlanned user interview topics: who we want to target and what we want to ask about.Connection
Planned user interview topics: who we want to target and what we want to ask about.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
User Interview Topics UpdatePOSTHOG_USER_INTERVIEW_TOPICS_UPDATEPlanned user interview topics: who we want to target and what we want to ask about.Connection
Planned user interview topics: who we want to target and what we want to ask about.
Authentication
Connected account requiredTags
Vision Actions CreatePOSTHOG_VISION_ACTIONS_CREATECRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.Connection
CRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.
Authentication
Connected account requiredTags
Vision Actions DestroyPOSTHOG_VISION_ACTIONS_DESTROYCRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.Connection
CRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.
Authentication
Connected account requiredTags
Vision Actions ListPOSTHOG_VISION_ACTIONS_LISTCRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.Connection
CRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.
Authentication
Connected account requiredTags
Vision Actions Partial UpdatePOSTHOG_VISION_ACTIONS_PARTIAL_UPDATECRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.Connection
CRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.
Authentication
Connected account requiredTags
Vision Actions RetrievePOSTHOG_VISION_ACTIONS_RETRIEVECRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.Connection
CRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.
Authentication
Connected account requiredTags
Vision Actions Runs ListPOSTHOG_VISION_ACTIONS_RUNS_LISTRead-only run history for a single vision action (nested under /vision/actions/{action_id}/runs/).Connection
Read-only run history for a single vision action (nested under /vision/actions/{action_id}/runs/).
Authentication
Connected account requiredTags
Vision Actions Runs RetrievePOSTHOG_VISION_ACTIONS_RUNS_RETRIEVERead-only run history for a single vision action (nested under /vision/actions/{action_id}/runs/).Connection
Read-only run history for a single vision action (nested under /vision/actions/{action_id}/runs/).
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Vision Observations Label DestroyPOSTHOG_VISION_OBSERVATIONS_LABEL_DESTROYRemove the observation's shared label. Requires session recording edit access.Connection
Remove the observation's shared label. Requires session recording edit access.
Authentication
Connected account requiredTags
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.Connection
Read-only access to a session's observations across every scanner the caller can read, for the replay-page dock.
Authentication
Connected account requiredTags
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.Connection
Read-only access to a session's observations across every scanner the caller can read, for the replay-page dock.
Authentication
Connected account requiredTags
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.Connection
Delete a failed observation and re-run its scanner on the same recording. Returns 202 with the workflow handle.
Authentication
Connected account requiredTags
Vision Scanners CreatePOSTHOG_VISION_SCANNERS_CREATECRUD for Replay Vision scanners.Connection
CRUD for Replay Vision scanners.
Authentication
Connected account requiredTags
Vision Scanners Creators RetrievePOSTHOG_VISION_SCANNERS_CREATORS_RETRIEVEDistinct creators across the team's scanners — feeds the `Created by` filter dropdown.Connection
Distinct creators across the team's scanners — feeds the `Created by` filter dropdown.
Authentication
Connected account requiredTags
Vision Scanners DestroyPOSTHOG_VISION_SCANNERS_DESTROYCRUD for Replay Vision scanners.Connection
CRUD for Replay Vision scanners.
Authentication
Connected account requiredTags
Vision Scanners Estimate CreatePOSTHOG_VISION_SCANNERS_ESTIMATE_CREATEEstimate the observation volume a proposed scanner would generate, for the pre-save cost preview.Connection
Estimate the observation volume a proposed scanner would generate, for the pre-save cost preview.
Authentication
Connected account requiredTags
Vision Scanners ListPOSTHOG_VISION_SCANNERS_LISTCRUD for Replay Vision scanners.Connection
CRUD for Replay Vision scanners.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Vision Scanners Observations Label DestroyPOSTHOG_VISION_SCANNERS_OBSERVATIONS_LABEL_DESTROYRemove the observation's shared label. Requires session recording edit access.Connection
Remove the observation's shared label. Requires session recording edit access.
Authentication
Connected account requiredTags
Vision Scanners Observations ListPOSTHOG_VISION_SCANNERS_OBSERVATIONS_LISTRead-only access to observations produced by a scanner.Connection
Read-only access to observations produced by a scanner.
Authentication
Connected account requiredTags
Vision Scanners Observations RetrievePOSTHOG_VISION_SCANNERS_OBSERVATIONS_RETRIEVERead-only access to observations produced by a scanner.Connection
Read-only access to observations produced by a scanner.
Authentication
Connected account requiredTags
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.Connection
Delete a failed observation and re-run its scanner on the same recording. Returns 202 with the workflow handle.
Authentication
Connected account requiredTags
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.Connection
Aggregate counts and per-scanner-type distributions over the filtered observation set. Same filters as the list endpoint apply.
Authentication
Connected account requiredTags
Vision Scanners Observe CreatePOSTHOG_VISION_SCANNERS_OBSERVE_CREATEApply this scanner to one specific session, on demand. Returns 202 with the workflow handle.Connection
Apply this scanner to one specific session, on demand. Returns 202 with the workflow handle.
Authentication
Connected account requiredTags
Vision Scanners Partial UpdatePOSTHOG_VISION_SCANNERS_PARTIAL_UPDATECRUD for Replay Vision scanners.Connection
CRUD for Replay Vision scanners.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
Dismiss this suggestion without applying it. Only the current pending suggestion can be dismissed. Requires session recording edit access.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
AI prompt-rewrite suggestions for a scanner, generated from the team's thumbs up/down ratings.
Authentication
Connected account requiredTags
Vision Scanners RetrievePOSTHOG_VISION_SCANNERS_RETRIEVECRUD for Replay Vision scanners.Connection
CRUD for Replay Vision scanners.
Authentication
Connected account requiredTags
Vision Scanners Stats RetrievePOSTHOG_VISION_SCANNERS_STATS_RETRIEVETeam-wide scanner counts — independent of list filters, so the overview stays stable.Connection
Team-wide scanner counts — independent of list filters, so the overview stays stable.
Authentication
Connected account requiredTags
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.Connection
Suggest classifier tags grounded in the scanner's own observations and the org's product data.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Visual Review Repos CreatePOSTHOG_VISUAL_REVIEW_REPOS_CREATECreate a new repo.Connection
Create a new repo.
Authentication
Connected account requiredTags
Visual Review Repos ListPOSTHOG_VISUAL_REVIEW_REPOS_LISTList all projects for the team.Connection
List all projects for the team.
Authentication
Connected account requiredTags
Visual Review Repos Partial UpdatePOSTHOG_VISUAL_REVIEW_REPOS_PARTIAL_UPDATEUpdate a repo's settings.Connection
Update a repo's settings.
Authentication
Connected account requiredTags
Visual Review Repos Quarantine CreatePOSTHOG_VISUAL_REVIEW_REPOS_QUARANTINE_CREATEQuarantine a snapshot identifier for a specific run type.Connection
Quarantine a snapshot identifier for a specific run type.
Authentication
Connected account requiredTags
Visual Review Repos Quarantine Expire CreatePOSTHOG_VISUAL_REVIEW_REPOS_QUARANTINE_EXPIRE_CREATEExpire all active quarantine entries for an identifier.Connection
Expire all active quarantine entries for an identifier.
Authentication
Connected account requiredTags
Visual Review Repos Quarantine ListPOSTHOG_VISUAL_REVIEW_REPOS_QUARANTINE_LISTList quarantined identifiers. Without filter: active only. With identifier: full history.Connection
List quarantined identifiers. Without filter: active only. With identifier: full history.
Authentication
Connected account requiredTags
Visual Review Repos RetrievePOSTHOG_VISUAL_REVIEW_REPOS_RETRIEVEGet a repo by ID.Connection
Get a repo by ID.
Authentication
Connected account requiredTags
Visual Review Repos Runs Counts RetrievePOSTHOG_VISUAL_REVIEW_REPOS_RUNS_COUNTS_RETRIEVEReview state counts for runs in this repo.Connection
Review state counts for runs in this repo.
Authentication
Connected account requiredTags
Visual Review Repos Runs ListPOSTHOG_VISUAL_REVIEW_REPOS_RUNS_LISTList runs in this repo, optionally filtered by review state and free-text search.Connection
List runs in this repo, optionally filtered by review state and free-text search.
Authentication
Connected account requiredTags
Visual Review Repos Snapshots ListPOSTHOG_VISUAL_REVIEW_REPOS_SNAPSHOTS_LISTDeduped baseline timeline for a snapshot identity. Newest first.Connection
Deduped baseline timeline for a snapshot identity. Newest first.
Authentication
Connected account requiredTags
Visual Review Repos Thumbnails RetrievePOSTHOG_VISUAL_REVIEW_REPOS_THUMBNAILS_RETRIEVEServe a snapshot thumbnail by identifier. Returns WebP with ETag caching.Connection
Serve a snapshot thumbnail by identifier. Returns WebP with ETag caching.
Authentication
Connected account requiredTags
Visual Review Runs Add Snapshots CreatePOSTHOG_VISUAL_REVIEW_RUNS_ADD_SNAPSHOTS_CREATEAdd a batch of snapshots to a pending run (shard-based flow).Connection
Add a batch of snapshots to a pending run (shard-based flow).
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Visual Review Runs Complete CreatePOSTHOG_VISUAL_REVIEW_RUNS_COMPLETE_CREATEComplete a run: detect removals, verify uploads, trigger diff processing.Connection
Complete a run: detect removals, verify uploads, trigger diff processing.
Authentication
Connected account requiredTags
Visual Review Runs Counts RetrievePOSTHOG_VISUAL_REVIEW_RUNS_COUNTS_RETRIEVEReview state counts for the runs list.Connection
Review state counts for the runs list.
Authentication
Connected account requiredTags
Visual Review Runs CreatePOSTHOG_VISUAL_REVIEW_RUNS_CREATECreate a new run from a CI manifest.Connection
Create a new run from a CI manifest.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
List runs for the team, optionally filtered by review state, PR number, commit SHA, branch, or free-text search.
Authentication
Connected account requiredTags
Visual Review Runs Recompute CreatePOSTHOG_VISUAL_REVIEW_RUNS_RECOMPUTE_CREATERe-evaluate quarantine and counts, update commit status, and optionally rerun the CI job.Connection
Re-evaluate quarantine and counts, update commit status, and optionally rerun the CI job.
Authentication
Connected account requiredTags
Visual Review Runs RetrievePOSTHOG_VISUAL_REVIEW_RUNS_RETRIEVEGet run status and summary.Connection
Get run status and summary.
Authentication
Connected account requiredTags
Visual Review Runs Snapshots ListPOSTHOG_VISUAL_REVIEW_RUNS_SNAPSHOTS_LISTGet a run's snapshots with diff results, excluding quarantined ones by default.Connection
Get a run's snapshots with diff results, excluding quarantined ones by default.
Authentication
Connected account requiredTags
Visual Review Runs Snapshot History ListPOSTHOG_VISUAL_REVIEW_RUNS_SNAPSHOT_HISTORY_LISTRecent change history for a snapshot identifier across runs.Connection
Recent change history for a snapshot identifier across runs.
Authentication
Connected account requiredTags
Visual Review Runs Tolerated Hashes ListPOSTHOG_VISUAL_REVIEW_RUNS_TOLERATED_HASHES_LISTList known tolerated hashes for a snapshot identifier.Connection
List known tolerated hashes for a snapshot identifier.
Authentication
Connected account requiredTags
Visual Review Runs Tolerate CreatePOSTHOG_VISUAL_REVIEW_RUNS_TOLERATE_CREATEMark a changed snapshot as a known tolerated alternate.Connection
Mark a changed snapshot as a known tolerated alternate.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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>`.Connection
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 requiredTags
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>`.Connection
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 requiredTags
Warehouse Dag ListPOSTHOG_WAREHOUSE_DAG_LISTReturn this team's DAG as a set of edges and nodesConnection
Return this team's DAG as a set of edges and nodes
Authentication
Connected account requiredTags
Warehouse Model Paths ListPOSTHOG_WAREHOUSE_MODEL_PATHS_LISTWarehouse Model Paths ListConnection
Warehouse Model Paths List
Authentication
Connected account requiredTags
Warehouse Model Paths RetrievePOSTHOG_WAREHOUSE_MODEL_PATHS_RETRIEVEWarehouse Model Paths RetrieveConnection
Warehouse Model Paths Retrieve
Authentication
Connected account requiredTags
Warehouse Saved Queries Activity RetrievePOSTHOG_WAREHOUSE_SAVED_QUERIES_ACTIVITY_RETRIEVECreate, Read, Update and Delete Warehouse Tables.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
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.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
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.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
Warehouse Saved Queries ListPOSTHOG_WAREHOUSE_SAVED_QUERIES_LISTCreate, Read, Update and Delete Warehouse Tables.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
Warehouse Saved Queries Materialize CreatePOSTHOG_WAREHOUSE_SAVED_QUERIES_MATERIALIZE_CREATEEnable materialization for this saved query with a 24-hour sync frequency.Connection
Enable materialization for this saved query with a 24-hour sync frequency.
Authentication
Connected account requiredTags
Warehouse Saved Queries Partial UpdatePOSTHOG_WAREHOUSE_SAVED_QUERIES_PARTIAL_UPDATECreate, Read, Update and Delete Warehouse Tables.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
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.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
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)Connection
Undo materialization, revert back to the original view. (i.e. delete the materialized table and the schedule)
Authentication
Connected account requiredTags
Warehouse Saved Queries Run CreatePOSTHOG_WAREHOUSE_SAVED_QUERIES_RUN_CREATERun this saved query.Connection
Run this saved query.
Authentication
Connected account requiredTags
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.Connection
Return the recent run history (up to 5 most recent) for this materialized view.
Authentication
Connected account requiredTags
Warehouse Saved Queries UpdatePOSTHOG_WAREHOUSE_SAVED_QUERIES_UPDATECreate, Read, Update and Delete Warehouse Tables.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
Warehouse Saved Query Folders CreatePOSTHOG_WAREHOUSE_SAVED_QUERY_FOLDERS_CREATEWarehouse Saved Query Folders CreateConnection
Warehouse Saved Query Folders Create
Authentication
Connected account requiredTags
Warehouse Saved Query Folders DestroyPOSTHOG_WAREHOUSE_SAVED_QUERY_FOLDERS_DESTROYWarehouse Saved Query Folders DestroyConnection
Warehouse Saved Query Folders Destroy
Authentication
Connected account requiredTags
Warehouse Saved Query Folders ListPOSTHOG_WAREHOUSE_SAVED_QUERY_FOLDERS_LISTWarehouse Saved Query Folders ListConnection
Warehouse Saved Query Folders List
Authentication
Connected account requiredTags
Warehouse Saved Query Folders Partial UpdatePOSTHOG_WAREHOUSE_SAVED_QUERY_FOLDERS_PARTIAL_UPDATEWarehouse Saved Query Folders Partial UpdateConnection
Warehouse Saved Query Folders Partial Update
Authentication
Connected account requiredTags
Warehouse Saved Query Folders RetrievePOSTHOG_WAREHOUSE_SAVED_QUERY_FOLDERS_RETRIEVEWarehouse Saved Query Folders RetrieveConnection
Warehouse Saved Query Folders Retrieve
Authentication
Connected account requiredTags
Warehouse Tables CreatePOSTHOG_WAREHOUSE_TABLES_CREATECreate, Read, Update and Delete Warehouse Tables.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
Warehouse Tables DestroyPOSTHOG_WAREHOUSE_TABLES_DESTROYCreate, Read, Update and Delete Warehouse Tables.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
Warehouse Tables File CreatePOSTHOG_WAREHOUSE_TABLES_FILE_CREATECreate, Read, Update and Delete Warehouse Tables.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
Warehouse Tables ListPOSTHOG_WAREHOUSE_TABLES_LISTCreate, Read, Update and Delete Warehouse Tables.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
Warehouse Tables Partial UpdatePOSTHOG_WAREHOUSE_TABLES_PARTIAL_UPDATECreate, Read, Update and Delete Warehouse Tables.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Warehouse Tables RetrievePOSTHOG_WAREHOUSE_TABLES_RETRIEVECreate, Read, Update and Delete Warehouse Tables.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
Warehouse Tables UpdatePOSTHOG_WAREHOUSE_TABLES_UPDATECreate, Read, Update and Delete Warehouse Tables.Connection
Create, Read, Update and Delete Warehouse Tables.
Authentication
Connected account requiredTags
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 Links CreatePOSTHOG_WAREHOUSE_VIEW_LINKS_CREATECreate, Read, Update and Delete View Columns.Connection
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredTags
Warehouse View Links DestroyPOSTHOG_WAREHOUSE_VIEW_LINKS_DESTROYCreate, Read, Update and Delete View Columns.Connection
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredTags
Warehouse View Links ListPOSTHOG_WAREHOUSE_VIEW_LINKS_LISTCreate, Read, Update and Delete View Columns.Connection
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredTags
Warehouse View Links Partial UpdatePOSTHOG_WAREHOUSE_VIEW_LINKS_PARTIAL_UPDATECreate, Read, Update and Delete View Columns.Connection
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredTags
Warehouse View Links RetrievePOSTHOG_WAREHOUSE_VIEW_LINKS_RETRIEVECreate, Read, Update and Delete View Columns.Connection
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredTags
Warehouse View Links UpdatePOSTHOG_WAREHOUSE_VIEW_LINKS_UPDATECreate, Read, Update and Delete View Columns.Connection
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredTags
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
Warehouse View Link CreatePOSTHOG_WAREHOUSE_VIEW_LINK_CREATECreate, Read, Update and Delete View Columns.Connection
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredTags
Warehouse View Link DestroyPOSTHOG_WAREHOUSE_VIEW_LINK_DESTROYCreate, Read, Update and Delete View Columns.Connection
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredTags
Warehouse View Link ListPOSTHOG_WAREHOUSE_VIEW_LINK_LISTCreate, Read, Update and Delete View Columns.Connection
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredTags
Warehouse View Link Partial UpdatePOSTHOG_WAREHOUSE_VIEW_LINK_PARTIAL_UPDATECreate, Read, Update and Delete View Columns.Connection
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredTags
Warehouse View Link RetrievePOSTHOG_WAREHOUSE_VIEW_LINK_RETRIEVECreate, Read, Update and Delete View Columns.Connection
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredTags
Warehouse View Link UpdatePOSTHOG_WAREHOUSE_VIEW_LINK_UPDATECreate, Read, Update and Delete View Columns.Connection
Create, Read, Update and Delete View Columns.
Authentication
Connected account requiredTags
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
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Web Experiments CreatePOSTHOG_WEB_EXPERIMENTS_CREATEWeb Experiments CreateConnection
Web Experiments Create
Authentication
Connected account requiredTags
Web Experiments DestroyPOSTHOG_WEB_EXPERIMENTS_DESTROYWeb Experiments DestroyConnection
Web Experiments Destroy
Authentication
Connected account requiredTags
Web Experiments ListPOSTHOG_WEB_EXPERIMENTS_LISTWeb Experiments ListConnection
Web Experiments List
Authentication
Connected account requiredTags
Web Experiments Partial UpdatePOSTHOG_WEB_EXPERIMENTS_PARTIAL_UPDATEWeb Experiments Partial UpdateConnection
Web Experiments Partial Update
Authentication
Connected account requiredTags
Web Experiments RetrievePOSTHOG_WEB_EXPERIMENTS_RETRIEVEWeb Experiments RetrieveConnection
Web Experiments Retrieve
Authentication
Connected account requiredTags
Web Experiments UpdatePOSTHOG_WEB_EXPERIMENTS_UPDATEWeb Experiments UpdateConnection
Web Experiments Update
Authentication
Connected account requiredTags
Web Vitals RetrievePOSTHOG_WEB_VITALS_RETRIEVEGet web vitals for a specific pathname. Toolbar accesses this via OAuth (handled by TeamAndOrgViewSetMixin.get_authenticators).Connection
Get web vitals for a specific pathname. Toolbar accesses this via OAuth (handled by TeamAndOrgViewSetMixin.get_authenticators).
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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>.Connection
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 requiredTags
Wizard Sessions RetrievePOSTHOG_WIZARD_SESSIONS_RETRIEVERetrieve a single wizard session by its session_id.Connection
Retrieve a single wizard session by its session_id.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags