Open Connector
所有 Tools

PostHog

Catalog 暂无描述。

posthogv1.0.02473 个 Tools

认证方式

方式底层类型状态说明
API Keyapi_keyavailable
OAuth 2.0oauth2available

调用示例

import { createClient } from "@open-connector/sdk";const oc = createClient({  baseUrl: "https://api.openconnector.dev",  apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({  slug: "POSTHOG_ACCOUNT_NOTES_LIST",  connectedAccountId: "conn_...",  arguments: { /* match this tool's input schema */ },});
import Composio from "@composio/client";const composio = new Composio({  baseURL: "https://api.openconnector.dev/composio",  apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("POSTHOG_ACCOUNT_NOTES_LIST", {  connected_account_id: "conn_...",  arguments: { /* match this tool's input schema */ },});
oc tools execute POSTHOG_ACCOUNT_NOTES_LIST --data '{ }'

Tool 目录

可用 Tools

2473 个可调用操作

Account Notes ListPOSTHOG_ACCOUNT_NOTES_LISTAccount Notes List

Account Notes List

认证

需要 Connected Account

Scopes

account:read

Tags

customer_analyticsaccount_notes
Account Relationship Definitions CreatePOSTHOG_ACCOUNT_RELATIONSHIP_DEFINITIONS_CREATEAccount Relationship Definitions Create

Account Relationship Definitions Create

认证

需要 Connected Account

Scopes

account:write

Tags

account_relationship_definitions
Account Relationship Definitions DestroyPOSTHOG_ACCOUNT_RELATIONSHIP_DEFINITIONS_DESTROYAccount Relationship Definitions Destroy

Account Relationship Definitions Destroy

认证

需要 Connected Account

Scopes

account:write

Tags

account_relationship_definitions
Account Relationship Definitions ListPOSTHOG_ACCOUNT_RELATIONSHIP_DEFINITIONS_LISTAccount Relationship Definitions List

Account Relationship Definitions List

认证

需要 Connected Account

Scopes

account:read

Tags

account_relationship_definitions
Account Relationship Definitions Partial UpdatePOSTHOG_ACCOUNT_RELATIONSHIP_DEFINITIONS_PARTIAL_UPDATEAccount Relationship Definitions Partial Update

Account Relationship Definitions Partial Update

认证

需要 Connected Account

Scopes

account:write

Tags

account_relationship_definitions
Account Relationship Definitions RetrievePOSTHOG_ACCOUNT_RELATIONSHIP_DEFINITIONS_RETRIEVEAccount Relationship Definitions Retrieve

Account Relationship Definitions Retrieve

认证

需要 Connected Account

Scopes

account:read

Tags

account_relationship_definitions
Account Relationship Definitions UpdatePOSTHOG_ACCOUNT_RELATIONSHIP_DEFINITIONS_UPDATEAccount Relationship Definitions Update

Account Relationship Definitions Update

认证

需要 Connected Account

Scopes

account:write

Tags

account_relationship_definitions
Accounts CreatePOSTHOG_ACCOUNTS_CREATEAccounts Create

Accounts Create

认证

需要 Connected Account

Scopes

account:write

Tags

accounts
Accounts Custom Property Values CreatePOSTHOG_ACCOUNTS_CUSTOM_PROPERTY_VALUES_CREATEAccounts Custom Property Values Create

Accounts Custom Property Values Create

认证

需要 Connected Account

Scopes

account:write

Tags

customer_analyticsaccounts
Accounts Custom Property Values ListPOSTHOG_ACCOUNTS_CUSTOM_PROPERTY_VALUES_LISTAccounts Custom Property Values List

Accounts Custom Property Values List

认证

需要 Connected Account

Scopes

account:read

Tags

customer_analyticsaccounts
Accounts DestroyPOSTHOG_ACCOUNTS_DESTROYAccounts Destroy

Accounts Destroy

认证

需要 Connected Account

Scopes

account:write

Tags

accounts
Accounts ListPOSTHOG_ACCOUNTS_LISTAccounts List

Accounts List

认证

需要 Connected Account

Scopes

account:read

Tags

accounts
Accounts Notebooks CreatePOSTHOG_ACCOUNTS_NOTEBOOKS_CREATEAccounts Notebooks Create

Accounts Notebooks Create

认证

需要 Connected Account

Scopes

account:write

Tags

customer_analyticsaccounts
Accounts Notebooks DestroyPOSTHOG_ACCOUNTS_NOTEBOOKS_DESTROYAccounts Notebooks Destroy

Accounts Notebooks Destroy

认证

需要 Connected Account

Scopes

account:write

Tags

customer_analyticsaccounts
Accounts Notebooks ListPOSTHOG_ACCOUNTS_NOTEBOOKS_LISTAccounts Notebooks List

Accounts Notebooks List

认证

需要 Connected Account

Scopes

account:read

Tags

customer_analyticsaccounts
Accounts Notebooks RetrievePOSTHOG_ACCOUNTS_NOTEBOOKS_RETRIEVEAccounts Notebooks Retrieve

Accounts Notebooks Retrieve

认证

需要 Connected Account

Scopes

account:read

Tags

customer_analyticsaccounts
Accounts Partial UpdatePOSTHOG_ACCOUNTS_PARTIAL_UPDATEAccounts Partial Update

Accounts Partial Update

认证

需要 Connected Account

Scopes

account:write

Tags

accounts
Accounts Relationships CreatePOSTHOG_ACCOUNTS_RELATIONSHIPS_CREATEAccounts Relationships Create

Accounts Relationships Create

认证

需要 Connected Account

Scopes

account:write

Tags

customer_analyticsaccounts
Accounts Relationships End CreatePOSTHOG_ACCOUNTS_RELATIONSHIPS_END_CREATEAccounts Relationships End Create

Accounts Relationships End Create

认证

需要 Connected Account

Tags

customer_analyticsaccounts
Accounts Relationships ListPOSTHOG_ACCOUNTS_RELATIONSHIPS_LISTAccounts Relationships List

Accounts Relationships List

认证

需要 Connected Account

Scopes

account:read

Tags

customer_analyticsaccounts
Accounts RetrievePOSTHOG_ACCOUNTS_RETRIEVEAccounts Retrieve

Accounts Retrieve

认证

需要 Connected Account

Scopes

account:read

Tags

accounts
Accounts UpdatePOSTHOG_ACCOUNTS_UPDATEAccounts Update

Accounts Update

认证

需要 Connected Account

Scopes

account:write

Tags

accounts
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 list

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

认证

需要 Connected Account

Tags

actions
Actions CreatePOSTHOG_ACTIONS_CREATEActions Create

Actions Create

认证

需要 Connected Account

Scopes

action:write

Tags

actions
Actions DestroyPOSTHOG_ACTIONS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

action:write

Tags

actions
Actions ListPOSTHOG_ACTIONS_LISTActions List

Actions List

认证

需要 Connected Account

Scopes

action:read

Tags

actions
Actions Partial UpdatePOSTHOG_ACTIONS_PARTIAL_UPDATEActions Partial Update

Actions Partial Update

认证

需要 Connected Account

Scopes

action:write

Tags

actions
Actions References ListPOSTHOG_ACTIONS_REFERENCES_LISTActions References List

Actions References List

认证

需要 Connected Account

Scopes

action:read

Tags

actions
Actions RetrievePOSTHOG_ACTIONS_RETRIEVEActions Retrieve

Actions Retrieve

认证

需要 Connected Account

Scopes

action:read

Tags

actions
Actions UpdatePOSTHOG_ACTIONS_UPDATEActions Update

Actions Update

认证

需要 Connected Account

Scopes

action:write

Tags

actions
Activity Log ListPOSTHOG_ACTIVITY_LOG_LISTActivity Log List

Activity Log List

认证

需要 Connected Account

Scopes

activity_log:read

Tags

activity_logsactivity_log
Advanced Activity Logs Available Filters RetrievePOSTHOG_ADVANCED_ACTIVITY_LOGS_AVAILABLE_FILTERS_RETRIEVEAdvanced Activity Logs Available Filters Retrieve

Advanced Activity Logs Available Filters Retrieve

认证

需要 Connected Account

Scopes

activity_log:read

Tags

advanced_activity_logs
Advanced Activity Logs Export CreatePOSTHOG_ADVANCED_ACTIVITY_LOGS_EXPORT_CREATEAdvanced Activity Logs Export Create

Advanced Activity Logs Export Create

认证

需要 Connected Account

Tags

advanced_activity_logs
Advanced Activity Logs ListPOSTHOG_ADVANCED_ACTIVITY_LOGS_LISTAdvanced Activity Logs List

Advanced Activity Logs List

认证

需要 Connected Account

Scopes

activity_log:read

Tags

advanced_activity_logs
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.

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.

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
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.

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.

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_applications
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).

Single approval request — full proposed args, assistant snapshot, decision metadata, dispatch outcome. Team-admin only (plan §6.1).

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_applications
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 key

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

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
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 key

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

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
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 key

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

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_applications
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.

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.

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_applications
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 key

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

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
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`).

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`).

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
Agent Applications Preview Proxy GetPOSTHOG_AGENT_APPLICATIONS_PREVIEW_PROXY_GETGET passthrough for the preview-proxy — used for `/listen` SSE.

GET passthrough for the preview-proxy — used for `/listen` SSE.

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_applications
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`.

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`.

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
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.

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.

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
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 key

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

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_applications
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)

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)

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
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).

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).

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
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.

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.

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
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.

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.

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
Agent Applications Revisions Bundle RetrievePOSTHOG_AGENT_APPLICATIONS_REVISIONS_BUNDLE_RETRIEVERead the full typed bundle: `{ agent_md, skills, tools, spec }`.

Read the full typed bundle: `{ agent_md, skills, tools, spec }`.

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_applications
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.

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.

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
Agent Applications Revisions Clone From CreatePOSTHOG_AGENT_APPLICATIONS_REVISIONS_CLONE_FROM_CREATECopy every file from `source_revision_id` into this revision.

Copy every file from `source_revision_id` into this revision.

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
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)

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)

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
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.

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.

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
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)

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)

认证

需要 Connected Account

Tags

agent_platformagent_applications
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.

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.

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
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)

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)

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_applications
Agent Applications Revisions Manifest RetrievePOSTHOG_AGENT_APPLICATIONS_REVISIONS_MANIFEST_RETRIEVEList every file in this revision's bundle (path, size, sha256).

List every file in this revision's bundle (path, size, sha256).

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_applications
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.

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.

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
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)

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)

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
Agent Applications Revisions Promote CreatePOSTHOG_AGENT_APPLICATIONS_REVISIONS_PROMOTE_CREATEready → live. Sets the parent application's live_revision.

ready → live. Sets the parent application's live_revision.

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
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)

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)

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_applications
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).

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).

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
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.

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.

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
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.

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.

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_applications
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)

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)

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
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.

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.

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_applications
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)

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)

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
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.

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.

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
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)

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)

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
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.

Spec edits are only allowed while state='draft'. Once promoted to ready/live the spec is frozen — change requires a new revision.

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
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.

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.

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_applications
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.

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.

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_applications
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.

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.

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_applications
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.

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.

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_applications
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.

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.

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_applications
Agent Applications StatsPOSTHOG_AGENT_APPLICATIONS_STATSRoll-up stats for the agent — drives the agent-detail overview tiles.

Roll-up stats for the agent — drives the agent-detail overview tiles.

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_applications
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 key

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

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
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.

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.

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
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.

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.

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_applications
Agent Fleet Approvals ListPOSTHOG_AGENT_FLEET_APPROVALS_LISTApproval-gated tool requests across every agent in this team. Team-admin only.

Approval-gated tool requests across every agent in this team. Team-admin only.

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_fleet
Agent Fleet Live SessionsPOSTHOG_AGENT_FLEET_LIVE_SESSIONSLive (non-terminal) sessions across every agent owned by this team, newest activity first.

Live (non-terminal) sessions across every agent owned by this team, newest activity first.

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_fleet
Agent Fleet StatsPOSTHOG_AGENT_FLEET_STATSRoll-up stats across every agent owned by this team.

Roll-up stats across every agent owned by this team.

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_fleet
Agent Memory Create FilePOSTHOG_AGENT_MEMORY_CREATE_FILECreate a memory file. Fails if the path already exists — use the update endpoint to overwrite.

Create a memory file. Fails if the path already exists — use the update endpoint to overwrite.

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
Agent Memory Delete FilePOSTHOG_AGENT_MEMORY_DELETE_FILEHard-delete a memory file. Activity log captures the action against the agent.

Hard-delete a memory file. Activity log captures the action against the agent.

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
Agent Memory Get FilePOSTHOG_AGENT_MEMORY_GET_FILERead one memory file in full (frontmatter + markdown body).

Read one memory file in full (frontmatter + markdown body).

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_applications
Agent Memory List FilesPOSTHOG_AGENT_MEMORY_LIST_FILESList memory file headers under the agent's prefix. Headers only — no bodies.

List memory file headers under the agent's prefix. Headers only — no bodies.

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_applications
Agent Memory List TablesPOSTHOG_AGENT_MEMORY_LIST_TABLESList the agent's tabular-reference tables (the @posthog/table-* JSONL tables): name + byte size.

List the agent's tabular-reference tables (the @posthog/table-* JSONL tables): name + byte size.

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_applications
Agent Memory Read TablePOSTHOG_AGENT_MEMORY_READ_TABLERead rows from one tabular-reference table (capped via ?limit).

Read rows from one tabular-reference table (capped via ?limit).

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_applications
Agent Memory SearchPOSTHOG_AGENT_MEMORY_SEARCHBM25 search across the agent's memory files. Ranks by description+tags+path+body with field weighting.

BM25 search across the agent's memory files. Ranks by description+tags+path+body with field weighting.

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_applications
Agent Memory TreePOSTHOG_AGENT_MEMORY_TREEPre-aggregated folder tree of memory files. Saves the frontend re-derivation work.

Pre-aggregated folder tree of memory files. Saves the frontend re-derivation work.

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_applications
Agent Memory Update FilePOSTHOG_AGENT_MEMORY_UPDATE_FILEUpdate a memory file. Any field omitted is preserved from the existing file.

Update a memory file. Any field omitted is preserved from the existing file.

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
Agent Native Tools ListPOSTHOG_AGENT_NATIVE_TOOLS_LISTRead-only catalog of every @posthog/* native tool the runner knows.

Read-only catalog of every @posthog/* native tool the runner knows.

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_native_tools
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.

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.

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
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.

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.

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
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.

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.

认证

需要 Connected Account

Scopes

agents:read

Tags

agent_platformagent_applications
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.

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.

认证

需要 Connected Account

Scopes

agents:write

Tags

agent_platformagent_applications
Alerts CreatePOSTHOG_ALERTS_CREATEAlerts Create

Alerts Create

认证

需要 Connected Account

Scopes

alert:write

Tags

alerts
Alerts DestroyPOSTHOG_ALERTS_DESTROYAlerts Destroy

Alerts Destroy

认证

需要 Connected Account

Scopes

alert:write

Tags

alerts
Alerts ListPOSTHOG_ALERTS_LISTAlerts List

Alerts List

认证

需要 Connected Account

Scopes

alert:read

Tags

alerts
Alerts Partial UpdatePOSTHOG_ALERTS_PARTIAL_UPDATEAlerts Partial Update

Alerts Partial Update

认证

需要 Connected Account

Scopes

alert:write

Tags

alerts
Alerts RetrievePOSTHOG_ALERTS_RETRIEVEAlerts Retrieve

Alerts Retrieve

认证

需要 Connected Account

Scopes

alert:read

Tags

alerts
Alerts Simulate CreatePOSTHOG_ALERTS_SIMULATE_CREATESimulate a detector on an insight's historical data. Read-only — no AlertCheck records are created.

Simulate a detector on an insight's historical data. Read-only — no AlertCheck records are created.

认证

需要 Connected Account

Scopes

alert:readinsight:read

Tags

alerts
Alerts UpdatePOSTHOG_ALERTS_UPDATEAlerts Update

Alerts Update

认证

需要 Connected Account

Scopes

alert:write

Tags

alerts
Annotations CreatePOSTHOG_ANNOTATIONS_CREATECreate, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.

Create, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.

认证

需要 Connected Account

Scopes

annotation:write

Tags

annotations
Annotations DestroyPOSTHOG_ANNOTATIONS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

annotation:write

Tags

annotations
Annotations ListPOSTHOG_ANNOTATIONS_LISTCreate, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.

Create, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.

认证

需要 Connected Account

Scopes

annotation:read

Tags

annotations
Annotations Partial UpdatePOSTHOG_ANNOTATIONS_PARTIAL_UPDATECreate, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.

Create, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.

认证

需要 Connected Account

Scopes

annotation:write

Tags

annotations
Annotations RetrievePOSTHOG_ANNOTATIONS_RETRIEVECreate, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.

Create, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.

认证

需要 Connected Account

Scopes

annotation:read

Tags

annotations
Annotations UpdatePOSTHOG_ANNOTATIONS_UPDATECreate, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.

Create, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.

认证

需要 Connected Account

Scopes

annotation:write

Tags

annotations
Approval Policies CreatePOSTHOG_APPROVAL_POLICIES_CREATEApproval Policies Create

Approval Policies Create

认证

需要 Connected Account

Scopes

approvals:write

Tags

platform_featuresapproval_policies
Approval Policies DestroyPOSTHOG_APPROVAL_POLICIES_DESTROYApproval Policies Destroy

Approval Policies Destroy

认证

需要 Connected Account

Scopes

approvals:write

Tags

platform_featuresapproval_policies
Approval Policies ListPOSTHOG_APPROVAL_POLICIES_LISTApproval Policies List

Approval Policies List

认证

需要 Connected Account

Scopes

approvals:read

Tags

platform_featuresapproval_policies
Approval Policies Partial UpdatePOSTHOG_APPROVAL_POLICIES_PARTIAL_UPDATEApproval Policies Partial Update

Approval Policies Partial Update

认证

需要 Connected Account

Scopes

approvals:write

Tags

platform_featuresapproval_policies
Approval Policies RetrievePOSTHOG_APPROVAL_POLICIES_RETRIEVEApproval Policies Retrieve

Approval Policies Retrieve

认证

需要 Connected Account

Scopes

approvals:read

Tags

platform_featuresapproval_policies
Approval Policies UpdatePOSTHOG_APPROVAL_POLICIES_UPDATEApproval Policies Update

Approval Policies Update

认证

需要 Connected Account

Scopes

approvals:write

Tags

platform_featuresapproval_policies
Batch Exports Backfills Cancel CreatePOSTHOG_BATCH_EXPORTS_BACKFILLS_CANCEL_CREATECancel a batch export backfill.

Cancel a batch export backfill.

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exports
Batch Exports Backfills CreatePOSTHOG_BATCH_EXPORTS_BACKFILLS_CREATECreate a new backfill for a BatchExport.

Create a new backfill for a BatchExport.

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exports
Batch Exports Backfills ListPOSTHOG_BATCH_EXPORTS_BACKFILLS_LISTViewSet for BatchExportBackfill models. Allows creating and reading backfills, but not updating or deleting them.

ViewSet for BatchExportBackfill models. Allows creating and reading backfills, but not updating or deleting them.

认证

需要 Connected Account

Scopes

batch_export:read

Tags

batch_exports
Batch Exports Backfills RetrievePOSTHOG_BATCH_EXPORTS_BACKFILLS_RETRIEVEViewSet for BatchExportBackfill models. Allows creating and reading backfills, but not updating or deleting them.

ViewSet for BatchExportBackfill models. Allows creating and reading backfills, but not updating or deleting them.

认证

需要 Connected Account

Scopes

batch_export:read

Tags

batch_exports
Batch Exports CreatePOSTHOG_BATCH_EXPORTS_CREATEBatch Exports Create

Batch Exports Create

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsbatch_exports
Batch Exports DestroyPOSTHOG_BATCH_EXPORTS_DESTROYBatch Exports Destroy

Batch Exports Destroy

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsbatch_exports
Batch Exports ListPOSTHOG_BATCH_EXPORTS_LISTBatch Exports List

Batch Exports List

认证

需要 Connected Account

Scopes

batch_export:read

Tags

batch_exportsbatch_exports
Batch Exports Logs RetrievePOSTHOG_BATCH_EXPORTS_LOGS_RETRIEVEBatch Exports Logs Retrieve

Batch Exports Logs Retrieve

认证

需要 Connected Account

Tags

batch_exportsbatch_exports
Batch Exports Partial UpdatePOSTHOG_BATCH_EXPORTS_PARTIAL_UPDATEBatch Exports Partial Update

Batch Exports Partial Update

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsbatch_exports
Batch Exports Pause CreatePOSTHOG_BATCH_EXPORTS_PAUSE_CREATEPause a BatchExport.

Pause a BatchExport.

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsbatch_exports
Batch Exports RetrievePOSTHOG_BATCH_EXPORTS_RETRIEVEBatch Exports Retrieve

Batch Exports Retrieve

认证

需要 Connected Account

Scopes

batch_export:read

Tags

batch_exportsbatch_exports
Batch Exports Run Test Step CreatePOSTHOG_BATCH_EXPORTS_RUN_TEST_STEP_CREATEBatch Exports Run Test Step Create

Batch Exports Run Test Step Create

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsbatch_exports
Batch Exports Run Test Step New CreatePOSTHOG_BATCH_EXPORTS_RUN_TEST_STEP_NEW_CREATEBatch Exports Run Test Step New Create

Batch Exports Run Test Step New Create

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsbatch_exports
Batch Exports Runs Cancel CreatePOSTHOG_BATCH_EXPORTS_RUNS_CANCEL_CREATECancel a batch export run.

Cancel a batch export run.

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsbatch_exports
Batch Exports Runs ListPOSTHOG_BATCH_EXPORTS_RUNS_LISTBatch Exports Runs List

Batch Exports Runs List

认证

需要 Connected Account

Scopes

batch_export:read

Tags

batch_exportsbatch_exports
Batch Exports Runs Logs RetrievePOSTHOG_BATCH_EXPORTS_RUNS_LOGS_RETRIEVEBatch Exports Runs Logs Retrieve

Batch Exports Runs Logs Retrieve

认证

需要 Connected Account

Tags

batch_exportsbatch_exports
Batch Exports Runs RetrievePOSTHOG_BATCH_EXPORTS_RUNS_RETRIEVEBatch Exports Runs Retrieve

Batch Exports Runs Retrieve

认证

需要 Connected Account

Scopes

batch_export:read

Tags

batch_exportsbatch_exports
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.

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.

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsbatch_exports
Batch Exports Test RetrievePOSTHOG_BATCH_EXPORTS_TEST_RETRIEVEBatch Exports Test Retrieve

Batch Exports Test Retrieve

认证

需要 Connected Account

Scopes

batch_export:read

Tags

batch_exportsbatch_exports
Batch Exports Unpause CreatePOSTHOG_BATCH_EXPORTS_UNPAUSE_CREATEUnpause a BatchExport.

Unpause a BatchExport.

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsbatch_exports
Batch Exports UpdatePOSTHOG_BATCH_EXPORTS_UPDATEBatch Exports Update

Batch Exports Update

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsbatch_exports
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.

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.

认证

需要 Connected Account

Scopes

business_knowledge:read

Tags

business_knowledge
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.

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.

认证

需要 Connected Account

Scopes

business_knowledge:read

Tags

business_knowledge
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.

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.

认证

需要 Connected Account

Scopes

business_knowledge:writeticket:read

Tags

business_knowledge
Business Knowledge Gap Suggestions Accept Topic CreatePOSTHOG_BUSINESS_KNOWLEDGE_GAP_SUGGESTIONS_ACCEPT_TOPIC_CREATEAccept all pending suggestions for a normalized topic cluster.

Accept all pending suggestions for a normalized topic cluster.

认证

需要 Connected Account

Tags

business_knowledge
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.

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.

认证

需要 Connected Account

Scopes

business_knowledge:writeticket:read

Tags

business_knowledge
Business Knowledge Gap Suggestions Dismiss Topic CreatePOSTHOG_BUSINESS_KNOWLEDGE_GAP_SUGGESTIONS_DISMISS_TOPIC_CREATEDismiss all pending suggestions for a normalized topic cluster.

Dismiss all pending suggestions for a normalized topic cluster.

认证

需要 Connected Account

Tags

business_knowledge
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.

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.

认证

需要 Connected Account

Scopes

business_knowledge:read

Tags

business_knowledge
Business Knowledge Sources CreatePOSTHOG_BUSINESS_KNOWLEDGE_SOURCES_CREATEBusiness Knowledge Sources Create

Business Knowledge Sources Create

认证

需要 Connected Account

Scopes

business_knowledge:write

Tags

business_knowledge
Business Knowledge Sources DestroyPOSTHOG_BUSINESS_KNOWLEDGE_SOURCES_DESTROYBusiness Knowledge Sources Destroy

Business Knowledge Sources Destroy

认证

需要 Connected Account

Scopes

business_knowledge:write

Tags

business_knowledge
Business Knowledge Sources ListPOSTHOG_BUSINESS_KNOWLEDGE_SOURCES_LISTBusiness Knowledge Sources List

Business Knowledge Sources List

认证

需要 Connected Account

Scopes

business_knowledge:read

Tags

business_knowledge
Business Knowledge Sources Partial UpdatePOSTHOG_BUSINESS_KNOWLEDGE_SOURCES_PARTIAL_UPDATEBusiness Knowledge Sources Partial Update

Business Knowledge Sources Partial Update

认证

需要 Connected Account

Scopes

business_knowledge:write

Tags

business_knowledge
Business Knowledge Sources Refresh CreatePOSTHOG_BUSINESS_KNOWLEDGE_SOURCES_REFRESH_CREATEBusiness Knowledge Sources Refresh Create

Business Knowledge Sources Refresh Create

认证

需要 Connected Account

Tags

business_knowledge
Business Knowledge Sources RetrievePOSTHOG_BUSINESS_KNOWLEDGE_SOURCES_RETRIEVEBusiness Knowledge Sources Retrieve

Business Knowledge Sources Retrieve

认证

需要 Connected Account

Scopes

business_knowledge:read

Tags

business_knowledge
Business Knowledge Sources Text RetrievePOSTHOG_BUSINESS_KNOWLEDGE_SOURCES_TEXT_RETRIEVEBusiness Knowledge Sources Text Retrieve

Business Knowledge Sources Text Retrieve

认证

需要 Connected Account

Tags

business_knowledge
Change Requests Approve CreatePOSTHOG_CHANGE_REQUESTS_APPROVE_CREATEApprove a change request. If quorum is reached, automatically applies the change immediately.

Approve a change request. If quorum is reached, automatically applies the change immediately.

认证

需要 Connected Account

Scopes

approvals:write

Tags

platform_featureschange_requests
Change Requests Cancel CreatePOSTHOG_CHANGE_REQUESTS_CANCEL_CREATECancel a change request. Only the requester can cancel their own pending change request.

Cancel a change request. Only the requester can cancel their own pending change request.

认证

需要 Connected Account

Scopes

approvals:write

Tags

platform_featureschange_requests
Change Requests ListPOSTHOG_CHANGE_REQUESTS_LISTChange Requests List

Change Requests List

认证

需要 Connected Account

Scopes

approvals:read

Tags

platform_featureschange_requests
Change Requests Reject CreatePOSTHOG_CHANGE_REQUESTS_REJECT_CREATEReject a change request.

Reject a change request.

认证

需要 Connected Account

Scopes

approvals:write

Tags

platform_featureschange_requests
Change Requests RetrievePOSTHOG_CHANGE_REQUESTS_RETRIEVEChange Requests Retrieve

Change Requests Retrieve

认证

需要 Connected Account

Scopes

approvals:read

Tags

platform_featureschange_requests
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.

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.

认证

需要 Connected Account

Scopes

organization:write

Tags

organizationscimd_verification_tokens
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.

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.

认证

需要 Connected Account

Scopes

organization:write

Tags

organizationscimd_verification_tokens
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.

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.

认证

需要 Connected Account

Scopes

organization:read

Tags

organizationscimd_verification_tokens
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.

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.

认证

需要 Connected Account

Scopes

organization:read

Tags

organizationscimd_verification_tokens
Check accessPOSTHOG_CODE_INVITES_CHECK_ACCESS_RETRIEVECheck whether the authenticated user has access to PostHog Code.

Check whether the authenticated user has access to PostHog Code.

认证

需要 Connected Account

Tags

code-invitescode
Redeem invite codePOSTHOG_CODE_INVITES_REDEEM_CREATERedeem a PostHog Code invite code to enable access.

Redeem a PostHog Code invite code to enable access.

认证

需要 Connected Account

Tags

code-invitescode
Cohorts Activity RetrievePOSTHOG_COHORTS_ACTIVITY_RETRIEVECohorts Activity Retrieve

Cohorts Activity Retrieve

认证

需要 Connected Account

Scopes

activity_log:read

Tags

cohorts
Cohorts Add Persons To Static Cohort Partial UpdatePOSTHOG_COHORTS_ADD_PERSONS_TO_STATIC_COHORT_PARTIAL_UPDATECohorts Add Persons To Static Cohort Partial Update

Cohorts Add Persons To Static Cohort Partial Update

认证

需要 Connected Account

Scopes

cohort:write

Tags

cohorts
Cohorts All Activity RetrievePOSTHOG_COHORTS_ALL_ACTIVITY_RETRIEVECohorts All Activity Retrieve

Cohorts All Activity Retrieve

认证

需要 Connected Account

Scopes

activity_log:read

Tags

cohorts
Cohorts Calculation History RetrievePOSTHOG_COHORTS_CALCULATION_HISTORY_RETRIEVECohorts Calculation History Retrieve

Cohorts Calculation History Retrieve

认证

需要 Connected Account

Scopes

cohort:read

Tags

cohorts
Cohorts CreatePOSTHOG_COHORTS_CREATECohorts Create

Cohorts Create

认证

需要 Connected Account

Scopes

cohort:write

Tags

cohorts
Cohorts DestroyPOSTHOG_COHORTS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

cohort:write

Tags

cohorts
Cohorts ListPOSTHOG_COHORTS_LISTCohorts List

Cohorts List

认证

需要 Connected Account

Scopes

cohort:read

Tags

cohorts
Cohorts Partial UpdatePOSTHOG_COHORTS_PARTIAL_UPDATECohorts Partial Update

Cohorts Partial Update

认证

需要 Connected Account

Scopes

cohort:write

Tags

cohorts
Cohorts Persons RetrievePOSTHOG_COHORTS_PERSONS_RETRIEVECohorts Persons Retrieve

Cohorts Persons Retrieve

认证

需要 Connected Account

Scopes

cohort:readperson:read

Tags

cohorts
Cohorts Remove Person From Static Cohort Partial UpdatePOSTHOG_COHORTS_REMOVE_PERSON_FROM_STATIC_COHORT_PARTIAL_UPDATECohorts Remove Person From Static Cohort Partial Update

Cohorts Remove Person From Static Cohort Partial Update

认证

需要 Connected Account

Scopes

cohort:write

Tags

cohorts
Cohorts RetrievePOSTHOG_COHORTS_RETRIEVECohorts Retrieve

Cohorts Retrieve

认证

需要 Connected Account

Scopes

cohort:read

Tags

cohorts
Cohorts UpdatePOSTHOG_COHORTS_UPDATECohorts Update

Cohorts Update

认证

需要 Connected Account

Scopes

cohort:write

Tags

cohorts
Cohorts Used In RetrievePOSTHOG_COHORTS_USED_IN_RETRIEVECohorts Used In Retrieve

Cohorts Used In Retrieve

认证

需要 Connected Account

Scopes

cohort:read

Tags

cohorts
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.

Mark a task-comment as complete. Sets completed_at and completed_by. 400 if the comment is not a task or is already complete.

认证

需要 Connected Account

Tags

comments
Comments Count RetrievePOSTHOG_COMMENTS_COUNT_RETRIEVEComments Count Retrieve

Comments Count Retrieve

认证

需要 Connected Account

Scopes

comment:read

Tags

comments
Comments CreatePOSTHOG_COMMENTS_CREATEComments Create

Comments Create

认证

需要 Connected Account

Scopes

comment:write

Tags

comments
Comments DestroyPOSTHOG_COMMENTS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

comment:write

Tags

comments
Comments ListPOSTHOG_COMMENTS_LISTComments List

Comments List

认证

需要 Connected Account

Scopes

comment:read

Tags

comments
Comments Partial UpdatePOSTHOG_COMMENTS_PARTIAL_UPDATEComments Partial Update

Comments Partial Update

认证

需要 Connected Account

Scopes

comment:write

Tags

comments
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.

Reopen a completed task-comment. Clears completed_at and completed_by. 400 if the comment is not a task or is already open.

认证

需要 Connected Account

Tags

comments
Comments RetrievePOSTHOG_COMMENTS_RETRIEVEComments Retrieve

Comments Retrieve

认证

需要 Connected Account

Scopes

comment:read

Tags

comments
Comments Thread RetrievePOSTHOG_COMMENTS_THREAD_RETRIEVEComments Thread Retrieve

Comments Thread Retrieve

认证

需要 Connected Account

Scopes

comment:read

Tags

comments
Comments UpdatePOSTHOG_COMMENTS_UPDATEComments Update

Comments Update

认证

需要 Connected Account

Scopes

comment:write

Tags

comments
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).

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).

认证

需要 Connected Account

Tags

maxconversations
Conversations Cancel Partial UpdatePOSTHOG_CONVERSATIONS_CANCEL_PARTIAL_UPDATECancel the conversation's in-progress LangGraph run.

Cancel the conversation's in-progress LangGraph run.

认证

需要 Connected Account

Tags

maxconversations
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 conversation

Unified endpoint that handles both conversation creation and streaming. - If message is provided: Start new conversation processing - If no message: Stream from existing conversation

认证

需要 Connected Account

Scopes

conversation:write

Tags

maxconversations
Conversations DestroyPOSTHOG_CONVERSATIONS_DESTROYDelete a conversation.

Delete a conversation.

认证

需要 Connected Account

Scopes

conversation:write

Tags

maxconversations
Conversations ListPOSTHOG_CONVERSATIONS_LISTConversations List

Conversations List

认证

需要 Connected Account

Scopes

conversation:read

Tags

maxconversations
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.

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.

认证

需要 Connected Account

Tags

maxconversations
Conversations Queue Clear CreatePOSTHOG_CONVERSATIONS_QUEUE_CLEAR_CREATEConversations Queue Clear Create

Conversations Queue Clear Create

认证

需要 Connected Account

Tags

maxconversations
Conversations Queue CreatePOSTHOG_CONVERSATIONS_QUEUE_CREATEConversations Queue Create

Conversations Queue Create

认证

需要 Connected Account

Tags

maxconversations
Conversations Queue DestroyPOSTHOG_CONVERSATIONS_QUEUE_DESTROYConversations Queue Destroy

Conversations Queue Destroy

认证

需要 Connected Account

Tags

maxconversations
Conversations Queue Partial UpdatePOSTHOG_CONVERSATIONS_QUEUE_PARTIAL_UPDATEConversations Queue Partial Update

Conversations Queue Partial Update

认证

需要 Connected Account

Tags

maxconversations
Conversations Queue RetrievePOSTHOG_CONVERSATIONS_QUEUE_RETRIEVEConversations Queue Retrieve

Conversations Queue Retrieve

认证

需要 Connected Account

Tags

maxconversations
Conversations RetrievePOSTHOG_CONVERSATIONS_RETRIEVEConversations Retrieve

Conversations Retrieve

认证

需要 Connected Account

Scopes

conversation:read

Tags

maxconversations
Conversations Tickets Ai Feedback CreatePOSTHOG_CONVERSATIONS_TICKETS_AI_FEEDBACK_CREATERecord reviewer feedback on an AI reply, captured to the internal analytics project.

Record reviewer feedback on an AI reply, captured to the internal analytics project.

认证

需要 Connected Account

Scopes

ticket:write

Tags

conversations
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.

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.

认证

需要 Connected Account

Tags

conversations
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 list

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

认证

需要 Connected Account

Tags

conversations
Conversations Tickets Compose CreatePOSTHOG_CONVERSATIONS_TICKETS_COMPOSE_CREATECreate a new outbound ticket and send the first message to the customer.

Create a new outbound ticket and send the first message to the customer.

认证

需要 Connected Account

Scopes

ticket:write

Tags

conversations
Conversations Tickets CreatePOSTHOG_CONVERSATIONS_TICKETS_CREATEConversations Tickets Create

Conversations Tickets Create

认证

需要 Connected Account

Scopes

ticket:write

Tags

conversations
Conversations Tickets DestroyPOSTHOG_CONVERSATIONS_TICKETS_DESTROYConversations Tickets Destroy

Conversations Tickets Destroy

认证

需要 Connected Account

Tags

conversations
Conversations Tickets ListPOSTHOG_CONVERSATIONS_TICKETS_LISTList tickets with person data attached.

List tickets with person data attached.

认证

需要 Connected Account

Scopes

ticket:read

Tags

conversations
Conversations Tickets Messages ListPOSTHOG_CONVERSATIONS_TICKETS_MESSAGES_LISTReturn the message thread for a ticket, ordered chronologically (paginated).

Return the message thread for a ticket, ordered chronologically (paginated).

认证

需要 Connected Account

Scopes

ticket:read

Tags

conversations
Conversations Tickets Partial UpdatePOSTHOG_CONVERSATIONS_TICKETS_PARTIAL_UPDATEConversations Tickets Partial Update

Conversations Tickets Partial Update

认证

需要 Connected Account

Scopes

ticket:write

Tags

conversations
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.

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.

认证

需要 Connected Account

Scopes

ticket:write

Tags

conversations
Conversations Tickets RetrievePOSTHOG_CONVERSATIONS_TICKETS_RETRIEVEGet single ticket and mark as read by team.

Get single ticket and mark as read by team.

认证

需要 Connected Account

Scopes

ticket:read

Tags

conversations
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.

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.

认证

需要 Connected Account

Scopes

ticket:read

Tags

conversations
Conversations Tickets UpdatePOSTHOG_CONVERSATIONS_TICKETS_UPDATEHandle ticket updates including assignee changes.

Handle ticket updates including assignee changes.

认证

需要 Connected Account

Scopes

ticket:write

Tags

conversations
Conversations Views CreatePOSTHOG_CONVERSATIONS_VIEWS_CREATEConversations Views Create

Conversations Views Create

认证

需要 Connected Account

Scopes

conversation:write

Tags

conversations
Conversations Views DestroyPOSTHOG_CONVERSATIONS_VIEWS_DESTROYConversations Views Destroy

Conversations Views Destroy

认证

需要 Connected Account

Scopes

conversation:write

Tags

conversations
Conversations Views ListPOSTHOG_CONVERSATIONS_VIEWS_LISTConversations Views List

Conversations Views List

认证

需要 Connected Account

Scopes

conversation:read

Tags

conversations
Conversations Views RetrievePOSTHOG_CONVERSATIONS_VIEWS_RETRIEVEConversations Views Retrieve

Conversations Views Retrieve

认证

需要 Connected Account

Scopes

conversation:read

Tags

conversations
CreatePOSTHOG_CREATECreate

Create

认证

需要 Connected Account

Scopes

organization:write

Tags

organizationsorganizations
Create Session SummariesPOSTHOG_CREATE_SESSION_SUMMARIESGenerate AI summary for a group of session recordings to find patterns and generate a notebook.

Generate AI summary for a group of session recordings to find patterns and generate a notebook.

认证

需要 Connected Account

Scopes

session_recording:read

Tags

session_summaries
Create Session Summaries IndividuallyPOSTHOG_CREATE_SESSION_SUMMARIES_INDIVIDUALLYGenerate AI individual summary for each session, without grouping.

Generate AI individual summary for each session, without grouping.

认证

需要 Connected Account

Scopes

session_recording:read

Tags

replaysession_summaries
Custom Property Definitions CreatePOSTHOG_CUSTOM_PROPERTY_DEFINITIONS_CREATECustom Property Definitions Create

Custom Property Definitions Create

认证

需要 Connected Account

Scopes

account:write

Tags

custom_property_definitions
Custom Property Definitions DestroyPOSTHOG_CUSTOM_PROPERTY_DEFINITIONS_DESTROYCustom Property Definitions Destroy

Custom Property Definitions Destroy

认证

需要 Connected Account

Scopes

account:write

Tags

custom_property_definitions
Custom Property Definitions ListPOSTHOG_CUSTOM_PROPERTY_DEFINITIONS_LISTCustom Property Definitions List

Custom Property Definitions List

认证

需要 Connected Account

Scopes

account:read

Tags

custom_property_definitions
Custom Property Definitions Partial UpdatePOSTHOG_CUSTOM_PROPERTY_DEFINITIONS_PARTIAL_UPDATECustom Property Definitions Partial Update

Custom Property Definitions Partial Update

认证

需要 Connected Account

Scopes

account:write

Tags

custom_property_definitions
Custom Property Definitions RetrievePOSTHOG_CUSTOM_PROPERTY_DEFINITIONS_RETRIEVECustom Property Definitions Retrieve

Custom Property Definitions Retrieve

认证

需要 Connected Account

Scopes

account:read

Tags

custom_property_definitions
Custom Property Definitions UpdatePOSTHOG_CUSTOM_PROPERTY_DEFINITIONS_UPDATECustom Property Definitions Update

Custom Property Definitions Update

认证

需要 Connected Account

Scopes

account:write

Tags

custom_property_definitions
Custom Property Sources CreatePOSTHOG_CUSTOM_PROPERTY_SOURCES_CREATECustom Property Sources Create

Custom Property Sources Create

认证

需要 Connected Account

Scopes

account:write

Tags

custom_property_sources
Custom Property Sources DestroyPOSTHOG_CUSTOM_PROPERTY_SOURCES_DESTROYCustom Property Sources Destroy

Custom Property Sources Destroy

认证

需要 Connected Account

Scopes

account:write

Tags

custom_property_sources
Custom Property Sources ListPOSTHOG_CUSTOM_PROPERTY_SOURCES_LISTCustom Property Sources List

Custom Property Sources List

认证

需要 Connected Account

Scopes

account:read

Tags

custom_property_sources
Custom Property Sources Partial UpdatePOSTHOG_CUSTOM_PROPERTY_SOURCES_PARTIAL_UPDATECustom Property Sources Partial Update

Custom Property Sources Partial Update

认证

需要 Connected Account

Scopes

account:write

Tags

custom_property_sources
Custom Property Sources RetrievePOSTHOG_CUSTOM_PROPERTY_SOURCES_RETRIEVECustom Property Sources Retrieve

Custom Property Sources Retrieve

认证

需要 Connected Account

Scopes

account:read

Tags

custom_property_sources
Custom Property Sources UpdatePOSTHOG_CUSTOM_PROPERTY_SOURCES_UPDATECustom Property Sources Update

Custom Property Sources Update

认证

需要 Connected Account

Scopes

account:write

Tags

custom_property_sources
Customer Journeys CreatePOSTHOG_CUSTOMER_JOURNEYS_CREATECustomer Journeys Create

Customer Journeys Create

认证

需要 Connected Account

Scopes

customer_journey:write

Tags

customer_journeys
Customer Journeys DestroyPOSTHOG_CUSTOMER_JOURNEYS_DESTROYCustomer Journeys Destroy

Customer Journeys Destroy

认证

需要 Connected Account

Scopes

customer_journey:write

Tags

customer_journeys
Customer Journeys ListPOSTHOG_CUSTOMER_JOURNEYS_LISTCustomer Journeys List

Customer Journeys List

认证

需要 Connected Account

Scopes

customer_journey:read

Tags

customer_journeys
Customer Journeys Partial UpdatePOSTHOG_CUSTOMER_JOURNEYS_PARTIAL_UPDATECustomer Journeys Partial Update

Customer Journeys Partial Update

认证

需要 Connected Account

Scopes

customer_journey:write

Tags

customer_journeys
Customer Journeys RetrievePOSTHOG_CUSTOMER_JOURNEYS_RETRIEVECustomer Journeys Retrieve

Customer Journeys Retrieve

认证

需要 Connected Account

Scopes

customer_journey:read

Tags

customer_journeys
Customer Journeys UpdatePOSTHOG_CUSTOMER_JOURNEYS_UPDATECustomer Journeys Update

Customer Journeys Update

认证

需要 Connected Account

Scopes

customer_journey:write

Tags

customer_journeys
Customer Profile Configs CreatePOSTHOG_CUSTOMER_PROFILE_CONFIGS_CREATECustomer Profile Configs Create

Customer Profile Configs Create

认证

需要 Connected Account

Scopes

customer_profile_config:write

Tags

customer_profile_configs
Customer Profile Configs DestroyPOSTHOG_CUSTOMER_PROFILE_CONFIGS_DESTROYCustomer Profile Configs Destroy

Customer Profile Configs Destroy

认证

需要 Connected Account

Scopes

customer_profile_config:write

Tags

customer_profile_configs
Customer Profile Configs ListPOSTHOG_CUSTOMER_PROFILE_CONFIGS_LISTCustomer Profile Configs List

Customer Profile Configs List

认证

需要 Connected Account

Scopes

customer_profile_config:read

Tags

customer_profile_configs
Customer Profile Configs Partial UpdatePOSTHOG_CUSTOMER_PROFILE_CONFIGS_PARTIAL_UPDATECustomer Profile Configs Partial Update

Customer Profile Configs Partial Update

认证

需要 Connected Account

Scopes

customer_profile_config:write

Tags

customer_profile_configs
Customer Profile Configs RetrievePOSTHOG_CUSTOMER_PROFILE_CONFIGS_RETRIEVECustomer Profile Configs Retrieve

Customer Profile Configs Retrieve

认证

需要 Connected Account

Scopes

customer_profile_config:read

Tags

customer_profile_configs
Customer Profile Configs UpdatePOSTHOG_CUSTOMER_PROFILE_CONFIGS_UPDATECustomer Profile Configs Update

Customer Profile Configs Update

认证

需要 Connected Account

Scopes

customer_profile_config:write

Tags

customer_profile_configs
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)`, …

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)`, …

认证

需要 Connected Account

Tags

dashboard_templates
Dashboard Templates CreatePOSTHOG_DASHBOARD_TEMPLATES_CREATEDashboard Templates Create

Dashboard Templates Create

认证

需要 Connected Account

Scopes

dashboard_template:write

Tags

dashboard_templates
Dashboard Templates DestroyPOSTHOG_DASHBOARD_TEMPLATES_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

dashboard_template:write

Tags

dashboard_templates
Dashboard Templates Json Schema RetrievePOSTHOG_DASHBOARD_TEMPLATES_JSON_SCHEMA_RETRIEVEDashboard Templates Json Schema Retrieve

Dashboard Templates Json Schema Retrieve

认证

需要 Connected Account

Tags

dashboard_templates
Dashboard Templates ListPOSTHOG_DASHBOARD_TEMPLATES_LISTDashboard Templates List

Dashboard Templates List

认证

需要 Connected Account

Scopes

dashboard_template:read

Tags

dashboard_templates
Dashboard Templates Partial UpdatePOSTHOG_DASHBOARD_TEMPLATES_PARTIAL_UPDATEDashboard Templates Partial Update

Dashboard Templates Partial Update

认证

需要 Connected Account

Scopes

dashboard_template:write

Tags

dashboard_templates
Dashboard Templates RetrievePOSTHOG_DASHBOARD_TEMPLATES_RETRIEVEDashboard Templates Retrieve

Dashboard Templates Retrieve

认证

需要 Connected Account

Scopes

dashboard_template:read

Tags

dashboard_templates
Dashboard Templates UpdatePOSTHOG_DASHBOARD_TEMPLATES_UPDATEDashboard Templates Update

Dashboard Templates Update

认证

需要 Connected Account

Scopes

dashboard_template:write

Tags

dashboard_templates
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 list

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

认证

需要 Connected Account

Tags

dashboards
Dashboards Collaborators CreatePOSTHOG_DASHBOARDS_COLLABORATORS_CREATEDashboards Collaborators Create

Dashboards Collaborators Create

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
Dashboards Collaborators DestroyPOSTHOG_DASHBOARDS_COLLABORATORS_DESTROYDashboards Collaborators Destroy

Dashboards Collaborators Destroy

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
Dashboards Collaborators ListPOSTHOG_DASHBOARDS_COLLABORATORS_LISTDashboards Collaborators List

Dashboards Collaborators List

认证

需要 Connected Account

Scopes

dashboard:read

Tags

dashboards
Dashboards Copy Tile CreatePOSTHOG_DASHBOARDS_COPY_TILE_CREATECopy an existing dashboard tile to another dashboard (insight, text card, or widget tile).

Copy an existing dashboard tile to another dashboard (insight, text card, or widget tile).

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
Dashboards CreatePOSTHOG_DASHBOARDS_CREATEDashboards Create

Dashboards Create

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
Dashboards Create From Template Json CreatePOSTHOG_DASHBOARDS_CREATE_FROM_TEMPLATE_JSON_CREATEDashboards Create From Template Json Create

Dashboards Create From Template Json Create

认证

需要 Connected Account

Tags

dashboards
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.

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.

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
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.

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.

认证

需要 Connected Account

Tags

dashboards
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.

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.

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
Dashboards DestroyPOSTHOG_DASHBOARDS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
Dashboards ListPOSTHOG_DASHBOARDS_LISTDashboards List

Dashboards List

认证

需要 Connected Account

Scopes

dashboard:read

Tags

dashboards
Dashboards Move Tile CreatePOSTHOG_DASHBOARDS_MOVE_TILE_CREATEDashboards Move Tile Create

Dashboards Move Tile Create

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
Dashboards Move Tile Partial UpdatePOSTHOG_DASHBOARDS_MOVE_TILE_PARTIAL_UPDATEDashboards Move Tile Partial Update

Dashboards Move Tile Partial Update

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
Dashboards Partial UpdatePOSTHOG_DASHBOARDS_PARTIAL_UPDATEDashboards Partial Update

Dashboards Partial Update

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
Dashboards Reorder Tiles CreatePOSTHOG_DASHBOARDS_REORDER_TILES_CREATEDashboards Reorder Tiles Create

Dashboards Reorder Tiles Create

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
Dashboards RetrievePOSTHOG_DASHBOARDS_RETRIEVEDashboards Retrieve

Dashboards Retrieve

认证

需要 Connected Account

Scopes

dashboard:read

Tags

dashboards
Dashboards Run Insights RetrievePOSTHOG_DASHBOARDS_RUN_INSIGHTS_RETRIEVERun all insights on a dashboard and return their results.

Run all insights on a dashboard and return their results.

认证

需要 Connected Account

Scopes

query:read

Tags

dashboards
Dashboards Run Widgets RetrievePOSTHOG_DASHBOARDS_RUN_WIDGETS_RETRIEVEDashboards Run Widgets Retrieve

Dashboards Run Widgets Retrieve

认证

需要 Connected Account

Scopes

dashboard:read

Tags

dashboards
Dashboards Sharing ListPOSTHOG_DASHBOARDS_SHARING_LISTDashboards Sharing List

Dashboards Sharing List

认证

需要 Connected Account

Scopes

sharing_configuration:read

Tags

dashboards
Dashboards Sharing Passwords CreatePOSTHOG_DASHBOARDS_SHARING_PASSWORDS_CREATECreate a new password for the sharing configuration.

Create a new password for the sharing configuration.

认证

需要 Connected Account

Scopes

sharing_configuration:write

Tags

dashboards
Dashboards Sharing Passwords DestroyPOSTHOG_DASHBOARDS_SHARING_PASSWORDS_DESTROYDelete a password from the sharing configuration.

Delete a password from the sharing configuration.

认证

需要 Connected Account

Scopes

sharing_configuration:write

Tags

dashboards
Dashboards Sharing Refresh CreatePOSTHOG_DASHBOARDS_SHARING_REFRESH_CREATEDashboards Sharing Refresh Create

Dashboards Sharing Refresh Create

认证

需要 Connected Account

Scopes

sharing_configuration:write

Tags

dashboards
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.

Stream dashboard metadata and tiles via Server-Sent Events. Sends metadata first, then tiles as they are rendered.

认证

需要 Connected Account

Tags

dashboards
Dashboards UpdatePOSTHOG_DASHBOARDS_UPDATEDashboards Update

Dashboards Update

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
Dashboards Update Text Tile CreatePOSTHOG_DASHBOARDS_UPDATE_TEXT_TILE_CREATEUpdate the markdown body, layout, or color of an existing text tile on a dashboard.

Update the markdown body, layout, or color of an existing text tile on a dashboard.

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
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.

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.

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
Dashboards Widget Catalog RetrievePOSTHOG_DASHBOARDS_WIDGET_CATALOG_RETRIEVEList registered dashboard widget types and per-type config_schema documentation for agents.

List registered dashboard widget types and per-type config_schema documentation for agents.

认证

需要 Connected Account

Scopes

dashboard:read

Tags

dashboards
Dashboards Widgets Batch CreatePOSTHOG_DASHBOARDS_WIDGETS_BATCH_CREATEAdd multiple widget tiles to a dashboard in one atomic request.

Add multiple widget tiles to a dashboard in one atomic request.

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
Data Color Themes CreatePOSTHOG_DATA_COLOR_THEMES_CREATEData Color Themes Create

Data Color Themes Create

认证

需要 Connected Account

Scopes

project:write

Tags

data_color_themes
Data Color Themes DestroyPOSTHOG_DATA_COLOR_THEMES_DESTROYData Color Themes Destroy

Data Color Themes Destroy

认证

需要 Connected Account

Scopes

project:write

Tags

data_color_themes
Data Color Themes ListPOSTHOG_DATA_COLOR_THEMES_LISTData Color Themes List

Data Color Themes List

认证

需要 Connected Account

Scopes

project:read

Tags

data_color_themes
Data Color Themes Partial UpdatePOSTHOG_DATA_COLOR_THEMES_PARTIAL_UPDATEData Color Themes Partial Update

Data Color Themes Partial Update

认证

需要 Connected Account

Scopes

project:write

Tags

data_color_themes
Data Color Themes RetrievePOSTHOG_DATA_COLOR_THEMES_RETRIEVEData Color Themes Retrieve

Data Color Themes Retrieve

认证

需要 Connected Account

Scopes

project:read

Tags

data_color_themes
Data Color Themes UpdatePOSTHOG_DATA_COLOR_THEMES_UPDATEData Color Themes Update

Data Color Themes Update

认证

需要 Connected Account

Scopes

project:write

Tags

data_color_themes
Data Modeling Jobs ListPOSTHOG_DATA_MODELING_JOBS_LISTList data modeling jobs which are "runs" for our saved queries.

List data modeling jobs which are "runs" for our saved queries.

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

data_modeling_jobs
Data Modeling Jobs Recent RetrievePOSTHOG_DATA_MODELING_JOBS_RECENT_RETRIEVEGet the most recent non-running job for each saved query from the v2 backend.

Get the most recent non-running job for each saved query from the v2 backend.

认证

需要 Connected Account

Tags

data_modeling_jobs
Data Modeling Jobs RetrievePOSTHOG_DATA_MODELING_JOBS_RETRIEVEList data modeling jobs which are "runs" for our saved queries.

List data modeling jobs which are "runs" for our saved queries.

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

data_modeling_jobs
Data Modeling Jobs Running RetrievePOSTHOG_DATA_MODELING_JOBS_RUNNING_RETRIEVEGet all currently running jobs from the v2 backend.

Get all currently running jobs from the v2 backend.

认证

需要 Connected Account

Tags

data_modeling_jobs
Data Warehouse Check Database Name RetrievePOSTHOG_DATA_WAREHOUSE_CHECK_DATABASE_NAME_RETRIEVECheck if a database name is available.

Check if a database name is available.

认证

需要 Connected Account

Tags

data_warehouse
Data Warehouse Completed Activity RetrievePOSTHOG_DATA_WAREHOUSE_COMPLETED_ACTIVITY_RETRIEVEReturns completed/non-running activities (jobs with status 'Completed'). Supports pagination and cutoff time filtering.

Returns completed/non-running activities (jobs with status 'Completed'). Supports pagination and cutoff time filtering.

认证

需要 Connected Account

Tags

data_warehouse
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.

Returns failed/disabled data pipeline items for the Pipeline status side panel. Includes: materializations, syncs, sources, destinations, and transformations.

认证

需要 Connected Account

Scopes

warehouse_view:readexternal_data_source:read

Tags

data_warehouse
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.

Returns the data ops overview dashboard ID for this team, creating it if it doesn't exist yet.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

data_warehouse
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.

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.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

data_warehouse
Data Warehouse Deprovision CreatePOSTHOG_DATA_WAREHOUSE_DEPROVISION_CREATEStart deprovisioning the organization's managed warehouse. Restricted to organization admins.

Start deprovisioning the organization's managed warehouse. Restricted to organization admins.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

data_warehouse
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.

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.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

data_warehouse
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).

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).

认证

需要 Connected Account

Tags

data_warehouse
Data Warehouse Property Values RetrievePOSTHOG_DATA_WAREHOUSE_PROPERTY_VALUES_RETRIEVEAPI endpoints for data warehouse aggregate statistics and operations.

API endpoints for data warehouse aggregate statistics and operations.

认证

需要 Connected Account

Scopes

query:read

Tags

data_warehouse
Data Warehouse Provision CreatePOSTHOG_DATA_WAREHOUSE_PROVISION_CREATEStart provisioning a managed warehouse for this organization (shared by all its teams).

Start provisioning a managed warehouse for this organization (shared by all its teams).

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

data_warehouse
Data Warehouse Reset Password CreatePOSTHOG_DATA_WAREHOUSE_RESET_PASSWORD_CREATEReset the root password for the managed warehouse.

Reset the root password for the managed warehouse.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

data_warehouse
Data Warehouse Running Activity RetrievePOSTHOG_DATA_WAREHOUSE_RUNNING_ACTIVITY_RETRIEVEReturns currently running activities (jobs with status 'Running'). Supports pagination and cutoff time filtering.

Returns currently running activities (jobs with status 'Running'). Supports pagination and cutoff time filtering.

认证

需要 Connected Account

Tags

data_warehouse
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.

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.

认证

需要 Connected Account

Tags

data_warehouse
Data Warehouse Warehouse Status RetrievePOSTHOG_DATA_WAREHOUSE_WAREHOUSE_STATUS_RETRIEVEGet the current provisioning status of the managed warehouse, with this project's backfill state.

Get the current provisioning status of the managed warehouse, with this project's backfill state.

认证

需要 Connected Account

Tags

data_warehouse
Dataset Items CreatePOSTHOG_DATASET_ITEMS_CREATEDataset Items Create

Dataset Items Create

认证

需要 Connected Account

Scopes

dataset:write

Tags

dataset_items
Dataset Items DestroyPOSTHOG_DATASET_ITEMS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

dataset:write

Tags

dataset_items
Dataset Items ListPOSTHOG_DATASET_ITEMS_LISTDataset Items List

Dataset Items List

认证

需要 Connected Account

Scopes

dataset:read

Tags

dataset_items
Dataset Items Partial UpdatePOSTHOG_DATASET_ITEMS_PARTIAL_UPDATEDataset Items Partial Update

Dataset Items Partial Update

认证

需要 Connected Account

Scopes

dataset:write

Tags

dataset_items
Dataset Items RetrievePOSTHOG_DATASET_ITEMS_RETRIEVEDataset Items Retrieve

Dataset Items Retrieve

认证

需要 Connected Account

Scopes

dataset:read

Tags

dataset_items
Dataset Items UpdatePOSTHOG_DATASET_ITEMS_UPDATEDataset Items Update

Dataset Items Update

认证

需要 Connected Account

Scopes

dataset:write

Tags

dataset_items
Datasets CreatePOSTHOG_DATASETS_CREATEDatasets Create

Datasets Create

认证

需要 Connected Account

Scopes

dataset:write

Tags

datasets
Datasets DestroyPOSTHOG_DATASETS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

dataset:write

Tags

datasets
Datasets ListPOSTHOG_DATASETS_LISTDatasets List

Datasets List

认证

需要 Connected Account

Scopes

dataset:read

Tags

datasets
Datasets Partial UpdatePOSTHOG_DATASETS_PARTIAL_UPDATEDatasets Partial Update

Datasets Partial Update

认证

需要 Connected Account

Scopes

dataset:write

Tags

datasets
Datasets RetrievePOSTHOG_DATASETS_RETRIEVEDatasets Retrieve

Datasets Retrieve

认证

需要 Connected Account

Scopes

dataset:read

Tags

datasets
Datasets UpdatePOSTHOG_DATASETS_UPDATEDatasets Update

Datasets Update

认证

需要 Connected Account

Scopes

dataset:write

Tags

datasets
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.

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.

认证

需要 Connected Account

Scopes

file_system:write

Tags

desktop_file_system
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.

Return the Task currently generating this folder's CONTEXT.md, or null if none.

认证

需要 Connected Account

Scopes

file_system:read

Tags

desktop_file_system
Desktop File System Context Generation UpdatePOSTHOG_DESKTOP_FILE_SYSTEM_CONTEXT_GENERATION_UPDATESet or clear the Task associated with this folder's CONTEXT.md generation.

Set or clear the Task associated with this folder's CONTEXT.md generation.

认证

需要 Connected Account

Scopes

file_system:write

Tags

desktop_file_system
Desktop File System Count By Path CreatePOSTHOG_DESKTOP_FILE_SYSTEM_COUNT_BY_PATH_CREATEGet count of all files in a folder.

Get count of all files in a folder.

认证

需要 Connected Account

Scopes

file_system:read

Tags

desktop_file_system
Desktop File System Count CreatePOSTHOG_DESKTOP_FILE_SYSTEM_COUNT_CREATEGet count of all files in a folder.

Get count of all files in a folder.

认证

需要 Connected Account

Scopes

file_system:read

Tags

desktop_file_system
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.

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.

认证

需要 Connected Account

Scopes

file_system:write

Tags

desktop_file_system
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.

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.

认证

需要 Connected Account

Scopes

file_system:write

Tags

desktop_file_system
Desktop File System Instructions DestroyPOSTHOG_DESKTOP_FILE_SYSTEM_INSTRUCTIONS_DESTROYSoft-delete every version of this folder's instructions.

Soft-delete every version of this folder's instructions.

认证

需要 Connected Account

Scopes

file_system:write

Tags

desktop_file_system
Desktop File System Instructions Partial UpdatePOSTHOG_DESKTOP_FILE_SYSTEM_INSTRUCTIONS_PARTIAL_UPDATEPublish a new version of the folder's instructions.

Publish a new version of the folder's instructions.

认证

需要 Connected Account

Scopes

file_system:write

Tags

desktop_file_system
Desktop File System Instructions RetrievePOSTHOG_DESKTOP_FILE_SYSTEM_INSTRUCTIONS_RETRIEVEReturn the latest non-deleted instructions for this folder.

Return the latest non-deleted instructions for this folder.

认证

需要 Connected Account

Scopes

file_system:read

Tags

desktop_file_system
Desktop File System Instructions UpdatePOSTHOG_DESKTOP_FILE_SYSTEM_INSTRUCTIONS_UPDATEPublish a new version of the folder's instructions.

Publish a new version of the folder's instructions.

认证

需要 Connected Account

Scopes

file_system:write

Tags

desktop_file_system
Desktop File System Instructions Versions ListPOSTHOG_DESKTOP_FILE_SYSTEM_INSTRUCTIONS_VERSIONS_LISTList the version history for this folder's instructions, newest first.

List the version history for this folder's instructions, newest first.

认证

需要 Connected Account

Scopes

file_system:read

Tags

desktop_file_system
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.

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.

认证

需要 Connected Account

Scopes

file_system:write

Tags

desktop_file_system
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.

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.

认证

需要 Connected Account

Scopes

file_system:read

Tags

desktop_file_system
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.

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.

认证

需要 Connected Account

Scopes

file_system:write

Tags

desktop_file_system
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.

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.

认证

需要 Connected Account

Scopes

file_system:write

Tags

desktop_file_system
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.

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.

认证

需要 Connected Account

Scopes

file_system:write

Tags

desktop_file_system
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.

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.

认证

需要 Connected Account

Scopes

file_system:write

Tags

desktop_file_system
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.

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.

认证

需要 Connected Account

Scopes

file_system:read

Tags

desktop_file_system
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.

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.

认证

需要 Connected Account

Scopes

file_system_shortcut:write

Tags

desktop_file_system_shortcut
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.

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.

认证

需要 Connected Account

Scopes

file_system_shortcut:write

Tags

desktop_file_system_shortcut
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.

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.

认证

需要 Connected Account

Scopes

file_system_shortcut:read

Tags

desktop_file_system_shortcut
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.

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.

认证

需要 Connected Account

Scopes

file_system_shortcut:write

Tags

desktop_file_system_shortcut
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.

Set the display order of the current user's shortcuts. `ordered_ids` becomes the new top-to-bottom order; any unknown IDs are rejected.

认证

需要 Connected Account

Tags

desktop_file_system_shortcut
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.

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.

认证

需要 Connected Account

Scopes

file_system_shortcut:read

Tags

desktop_file_system_shortcut
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.

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.

认证

需要 Connected Account

Scopes

file_system_shortcut:write

Tags

desktop_file_system_shortcut
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.

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.

认证

需要 Connected Account

Scopes

file_system:write

Tags

desktop_file_system
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.

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.

认证

需要 Connected Account

Scopes

file_system:read

Tags

desktop_file_system
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.

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.

认证

需要 Connected Account

Scopes

file_system:write

Tags

desktop_file_system
DestroyPOSTHOG_DESTROYDestroy

Destroy

认证

需要 Connected Account

Scopes

organization:write

Tags

organizationsorganizations
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.

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.

认证

需要 Connected Account

Scopes

project:read

Tags

docsmcp_tools
Domains CreatePOSTHOG_DOMAINS_CREATEDomains Create

Domains Create

认证

需要 Connected Account

Scopes

organization:write

Tags

organizationsdomains
Domains DestroyPOSTHOG_DOMAINS_DESTROYDomains Destroy

Domains Destroy

认证

需要 Connected Account

Scopes

organization:write

Tags

organizationsdomains
Domains ListPOSTHOG_DOMAINS_LISTDomains List

Domains List

认证

需要 Connected Account

Scopes

organization:read

Tags

organizationsdomains
Domains Partial UpdatePOSTHOG_DOMAINS_PARTIAL_UPDATEDomains Partial Update

Domains Partial Update

认证

需要 Connected Account

Scopes

organization:write

Tags

organizationsdomains
Domains RetrievePOSTHOG_DOMAINS_RETRIEVEDomains Retrieve

Domains Retrieve

认证

需要 Connected Account

Scopes

organization:read

Tags

organizationsdomains
Domains Scim Logs RetrievePOSTHOG_DOMAINS_SCIM_LOGS_RETRIEVEDomains Scim Logs Retrieve

Domains Scim Logs Retrieve

认证

需要 Connected Account

Tags

organizationsdomains
Domains Scim Token CreatePOSTHOG_DOMAINS_SCIM_TOKEN_CREATERegenerate SCIM bearer token.

Regenerate SCIM bearer token.

认证

需要 Connected Account

Tags

organizationsdomains
Domains UpdatePOSTHOG_DOMAINS_UPDATEDomains Update

Domains Update

认证

需要 Connected Account

Scopes

organization:write

Tags

organizationsdomains
Domains Verify CreatePOSTHOG_DOMAINS_VERIFY_CREATEDomains Verify Create

Domains Verify Create

认证

需要 Connected Account

Tags

organizationsdomains
Early Access Feature CreatePOSTHOG_EARLY_ACCESS_FEATURE_CREATEEarly Access Feature Create

Early Access Feature Create

认证

需要 Connected Account

Scopes

early_access_feature:write

Tags

early_access_feature
Early Access Feature DestroyPOSTHOG_EARLY_ACCESS_FEATURE_DESTROYEarly Access Feature Destroy

Early Access Feature Destroy

认证

需要 Connected Account

Scopes

early_access_feature:write

Tags

early_access_feature
Early Access Feature ListPOSTHOG_EARLY_ACCESS_FEATURE_LISTEarly Access Feature List

Early Access Feature List

认证

需要 Connected Account

Scopes

early_access_feature:read

Tags

early_access_feature
Early Access Feature Partial UpdatePOSTHOG_EARLY_ACCESS_FEATURE_PARTIAL_UPDATEEarly Access Feature Partial Update

Early Access Feature Partial Update

认证

需要 Connected Account

Scopes

early_access_feature:write

Tags

early_access_feature
Early Access Feature RetrievePOSTHOG_EARLY_ACCESS_FEATURE_RETRIEVEEarly Access Feature Retrieve

Early Access Feature Retrieve

认证

需要 Connected Account

Scopes

early_access_feature:read

Tags

early_access_feature
Early Access Feature UpdatePOSTHOG_EARLY_ACCESS_FEATURE_UPDATEEarly Access Feature Update

Early Access Feature Update

认证

需要 Connected Account

Scopes

early_access_feature:write

Tags

early_access_feature
Elements CreatePOSTHOG_ELEMENTS_CREATEElements Create

Elements Create

认证

需要 Connected Account

Scopes

element:write

Tags

elements
Elements DestroyPOSTHOG_ELEMENTS_DESTROYElements Destroy

Elements Destroy

认证

需要 Connected Account

Scopes

element:write

Tags

elements
Elements ListPOSTHOG_ELEMENTS_LISTElements List

Elements List

认证

需要 Connected Account

Scopes

element:read

Tags

elements
Elements Partial UpdatePOSTHOG_ELEMENTS_PARTIAL_UPDATEElements Partial Update

Elements Partial Update

认证

需要 Connected Account

Scopes

element:write

Tags

elements
Elements RetrievePOSTHOG_ELEMENTS_RETRIEVEElements Retrieve

Elements Retrieve

认证

需要 Connected Account

Scopes

element:read

Tags

elements
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.

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.

认证

需要 Connected Account

Scopes

element:read

Tags

elements
Elements UpdatePOSTHOG_ELEMENTS_UPDATEElements Update

Elements Update

认证

需要 Connected Account

Scopes

element:write

Tags

elements
Elements Values ListPOSTHOG_ELEMENTS_VALUES_LISTElements Values List

Elements Values List

认证

需要 Connected Account

Scopes

element:read

Tags

elements
Endpoints CreatePOSTHOG_ENDPOINTS_CREATECreate a new endpoint.

Create a new endpoint.

认证

需要 Connected Account

Scopes

endpoint:write

Tags

endpoints
Endpoints DestroyPOSTHOG_ENDPOINTS_DESTROYDelete an endpoint and clean up materialized query.

Delete an endpoint and clean up materialized query.

认证

需要 Connected Account

Scopes

endpoint:write

Tags

endpoints
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.

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.

认证

需要 Connected Account

Scopes

endpoint:read

Tags

endpoints
Endpoints ListPOSTHOG_ENDPOINTS_LISTList all endpoints for the team.

List all endpoints for the team.

认证

需要 Connected Account

Scopes

endpoint:read

Tags

endpoints
Endpoints Logs RetrievePOSTHOG_ENDPOINTS_LOGS_RETRIEVEEndpoints Logs Retrieve

Endpoints Logs Retrieve

认证

需要 Connected Account

Scopes

endpoint:read

Tags

endpoints
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.

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.

认证

需要 Connected Account

Scopes

endpoint:read

Tags

endpoints
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.

Preview the materialization transform for an endpoint. Shows what the query will look like after materialization, including range pair detection and bucket functions.

认证

需要 Connected Account

Scopes

endpoint:read

Tags

endpoints
Endpoints Materialization Status RetrievePOSTHOG_ENDPOINTS_MATERIALIZATION_STATUS_RETRIEVEGet materialization status for an endpoint. Supports ?version=N query param.

Get materialization status for an endpoint. Supports ?version=N query param.

认证

需要 Connected Account

Scopes

endpoint:read

Tags

endpoints
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.

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.

认证

需要 Connected Account

Scopes

endpoint:read

Tags

endpoints
Endpoints Openapi Spec RetrievePOSTHOG_ENDPOINTS_OPENAPI_SPEC_RETRIEVEGet OpenAPI 3.0 specification for this endpoint. Use this to generate typed SDK clients.

Get OpenAPI 3.0 specification for this endpoint. Use this to generate typed SDK clients.

认证

需要 Connected Account

Scopes

endpoint:read

Tags

endpoints
Endpoints Partial UpdatePOSTHOG_ENDPOINTS_PARTIAL_UPDATEUpdate an existing endpoint.

Update an existing endpoint.

认证

需要 Connected Account

Scopes

endpoint:write

Tags

endpoints
Endpoints RetrievePOSTHOG_ENDPOINTS_RETRIEVERetrieve an endpoint, or a specific version via ?version=N.

Retrieve an endpoint, or a specific version via ?version=N.

认证

需要 Connected Account

Scopes

endpoint:read

Tags

endpoints
Endpoints Run CreatePOSTHOG_ENDPOINTS_RUN_CREATEExecute endpoint with optional materialization. Supports version parameter, runs latest version if not set.

Execute endpoint with optional materialization. Supports version parameter, runs latest version if not set.

认证

需要 Connected Account

Scopes

endpoint:read

Tags

endpoints
Endpoints Run RetrievePOSTHOG_ENDPOINTS_RUN_RETRIEVEExecute endpoint with optional materialization. Supports version parameter, runs latest version if not set.

Execute endpoint with optional materialization. Supports version parameter, runs latest version if not set.

认证

需要 Connected Account

Scopes

endpoint:read

Tags

endpoints
Endpoints UpdatePOSTHOG_ENDPOINTS_UPDATEUpdate an existing endpoint. Parameters are optional. Pass version in body or ?version=N query param to target a specific version.

Update an existing endpoint. Parameters are optional. Pass version in body or ?version=N query param to target a specific version.

认证

需要 Connected Account

Scopes

endpoint:write

Tags

endpoints
Endpoints Versions ListPOSTHOG_ENDPOINTS_VERSIONS_LISTList all versions for an endpoint.

List all versions for an endpoint.

认证

需要 Connected Account

Scopes

endpoint:read

Tags

endpoints
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.

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.

认证

需要 Connected Account

Scopes

engineering_analytics:read

Tags

engineering_analyticsengineering_analytics
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.

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.

认证

需要 Connected Account

Scopes

engineering_analytics:read

Tags

engineering_analyticsengineering_analytics
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.

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.

认证

需要 Connected Account

Scopes

engineering_analytics:read

Tags

engineering_analyticsengineering_analytics
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.

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.

认证

需要 Connected Account

Scopes

engineering_analytics:read

Tags

engineering_analyticsengineering_analytics
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.

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.

认证

需要 Connected Account

Scopes

engineering_analytics:read

Tags

engineering_analyticsengineering_analytics
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.

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.

认证

需要 Connected Account

Scopes

engineering_analytics:read

Tags

engineering_analyticsengineering_analytics
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.

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.

认证

需要 Connected Account

Scopes

engineering_analytics:read

Tags

engineering_analyticsengineering_analytics
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.

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.

认证

需要 Connected Account

Scopes

engineering_analytics:read

Tags

engineering_analyticsengineering_analytics
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.

Every workflow run attributed to a pull request, across all its commits (grouped by head SHA client-side), newest first. Run-level only.

认证

需要 Connected Account

Scopes

engineering_analytics:read

Tags

engineering_analyticsengineering_analytics
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.

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.

认证

需要 Connected Account

Scopes

engineering_analytics:read

Tags

engineering_analyticsengineering_analytics
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.

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.

认证

需要 Connected Account

Scopes

engineering_analytics:read

Tags

engineering_analyticsengineering_analytics
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.

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.

认证

需要 Connected Account

Scopes

engineering_analytics:write

Tags

engineering_analyticsengineering_analytics
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.

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.

认证

需要 Connected Account

Scopes

engineering_analytics:read

Tags

engineering_analyticsengineering_analytics
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.

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.

认证

需要 Connected Account

Scopes

engineering_analytics:read

Tags

engineering_analyticsengineering_analytics
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.

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.

认证

需要 Connected Account

Scopes

engineering_analytics:read

Tags

engineering_analyticsengineering_analytics
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.

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.

认证

需要 Connected Account

Scopes

engineering_analytics:read

Tags

engineering_analyticsengineering_analytics
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.

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.

认证

需要 Connected Account

Scopes

engineering_analytics:read

Tags

engineering_analyticsengineering_analytics
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.

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.

认证

需要 Connected Account

Scopes

engineering_analytics:read

Tags

engineering_analyticsengineering_analytics
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.

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.

认证

需要 Connected Account

Scopes

engineering_analytics:read

Tags

engineering_analyticsengineering_analytics
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.

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.

认证

需要 Connected Account

Scopes

engineering_analytics:read

Tags

engineering_analyticsengineering_analytics
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.

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.

认证

需要 Connected Account

Scopes

engineering_analytics:read

Tags

engineering_analyticsengineering_analytics
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.

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.

认证

需要 Connected Account

Scopes

engineering_analytics:read

Tags

engineering_analyticsengineering_analytics
Environment Vision Quota RetrievePOSTHOG_ENVIRONMENT_VISION_QUOTA_RETRIEVEEnvironment Vision Quota Retrieve

Environment Vision Quota Retrieve

认证

需要 Connected Account

Scopes

replay_scanner:read

Tags

vision
Environments Accounts CreatePOSTHOG_ENVIRONMENTS_ACCOUNTS_CREATEEnvironments Accounts Create

Environments Accounts Create

认证

需要 Connected Account

Scopes

account:write

Tags

accounts
Environments Accounts DestroyPOSTHOG_ENVIRONMENTS_ACCOUNTS_DESTROYEnvironments Accounts Destroy

Environments Accounts Destroy

认证

需要 Connected Account

Scopes

account:write

Tags

accounts
Environments Accounts ListPOSTHOG_ENVIRONMENTS_ACCOUNTS_LISTEnvironments Accounts List

Environments Accounts List

认证

需要 Connected Account

Scopes

account:read

Tags

accounts
Environments Accounts Notebooks CreatePOSTHOG_ENVIRONMENTS_ACCOUNTS_NOTEBOOKS_CREATEEnvironments Accounts Notebooks Create

Environments Accounts Notebooks Create

认证

需要 Connected Account

Scopes

account:write

Tags

customer_analyticsaccounts
Environments Accounts Notebooks DestroyPOSTHOG_ENVIRONMENTS_ACCOUNTS_NOTEBOOKS_DESTROYEnvironments Accounts Notebooks Destroy

Environments Accounts Notebooks Destroy

认证

需要 Connected Account

Scopes

account:write

Tags

customer_analyticsaccounts
Environments Accounts Notebooks ListPOSTHOG_ENVIRONMENTS_ACCOUNTS_NOTEBOOKS_LISTEnvironments Accounts Notebooks List

Environments Accounts Notebooks List

认证

需要 Connected Account

Scopes

account:read

Tags

customer_analyticsaccounts
Environments Accounts Notebooks RetrievePOSTHOG_ENVIRONMENTS_ACCOUNTS_NOTEBOOKS_RETRIEVEEnvironments Accounts Notebooks Retrieve

Environments Accounts Notebooks Retrieve

认证

需要 Connected Account

Scopes

account:read

Tags

customer_analyticsaccounts
Environments Accounts Partial UpdatePOSTHOG_ENVIRONMENTS_ACCOUNTS_PARTIAL_UPDATEEnvironments Accounts Partial Update

Environments Accounts Partial Update

认证

需要 Connected Account

Scopes

account:write

Tags

accounts
Environments Accounts RetrievePOSTHOG_ENVIRONMENTS_ACCOUNTS_RETRIEVEEnvironments Accounts Retrieve

Environments Accounts Retrieve

认证

需要 Connected Account

Scopes

account:read

Tags

accounts
Environments Accounts UpdatePOSTHOG_ENVIRONMENTS_ACCOUNTS_UPDATEEnvironments Accounts Update

Environments Accounts Update

认证

需要 Connected Account

Scopes

account:write

Tags

accounts
Environments Activity RetrievePOSTHOG_ENVIRONMENTS_ACTIVITY_RETRIEVEDeprecated: use /api/environments/{id}/ instead.

Deprecated: use /api/environments/{id}/ instead.

认证

需要 Connected Account

Tags

environments
Environments Add Product Intent Partial UpdatePOSTHOG_ENVIRONMENTS_ADD_PRODUCT_INTENT_PARTIAL_UPDATEDeprecated: use /api/environments/{id}/ instead.

Deprecated: use /api/environments/{id}/ instead.

认证

需要 Connected Account

Scopes

project:read

Tags

environments
Environments Alerts CreatePOSTHOG_ENVIRONMENTS_ALERTS_CREATEEnvironments Alerts Create

Environments Alerts Create

认证

需要 Connected Account

Scopes

alert:write

Tags

alerts
Environments Alerts DestroyPOSTHOG_ENVIRONMENTS_ALERTS_DESTROYEnvironments Alerts Destroy

Environments Alerts Destroy

认证

需要 Connected Account

Scopes

alert:write

Tags

alerts
Environments Alerts ListPOSTHOG_ENVIRONMENTS_ALERTS_LISTEnvironments Alerts List

Environments Alerts List

认证

需要 Connected Account

Scopes

alert:read

Tags

alerts
Environments Alerts Partial UpdatePOSTHOG_ENVIRONMENTS_ALERTS_PARTIAL_UPDATEEnvironments Alerts Partial Update

Environments Alerts Partial Update

认证

需要 Connected Account

Scopes

alert:write

Tags

alerts
Environments Alerts RetrievePOSTHOG_ENVIRONMENTS_ALERTS_RETRIEVEEnvironments Alerts Retrieve

Environments Alerts Retrieve

认证

需要 Connected Account

Scopes

alert:read

Tags

alerts
Environments Alerts Simulate CreatePOSTHOG_ENVIRONMENTS_ALERTS_SIMULATE_CREATESimulate a detector on an insight's historical data. Read-only — no AlertCheck records are created.

Simulate a detector on an insight's historical data. Read-only — no AlertCheck records are created.

认证

需要 Connected Account

Scopes

alert:readinsight:read

Tags

alerts
Environments Alerts UpdatePOSTHOG_ENVIRONMENTS_ALERTS_UPDATEEnvironments Alerts Update

Environments Alerts Update

认证

需要 Connected Account

Scopes

alert:write

Tags

alerts
Environments Approval Policies CreatePOSTHOG_ENVIRONMENTS_APPROVAL_POLICIES_CREATEEnvironments Approval Policies Create

Environments Approval Policies Create

认证

需要 Connected Account

Scopes

approvals:write

Tags

platform_featuresapproval_policies
Environments Approval Policies DestroyPOSTHOG_ENVIRONMENTS_APPROVAL_POLICIES_DESTROYEnvironments Approval Policies Destroy

Environments Approval Policies Destroy

认证

需要 Connected Account

Scopes

approvals:write

Tags

platform_featuresapproval_policies
Environments Approval Policies ListPOSTHOG_ENVIRONMENTS_APPROVAL_POLICIES_LISTEnvironments Approval Policies List

Environments Approval Policies List

认证

需要 Connected Account

Scopes

approvals:read

Tags

platform_featuresapproval_policies
Environments Approval Policies Partial UpdatePOSTHOG_ENVIRONMENTS_APPROVAL_POLICIES_PARTIAL_UPDATEEnvironments Approval Policies Partial Update

Environments Approval Policies Partial Update

认证

需要 Connected Account

Scopes

approvals:write

Tags

platform_featuresapproval_policies
Environments Approval Policies RetrievePOSTHOG_ENVIRONMENTS_APPROVAL_POLICIES_RETRIEVEEnvironments Approval Policies Retrieve

Environments Approval Policies Retrieve

认证

需要 Connected Account

Scopes

approvals:read

Tags

platform_featuresapproval_policies
Environments Approval Policies UpdatePOSTHOG_ENVIRONMENTS_APPROVAL_POLICIES_UPDATEEnvironments Approval Policies Update

Environments Approval Policies Update

认证

需要 Connected Account

Scopes

approvals:write

Tags

platform_featuresapproval_policies
Environments Batch Exports Backfills Cancel CreatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_BACKFILLS_CANCEL_CREATECancel a batch export backfill.

Cancel a batch export backfill.

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exports
Environments Batch Exports Backfills CreatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_BACKFILLS_CREATECreate a new backfill for a BatchExport.

Create a new backfill for a BatchExport.

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exports
Environments Batch Exports Backfills ListPOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_BACKFILLS_LISTViewSet for BatchExportBackfill models. Allows creating and reading backfills, but not updating or deleting them.

ViewSet for BatchExportBackfill models. Allows creating and reading backfills, but not updating or deleting them.

认证

需要 Connected Account

Scopes

batch_export:read

Tags

batch_exports
Environments Batch Exports Backfills RetrievePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_BACKFILLS_RETRIEVEViewSet for BatchExportBackfill models. Allows creating and reading backfills, but not updating or deleting them.

ViewSet for BatchExportBackfill models. Allows creating and reading backfills, but not updating or deleting them.

认证

需要 Connected Account

Scopes

batch_export:read

Tags

batch_exports
Environments Batch Exports CreatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_CREATEEnvironments Batch Exports Create

Environments Batch Exports Create

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsbatch_exports
Environments Batch Exports DestroyPOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_DESTROYEnvironments Batch Exports Destroy

Environments Batch Exports Destroy

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsbatch_exports
Environments Batch Exports ListPOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_LISTEnvironments Batch Exports List

Environments Batch Exports List

认证

需要 Connected Account

Scopes

batch_export:read

Tags

batch_exportsbatch_exports
Environments Batch Exports Logs RetrievePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_LOGS_RETRIEVEEnvironments Batch Exports Logs Retrieve

Environments Batch Exports Logs Retrieve

认证

需要 Connected Account

Tags

batch_exportsbatch_exports
Environments Batch Exports Partial UpdatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_PARTIAL_UPDATEEnvironments Batch Exports Partial Update

Environments Batch Exports Partial Update

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsbatch_exports
Environments Batch Exports Pause CreatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_PAUSE_CREATEPause a BatchExport.

Pause a BatchExport.

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsbatch_exports
Environments Batch Exports RetrievePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_RETRIEVEEnvironments Batch Exports Retrieve

Environments Batch Exports Retrieve

认证

需要 Connected Account

Scopes

batch_export:read

Tags

batch_exportsbatch_exports
Environments Batch Exports Run Test Step CreatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_RUN_TEST_STEP_CREATEEnvironments Batch Exports Run Test Step Create

Environments Batch Exports Run Test Step Create

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsbatch_exports
Environments Batch Exports Run Test Step New CreatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_RUN_TEST_STEP_NEW_CREATEEnvironments Batch Exports Run Test Step New Create

Environments Batch Exports Run Test Step New Create

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsbatch_exports
Environments Batch Exports Runs Cancel CreatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_RUNS_CANCEL_CREATECancel a batch export run.

Cancel a batch export run.

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsbatch_exports
Environments Batch Exports Runs ListPOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_RUNS_LISTEnvironments Batch Exports Runs List

Environments Batch Exports Runs List

认证

需要 Connected Account

Scopes

batch_export:read

Tags

batch_exportsbatch_exports
Environments Batch Exports Runs Logs RetrievePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_RUNS_LOGS_RETRIEVEEnvironments Batch Exports Runs Logs Retrieve

Environments Batch Exports Runs Logs Retrieve

认证

需要 Connected Account

Tags

batch_exportsbatch_exports
Environments Batch Exports Runs RetrievePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_RUNS_RETRIEVEEnvironments Batch Exports Runs Retrieve

Environments Batch Exports Runs Retrieve

认证

需要 Connected Account

Scopes

batch_export:read

Tags

batch_exportsbatch_exports
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.

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.

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsbatch_exports
Environments Batch Exports Test RetrievePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_TEST_RETRIEVEEnvironments Batch Exports Test Retrieve

Environments Batch Exports Test Retrieve

认证

需要 Connected Account

Scopes

batch_export:read

Tags

batch_exportsbatch_exports
Environments Batch Exports Unpause CreatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_UNPAUSE_CREATEUnpause a BatchExport.

Unpause a BatchExport.

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsbatch_exports
Environments Batch Exports UpdatePOSTHOG_ENVIRONMENTS_BATCH_EXPORTS_UPDATEEnvironments Batch Exports Update

Environments Batch Exports Update

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsbatch_exports
Environments Change Requests Approve CreatePOSTHOG_ENVIRONMENTS_CHANGE_REQUESTS_APPROVE_CREATEApprove a change request. If quorum is reached, automatically applies the change immediately.

Approve a change request. If quorum is reached, automatically applies the change immediately.

认证

需要 Connected Account

Scopes

approvals:write

Tags

platform_featureschange_requests
Environments Change Requests Cancel CreatePOSTHOG_ENVIRONMENTS_CHANGE_REQUESTS_CANCEL_CREATECancel a change request. Only the requester can cancel their own pending change request.

Cancel a change request. Only the requester can cancel their own pending change request.

认证

需要 Connected Account

Scopes

approvals:write

Tags

platform_featureschange_requests
Environments Change Requests ListPOSTHOG_ENVIRONMENTS_CHANGE_REQUESTS_LISTEnvironments Change Requests List

Environments Change Requests List

认证

需要 Connected Account

Scopes

approvals:read

Tags

platform_featureschange_requests
Environments Change Requests Reject CreatePOSTHOG_ENVIRONMENTS_CHANGE_REQUESTS_REJECT_CREATEReject a change request.

Reject a change request.

认证

需要 Connected Account

Scopes

approvals:write

Tags

platform_featureschange_requests
Environments Change Requests RetrievePOSTHOG_ENVIRONMENTS_CHANGE_REQUESTS_RETRIEVEEnvironments Change Requests Retrieve

Environments Change Requests Retrieve

认证

需要 Connected Account

Scopes

approvals:read

Tags

platform_featureschange_requests
Environments Complete Product Onboarding Partial UpdatePOSTHOG_ENVIRONMENTS_COMPLETE_PRODUCT_ONBOARDING_PARTIAL_UPDATEDeprecated: use /api/environments/{id}/ instead.

Deprecated: use /api/environments/{id}/ instead.

认证

需要 Connected Account

Scopes

project:read

Tags

environments
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).

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).

认证

需要 Connected Account

Tags

maxconversations
Environments Conversations Cancel Partial UpdatePOSTHOG_ENVIRONMENTS_CONVERSATIONS_CANCEL_PARTIAL_UPDATECancel the conversation's in-progress LangGraph run.

Cancel the conversation's in-progress LangGraph run.

认证

需要 Connected Account

Tags

maxconversations
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 conversation

Unified endpoint that handles both conversation creation and streaming. - If message is provided: Start new conversation processing - If no message: Stream from existing conversation

认证

需要 Connected Account

Scopes

conversation:write

Tags

maxconversations
Environments Conversations DestroyPOSTHOG_ENVIRONMENTS_CONVERSATIONS_DESTROYDelete a conversation.

Delete a conversation.

认证

需要 Connected Account

Scopes

conversation:write

Tags

maxconversations
Environments Conversations ListPOSTHOG_ENVIRONMENTS_CONVERSATIONS_LISTEnvironments Conversations List

Environments Conversations List

认证

需要 Connected Account

Scopes

conversation:read

Tags

maxconversations
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.

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.

认证

需要 Connected Account

Tags

maxconversations
Environments Conversations Queue Clear CreatePOSTHOG_ENVIRONMENTS_CONVERSATIONS_QUEUE_CLEAR_CREATEEnvironments Conversations Queue Clear Create

Environments Conversations Queue Clear Create

认证

需要 Connected Account

Tags

maxconversations
Environments Conversations Queue CreatePOSTHOG_ENVIRONMENTS_CONVERSATIONS_QUEUE_CREATEEnvironments Conversations Queue Create

Environments Conversations Queue Create

认证

需要 Connected Account

Tags

maxconversations
Environments Conversations Queue DestroyPOSTHOG_ENVIRONMENTS_CONVERSATIONS_QUEUE_DESTROYEnvironments Conversations Queue Destroy

Environments Conversations Queue Destroy

认证

需要 Connected Account

Tags

maxconversations
Environments Conversations Queue Partial UpdatePOSTHOG_ENVIRONMENTS_CONVERSATIONS_QUEUE_PARTIAL_UPDATEEnvironments Conversations Queue Partial Update

Environments Conversations Queue Partial Update

认证

需要 Connected Account

Tags

maxconversations
Environments Conversations Queue RetrievePOSTHOG_ENVIRONMENTS_CONVERSATIONS_QUEUE_RETRIEVEEnvironments Conversations Queue Retrieve

Environments Conversations Queue Retrieve

认证

需要 Connected Account

Tags

maxconversations
Environments Conversations RetrievePOSTHOG_ENVIRONMENTS_CONVERSATIONS_RETRIEVEEnvironments Conversations Retrieve

Environments Conversations Retrieve

认证

需要 Connected Account

Scopes

conversation:read

Tags

maxconversations
Environments Conversations Views CreatePOSTHOG_ENVIRONMENTS_CONVERSATIONS_VIEWS_CREATEEnvironments Conversations Views Create

Environments Conversations Views Create

认证

需要 Connected Account

Scopes

conversation:write

Tags

conversations
Environments Conversations Views DestroyPOSTHOG_ENVIRONMENTS_CONVERSATIONS_VIEWS_DESTROYEnvironments Conversations Views Destroy

Environments Conversations Views Destroy

认证

需要 Connected Account

Scopes

conversation:write

Tags

conversations
Environments Conversations Views ListPOSTHOG_ENVIRONMENTS_CONVERSATIONS_VIEWS_LISTEnvironments Conversations Views List

Environments Conversations Views List

认证

需要 Connected Account

Scopes

conversation:read

Tags

conversations
Environments Conversations Views RetrievePOSTHOG_ENVIRONMENTS_CONVERSATIONS_VIEWS_RETRIEVEEnvironments Conversations Views Retrieve

Environments Conversations Views Retrieve

认证

需要 Connected Account

Scopes

conversation:read

Tags

conversations
Environments CreatePOSTHOG_ENVIRONMENTS_CREATEDeprecated: use /api/environments/{id}/ instead.

Deprecated: use /api/environments/{id}/ instead.

认证

需要 Connected Account

Scopes

project:write

Tags

environments
Environments Create Session SummariesPOSTHOG_ENVIRONMENTS_CREATE_SESSION_SUMMARIESGenerate AI summary for a group of session recordings to find patterns and generate a notebook.

Generate AI summary for a group of session recordings to find patterns and generate a notebook.

认证

需要 Connected Account

Scopes

session_recording:read

Tags

session_summaries
Environments Create Session Summaries IndividuallyPOSTHOG_ENVIRONMENTS_CREATE_SESSION_SUMMARIES_INDIVIDUALLYGenerate AI individual summary for each session, without grouping.

Generate AI individual summary for each session, without grouping.

认证

需要 Connected Account

Scopes

session_recording:read

Tags

replaysession_summaries
Environments Custom Property Definitions CreatePOSTHOG_ENVIRONMENTS_CUSTOM_PROPERTY_DEFINITIONS_CREATEEnvironments Custom Property Definitions Create

Environments Custom Property Definitions Create

认证

需要 Connected Account

Scopes

account:write

Tags

custom_property_definitions
Environments Custom Property Definitions DestroyPOSTHOG_ENVIRONMENTS_CUSTOM_PROPERTY_DEFINITIONS_DESTROYEnvironments Custom Property Definitions Destroy

Environments Custom Property Definitions Destroy

认证

需要 Connected Account

Scopes

account:write

Tags

custom_property_definitions
Environments Custom Property Definitions ListPOSTHOG_ENVIRONMENTS_CUSTOM_PROPERTY_DEFINITIONS_LISTEnvironments Custom Property Definitions List

Environments Custom Property Definitions List

认证

需要 Connected Account

Scopes

account:read

Tags

custom_property_definitions
Environments Custom Property Definitions Partial UpdatePOSTHOG_ENVIRONMENTS_CUSTOM_PROPERTY_DEFINITIONS_PARTIAL_UPDATEEnvironments Custom Property Definitions Partial Update

Environments Custom Property Definitions Partial Update

认证

需要 Connected Account

Scopes

account:write

Tags

custom_property_definitions
Environments Custom Property Definitions RetrievePOSTHOG_ENVIRONMENTS_CUSTOM_PROPERTY_DEFINITIONS_RETRIEVEEnvironments Custom Property Definitions Retrieve

Environments Custom Property Definitions Retrieve

认证

需要 Connected Account

Scopes

account:read

Tags

custom_property_definitions
Environments Custom Property Definitions UpdatePOSTHOG_ENVIRONMENTS_CUSTOM_PROPERTY_DEFINITIONS_UPDATEEnvironments Custom Property Definitions Update

Environments Custom Property Definitions Update

认证

需要 Connected Account

Scopes

account:write

Tags

custom_property_definitions
Environments Customer Journeys CreatePOSTHOG_ENVIRONMENTS_CUSTOMER_JOURNEYS_CREATEEnvironments Customer Journeys Create

Environments Customer Journeys Create

认证

需要 Connected Account

Scopes

customer_journey:write

Tags

customer_journeys
Environments Customer Journeys DestroyPOSTHOG_ENVIRONMENTS_CUSTOMER_JOURNEYS_DESTROYEnvironments Customer Journeys Destroy

Environments Customer Journeys Destroy

认证

需要 Connected Account

Scopes

customer_journey:write

Tags

customer_journeys
Environments Customer Journeys ListPOSTHOG_ENVIRONMENTS_CUSTOMER_JOURNEYS_LISTEnvironments Customer Journeys List

Environments Customer Journeys List

认证

需要 Connected Account

Scopes

customer_journey:read

Tags

customer_journeys
Environments Customer Journeys Partial UpdatePOSTHOG_ENVIRONMENTS_CUSTOMER_JOURNEYS_PARTIAL_UPDATEEnvironments Customer Journeys Partial Update

Environments Customer Journeys Partial Update

认证

需要 Connected Account

Scopes

customer_journey:write

Tags

customer_journeys
Environments Customer Journeys RetrievePOSTHOG_ENVIRONMENTS_CUSTOMER_JOURNEYS_RETRIEVEEnvironments Customer Journeys Retrieve

Environments Customer Journeys Retrieve

认证

需要 Connected Account

Scopes

customer_journey:read

Tags

customer_journeys
Environments Customer Journeys UpdatePOSTHOG_ENVIRONMENTS_CUSTOMER_JOURNEYS_UPDATEEnvironments Customer Journeys Update

Environments Customer Journeys Update

认证

需要 Connected Account

Scopes

customer_journey:write

Tags

customer_journeys
Environments Customer Profile Configs CreatePOSTHOG_ENVIRONMENTS_CUSTOMER_PROFILE_CONFIGS_CREATEEnvironments Customer Profile Configs Create

Environments Customer Profile Configs Create

认证

需要 Connected Account

Scopes

customer_profile_config:write

Tags

customer_profile_configs
Environments Customer Profile Configs DestroyPOSTHOG_ENVIRONMENTS_CUSTOMER_PROFILE_CONFIGS_DESTROYEnvironments Customer Profile Configs Destroy

Environments Customer Profile Configs Destroy

认证

需要 Connected Account

Scopes

customer_profile_config:write

Tags

customer_profile_configs
Environments Customer Profile Configs ListPOSTHOG_ENVIRONMENTS_CUSTOMER_PROFILE_CONFIGS_LISTEnvironments Customer Profile Configs List

Environments Customer Profile Configs List

认证

需要 Connected Account

Scopes

customer_profile_config:read

Tags

customer_profile_configs
Environments Customer Profile Configs Partial UpdatePOSTHOG_ENVIRONMENTS_CUSTOMER_PROFILE_CONFIGS_PARTIAL_UPDATEEnvironments Customer Profile Configs Partial Update

Environments Customer Profile Configs Partial Update

认证

需要 Connected Account

Scopes

customer_profile_config:write

Tags

customer_profile_configs
Environments Customer Profile Configs RetrievePOSTHOG_ENVIRONMENTS_CUSTOMER_PROFILE_CONFIGS_RETRIEVEEnvironments Customer Profile Configs Retrieve

Environments Customer Profile Configs Retrieve

认证

需要 Connected Account

Scopes

customer_profile_config:read

Tags

customer_profile_configs
Environments Customer Profile Configs UpdatePOSTHOG_ENVIRONMENTS_CUSTOMER_PROFILE_CONFIGS_UPDATEEnvironments Customer Profile Configs Update

Environments Customer Profile Configs Update

认证

需要 Connected Account

Scopes

customer_profile_config:write

Tags

customer_profile_configs
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 list

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

认证

需要 Connected Account

Tags

dashboards
Environments Dashboards Collaborators CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_COLLABORATORS_CREATEEnvironments Dashboards Collaborators Create

Environments Dashboards Collaborators Create

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
Environments Dashboards Collaborators DestroyPOSTHOG_ENVIRONMENTS_DASHBOARDS_COLLABORATORS_DESTROYEnvironments Dashboards Collaborators Destroy

Environments Dashboards Collaborators Destroy

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
Environments Dashboards Collaborators ListPOSTHOG_ENVIRONMENTS_DASHBOARDS_COLLABORATORS_LISTEnvironments Dashboards Collaborators List

Environments Dashboards Collaborators List

认证

需要 Connected Account

Scopes

dashboard:read

Tags

dashboards
Environments Dashboards Copy Tile CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_COPY_TILE_CREATECopy an existing dashboard tile to another dashboard (insight, text card, or widget tile).

Copy an existing dashboard tile to another dashboard (insight, text card, or widget tile).

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
Environments Dashboards CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_CREATEEnvironments Dashboards Create

Environments Dashboards Create

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
Environments Dashboards Create From Template Json CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_CREATE_FROM_TEMPLATE_JSON_CREATEEnvironments Dashboards Create From Template Json Create

Environments Dashboards Create From Template Json Create

认证

需要 Connected Account

Tags

dashboards
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.

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.

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
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.

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.

认证

需要 Connected Account

Tags

dashboards
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.

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.

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
Environments Dashboards DestroyPOSTHOG_ENVIRONMENTS_DASHBOARDS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
Environments Dashboards ListPOSTHOG_ENVIRONMENTS_DASHBOARDS_LISTEnvironments Dashboards List

Environments Dashboards List

认证

需要 Connected Account

Scopes

dashboard:read

Tags

dashboards
Environments Dashboards Move Tile CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_MOVE_TILE_CREATEEnvironments Dashboards Move Tile Create

Environments Dashboards Move Tile Create

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
Environments Dashboards Move Tile Partial UpdatePOSTHOG_ENVIRONMENTS_DASHBOARDS_MOVE_TILE_PARTIAL_UPDATEEnvironments Dashboards Move Tile Partial Update

Environments Dashboards Move Tile Partial Update

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
Environments Dashboards Partial UpdatePOSTHOG_ENVIRONMENTS_DASHBOARDS_PARTIAL_UPDATEEnvironments Dashboards Partial Update

Environments Dashboards Partial Update

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
Environments Dashboards Reorder Tiles CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_REORDER_TILES_CREATEEnvironments Dashboards Reorder Tiles Create

Environments Dashboards Reorder Tiles Create

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
Environments Dashboards RetrievePOSTHOG_ENVIRONMENTS_DASHBOARDS_RETRIEVEEnvironments Dashboards Retrieve

Environments Dashboards Retrieve

认证

需要 Connected Account

Scopes

dashboard:read

Tags

dashboards
Environments Dashboards Run Insights RetrievePOSTHOG_ENVIRONMENTS_DASHBOARDS_RUN_INSIGHTS_RETRIEVERun all insights on a dashboard and return their results.

Run all insights on a dashboard and return their results.

认证

需要 Connected Account

Scopes

query:read

Tags

dashboards
Environments Dashboards Run Widgets RetrievePOSTHOG_ENVIRONMENTS_DASHBOARDS_RUN_WIDGETS_RETRIEVEEnvironments Dashboards Run Widgets Retrieve

Environments Dashboards Run Widgets Retrieve

认证

需要 Connected Account

Scopes

dashboard:read

Tags

dashboards
Environments Dashboards Sharing ListPOSTHOG_ENVIRONMENTS_DASHBOARDS_SHARING_LISTEnvironments Dashboards Sharing List

Environments Dashboards Sharing List

认证

需要 Connected Account

Scopes

sharing_configuration:read

Tags

dashboards
Environments Dashboards Sharing Passwords CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_SHARING_PASSWORDS_CREATECreate a new password for the sharing configuration.

Create a new password for the sharing configuration.

认证

需要 Connected Account

Scopes

sharing_configuration:write

Tags

dashboards
Environments Dashboards Sharing Passwords DestroyPOSTHOG_ENVIRONMENTS_DASHBOARDS_SHARING_PASSWORDS_DESTROYDelete a password from the sharing configuration.

Delete a password from the sharing configuration.

认证

需要 Connected Account

Scopes

sharing_configuration:write

Tags

dashboards
Environments Dashboards Sharing Refresh CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_SHARING_REFRESH_CREATEEnvironments Dashboards Sharing Refresh Create

Environments Dashboards Sharing Refresh Create

认证

需要 Connected Account

Scopes

sharing_configuration:write

Tags

dashboards
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.

Stream dashboard metadata and tiles via Server-Sent Events. Sends metadata first, then tiles as they are rendered.

认证

需要 Connected Account

Tags

dashboards
Environments Dashboards UpdatePOSTHOG_ENVIRONMENTS_DASHBOARDS_UPDATEEnvironments Dashboards Update

Environments Dashboards Update

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
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.

Update the markdown body, layout, or color of an existing text tile on a dashboard.

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
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.

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.

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
Environments Dashboards Widget Catalog RetrievePOSTHOG_ENVIRONMENTS_DASHBOARDS_WIDGET_CATALOG_RETRIEVEList registered dashboard widget types and per-type config_schema documentation for agents.

List registered dashboard widget types and per-type config_schema documentation for agents.

认证

需要 Connected Account

Scopes

dashboard:read

Tags

dashboards
Environments Dashboards Widgets Batch CreatePOSTHOG_ENVIRONMENTS_DASHBOARDS_WIDGETS_BATCH_CREATEAdd multiple widget tiles to a dashboard in one atomic request.

Add multiple widget tiles to a dashboard in one atomic request.

认证

需要 Connected Account

Scopes

dashboard:write

Tags

dashboards
Environments Data Color Themes CreatePOSTHOG_ENVIRONMENTS_DATA_COLOR_THEMES_CREATEEnvironments Data Color Themes Create

Environments Data Color Themes Create

认证

需要 Connected Account

Scopes

project:write

Tags

data_color_themes
Environments Data Color Themes DestroyPOSTHOG_ENVIRONMENTS_DATA_COLOR_THEMES_DESTROYEnvironments Data Color Themes Destroy

Environments Data Color Themes Destroy

认证

需要 Connected Account

Scopes

project:write

Tags

data_color_themes
Environments Data Color Themes ListPOSTHOG_ENVIRONMENTS_DATA_COLOR_THEMES_LISTEnvironments Data Color Themes List

Environments Data Color Themes List

认证

需要 Connected Account

Scopes

project:read

Tags

data_color_themes
Environments Data Color Themes Partial UpdatePOSTHOG_ENVIRONMENTS_DATA_COLOR_THEMES_PARTIAL_UPDATEEnvironments Data Color Themes Partial Update

Environments Data Color Themes Partial Update

认证

需要 Connected Account

Scopes

project:write

Tags

data_color_themes
Environments Data Color Themes RetrievePOSTHOG_ENVIRONMENTS_DATA_COLOR_THEMES_RETRIEVEEnvironments Data Color Themes Retrieve

Environments Data Color Themes Retrieve

认证

需要 Connected Account

Scopes

project:read

Tags

data_color_themes
Environments Data Color Themes UpdatePOSTHOG_ENVIRONMENTS_DATA_COLOR_THEMES_UPDATEEnvironments Data Color Themes Update

Environments Data Color Themes Update

认证

需要 Connected Account

Scopes

project:write

Tags

data_color_themes
Environments Data Modeling Jobs ListPOSTHOG_ENVIRONMENTS_DATA_MODELING_JOBS_LISTList data modeling jobs which are "runs" for our saved queries.

List data modeling jobs which are "runs" for our saved queries.

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

data_modeling_jobs
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.

Get the most recent non-running job for each saved query from the v2 backend.

认证

需要 Connected Account

Tags

data_modeling_jobs
Environments Data Modeling Jobs RetrievePOSTHOG_ENVIRONMENTS_DATA_MODELING_JOBS_RETRIEVEList data modeling jobs which are "runs" for our saved queries.

List data modeling jobs which are "runs" for our saved queries.

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

data_modeling_jobs
Environments Data Modeling Jobs Running RetrievePOSTHOG_ENVIRONMENTS_DATA_MODELING_JOBS_RUNNING_RETRIEVEGet all currently running jobs from the v2 backend.

Get all currently running jobs from the v2 backend.

认证

需要 Connected Account

Tags

data_modeling_jobs
Environments Data Warehouse Check Database Name RetrievePOSTHOG_ENVIRONMENTS_DATA_WAREHOUSE_CHECK_DATABASE_NAME_RETRIEVECheck if a database name is available.

Check if a database name is available.

认证

需要 Connected Account

Tags

data_warehouse
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.

Returns completed/non-running activities (jobs with status 'Completed'). Supports pagination and cutoff time filtering.

认证

需要 Connected Account

Tags

data_warehouse
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.

Returns failed/disabled data pipeline items for the Pipeline status side panel. Includes: materializations, syncs, sources, destinations, and transformations.

认证

需要 Connected Account

Scopes

warehouse_view:readexternal_data_source:read

Tags

data_warehouse
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.

Returns the data ops overview dashboard ID for this team, creating it if it doesn't exist yet.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

data_warehouse
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.

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.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

data_warehouse
Environments Data Warehouse Deprovision CreatePOSTHOG_ENVIRONMENTS_DATA_WAREHOUSE_DEPROVISION_CREATEStart deprovisioning the organization's managed warehouse. Restricted to organization admins.

Start deprovisioning the organization's managed warehouse. Restricted to organization admins.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

data_warehouse
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.

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.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

data_warehouse
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).

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).

认证

需要 Connected Account

Tags

data_warehouse
Environments Data Warehouse Property Values RetrievePOSTHOG_ENVIRONMENTS_DATA_WAREHOUSE_PROPERTY_VALUES_RETRIEVEAPI endpoints for data warehouse aggregate statistics and operations.

API endpoints for data warehouse aggregate statistics and operations.

认证

需要 Connected Account

Scopes

query:read

Tags

data_warehouse
Environments Data Warehouse Provision CreatePOSTHOG_ENVIRONMENTS_DATA_WAREHOUSE_PROVISION_CREATEStart provisioning a managed warehouse for this organization (shared by all its teams).

Start provisioning a managed warehouse for this organization (shared by all its teams).

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

data_warehouse
Environments Data Warehouse Reset Password CreatePOSTHOG_ENVIRONMENTS_DATA_WAREHOUSE_RESET_PASSWORD_CREATEReset the root password for the managed warehouse.

Reset the root password for the managed warehouse.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

data_warehouse
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.

Returns currently running activities (jobs with status 'Running'). Supports pagination and cutoff time filtering.

认证

需要 Connected Account

Tags

data_warehouse
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.

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.

认证

需要 Connected Account

Tags

data_warehouse
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.

Get the current provisioning status of the managed warehouse, with this project's backfill state.

认证

需要 Connected Account

Tags

data_warehouse
Environments Dataset Items CreatePOSTHOG_ENVIRONMENTS_DATASET_ITEMS_CREATEEnvironments Dataset Items Create

Environments Dataset Items Create

认证

需要 Connected Account

Scopes

dataset:write

Tags

dataset_items
Environments Dataset Items DestroyPOSTHOG_ENVIRONMENTS_DATASET_ITEMS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

dataset:write

Tags

dataset_items
Environments Dataset Items ListPOSTHOG_ENVIRONMENTS_DATASET_ITEMS_LISTEnvironments Dataset Items List

Environments Dataset Items List

认证

需要 Connected Account

Scopes

dataset:read

Tags

dataset_items
Environments Dataset Items Partial UpdatePOSTHOG_ENVIRONMENTS_DATASET_ITEMS_PARTIAL_UPDATEEnvironments Dataset Items Partial Update

Environments Dataset Items Partial Update

认证

需要 Connected Account

Scopes

dataset:write

Tags

dataset_items
Environments Dataset Items RetrievePOSTHOG_ENVIRONMENTS_DATASET_ITEMS_RETRIEVEEnvironments Dataset Items Retrieve

Environments Dataset Items Retrieve

认证

需要 Connected Account

Scopes

dataset:read

Tags

dataset_items
Environments Dataset Items UpdatePOSTHOG_ENVIRONMENTS_DATASET_ITEMS_UPDATEEnvironments Dataset Items Update

Environments Dataset Items Update

认证

需要 Connected Account

Scopes

dataset:write

Tags

dataset_items
Environments Datasets CreatePOSTHOG_ENVIRONMENTS_DATASETS_CREATEEnvironments Datasets Create

Environments Datasets Create

认证

需要 Connected Account

Scopes

dataset:write

Tags

datasets
Environments Datasets DestroyPOSTHOG_ENVIRONMENTS_DATASETS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

dataset:write

Tags

datasets
Environments Datasets ListPOSTHOG_ENVIRONMENTS_DATASETS_LISTEnvironments Datasets List

Environments Datasets List

认证

需要 Connected Account

Scopes

dataset:read

Tags

datasets
Environments Datasets Partial UpdatePOSTHOG_ENVIRONMENTS_DATASETS_PARTIAL_UPDATEEnvironments Datasets Partial Update

Environments Datasets Partial Update

认证

需要 Connected Account

Scopes

dataset:write

Tags

datasets
Environments Datasets RetrievePOSTHOG_ENVIRONMENTS_DATASETS_RETRIEVEEnvironments Datasets Retrieve

Environments Datasets Retrieve

认证

需要 Connected Account

Scopes

dataset:read

Tags

datasets
Environments Datasets UpdatePOSTHOG_ENVIRONMENTS_DATASETS_UPDATEEnvironments Datasets Update

Environments Datasets Update

认证

需要 Connected Account

Scopes

dataset:write

Tags

datasets
Environments Default Evaluation Contexts CreatePOSTHOG_ENVIRONMENTS_DEFAULT_EVALUATION_CONTEXTS_CREATEManage default evaluation contexts for a team.

Manage default evaluation contexts for a team.

认证

需要 Connected Account

Tags

environments
Environments Default Evaluation Contexts DestroyPOSTHOG_ENVIRONMENTS_DEFAULT_EVALUATION_CONTEXTS_DESTROYManage default evaluation contexts for a team.

Manage default evaluation contexts for a team.

认证

需要 Connected Account

Tags

environments
Environments Default Evaluation Contexts RetrievePOSTHOG_ENVIRONMENTS_DEFAULT_EVALUATION_CONTEXTS_RETRIEVEManage default evaluation contexts for a team.

Manage default evaluation contexts for a team.

认证

需要 Connected Account

Tags

environments
Environments Default Release Conditions RetrievePOSTHOG_ENVIRONMENTS_DEFAULT_RELEASE_CONDITIONS_RETRIEVEManage default release conditions for new feature flags in this team.

Manage default release conditions for new feature flags in this team.

认证

需要 Connected Account

Tags

environments
Environments Default Release Conditions UpdatePOSTHOG_ENVIRONMENTS_DEFAULT_RELEASE_CONDITIONS_UPDATEManage default release conditions for new feature flags in this team.

Manage default release conditions for new feature flags in this team.

认证

需要 Connected Account

Tags

environments
Environments Delete Secret Token Backup Partial UpdatePOSTHOG_ENVIRONMENTS_DELETE_SECRET_TOKEN_BACKUP_PARTIAL_UPDATEDeprecated: use /api/environments/{id}/ instead.

Deprecated: use /api/environments/{id}/ instead.

认证

需要 Connected Account

Tags

environments
Environments DestroyPOSTHOG_ENVIRONMENTS_DESTROYDeprecated: use /api/environments/{id}/ instead.

Deprecated: use /api/environments/{id}/ instead.

认证

需要 Connected Account

Scopes

project:write

Tags

environments
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.

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.

认证

需要 Connected Account

Scopes

project:read

Tags

docsmcp_tools
Environments Elements CreatePOSTHOG_ENVIRONMENTS_ELEMENTS_CREATEEnvironments Elements Create

Environments Elements Create

认证

需要 Connected Account

Scopes

element:write

Tags

elements
Environments Elements DestroyPOSTHOG_ENVIRONMENTS_ELEMENTS_DESTROYEnvironments Elements Destroy

Environments Elements Destroy

认证

需要 Connected Account

Scopes

element:write

Tags

elements
Environments Elements ListPOSTHOG_ENVIRONMENTS_ELEMENTS_LISTEnvironments Elements List

Environments Elements List

认证

需要 Connected Account

Scopes

element:read

Tags

elements
Environments Elements Partial UpdatePOSTHOG_ENVIRONMENTS_ELEMENTS_PARTIAL_UPDATEEnvironments Elements Partial Update

Environments Elements Partial Update

认证

需要 Connected Account

Scopes

element:write

Tags

elements
Environments Elements RetrievePOSTHOG_ENVIRONMENTS_ELEMENTS_RETRIEVEEnvironments Elements Retrieve

Environments Elements Retrieve

认证

需要 Connected Account

Scopes

element:read

Tags

elements
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.

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.

认证

需要 Connected Account

Scopes

element:read

Tags

elements
Environments Elements UpdatePOSTHOG_ENVIRONMENTS_ELEMENTS_UPDATEEnvironments Elements Update

Environments Elements Update

认证

需要 Connected Account

Scopes

element:write

Tags

elements
Environments Elements Values ListPOSTHOG_ENVIRONMENTS_ELEMENTS_VALUES_LISTEnvironments Elements Values List

Environments Elements Values List

认证

需要 Connected Account

Scopes

element:read

Tags

elements
Environments Endpoints CreatePOSTHOG_ENVIRONMENTS_ENDPOINTS_CREATECreate a new endpoint.

Create a new endpoint.

认证

需要 Connected Account

Scopes

endpoint:write

Tags

endpoints
Environments Endpoints DestroyPOSTHOG_ENVIRONMENTS_ENDPOINTS_DESTROYDelete an endpoint and clean up materialized query.

Delete an endpoint and clean up materialized query.

认证

需要 Connected Account

Scopes

endpoint:write

Tags

endpoints
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.

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.

认证

需要 Connected Account

Scopes

endpoint:read

Tags

endpoints
Environments Endpoints ListPOSTHOG_ENVIRONMENTS_ENDPOINTS_LISTList all endpoints for the team.

List all endpoints for the team.

认证

需要 Connected Account

Scopes

endpoint:read

Tags

endpoints
Environments Endpoints Logs RetrievePOSTHOG_ENVIRONMENTS_ENDPOINTS_LOGS_RETRIEVEEnvironments Endpoints Logs Retrieve

Environments Endpoints Logs Retrieve

认证

需要 Connected Account

Scopes

endpoint:read

Tags

endpoints
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.

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.

认证

需要 Connected Account

Scopes

endpoint:read

Tags

endpoints
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.

Preview the materialization transform for an endpoint. Shows what the query will look like after materialization, including range pair detection and bucket functions.

认证

需要 Connected Account

Scopes

endpoint:read

Tags

endpoints
Environments Endpoints Materialization Status RetrievePOSTHOG_ENVIRONMENTS_ENDPOINTS_MATERIALIZATION_STATUS_RETRIEVEGet materialization status for an endpoint. Supports ?version=N query param.

Get materialization status for an endpoint. Supports ?version=N query param.

认证

需要 Connected Account

Scopes

endpoint:read

Tags

endpoints
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.

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.

认证

需要 Connected Account

Scopes

endpoint:read

Tags

endpoints
Environments Endpoints Openapi Spec RetrievePOSTHOG_ENVIRONMENTS_ENDPOINTS_OPENAPI_SPEC_RETRIEVEGet OpenAPI 3.0 specification for this endpoint. Use this to generate typed SDK clients.

Get OpenAPI 3.0 specification for this endpoint. Use this to generate typed SDK clients.

认证

需要 Connected Account

Scopes

endpoint:read

Tags

endpoints
Environments Endpoints Partial UpdatePOSTHOG_ENVIRONMENTS_ENDPOINTS_PARTIAL_UPDATEUpdate an existing endpoint.

Update an existing endpoint.

认证

需要 Connected Account

Scopes

endpoint:write

Tags

endpoints
Environments Endpoints RetrievePOSTHOG_ENVIRONMENTS_ENDPOINTS_RETRIEVERetrieve an endpoint, or a specific version via ?version=N.

Retrieve an endpoint, or a specific version via ?version=N.

认证

需要 Connected Account

Scopes

endpoint:read

Tags

endpoints
Environments Endpoints Run CreatePOSTHOG_ENVIRONMENTS_ENDPOINTS_RUN_CREATEExecute endpoint with optional materialization. Supports version parameter, runs latest version if not set.

Execute endpoint with optional materialization. Supports version parameter, runs latest version if not set.

认证

需要 Connected Account

Scopes

endpoint:read

Tags

endpoints
Environments Endpoints Run RetrievePOSTHOG_ENVIRONMENTS_ENDPOINTS_RUN_RETRIEVEExecute endpoint with optional materialization. Supports version parameter, runs latest version if not set.

Execute endpoint with optional materialization. Supports version parameter, runs latest version if not set.

认证

需要 Connected Account

Scopes

endpoint:read

Tags

endpoints
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.

Update an existing endpoint. Parameters are optional. Pass version in body or ?version=N query param to target a specific version.

认证

需要 Connected Account

Scopes

endpoint:write

Tags

endpoints
Environments Endpoints Versions ListPOSTHOG_ENVIRONMENTS_ENDPOINTS_VERSIONS_LISTList all versions for an endpoint.

List all versions for an endpoint.

认证

需要 Connected Account

Scopes

endpoint:read

Tags

endpoints
Environments Environment Vision Quota RetrievePOSTHOG_ENVIRONMENTS_ENVIRONMENT_VISION_QUOTA_RETRIEVEEnvironments Environment Vision Quota Retrieve

Environments Environment Vision Quota Retrieve

认证

需要 Connected Account

Scopes

replay_scanner:read

Tags

vision
Environments Error Tracking Assignment Rules CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ASSIGNMENT_RULES_CREATEEnvironments Error Tracking Assignment Rules Create

Environments Error Tracking Assignment Rules Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Assignment Rules DestroyPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ASSIGNMENT_RULES_DESTROYEnvironments Error Tracking Assignment Rules Destroy

Environments Error Tracking Assignment Rules Destroy

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Assignment Rules ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ASSIGNMENT_RULES_LISTEnvironments Error Tracking Assignment Rules List

Environments Error Tracking Assignment Rules List

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Environments Error Tracking Assignment Rules Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ASSIGNMENT_RULES_PARTIAL_UPDATEEnvironments Error Tracking Assignment Rules Partial Update

Environments Error Tracking Assignment Rules Partial Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Assignment Rules Reorder Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ASSIGNMENT_RULES_REORDER_PARTIAL_UPDATEEnvironments Error Tracking Assignment Rules Reorder Partial Update

Environments Error Tracking Assignment Rules Reorder Partial Update

认证

需要 Connected Account

Tags

error_tracking
Environments Error Tracking Assignment Rules RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ASSIGNMENT_RULES_RETRIEVEEnvironments Error Tracking Assignment Rules Retrieve

Environments Error Tracking Assignment Rules Retrieve

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Environments Error Tracking Assignment Rules UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ASSIGNMENT_RULES_UPDATEEnvironments Error Tracking Assignment Rules Update

Environments Error Tracking Assignment Rules Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Bypass Rules CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_BYPASS_RULES_CREATEEnvironments Error Tracking Bypass Rules Create

Environments Error Tracking Bypass Rules Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Bypass Rules DestroyPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_BYPASS_RULES_DESTROYEnvironments Error Tracking Bypass Rules Destroy

Environments Error Tracking Bypass Rules Destroy

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Bypass Rules ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_BYPASS_RULES_LISTEnvironments Error Tracking Bypass Rules List

Environments Error Tracking Bypass Rules List

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Environments Error Tracking Bypass Rules Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_BYPASS_RULES_PARTIAL_UPDATEEnvironments Error Tracking Bypass Rules Partial Update

Environments Error Tracking Bypass Rules Partial Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Bypass Rules Reorder Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_BYPASS_RULES_REORDER_PARTIAL_UPDATEEnvironments Error Tracking Bypass Rules Reorder Partial Update

Environments Error Tracking Bypass Rules Reorder Partial Update

认证

需要 Connected Account

Tags

error_tracking
Environments Error Tracking Bypass Rules RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_BYPASS_RULES_RETRIEVEEnvironments Error Tracking Bypass Rules Retrieve

Environments Error Tracking Bypass Rules Retrieve

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Environments Error Tracking Bypass Rules UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_BYPASS_RULES_UPDATEEnvironments Error Tracking Bypass Rules Update

Environments Error Tracking Bypass Rules Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking External References CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_EXTERNAL_REFERENCES_CREATEEnvironments Error Tracking External References Create

Environments Error Tracking External References Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
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 true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking External References ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_EXTERNAL_REFERENCES_LISTEnvironments Error Tracking External References List

Environments Error Tracking External References List

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Environments Error Tracking External References RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_EXTERNAL_REFERENCES_RETRIEVEEnvironments Error Tracking External References Retrieve

Environments Error Tracking External References Retrieve

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
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 true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Tags

error_tracking
Environments Error Tracking Fingerprints ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_FINGERPRINTS_LISTEnvironments Error Tracking Fingerprints List

Environments Error Tracking Fingerprints List

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Environments Error Tracking Fingerprints RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_FINGERPRINTS_RETRIEVEEnvironments Error Tracking Fingerprints Retrieve

Environments Error Tracking Fingerprints Retrieve

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
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 Retrieve

Environments Error Tracking Git Provider File Links Resolve Github Retrieve

认证

需要 Connected Account

Tags

error_tracking
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 Retrieve

Environments Error Tracking Git Provider File Links Resolve Gitlab Retrieve

认证

需要 Connected Account

Tags

error_tracking
Environments Error Tracking Grouping Rules CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_GROUPING_RULES_CREATEEnvironments Error Tracking Grouping Rules Create

Environments Error Tracking Grouping Rules Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Grouping Rules DestroyPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_GROUPING_RULES_DESTROYEnvironments Error Tracking Grouping Rules Destroy

Environments Error Tracking Grouping Rules Destroy

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Grouping Rules ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_GROUPING_RULES_LISTEnvironments Error Tracking Grouping Rules List

Environments Error Tracking Grouping Rules List

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Environments Error Tracking Grouping Rules Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_GROUPING_RULES_PARTIAL_UPDATEEnvironments Error Tracking Grouping Rules Partial Update

Environments Error Tracking Grouping Rules Partial Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Grouping Rules Reorder Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_GROUPING_RULES_REORDER_PARTIAL_UPDATEEnvironments Error Tracking Grouping Rules Reorder Partial Update

Environments Error Tracking Grouping Rules Reorder Partial Update

认证

需要 Connected Account

Tags

error_tracking
Environments Error Tracking Grouping Rules RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_GROUPING_RULES_RETRIEVEEnvironments Error Tracking Grouping Rules Retrieve

Environments Error Tracking Grouping Rules Retrieve

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Environments Error Tracking Grouping Rules UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_GROUPING_RULES_UPDATEEnvironments Error Tracking Grouping Rules Update

Environments Error Tracking Grouping Rules Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Issues Activity RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_ACTIVITY_RETRIEVEEnvironments Error Tracking Issues Activity Retrieve

Environments Error Tracking Issues Activity Retrieve

认证

需要 Connected Account

Scopes

activity_log:read

Tags

error_tracking
Environments Error Tracking Issues All Activity RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_ALL_ACTIVITY_RETRIEVEEnvironments Error Tracking Issues All Activity Retrieve

Environments Error Tracking Issues All Activity Retrieve

认证

需要 Connected Account

Scopes

activity_log:read

Tags

error_tracking
Environments Error Tracking Issues Assign Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_ASSIGN_PARTIAL_UPDATEEnvironments Error Tracking Issues Assign Partial Update

Environments Error Tracking Issues Assign Partial Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Issues Bulk CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_BULK_CREATEEnvironments Error Tracking Issues Bulk Create

Environments Error Tracking Issues Bulk Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Issues Cohort UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_COHORT_UPDATEEnvironments Error Tracking Issues Cohort Update

Environments Error Tracking Issues Cohort Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
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 true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Issues Exists RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_EXISTS_RETRIEVEEnvironments Error Tracking Issues Exists Retrieve

Environments Error Tracking Issues Exists Retrieve

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Environments Error Tracking Issues ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_LISTEnvironments Error Tracking Issues List

Environments Error Tracking Issues List

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Environments Error Tracking Issues Merge CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_MERGE_CREATEEnvironments Error Tracking Issues Merge Create

Environments Error Tracking Issues Merge Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Issues Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_PARTIAL_UPDATEEnvironments Error Tracking Issues Partial Update

Environments Error Tracking Issues Partial Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Issues RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_RETRIEVEEnvironments Error Tracking Issues Retrieve

Environments Error Tracking Issues Retrieve

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Environments Error Tracking Issues Split CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_SPLIT_CREATEEnvironments Error Tracking Issues Split Create

Environments Error Tracking Issues Split Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Issues UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_UPDATEEnvironments Error Tracking Issues Update

Environments Error Tracking Issues Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Issues Values RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_ISSUES_VALUES_RETRIEVEEnvironments Error Tracking Issues Values Retrieve

Environments Error Tracking Issues Values Retrieve

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
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.

Fetch one error tracking issue with impact counts, top in_app frame, latest release, and optional sparkline.

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
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.

Fetch sampled exception events, stack traces, browser/SDK context, URL, and $session_id values for one issue.

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
List compact error tracking issuesPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_QUERY_ISSUES_LIST_CREATEList error tracking issues with typed filters and compact aggregate counts.

List error tracking issues with typed filters and compact aggregate counts.

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Environments Error Tracking Recommendations Dismiss CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RECOMMENDATIONS_DISMISS_CREATEEnvironments Error Tracking Recommendations Dismiss Create

Environments Error Tracking Recommendations Dismiss Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Recommendations ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RECOMMENDATIONS_LISTEnvironments Error Tracking Recommendations List

Environments Error Tracking Recommendations List

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Environments Error Tracking Recommendations Refresh CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RECOMMENDATIONS_REFRESH_CREATEEnvironments Error Tracking Recommendations Refresh Create

Environments Error Tracking Recommendations Refresh Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Recommendations Restore CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RECOMMENDATIONS_RESTORE_CREATEEnvironments Error Tracking Recommendations Restore Create

Environments Error Tracking Recommendations Restore Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Releases CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RELEASES_CREATEEnvironments Error Tracking Releases Create

Environments Error Tracking Releases Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Releases DestroyPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RELEASES_DESTROYEnvironments Error Tracking Releases Destroy

Environments Error Tracking Releases Destroy

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Releases Hash RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RELEASES_HASH_RETRIEVEEnvironments Error Tracking Releases Hash Retrieve

Environments Error Tracking Releases Hash Retrieve

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Environments Error Tracking Releases ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RELEASES_LISTEnvironments Error Tracking Releases List

Environments Error Tracking Releases List

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Environments Error Tracking Releases Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RELEASES_PARTIAL_UPDATEEnvironments Error Tracking Releases Partial Update

Environments Error Tracking Releases Partial Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Releases RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RELEASES_RETRIEVEEnvironments Error Tracking Releases Retrieve

Environments Error Tracking Releases Retrieve

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Environments Error Tracking Releases UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_RELEASES_UPDATEEnvironments Error Tracking Releases Update

Environments Error Tracking Releases Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Settings Retrieve Settings RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SETTINGS_RETRIEVE_SETTINGS_RETRIEVEEnvironments Error Tracking Settings Retrieve Settings Retrieve

Environments Error Tracking Settings Retrieve Settings Retrieve

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Environments Error Tracking Settings Update Settings Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SETTINGS_UPDATE_SETTINGS_PARTIAL_UPDATEEnvironments Error Tracking Settings Update Settings Partial Update

Environments Error Tracking Settings Update Settings Partial Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Spike Detection Config ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SPIKE_DETECTION_CONFIG_LISTEnvironments Error Tracking Spike Detection Config List

Environments Error Tracking Spike Detection Config List

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
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 Update

Environments Error Tracking Spike Detection Config Update Config Partial Update

认证

需要 Connected Account

Tags

error_tracking
Environments Error Tracking Spike Events ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SPIKE_EVENTS_LISTEnvironments Error Tracking Spike Events List

Environments Error Tracking Spike Events List

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Environments Error Tracking Stack Frames Batch Get CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_STACK_FRAMES_BATCH_GET_CREATEEnvironments Error Tracking Stack Frames Batch Get Create

Environments Error Tracking Stack Frames Batch Get Create

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
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 true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Tags

error_tracking
Environments Error Tracking Stack Frames ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_STACK_FRAMES_LISTEnvironments Error Tracking Stack Frames List

Environments Error Tracking Stack Frames List

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Environments Error Tracking Stack Frames RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_STACK_FRAMES_RETRIEVEEnvironments Error Tracking Stack Frames Retrieve

Environments Error Tracking Stack Frames Retrieve

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Environments Error Tracking Suppression Rules CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SUPPRESSION_RULES_CREATEEnvironments Error Tracking Suppression Rules Create

Environments Error Tracking Suppression Rules Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Suppression Rules DestroyPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SUPPRESSION_RULES_DESTROYEnvironments Error Tracking Suppression Rules Destroy

Environments Error Tracking Suppression Rules Destroy

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Suppression Rules ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SUPPRESSION_RULES_LISTEnvironments Error Tracking Suppression Rules List

Environments Error Tracking Suppression Rules List

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Environments Error Tracking Suppression Rules Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SUPPRESSION_RULES_PARTIAL_UPDATEEnvironments Error Tracking Suppression Rules Partial Update

Environments Error Tracking Suppression Rules Partial Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Suppression Rules Reorder Partial UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SUPPRESSION_RULES_REORDER_PARTIAL_UPDATEEnvironments Error Tracking Suppression Rules Reorder Partial Update

Environments Error Tracking Suppression Rules Reorder Partial Update

认证

需要 Connected Account

Tags

error_tracking
Environments Error Tracking Suppression Rules RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SUPPRESSION_RULES_RETRIEVEEnvironments Error Tracking Suppression Rules Retrieve

Environments Error Tracking Suppression Rules Retrieve

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Environments Error Tracking Suppression Rules UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SUPPRESSION_RULES_UPDATEEnvironments Error Tracking Suppression Rules Update

Environments Error Tracking Suppression Rules Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Symbol Sets Bulk Delete CreatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SYMBOL_SETS_BULK_DELETE_CREATEEnvironments Error Tracking Symbol Sets Bulk Delete Create

Environments Error Tracking Symbol Sets Bulk Delete Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
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 Create

Environments Error Tracking Symbol Sets Bulk Finish Upload Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
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 Create

Environments Error Tracking Symbol Sets Bulk Start Upload Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Symbol Sets DestroyPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SYMBOL_SETS_DESTROYEnvironments Error Tracking Symbol Sets Destroy

Environments Error Tracking Symbol Sets Destroy

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
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.

Return a presigned URL for downloading the symbol set's source map.

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Environments Error Tracking Symbol Sets Finish Upload UpdatePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SYMBOL_SETS_FINISH_UPLOAD_UPDATEEnvironments Error Tracking Symbol Sets Finish Upload Update

Environments Error Tracking Symbol Sets Finish Upload Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Environments Error Tracking Symbol Sets ListPOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SYMBOL_SETS_LISTEnvironments Error Tracking Symbol Sets List

Environments Error Tracking Symbol Sets List

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Environments Error Tracking Symbol Sets RetrievePOSTHOG_ENVIRONMENTS_ERROR_TRACKING_SYMBOL_SETS_RETRIEVEEnvironments Error Tracking Symbol Sets Retrieve

Environments Error Tracking Symbol Sets Retrieve

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
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.

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.

认证

需要 Connected Account

Tags

environments
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.

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.

认证

需要 Connected Account

Tags

environments
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.

Create a new evaluation run. This endpoint validates the request and enqueues a Temporal workflow to asynchronously execute the evaluation.

认证

需要 Connected Account

Scopes

evaluation:write

Tags

evaluation_runs
Environments Evaluations CreatePOSTHOG_ENVIRONMENTS_EVALUATIONS_CREATEEnvironments Evaluations Create

Environments Evaluations Create

认证

需要 Connected Account

Scopes

evaluation:write

Tags

evaluations
Environments Evaluations DestroyPOSTHOG_ENVIRONMENTS_EVALUATIONS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

evaluation:write

Tags

evaluations
Environments Evaluations ListPOSTHOG_ENVIRONMENTS_EVALUATIONS_LISTEnvironments Evaluations List

Environments Evaluations List

认证

需要 Connected Account

Scopes

evaluation:read

Tags

evaluations
Environments Evaluations Partial UpdatePOSTHOG_ENVIRONMENTS_EVALUATIONS_PARTIAL_UPDATEEnvironments Evaluations Partial Update

Environments Evaluations Partial Update

认证

需要 Connected Account

Scopes

evaluation:write

Tags

evaluations
Environments Evaluations RetrievePOSTHOG_ENVIRONMENTS_EVALUATIONS_RETRIEVEEnvironments Evaluations Retrieve

Environments Evaluations Retrieve

认证

需要 Connected Account

Scopes

evaluation:read

Tags

evaluations
Environments Evaluations Test Hog CreatePOSTHOG_ENVIRONMENTS_EVALUATIONS_TEST_HOG_CREATETest Hog evaluation code against sample events without saving.

Test Hog evaluation code against sample events without saving.

认证

需要 Connected Account

Scopes

evaluation:read

Tags

evaluations
Environments Evaluations UpdatePOSTHOG_ENVIRONMENTS_EVALUATIONS_UPDATEEnvironments Evaluations Update

Environments Evaluations Update

认证

需要 Connected Account

Scopes

evaluation:write

Tags

evaluations
Environments Event Filter CreatePOSTHOG_ENVIRONMENTS_EVENT_FILTER_CREATECreate or update the event filter config.

Create or update the event filter config.

认证

需要 Connected Account

Scopes

event_filter:write

Tags

event_filter
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 totals

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

认证

需要 Connected Account

Scopes

event_filter:read

Tags

event_filter
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 totals

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

认证

需要 Connected Account

Scopes

event_filter:read

Tags

event_filter
Environments Event Filter RetrievePOSTHOG_ENVIRONMENTS_EVENT_FILTER_RETRIEVEReturns the event filter config for the team, or null if not yet created.

Returns the event filter config for the team, or null if not yet created.

认证

需要 Connected Account

Scopes

event_filter:read

Tags

event_filter
Environments Event Ingestion Restrictions RetrievePOSTHOG_ENVIRONMENTS_EVENT_INGESTION_RESTRICTIONS_RETRIEVEDeprecated: use /api/environments/{id}/ instead.

Deprecated: use /api/environments/{id}/ instead.

认证

需要 Connected Account

Scopes

project:read

Tags

environments
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.

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.

认证

需要 Connected Account

Scopes

query:read

Tags

events
Environments Events RetrievePOSTHOG_ENVIRONMENTS_EVENTS_RETRIEVEEnvironments Events Retrieve

Environments Events Retrieve

认证

需要 Connected Account

Scopes

query:read

Tags

events
Environments Events Values RetrievePOSTHOG_ENVIRONMENTS_EVENTS_VALUES_RETRIEVEEnvironments Events Values Retrieve

Environments Events Values Retrieve

认证

需要 Connected Account

Scopes

query:read

Tags

events
Environments Experiments Config Partial UpdatePOSTHOG_ENVIRONMENTS_EXPERIMENTS_CONFIG_PARTIAL_UPDATEManage experiment configuration for this environment.

Manage experiment configuration for this environment.

认证

需要 Connected Account

Tags

environments
Environments Experiments Config RetrievePOSTHOG_ENVIRONMENTS_EXPERIMENTS_CONFIG_RETRIEVEManage experiment configuration for this environment.

Manage experiment configuration for this environment.

认证

需要 Connected Account

Tags

environments
Environments Exports Content RetrievePOSTHOG_ENVIRONMENTS_EXPORTS_CONTENT_RETRIEVEEnvironments Exports Content Retrieve

Environments Exports Content Retrieve

认证

需要 Connected Account

Scopes

export:read

Tags

exports
Environments Exports CreatePOSTHOG_ENVIRONMENTS_EXPORTS_CREATEEnvironments Exports Create

Environments Exports Create

认证

需要 Connected Account

Scopes

export:write

Tags

exports
Environments Exports ListPOSTHOG_ENVIRONMENTS_EXPORTS_LISTEnvironments Exports List

Environments Exports List

认证

需要 Connected Account

Scopes

export:read

Tags

exports
Environments Exports RetrievePOSTHOG_ENVIRONMENTS_EXPORTS_RETRIEVEEnvironments Exports Retrieve

Environments Exports Retrieve

认证

需要 Connected Account

Scopes

export:read

Tags

exports
Environments External Data Schemas Cancel CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_CANCEL_CREATEEnvironments External Data Schemas Cancel Create

Environments External Data Schemas Cancel Create

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_schemas
Environments External Data Schemas CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_CREATEEnvironments External Data Schemas Create

Environments External Data Schemas Create

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_schemas
Environments External Data Schemas Delete Data DestroyPOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_DELETE_DATA_DESTROYEnvironments External Data Schemas Delete Data Destroy

Environments External Data Schemas Delete Data Destroy

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_schemas
Environments External Data Schemas DestroyPOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_DESTROYEnvironments External Data Schemas Destroy

Environments External Data Schemas Destroy

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_schemas
Environments External Data Schemas Incremental Fields CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_INCREMENTAL_FIELDS_CREATEEnvironments External Data Schemas Incremental Fields Create

Environments External Data Schemas Incremental Fields Create

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_schemas
Environments External Data Schemas ListPOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_LISTEnvironments External Data Schemas List

Environments External Data Schemas List

认证

需要 Connected Account

Scopes

external_data_source:read

Tags

external_data_schemas
Environments External Data Schemas Logs RetrievePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_LOGS_RETRIEVEEnvironments External Data Schemas Logs Retrieve

Environments External Data Schemas Logs Retrieve

认证

需要 Connected Account

Scopes

external_data_source:read

Tags

external_data_schemas
Environments External Data Schemas Partial UpdatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_PARTIAL_UPDATEEnvironments External Data Schemas Partial Update

Environments External Data Schemas Partial Update

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_schemas
Environments External Data Schemas Reload CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_RELOAD_CREATEEnvironments External Data Schemas Reload Create

Environments External Data Schemas Reload Create

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_schemas
Environments External Data Schemas Resync CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_RESYNC_CREATEEnvironments External Data Schemas Resync Create

Environments External Data Schemas Resync Create

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_schemas
Environments External Data Schemas RetrievePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_RETRIEVEEnvironments External Data Schemas Retrieve

Environments External Data Schemas Retrieve

认证

需要 Connected Account

Scopes

external_data_source:read

Tags

external_data_schemas
Environments External Data Schemas UpdatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SCHEMAS_UPDATEEnvironments External Data Schemas Update

Environments External Data Schemas Update

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_schemas
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.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Tags

external_data_sources
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.

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.

认证

需要 Connected Account

Scopes

external_data_source:read

Tags

external_data_sources
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.

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.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
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).

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).

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
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.

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.

认证

需要 Connected Account

Scopes

external_data_source:read

Tags

external_data_sources
Environments External Data Sources Connections ListPOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_CONNECTIONS_LISTCreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:read

Tags

external_data_sources
Environments External Data Sources CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_CREATECreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
Environments External Data Sources Create Webhook CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_CREATE_WEBHOOK_CREATECreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
Environments External Data Sources Database Schema CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_DATABASE_SCHEMA_CREATECreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
Environments External Data Sources Delete Webhook CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_DELETE_WEBHOOK_CREATECreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
Environments External Data Sources DestroyPOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_DESTROYCreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
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.

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.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
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.

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.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
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).

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).

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
Environments External Data Sources Jobs RetrievePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_JOBS_RETRIEVECreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:read

Tags

external_data_sources
Environments External Data Sources ListPOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_LISTCreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:read

Tags

external_data_sources
Environments External Data Sources Partial UpdatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_PARTIAL_UPDATECreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
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`.

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`.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
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).

Fetch current schema/table list from the source and create any new ExternalDataSchema rows (no data sync).

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
Environments External Data Sources Reload CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_RELOAD_CREATECreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
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.

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.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
Environments External Data Sources RetrievePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_RETRIEVECreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:read

Tags

external_data_sources
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.

Update the revenue analytics configuration and return the full external data source.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
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.

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.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
Environments External Data Sources Source Prefix CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_SOURCE_PREFIX_CREATECreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
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.

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.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
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`.

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`.

认证

需要 Connected Account

Scopes

external_data_source:read

Tags

external_data_sources
Environments External Data Sources UpdatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_UPDATECreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
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.

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.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
Environments External Data Sources Update Webhook Inputs CreatePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_UPDATE_WEBHOOK_INPUTS_CREATECreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
Environments External Data Sources Webhook Info RetrievePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_WEBHOOK_INFO_RETRIEVECreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:read

Tags

external_data_sources
Environments External Data Sources Wizard RetrievePOSTHOG_ENVIRONMENTS_EXTERNAL_DATA_SOURCES_WIZARD_RETRIEVECreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:read

Tags

external_data_sources
Environments File Download Batch Exports Cancel CreatePOSTHOG_ENVIRONMENTS_FILE_DOWNLOAD_BATCH_EXPORTS_CANCEL_CREATECancel an ongoing file-download batch export.

Cancel an ongoing file-download batch export.

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsfile_download_batch_exports
Environments File Download Batch Exports CreatePOSTHOG_ENVIRONMENTS_FILE_DOWNLOAD_BATCH_EXPORTS_CREATECreate and start a batch export on demand run to download a file.

Create and start a batch export on demand run to download a file.

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsfile_download_batch_exports
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.

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.

认证

需要 Connected Account

Scopes

batch_export:read

Tags

batch_exportsfile_download_batch_exports
Environments File Download Batch Exports ListPOSTHOG_ENVIRONMENTS_FILE_DOWNLOAD_BATCH_EXPORTS_LISTEnvironments File Download Batch Exports List

Environments File Download Batch Exports List

认证

需要 Connected Account

Scopes

batch_export:read

Tags

batch_exportsfile_download_batch_exports
Environments File Download Batch Exports Logs RetrievePOSTHOG_ENVIRONMENTS_FILE_DOWNLOAD_BATCH_EXPORTS_LOGS_RETRIEVEEnvironments File Download Batch Exports Logs Retrieve

Environments File Download Batch Exports Logs Retrieve

认证

需要 Connected Account

Tags

batch_exportsfile_download_batch_exports
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.

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.

认证

需要 Connected Account

Scopes

batch_export:read

Tags

batch_exportsfile_download_batch_exports
Environments File System Count By Path CreatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_COUNT_BY_PATH_CREATEGet count of all files in a folder.

Get count of all files in a folder.

认证

需要 Connected Account

Scopes

file_system:read

Tags

file_system
Environments File System Count CreatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_COUNT_CREATEGet count of all files in a folder.

Get count of all files in a folder.

认证

需要 Connected Account

Scopes

file_system:read

Tags

file_system
Environments File System CreatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_CREATEEnvironments File System Create

Environments File System Create

认证

需要 Connected Account

Scopes

file_system:write

Tags

file_system
Environments File System DestroyPOSTHOG_ENVIRONMENTS_FILE_SYSTEM_DESTROYEnvironments File System Destroy

Environments File System Destroy

认证

需要 Connected Account

Scopes

file_system:write

Tags

file_system
Environments File System Link CreatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_LINK_CREATEEnvironments File System Link Create

Environments File System Link Create

认证

需要 Connected Account

Scopes

file_system:write

Tags

file_system
Environments File System ListPOSTHOG_ENVIRONMENTS_FILE_SYSTEM_LISTEnvironments File System List

Environments File System List

认证

需要 Connected Account

Scopes

file_system:read

Tags

file_system
Environments File System Log View CreatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_LOG_VIEW_CREATEEnvironments File System Log View Create

Environments File System Log View Create

认证

需要 Connected Account

Scopes

file_system:write

Tags

file_system
Environments File System Log View RetrievePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_LOG_VIEW_RETRIEVEEnvironments File System Log View Retrieve

Environments File System Log View Retrieve

认证

需要 Connected Account

Scopes

file_system:write

Tags

file_system
Environments File System Move CreatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_MOVE_CREATEEnvironments File System Move Create

Environments File System Move Create

认证

需要 Connected Account

Scopes

file_system:write

Tags

file_system
Environments File System Partial UpdatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_PARTIAL_UPDATEEnvironments File System Partial Update

Environments File System Partial Update

认证

需要 Connected Account

Scopes

file_system:write

Tags

file_system
Environments File System RetrievePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_RETRIEVEEnvironments File System Retrieve

Environments File System Retrieve

认证

需要 Connected Account

Scopes

file_system:read

Tags

file_system
Environments File System Shortcut CreatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_SHORTCUT_CREATEEnvironments File System Shortcut Create

Environments File System Shortcut Create

认证

需要 Connected Account

Scopes

file_system_shortcut:write

Tags

file_system_shortcut
Environments File System Shortcut DestroyPOSTHOG_ENVIRONMENTS_FILE_SYSTEM_SHORTCUT_DESTROYEnvironments File System Shortcut Destroy

Environments File System Shortcut Destroy

认证

需要 Connected Account

Scopes

file_system_shortcut:write

Tags

file_system_shortcut
Environments File System Shortcut ListPOSTHOG_ENVIRONMENTS_FILE_SYSTEM_SHORTCUT_LISTEnvironments File System Shortcut List

Environments File System Shortcut List

认证

需要 Connected Account

Scopes

file_system_shortcut:read

Tags

file_system_shortcut
Environments File System Shortcut Partial UpdatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_SHORTCUT_PARTIAL_UPDATEEnvironments File System Shortcut Partial Update

Environments File System Shortcut Partial Update

认证

需要 Connected Account

Scopes

file_system_shortcut:write

Tags

file_system_shortcut
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.

Set the display order of the current user's shortcuts. `ordered_ids` becomes the new top-to-bottom order; any unknown IDs are rejected.

认证

需要 Connected Account

Tags

file_system_shortcut
Environments File System Shortcut RetrievePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_SHORTCUT_RETRIEVEEnvironments File System Shortcut Retrieve

Environments File System Shortcut Retrieve

认证

需要 Connected Account

Scopes

file_system_shortcut:read

Tags

file_system_shortcut
Environments File System Shortcut UpdatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_SHORTCUT_UPDATEEnvironments File System Shortcut Update

Environments File System Shortcut Update

认证

需要 Connected Account

Scopes

file_system_shortcut:write

Tags

file_system_shortcut
Environments File System Undo Delete CreatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_UNDO_DELETE_CREATEEnvironments File System Undo Delete Create

Environments File System Undo Delete Create

认证

需要 Connected Account

Scopes

file_system:write

Tags

file_system
Environments File System Unfiled RetrievePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_UNFILED_RETRIEVEEnvironments File System Unfiled Retrieve

Environments File System Unfiled Retrieve

认证

需要 Connected Account

Scopes

file_system:read

Tags

file_system
Environments File System UpdatePOSTHOG_ENVIRONMENTS_FILE_SYSTEM_UPDATEEnvironments File System Update

Environments File System Update

认证

需要 Connected Account

Scopes

file_system:write

Tags

file_system
Environments Generate Conversations Public Token CreatePOSTHOG_ENVIRONMENTS_GENERATE_CONVERSATIONS_PUBLIC_TOKEN_CREATEDeprecated: use /api/environments/{id}/ instead.

Deprecated: use /api/environments/{id}/ instead.

认证

需要 Connected Account

Tags

environments
Environments Groups Activity RetrievePOSTHOG_ENVIRONMENTS_GROUPS_ACTIVITY_RETRIEVEEnvironments Groups Activity Retrieve

Environments Groups Activity Retrieve

认证

需要 Connected Account

Scopes

activity_log:read

Tags

groups
Environments Groups CreatePOSTHOG_ENVIRONMENTS_GROUPS_CREATEEnvironments Groups Create

Environments Groups Create

认证

需要 Connected Account

Scopes

group:write

Tags

groups
Environments Groups Delete Property CreatePOSTHOG_ENVIRONMENTS_GROUPS_DELETE_PROPERTY_CREATEEnvironments Groups Delete Property Create

Environments Groups Delete Property Create

认证

需要 Connected Account

Scopes

group:write

Tags

groups
Environments Groups Find RetrievePOSTHOG_ENVIRONMENTS_GROUPS_FIND_RETRIEVEEnvironments Groups Find Retrieve

Environments Groups Find Retrieve

认证

需要 Connected Account

Scopes

group:read

Tags

groups
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.

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.

认证

需要 Connected Account

Scopes

group:read

Tags

groups
Environments Groups Property Values RetrievePOSTHOG_ENVIRONMENTS_GROUPS_PROPERTY_VALUES_RETRIEVEEnvironments Groups Property Values Retrieve

Environments Groups Property Values Retrieve

认证

需要 Connected Account

Scopes

group:read

Tags

groups
Environments Groups Related RetrievePOSTHOG_ENVIRONMENTS_GROUPS_RELATED_RETRIEVEEnvironments Groups Related Retrieve

Environments Groups Related Retrieve

认证

需要 Connected Account

Scopes

group:read

Tags

groups
Environments Groups Update Property CreatePOSTHOG_ENVIRONMENTS_GROUPS_UPDATE_PROPERTY_CREATEEnvironments Groups Update Property Create

Environments Groups Update Property Create

认证

需要 Connected Account

Scopes

group:write

Tags

groups
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.

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.

认证

需要 Connected Account

Scopes

health_issue:read

Tags

health_issues
Environments Health Issues Partial UpdatePOSTHOG_ENVIRONMENTS_HEALTH_ISSUES_PARTIAL_UPDATEEnvironments Health Issues Partial Update

Environments Health Issues Partial Update

认证

需要 Connected Account

Scopes

health_issue:write

Tags

health_issues
Environments Health Issues Refresh CreatePOSTHOG_ENVIRONMENTS_HEALTH_ISSUES_REFRESH_CREATEEnvironments Health Issues Refresh Create

Environments Health Issues Refresh Create

认证

需要 Connected Account

Scopes

health_issue:write

Tags

health_issues
Environments Health Issues Resolve CreatePOSTHOG_ENVIRONMENTS_HEALTH_ISSUES_RESOLVE_CREATEEnvironments Health Issues Resolve Create

Environments Health Issues Resolve Create

认证

需要 Connected Account

Tags

health_issues
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.

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.

认证

需要 Connected Account

Scopes

health_issue:read

Tags

health_issues
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.

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.

认证

需要 Connected Account

Scopes

health_issue:read

Tags

health_issues
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.

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.

认证

需要 Connected Account

Scopes

heatmap:read

Tags

heatmap_screenshots
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.

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.

认证

需要 Connected Account

Scopes

heatmap:read

Tags

heatmaps
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).

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).

认证

需要 Connected Account

Scopes

heatmap:read

Tags

heatmaps
Environments Hog Flows Asset Content RetrievePOSTHOG_ENVIRONMENTS_HOG_FLOWS_ASSET_CONTENT_RETRIEVEEnvironments Hog Flows Asset Content Retrieve

Environments Hog Flows Asset Content Retrieve

认证

需要 Connected Account

Scopes

hog_flow:readperson:read

Tags

hog_flows
Environments Hog Flows Assets RetrievePOSTHOG_ENVIRONMENTS_HOG_FLOWS_ASSETS_RETRIEVEEnvironments Hog Flows Assets Retrieve

Environments Hog Flows Assets Retrieve

认证

需要 Connected Account

Scopes

hog_flow:readperson:read

Tags

hog_flows
Environments Hog Flows Batch Jobs CreatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_BATCH_JOBS_CREATEEnvironments Hog Flows Batch Jobs Create

Environments Hog Flows Batch Jobs Create

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

hog_flows
Environments Hog Flows Batch Jobs ListPOSTHOG_ENVIRONMENTS_HOG_FLOWS_BATCH_JOBS_LISTEnvironments Hog Flows Batch Jobs List

Environments Hog Flows Batch Jobs List

认证

需要 Connected Account

Scopes

hog_flow:read

Tags

hog_flows
Environments Hog Flows Bulk Delete CreatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_BULK_DELETE_CREATEEnvironments Hog Flows Bulk Delete Create

Environments Hog Flows Bulk Delete Create

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

hog_flows
Environments Hog Flows CreatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_CREATEEnvironments Hog Flows Create

Environments Hog Flows Create

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

hog_flows
Environments Hog Flows DestroyPOSTHOG_ENVIRONMENTS_HOG_FLOWS_DESTROYEnvironments Hog Flows Destroy

Environments Hog Flows Destroy

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

hog_flows
Environments Hog Flows Graph Partial UpdatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_GRAPH_PARTIAL_UPDATEEnvironments Hog Flows Graph Partial Update

Environments Hog Flows Graph Partial Update

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

hog_flows
Environments Hog Flows Invocation Result RetrievePOSTHOG_ENVIRONMENTS_HOG_FLOWS_INVOCATION_RESULT_RETRIEVEEnvironments Hog Flows Invocation Result Retrieve

Environments Hog Flows Invocation Result Retrieve

认证

需要 Connected Account

Scopes

hog_flow:readperson:read

Tags

hog_flows
Environments Hog Flows Invocation Results RetrievePOSTHOG_ENVIRONMENTS_HOG_FLOWS_INVOCATION_RESULTS_RETRIEVEEnvironments Hog Flows Invocation Results Retrieve

Environments Hog Flows Invocation Results Retrieve

认证

需要 Connected Account

Scopes

hog_flow:readperson:read

Tags

hog_flows
Environments Hog Flows Invocations CreatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_INVOCATIONS_CREATEEnvironments Hog Flows Invocations Create

Environments Hog Flows Invocations Create

认证

需要 Connected Account

Scopes

hog_flow:writegroup:read

Tags

hog_flows
Environments Hog Flows ListPOSTHOG_ENVIRONMENTS_HOG_FLOWS_LISTEnvironments Hog Flows List

Environments Hog Flows List

认证

需要 Connected Account

Scopes

hog_flow:read

Tags

hog_flows
Environments Hog Flows Logs RetrievePOSTHOG_ENVIRONMENTS_HOG_FLOWS_LOGS_RETRIEVEEnvironments Hog Flows Logs Retrieve

Environments Hog Flows Logs Retrieve

认证

需要 Connected Account

Scopes

hog_flow:read

Tags

hog_flows
Environments Hog Flows Metrics Global RetrievePOSTHOG_ENVIRONMENTS_HOG_FLOWS_METRICS_GLOBAL_RETRIEVEEnvironments Hog Flows Metrics Global Retrieve

Environments Hog Flows Metrics Global Retrieve

认证

需要 Connected Account

Scopes

hog_flow:read

Tags

hog_flows
Environments Hog Flows Metrics RetrievePOSTHOG_ENVIRONMENTS_HOG_FLOWS_METRICS_RETRIEVEEnvironments Hog Flows Metrics Retrieve

Environments Hog Flows Metrics Retrieve

认证

需要 Connected Account

Scopes

hog_flow:read

Tags

hog_flows
Environments Hog Flows Metrics Totals RetrievePOSTHOG_ENVIRONMENTS_HOG_FLOWS_METRICS_TOTALS_RETRIEVEEnvironments Hog Flows Metrics Totals Retrieve

Environments Hog Flows Metrics Totals Retrieve

认证

需要 Connected Account

Scopes

hog_flow:read

Tags

hog_flows
Environments Hog Flows Partial UpdatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_PARTIAL_UPDATEEnvironments Hog Flows Partial Update

Environments Hog Flows Partial Update

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

hog_flows
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`.

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`.

认证

需要 Connected Account

Scopes

hog_flow:writeperson:readgroup:read

Tags

hog_flows
Environments Hog Flows RetrievePOSTHOG_ENVIRONMENTS_HOG_FLOWS_RETRIEVEEnvironments Hog Flows Retrieve

Environments Hog Flows Retrieve

认证

需要 Connected Account

Scopes

hog_flow:read

Tags

hog_flows
Environments Hog Flows Schedules CreatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_SCHEDULES_CREATEEnvironments Hog Flows Schedules Create

Environments Hog Flows Schedules Create

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

hog_flows
Environments Hog Flows Schedules DestroyPOSTHOG_ENVIRONMENTS_HOG_FLOWS_SCHEDULES_DESTROYEnvironments Hog Flows Schedules Destroy

Environments Hog Flows Schedules Destroy

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

hog_flows
Environments Hog Flows Schedules ListPOSTHOG_ENVIRONMENTS_HOG_FLOWS_SCHEDULES_LISTEnvironments Hog Flows Schedules List

Environments Hog Flows Schedules List

认证

需要 Connected Account

Scopes

hog_flow:read

Tags

hog_flows
Environments Hog Flows Schedules Partial UpdatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_SCHEDULES_PARTIAL_UPDATEEnvironments Hog Flows Schedules Partial Update

Environments Hog Flows Schedules Partial Update

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

hog_flows
Environments Hog Flows UpdatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_UPDATEEnvironments Hog Flows Update

Environments Hog Flows Update

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

hog_flows
Environments Hog Flows User Blast Radius CreatePOSTHOG_ENVIRONMENTS_HOG_FLOWS_USER_BLAST_RADIUS_CREATEEnvironments Hog Flows User Blast Radius Create

Environments Hog Flows User Blast Radius Create

认证

需要 Connected Account

Scopes

hog_flow:readperson:read

Tags

hog_flows
Environments Hog Functions CreatePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_CREATEEnvironments Hog Functions Create

Environments Hog Functions Create

认证

需要 Connected Account

Scopes

hog_function:write

Tags

hog_functionshog_functions
Environments Hog Functions DestroyPOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Tags

hog_functionshog_functions
Environments Hog Functions Enable Backfills CreatePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_ENABLE_BACKFILLS_CREATEEnvironments Hog Functions Enable Backfills Create

Environments Hog Functions Enable Backfills Create

认证

需要 Connected Account

Tags

hog_functionshog_functions
Environments Hog Functions Icon RetrievePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_ICON_RETRIEVEEnvironments Hog Functions Icon Retrieve

Environments Hog Functions Icon Retrieve

认证

需要 Connected Account

Tags

hog_functionshog_functions
Environments Hog Functions Icons RetrievePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_ICONS_RETRIEVEEnvironments Hog Functions Icons Retrieve

Environments Hog Functions Icons Retrieve

认证

需要 Connected Account

Tags

hog_functionshog_functions
Environments Hog Functions Invocations CreatePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_INVOCATIONS_CREATEEnvironments Hog Functions Invocations Create

Environments Hog Functions Invocations Create

认证

需要 Connected Account

Scopes

hog_function:write

Tags

hog_functionshog_functions
Environments Hog Functions ListPOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_LISTEnvironments Hog Functions List

Environments Hog Functions List

认证

需要 Connected Account

Scopes

hog_function:read

Tags

hog_functionshog_functions
Environments Hog Functions Logs RetrievePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_LOGS_RETRIEVEEnvironments Hog Functions Logs Retrieve

Environments Hog Functions Logs Retrieve

认证

需要 Connected Account

Scopes

hog_function:read

Tags

hog_functionshog_functions
Environments Hog Functions Metrics RetrievePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_METRICS_RETRIEVEEnvironments Hog Functions Metrics Retrieve

Environments Hog Functions Metrics Retrieve

认证

需要 Connected Account

Scopes

hog_function:read

Tags

hog_functionshog_functions
Environments Hog Functions Metrics Totals RetrievePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_METRICS_TOTALS_RETRIEVEEnvironments Hog Functions Metrics Totals Retrieve

Environments Hog Functions Metrics Totals Retrieve

认证

需要 Connected Account

Scopes

hog_function:read

Tags

hog_functionshog_functions
Environments Hog Functions Partial UpdatePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_PARTIAL_UPDATEEnvironments Hog Functions Partial Update

Environments Hog Functions Partial Update

认证

需要 Connected Account

Scopes

hog_function:write

Tags

hog_functionshog_functions
Environments Hog Functions Rearrange Partial UpdatePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_REARRANGE_PARTIAL_UPDATEUpdate the execution order of multiple HogFunctions.

Update the execution order of multiple HogFunctions.

认证

需要 Connected Account

Scopes

hog_function:write

Tags

hog_functionshog_functions
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`.

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`.

认证

需要 Connected Account

Scopes

hog_function:writeperson:readgroup:read

Tags

hog_functionshog_functions
Environments Hog Functions RetrievePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_RETRIEVEEnvironments Hog Functions Retrieve

Environments Hog Functions Retrieve

认证

需要 Connected Account

Scopes

hog_function:read

Tags

hog_functionshog_functions
Environments Hog Functions UpdatePOSTHOG_ENVIRONMENTS_HOG_FUNCTIONS_UPDATEEnvironments Hog Functions Update

Environments Hog Functions Update

认证

需要 Connected Account

Scopes

hog_function:write

Tags

hog_functionshog_functions
Environments Insight Variables CreatePOSTHOG_ENVIRONMENTS_INSIGHT_VARIABLES_CREATEEnvironments Insight Variables Create

Environments Insight Variables Create

认证

需要 Connected Account

Scopes

insight_variable:write

Tags

insight_variables
Environments Insight Variables DestroyPOSTHOG_ENVIRONMENTS_INSIGHT_VARIABLES_DESTROYEnvironments Insight Variables Destroy

Environments Insight Variables Destroy

认证

需要 Connected Account

Scopes

insight_variable:write

Tags

insight_variables
Environments Insight Variables ListPOSTHOG_ENVIRONMENTS_INSIGHT_VARIABLES_LISTEnvironments Insight Variables List

Environments Insight Variables List

认证

需要 Connected Account

Scopes

insight_variable:read

Tags

insight_variables
Environments Insight Variables Partial UpdatePOSTHOG_ENVIRONMENTS_INSIGHT_VARIABLES_PARTIAL_UPDATEEnvironments Insight Variables Partial Update

Environments Insight Variables Partial Update

认证

需要 Connected Account

Scopes

insight_variable:write

Tags

insight_variables
Environments Insight Variables RetrievePOSTHOG_ENVIRONMENTS_INSIGHT_VARIABLES_RETRIEVEEnvironments Insight Variables Retrieve

Environments Insight Variables Retrieve

认证

需要 Connected Account

Scopes

insight_variable:read

Tags

insight_variables
Environments Insight Variables UpdatePOSTHOG_ENVIRONMENTS_INSIGHT_VARIABLES_UPDATEEnvironments Insight Variables Update

Environments Insight Variables Update

认证

需要 Connected Account

Scopes

insight_variable:write

Tags

insight_variables
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.

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.

认证

需要 Connected Account

Scopes

activity_log:read

Tags

insights
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.

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.

认证

需要 Connected Account

Scopes

activity_log:read

Tags

insights
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.

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.

认证

需要 Connected Account

Tags

insights
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.

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.

认证

需要 Connected Account

Scopes

insight:write

Tags

insights
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`.

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`.

认证

需要 Connected Account

Scopes

insight:write

Tags

insights
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 list

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

认证

需要 Connected Account

Tags

insights
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.

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.

认证

需要 Connected Account

Tags

insights
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.

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.

认证

需要 Connected Account

Scopes

insight:write

Tags

insights
Environments Insights DestroyPOSTHOG_ENVIRONMENTS_INSIGHTS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

insight:write

Tags

insights
Environments Insights Generate Metadata CreatePOSTHOG_ENVIRONMENTS_INSIGHTS_GENERATE_METADATA_CREATEGenerate an AI-suggested name and description for an insight based on its query configuration.

Generate an AI-suggested name and description for an insight based on its query configuration.

认证

需要 Connected Account

Scopes

insight:write

Tags

insights
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.

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.

认证

需要 Connected Account

Scopes

insight:read

Tags

insights
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.

Returns basic details about the last 5 insights viewed by this user. Most recently viewed first.

认证

需要 Connected Account

Tags

insights
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.

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.

认证

需要 Connected Account

Scopes

insight:write

Tags

insights
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.

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.

认证

需要 Connected Account

Scopes

insight:read

Tags

insights
Environments Insights Sharing ListPOSTHOG_ENVIRONMENTS_INSIGHTS_SHARING_LISTEnvironments Insights Sharing List

Environments Insights Sharing List

认证

需要 Connected Account

Scopes

sharing_configuration:read

Tags

insights
Environments Insights Sharing Passwords CreatePOSTHOG_ENVIRONMENTS_INSIGHTS_SHARING_PASSWORDS_CREATECreate a new password for the sharing configuration.

Create a new password for the sharing configuration.

认证

需要 Connected Account

Scopes

sharing_configuration:write

Tags

insights
Environments Insights Sharing Passwords DestroyPOSTHOG_ENVIRONMENTS_INSIGHTS_SHARING_PASSWORDS_DESTROYDelete a password from the sharing configuration.

Delete a password from the sharing configuration.

认证

需要 Connected Account

Scopes

sharing_configuration:write

Tags

insights
Environments Insights Sharing Refresh CreatePOSTHOG_ENVIRONMENTS_INSIGHTS_SHARING_REFRESH_CREATEEnvironments Insights Sharing Refresh Create

Environments Insights Sharing Refresh Create

认证

需要 Connected Account

Scopes

sharing_configuration:write

Tags

insights
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.

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.

认证

需要 Connected Account

Tags

insights
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.

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.

认证

需要 Connected Account

Tags

insights
Environments Insights Thresholds ListPOSTHOG_ENVIRONMENTS_INSIGHTS_THRESHOLDS_LISTEnvironments Insights Thresholds List

Environments Insights Thresholds List

认证

需要 Connected Account

Scopes

alert:read

Tags

insights
Environments Insights Thresholds RetrievePOSTHOG_ENVIRONMENTS_INSIGHTS_THRESHOLDS_RETRIEVEEnvironments Insights Thresholds Retrieve

Environments Insights Thresholds Retrieve

认证

需要 Connected Account

Scopes

alert:read

Tags

insights
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.

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.

认证

需要 Connected Account

Scopes

insight:read

Tags

insights
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.

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.

认证

需要 Connected Account

Scopes

insight:write

Tags

insights
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.

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.

认证

需要 Connected Account

Scopes

insight:read

Tags

insights
Environments Integrations Anthropic Managed Agent Envs RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_ANTHROPIC_MANAGED_AGENT_ENVS_RETRIEVEEnvironments Integrations Anthropic Managed Agent Envs Retrieve

Environments Integrations Anthropic Managed Agent Envs Retrieve

认证

需要 Connected Account

Scopes

integration:read

Tags

integrations
Environments Integrations Anthropic Managed Agent Vaults RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_ANTHROPIC_MANAGED_AGENT_VAULTS_RETRIEVEEnvironments Integrations Anthropic Managed Agent Vaults Retrieve

Environments Integrations Anthropic Managed Agent Vaults Retrieve

认证

需要 Connected Account

Scopes

integration:read

Tags

integrations
Environments Integrations Anthropic Managed Agents RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_ANTHROPIC_MANAGED_AGENTS_RETRIEVEEnvironments Integrations Anthropic Managed Agents Retrieve

Environments Integrations Anthropic Managed Agents Retrieve

认证

需要 Connected Account

Scopes

integration:read

Tags

integrations
Environments Integrations Authorize RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_AUTHORIZE_RETRIEVEEnvironments Integrations Authorize Retrieve

Environments Integrations Authorize Retrieve

认证

需要 Connected Account

Tags

integrations
Environments Integrations Channels RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_CHANNELS_RETRIEVEEnvironments Integrations Channels Retrieve

Environments Integrations Channels Retrieve

认证

需要 Connected Account

Scopes

integration:read

Tags

integrations
Environments Integrations Clickup Lists RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_CLICKUP_LISTS_RETRIEVEEnvironments Integrations Clickup Lists Retrieve

Environments Integrations Clickup Lists Retrieve

认证

需要 Connected Account

Tags

integrations
Environments Integrations Clickup Spaces RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_CLICKUP_SPACES_RETRIEVEEnvironments Integrations Clickup Spaces Retrieve

Environments Integrations Clickup Spaces Retrieve

认证

需要 Connected Account

Tags

integrations
Environments Integrations Clickup Workspaces RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_CLICKUP_WORKSPACES_RETRIEVEEnvironments Integrations Clickup Workspaces Retrieve

Environments Integrations Clickup Workspaces Retrieve

认证

需要 Connected Account

Tags

integrations
Environments Integrations CreatePOSTHOG_ENVIRONMENTS_INTEGRATIONS_CREATEEnvironments Integrations Create

Environments Integrations Create

认证

需要 Connected Account

Scopes

integration:write

Tags

integrations
Environments Integrations DestroyPOSTHOG_ENVIRONMENTS_INTEGRATIONS_DESTROYEnvironments Integrations Destroy

Environments Integrations Destroy

认证

需要 Connected Account

Scopes

integration:write

Tags

integrations
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.

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.

认证

需要 Connected Account

Tags

integrations
Environments Integrations Domain Connect Check RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_DOMAIN_CONNECT_CHECK_RETRIEVEEnvironments Integrations Domain Connect Check Retrieve

Environments Integrations Domain Connect Check Retrieve

认证

需要 Connected Account

Tags

integrations
Environments Integrations Email Partial UpdatePOSTHOG_ENVIRONMENTS_INTEGRATIONS_EMAIL_PARTIAL_UPDATEEnvironments Integrations Email Partial Update

Environments Integrations Email Partial Update

认证

需要 Connected Account

Tags

integrations
Environments Integrations Email Verify CreatePOSTHOG_ENVIRONMENTS_INTEGRATIONS_EMAIL_VERIFY_CREATEEnvironments Integrations Email Verify Create

Environments Integrations Email Verify Create

认证

需要 Connected Account

Tags

integrations
Environments Integrations Github Branches RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_GITHUB_BRANCHES_RETRIEVEEnvironments Integrations Github Branches Retrieve

Environments Integrations Github Branches Retrieve

认证

需要 Connected Account

Scopes

integration:read

Tags

integrations
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.

Reuse a GitHub installation already linked to a sibling team in the same organization.

认证

需要 Connected Account

Scopes

integration:write

Tags

integrations
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.

Mint a User OAuth URL to bootstrap a fresh `code` when the install flow returns without one.

认证

需要 Connected Account

Scopes

integration:write

Tags

integrations
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.

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.

认证

需要 Connected Account

Scopes

integration:write

Tags

integrations
Environments Integrations Github Repos Refresh CreatePOSTHOG_ENVIRONMENTS_INTEGRATIONS_GITHUB_REPOS_REFRESH_CREATEEnvironments Integrations Github Repos Refresh Create

Environments Integrations Github Repos Refresh Create

认证

需要 Connected Account

Scopes

integration:write

Tags

integrations
Environments Integrations Github Repos RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_GITHUB_REPOS_RETRIEVEEnvironments Integrations Github Repos Retrieve

Environments Integrations Github Repos Retrieve

认证

需要 Connected Account

Scopes

integration:read

Tags

integrations
Environments Integrations Github Teams RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_GITHUB_TEAMS_RETRIEVEEnvironments Integrations Github Teams Retrieve

Environments Integrations Github Teams Retrieve

认证

需要 Connected Account

Scopes

integration:read

Tags

integrations
Environments Integrations Google Accessible Accounts RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_GOOGLE_ACCESSIBLE_ACCOUNTS_RETRIEVEEnvironments Integrations Google Accessible Accounts Retrieve

Environments Integrations Google Accessible Accounts Retrieve

认证

需要 Connected Account

Tags

integrations
Environments Integrations Google Conversion Actions RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_GOOGLE_CONVERSION_ACTIONS_RETRIEVEEnvironments Integrations Google Conversion Actions Retrieve

Environments Integrations Google Conversion Actions Retrieve

认证

需要 Connected Account

Tags

integrations
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.

List the Search Console properties the connected Google account has access to.

认证

需要 Connected Account

Scopes

integration:write

Tags

integrations
Environments Integrations Jira Projects RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_JIRA_PROJECTS_RETRIEVEEnvironments Integrations Jira Projects Retrieve

Environments Integrations Jira Projects Retrieve

认证

需要 Connected Account

Scopes

integration:read

Tags

integrations
Environments Integrations Linear Teams RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_LINEAR_TEAMS_RETRIEVEEnvironments Integrations Linear Teams Retrieve

Environments Integrations Linear Teams Retrieve

认证

需要 Connected Account

Scopes

integration:read

Tags

integrations
Environments Integrations Linkedin Ads Accounts RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_LINKEDIN_ADS_ACCOUNTS_RETRIEVEEnvironments Integrations Linkedin Ads Accounts Retrieve

Environments Integrations Linkedin Ads Accounts Retrieve

认证

需要 Connected Account

Tags

integrations
Environments Integrations Linkedin Ads Conversion Rules RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_LINKEDIN_ADS_CONVERSION_RULES_RETRIEVEEnvironments Integrations Linkedin Ads Conversion Rules Retrieve

Environments Integrations Linkedin Ads Conversion Rules Retrieve

认证

需要 Connected Account

Tags

integrations
Environments Integrations ListPOSTHOG_ENVIRONMENTS_INTEGRATIONS_LISTEnvironments Integrations List

Environments Integrations List

认证

需要 Connected Account

Scopes

integration:read

Tags

integrations
Environments Integrations Request Access CreatePOSTHOG_ENVIRONMENTS_INTEGRATIONS_REQUEST_ACCESS_CREATENotify project admins that a member is requesting an integration be connected.

Notify project admins that a member is requesting an integration be connected.

认证

需要 Connected Account

Scopes

integration:write

Tags

integrations
Environments Integrations RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_RETRIEVEEnvironments Integrations Retrieve

Environments Integrations Retrieve

认证

需要 Connected Account

Scopes

integration:read

Tags

integrations
Environments Integrations Twilio Phone Numbers RetrievePOSTHOG_ENVIRONMENTS_INTEGRATIONS_TWILIO_PHONE_NUMBERS_RETRIEVEEnvironments Integrations Twilio Phone Numbers Retrieve

Environments Integrations Twilio Phone Numbers Retrieve

认证

需要 Connected Account

Tags

integrations
Environments Is Generating Demo Data RetrievePOSTHOG_ENVIRONMENTS_IS_GENERATING_DEMO_DATA_RETRIEVEDeprecated: use /api/environments/{id}/ instead.

Deprecated: use /api/environments/{id}/ instead.

认证

需要 Connected Account

Tags

environments
Environments ListPOSTHOG_ENVIRONMENTS_LISTDeprecated: use /api/environments/{id}/ instead.

Deprecated: use /api/environments/{id}/ instead.

认证

需要 Connected Account

Scopes

project:read

Tags

environments
Environments Llm Analytics Clustering Config ListPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_CLUSTERING_CONFIG_LISTTeam-level clustering configuration (event filters for automated pipelines).

Team-level clustering configuration (event filters for automated pipelines).

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
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).

Team-level clustering configuration (event filters for automated pipelines).

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Environments Llm Analytics Clustering Jobs CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_CLUSTERING_JOBS_CREATECRUD for clustering job configurations (max 10 per team).

CRUD for clustering job configurations (max 10 per team).

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Environments Llm Analytics Clustering Jobs DestroyPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_CLUSTERING_JOBS_DESTROYCRUD for clustering job configurations (max 10 per team).

CRUD for clustering job configurations (max 10 per team).

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Environments Llm Analytics Clustering Jobs ListPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_CLUSTERING_JOBS_LISTCRUD for clustering job configurations (max 10 per team).

CRUD for clustering job configurations (max 10 per team).

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
Environments Llm Analytics Clustering Jobs Partial UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_CLUSTERING_JOBS_PARTIAL_UPDATECRUD for clustering job configurations (max 10 per team).

CRUD for clustering job configurations (max 10 per team).

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Environments Llm Analytics Clustering Jobs RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_CLUSTERING_JOBS_RETRIEVECRUD for clustering job configurations (max 10 per team).

CRUD for clustering job configurations (max 10 per team).

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
Environments Llm Analytics Clustering Jobs UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_CLUSTERING_JOBS_UPDATECRUD for clustering job configurations (max 10 per team).

CRUD for clustering job configurations (max 10 per team).

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Environments Llm Analytics Evaluation Config RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_CONFIG_RETRIEVEGet the evaluation config for this team

Get the evaluation config for this team

认证

需要 Connected Account

Scopes

evaluation:read

Tags

llm_analytics
Environments Llm Analytics Evaluation Config Set Active Key CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_CONFIG_SET_ACTIVE_KEY_CREATESet the active provider key for evaluations

Set the active provider key for evaluations

认证

需要 Connected Account

Scopes

evaluation:write

Tags

llm_analytics
Environments Llm Analytics Evaluation Reports CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_REPORTS_CREATECRUD for evaluation report configurations + report run history.

CRUD for evaluation report configurations + report run history.

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
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.

Evaluation report configs are deleted only when their evaluation is deleted. Use PATCH enabled=false to stop delivery.

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Environments Llm Analytics Evaluation Reports Generate CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_REPORTS_GENERATE_CREATETrigger immediate report generation.

Trigger immediate report generation.

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Environments Llm Analytics Evaluation Reports ListPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_REPORTS_LISTCRUD for evaluation report configurations + report run history.

CRUD for evaluation report configurations + report run history.

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
Environments Llm Analytics Evaluation Reports Partial UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_REPORTS_PARTIAL_UPDATECRUD for evaluation report configurations + report run history.

CRUD for evaluation report configurations + report run history.

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Environments Llm Analytics Evaluation Reports RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_REPORTS_RETRIEVECRUD for evaluation report configurations + report run history.

CRUD for evaluation report configurations + report run history.

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
Environments Llm Analytics Evaluation Reports Runs ListPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_REPORTS_RUNS_LISTList report runs (history) for this report.

List report runs (history) for this report.

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
Environments Llm Analytics Evaluation Reports UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_EVALUATION_REPORTS_UPDATECRUD for evaluation report configurations + report run history.

CRUD for evaluation report configurations + report run history.

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
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 once

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

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

AI observabilityllm_analytics
Environments Llm Analytics Models RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_MODELS_RETRIEVEList available models for a provider.

List available models for a provider.

认证

需要 Connected Account

Scopes

evaluation:read

Tags

llm_analytics
Environments Llm Analytics Offline Evaluations Experiment Items CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_OFFLINE_EVALUATIONS_EXPERIMENT_ITEMS_CREATEEnvironments Llm Analytics Offline Evaluations Experiment Items Create

Environments Llm Analytics Offline Evaluations Experiment Items Create

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

AI observabilityllm_analytics
Environments Llm Analytics Provider Key Validations CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_PROVIDER_KEY_VALIDATIONS_CREATEValidate LLM provider API keys without persisting them

Validate LLM provider API keys without persisting them

认证

需要 Connected Account

Scopes

llm_provider_key:write

Tags

llm_analytics
Environments Llm Analytics Provider Keys Assign CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_PROVIDER_KEYS_ASSIGN_CREATEAssign this key to evaluations and optionally re-enable them.

Assign this key to evaluations and optionally re-enable them.

认证

需要 Connected Account

Tags

llm_analytics
Environments Llm Analytics Provider Keys CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_PROVIDER_KEYS_CREATEEnvironments Llm Analytics Provider Keys Create

Environments Llm Analytics Provider Keys Create

认证

需要 Connected Account

Scopes

llm_provider_key:write

Tags

llm_analytics
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.

Get evaluations using this key and alternative keys for replacement.

认证

需要 Connected Account

Tags

llm_analytics
Environments Llm Analytics Provider Keys DestroyPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_PROVIDER_KEYS_DESTROYEnvironments Llm Analytics Provider Keys Destroy

Environments Llm Analytics Provider Keys Destroy

认证

需要 Connected Account

Scopes

llm_provider_key:write

Tags

llm_analytics
Environments Llm Analytics Provider Keys ListPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_PROVIDER_KEYS_LISTEnvironments Llm Analytics Provider Keys List

Environments Llm Analytics Provider Keys List

认证

需要 Connected Account

Scopes

llm_provider_key:read

Tags

llm_analytics
Environments Llm Analytics Provider Keys Partial UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_PROVIDER_KEYS_PARTIAL_UPDATEEnvironments Llm Analytics Provider Keys Partial Update

Environments Llm Analytics Provider Keys Partial Update

认证

需要 Connected Account

Scopes

llm_provider_key:write

Tags

llm_analytics
Environments Llm Analytics Provider Keys RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_PROVIDER_KEYS_RETRIEVEEnvironments Llm Analytics Provider Keys Retrieve

Environments Llm Analytics Provider Keys Retrieve

认证

需要 Connected Account

Scopes

llm_provider_key:read

Tags

llm_analytics
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.

List enabled evaluations currently using trial credits for a given provider.

认证

需要 Connected Account

Tags

llm_analytics
Environments Llm Analytics Provider Keys UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_PROVIDER_KEYS_UPDATEEnvironments Llm Analytics Provider Keys Update

Environments Llm Analytics Provider Keys Update

认证

需要 Connected Account

Scopes

llm_provider_key:write

Tags

llm_analytics
Environments Llm Analytics Provider Keys Validate CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_PROVIDER_KEYS_VALIDATE_CREATEEnvironments Llm Analytics Provider Keys Validate Create

Environments Llm Analytics Provider Keys Validate Create

认证

需要 Connected Account

Tags

llm_analytics
Environments Llm Analytics Review Queue Items CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_CREATEEnvironments Llm Analytics Review Queue Items Create

Environments Llm Analytics Review Queue Items Create

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Environments Llm Analytics Review Queue Items DestroyPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_DESTROYEnvironments Llm Analytics Review Queue Items Destroy

Environments Llm Analytics Review Queue Items Destroy

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Environments Llm Analytics Review Queue Items ListPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_LISTEnvironments Llm Analytics Review Queue Items List

Environments Llm Analytics Review Queue Items List

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
Environments Llm Analytics Review Queue Items Partial UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_PARTIAL_UPDATEEnvironments Llm Analytics Review Queue Items Partial Update

Environments Llm Analytics Review Queue Items Partial Update

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Environments Llm Analytics Review Queue Items RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_RETRIEVEEnvironments Llm Analytics Review Queue Items Retrieve

Environments Llm Analytics Review Queue Items Retrieve

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
Environments Llm Analytics Review Queues CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUES_CREATEEnvironments Llm Analytics Review Queues Create

Environments Llm Analytics Review Queues Create

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Environments Llm Analytics Review Queues DestroyPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUES_DESTROYEnvironments Llm Analytics Review Queues Destroy

Environments Llm Analytics Review Queues Destroy

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Environments Llm Analytics Review Queues ListPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUES_LISTEnvironments Llm Analytics Review Queues List

Environments Llm Analytics Review Queues List

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
Environments Llm Analytics Review Queues Partial UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUES_PARTIAL_UPDATEEnvironments Llm Analytics Review Queues Partial Update

Environments Llm Analytics Review Queues Partial Update

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Environments Llm Analytics Review Queues RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_REVIEW_QUEUES_RETRIEVEEnvironments Llm Analytics Review Queues Retrieve

Environments Llm Analytics Review Queues Retrieve

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
Environments Llm Analytics Score Definitions CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_SCORE_DEFINITIONS_CREATEEnvironments Llm Analytics Score Definitions Create

Environments Llm Analytics Score Definitions Create

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Environments Llm Analytics Score Definitions ListPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_SCORE_DEFINITIONS_LISTEnvironments Llm Analytics Score Definitions List

Environments Llm Analytics Score Definitions List

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
Environments Llm Analytics Score Definitions New Version CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_SCORE_DEFINITIONS_NEW_VERSION_CREATEEnvironments Llm Analytics Score Definitions New Version Create

Environments Llm Analytics Score Definitions New Version Create

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Environments Llm Analytics Score Definitions Partial UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_SCORE_DEFINITIONS_PARTIAL_UPDATEEnvironments Llm Analytics Score Definitions Partial Update

Environments Llm Analytics Score Definitions Partial Update

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Environments Llm Analytics Score Definitions RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_SCORE_DEFINITIONS_RETRIEVEEnvironments Llm Analytics Score Definitions Retrieve

Environments Llm Analytics Score Definitions Retrieve

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
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 summaries

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

认证

需要 Connected Account

Tags

AI observabilityllm_analytics
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.

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.

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

AI observabilityllm_analytics
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.

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.

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

AI observabilityllm_analytics
Environments Llm Analytics Trace Reviews CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_TRACE_REVIEWS_CREATEEnvironments Llm Analytics Trace Reviews Create

Environments Llm Analytics Trace Reviews Create

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Environments Llm Analytics Trace Reviews DestroyPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_TRACE_REVIEWS_DESTROYEnvironments Llm Analytics Trace Reviews Destroy

Environments Llm Analytics Trace Reviews Destroy

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Environments Llm Analytics Trace Reviews ListPOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_TRACE_REVIEWS_LISTEnvironments Llm Analytics Trace Reviews List

Environments Llm Analytics Trace Reviews List

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
Environments Llm Analytics Trace Reviews Partial UpdatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_TRACE_REVIEWS_PARTIAL_UPDATEEnvironments Llm Analytics Trace Reviews Partial Update

Environments Llm Analytics Trace Reviews Partial Update

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Environments Llm Analytics Trace Reviews RetrievePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_TRACE_REVIEWS_RETRIEVEEnvironments Llm Analytics Trace Reviews Retrieve

Environments Llm Analytics Trace Reviews Retrieve

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
Environments Llm Analytics Translate CreatePOSTHOG_ENVIRONMENTS_LLM_ANALYTICS_TRANSLATE_CREATETranslate text to target language.

Translate text to target language.

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Environments Llm Prompts CreatePOSTHOG_ENVIRONMENTS_LLM_PROMPTS_CREATEEnvironments Llm Prompts Create

Environments Llm Prompts Create

认证

需要 Connected Account

Scopes

llm_prompt:write

Tags

llm_prompts
Environments Llm Prompts ListPOSTHOG_ENVIRONMENTS_LLM_PROMPTS_LISTEnvironments Llm Prompts List

Environments Llm Prompts List

认证

需要 Connected Account

Scopes

llm_prompt:read

Tags

llm_prompts
Environments Llm Prompts Name Archive CreatePOSTHOG_ENVIRONMENTS_LLM_PROMPTS_NAME_ARCHIVE_CREATEEnvironments Llm Prompts Name Archive Create

Environments Llm Prompts Name Archive Create

认证

需要 Connected Account

Scopes

llm_prompt:write

Tags

llm_prompts
Environments Llm Prompts Name Duplicate CreatePOSTHOG_ENVIRONMENTS_LLM_PROMPTS_NAME_DUPLICATE_CREATEEnvironments Llm Prompts Name Duplicate Create

Environments Llm Prompts Name Duplicate Create

认证

需要 Connected Account

Scopes

llm_prompt:write

Tags

llm_prompts
Environments Llm Prompts Name Partial UpdatePOSTHOG_ENVIRONMENTS_LLM_PROMPTS_NAME_PARTIAL_UPDATEEnvironments Llm Prompts Name Partial Update

Environments Llm Prompts Name Partial Update

认证

需要 Connected Account

Scopes

llm_prompt:write

Tags

llm_prompts
Environments Llm Prompts Name RetrievePOSTHOG_ENVIRONMENTS_LLM_PROMPTS_NAME_RETRIEVEEnvironments Llm Prompts Name Retrieve

Environments Llm Prompts Name Retrieve

认证

需要 Connected Account

Scopes

llm_prompt:read

Tags

llm_prompts
Environments Llm Prompts Resolve Name RetrievePOSTHOG_ENVIRONMENTS_LLM_PROMPTS_RESOLVE_NAME_RETRIEVEEnvironments Llm Prompts Resolve Name Retrieve

Environments Llm Prompts Resolve Name Retrieve

认证

需要 Connected Account

Scopes

llm_prompt:read

Tags

llm_prompts
Environments Llm Skills CreatePOSTHOG_ENVIRONMENTS_LLM_SKILLS_CREATEEnvironments Llm Skills Create

Environments Llm Skills Create

认证

需要 Connected Account

Scopes

llm_skill:write

Tags

llm_skills
Environments Llm Skills Import CreatePOSTHOG_ENVIRONMENTS_LLM_SKILLS_IMPORT_CREATEEnvironments Llm Skills Import Create

Environments Llm Skills Import Create

认证

需要 Connected Account

Scopes

llm_skill:write

Tags

llm_skills
Environments Llm Skills ListPOSTHOG_ENVIRONMENTS_LLM_SKILLS_LISTEnvironments Llm Skills List

Environments Llm Skills List

认证

需要 Connected Account

Scopes

llm_skill:read

Tags

llm_skills
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.

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.

认证

需要 Connected Account

Scopes

llm_skill:write

Tags

llm_skills
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.

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.

认证

需要 Connected Account

Scopes

llm_skill:read

Tags

llm_skills
Environments Llm Skills Name Archive CreatePOSTHOG_ENVIRONMENTS_LLM_SKILLS_NAME_ARCHIVE_CREATEEnvironments Llm Skills Name Archive Create

Environments Llm Skills Name Archive Create

认证

需要 Connected Account

Scopes

llm_skill:write

Tags

llm_skills
Environments Llm Skills Name Duplicate CreatePOSTHOG_ENVIRONMENTS_LLM_SKILLS_NAME_DUPLICATE_CREATEEnvironments Llm Skills Name Duplicate Create

Environments Llm Skills Name Duplicate Create

认证

需要 Connected Account

Scopes

llm_skill:write

Tags

llm_skills
Environments Llm Skills Name Export RetrievePOSTHOG_ENVIRONMENTS_LLM_SKILLS_NAME_EXPORT_RETRIEVEEnvironments Llm Skills Name Export Retrieve

Environments Llm Skills Name Export Retrieve

认证

需要 Connected Account

Tags

llm_skills
Environments Llm Skills Name Files CreatePOSTHOG_ENVIRONMENTS_LLM_SKILLS_NAME_FILES_CREATEEnvironments Llm Skills Name Files Create

Environments Llm Skills Name Files Create

认证

需要 Connected Account

Scopes

llm_skill:write

Tags

llm_skills
Environments Llm Skills Name Files DestroyPOSTHOG_ENVIRONMENTS_LLM_SKILLS_NAME_FILES_DESTROYEnvironments Llm Skills Name Files Destroy

Environments Llm Skills Name Files Destroy

认证

需要 Connected Account

Scopes

llm_skill:write

Tags

llm_skills
Environments Llm Skills Name Files Rename CreatePOSTHOG_ENVIRONMENTS_LLM_SKILLS_NAME_FILES_RENAME_CREATEEnvironments Llm Skills Name Files Rename Create

Environments Llm Skills Name Files Rename Create

认证

需要 Connected Account

Scopes

llm_skill:write

Tags

llm_skills
Environments Llm Skills Name Files RetrievePOSTHOG_ENVIRONMENTS_LLM_SKILLS_NAME_FILES_RETRIEVEEnvironments Llm Skills Name Files Retrieve

Environments Llm Skills Name Files Retrieve

认证

需要 Connected Account

Scopes

llm_skill:read

Tags

llm_skills
Environments Llm Skills Name Partial UpdatePOSTHOG_ENVIRONMENTS_LLM_SKILLS_NAME_PARTIAL_UPDATEEnvironments Llm Skills Name Partial Update

Environments Llm Skills Name Partial Update

认证

需要 Connected Account

Scopes

llm_skill:write

Tags

llm_skills
Environments Llm Skills Name RetrievePOSTHOG_ENVIRONMENTS_LLM_SKILLS_NAME_RETRIEVEEnvironments Llm Skills Name Retrieve

Environments Llm Skills Name Retrieve

认证

需要 Connected Account

Scopes

llm_skill:read

Tags

llm_skills
Environments Llm Skills Resolve Name RetrievePOSTHOG_ENVIRONMENTS_LLM_SKILLS_RESOLVE_NAME_RETRIEVEEnvironments Llm Skills Resolve Name Retrieve

Environments Llm Skills Resolve Name Retrieve

认证

需要 Connected Account

Scopes

llm_skill:read

Tags

llm_skills
Environments Logs Alerts CreatePOSTHOG_ENVIRONMENTS_LOGS_ALERTS_CREATEEnvironments Logs Alerts Create

Environments Logs Alerts Create

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
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.

Create a notification destination for this alert. One HogFunction is created per alert event kind (firing, resolved, ...) atomically.

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
Environments Logs Alerts Destinations Delete CreatePOSTHOG_ENVIRONMENTS_LOGS_ALERTS_DESTINATIONS_DELETE_CREATEDelete a notification destination by deleting its HogFunction group atomically.

Delete a notification destination by deleting its HogFunction group atomically.

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
Environments Logs Alerts DestroyPOSTHOG_ENVIRONMENTS_LOGS_ALERTS_DESTROYEnvironments Logs Alerts Destroy

Environments Logs Alerts Destroy

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
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.

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.

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Environments Logs Alerts ListPOSTHOG_ENVIRONMENTS_LOGS_ALERTS_LISTEnvironments Logs Alerts List

Environments Logs Alerts List

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Environments Logs Alerts Partial UpdatePOSTHOG_ENVIRONMENTS_LOGS_ALERTS_PARTIAL_UPDATEEnvironments Logs Alerts Partial Update

Environments Logs Alerts Partial Update

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
Environments Logs Alerts Reset CreatePOSTHOG_ENVIRONMENTS_LOGS_ALERTS_RESET_CREATEReset a broken alert. Clears the consecutive-failure counter and schedules an immediate recheck.

Reset a broken alert. Clears the consecutive-failure counter and schedules an immediate recheck.

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
Environments Logs Alerts RetrievePOSTHOG_ENVIRONMENTS_LOGS_ALERTS_RETRIEVEEnvironments Logs Alerts Retrieve

Environments Logs Alerts Retrieve

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
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.

Simulate a logs alert on historical data using the full state machine. Read-only — no alert check records are created.

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Environments Logs Alerts UpdatePOSTHOG_ENVIRONMENTS_LOGS_ALERTS_UPDATEEnvironments Logs Alerts Update

Environments Logs Alerts Update

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
Environments Logs Attributes RetrievePOSTHOG_ENVIRONMENTS_LOGS_ATTRIBUTES_RETRIEVEEnvironments Logs Attributes Retrieve

Environments Logs Attributes Retrieve

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Environments Logs Config Partial UpdatePOSTHOG_ENVIRONMENTS_LOGS_CONFIG_PARTIAL_UPDATEManage logs product configuration for this environment.

Manage logs product configuration for this environment.

认证

需要 Connected Account

Tags

environments
Environments Logs Config RetrievePOSTHOG_ENVIRONMENTS_LOGS_CONFIG_RETRIEVEManage logs product configuration for this environment.

Manage logs product configuration for this environment.

认证

需要 Connected Account

Tags

environments
Environments Logs Count CreatePOSTHOG_ENVIRONMENTS_LOGS_COUNT_CREATEEnvironments Logs Count Create

Environments Logs Count Create

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Environments Logs Count Ranges CreatePOSTHOG_ENVIRONMENTS_LOGS_COUNT_RANGES_CREATEEnvironments Logs Count Ranges Create

Environments Logs Count Ranges Create

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Environments Logs ExplainLogWithAI CreatePOSTHOG_ENVIRONMENTS_LOGS_EXPLAIN_LOG_WITH_AI_CREATEExplain a log entry using AI. POST /api/environments/:id/logs/explainLogWithAI/

Explain a log entry using AI. POST /api/environments/:id/logs/explainLogWithAI/

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
Environments Logs Export CreatePOSTHOG_ENVIRONMENTS_LOGS_EXPORT_CREATEEnvironments Logs Export Create

Environments Logs Export Create

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Environments Logs Facet Values CreatePOSTHOG_ENVIRONMENTS_LOGS_FACET_VALUES_CREATEEnvironments Logs Facet Values Create

Environments Logs Facet Values Create

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Environments Logs Group By CreatePOSTHOG_ENVIRONMENTS_LOGS_GROUP_BY_CREATEEnvironments Logs Group By Create

Environments Logs Group By Create

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Environments Logs Has Logs RetrievePOSTHOG_ENVIRONMENTS_LOGS_HAS_LOGS_RETRIEVEEnvironments Logs Has Logs Retrieve

Environments Logs Has Logs Retrieve

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Environments Logs Patterns CreatePOSTHOG_ENVIRONMENTS_LOGS_PATTERNS_CREATEEnvironments Logs Patterns Create

Environments Logs Patterns Create

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Environments Logs Query CreatePOSTHOG_ENVIRONMENTS_LOGS_QUERY_CREATEEnvironments Logs Query Create

Environments Logs Query Create

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Environments Logs Sampling Rules CreatePOSTHOG_ENVIRONMENTS_LOGS_SAMPLING_RULES_CREATEEnvironments Logs Sampling Rules Create

Environments Logs Sampling Rules Create

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
Environments Logs Sampling Rules DestroyPOSTHOG_ENVIRONMENTS_LOGS_SAMPLING_RULES_DESTROYEnvironments Logs Sampling Rules Destroy

Environments Logs Sampling Rules Destroy

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
Environments Logs Sampling Rules ListPOSTHOG_ENVIRONMENTS_LOGS_SAMPLING_RULES_LISTEnvironments Logs Sampling Rules List

Environments Logs Sampling Rules List

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Environments Logs Sampling Rules Partial UpdatePOSTHOG_ENVIRONMENTS_LOGS_SAMPLING_RULES_PARTIAL_UPDATEEnvironments Logs Sampling Rules Partial Update

Environments Logs Sampling Rules Partial Update

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
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).

Atomically reassign priorities so the given ID order maps to ascending priorities (0..n-1).

认证

需要 Connected Account

Tags

logs
Environments Logs Sampling Rules RetrievePOSTHOG_ENVIRONMENTS_LOGS_SAMPLING_RULES_RETRIEVEEnvironments Logs Sampling Rules Retrieve

Environments Logs Sampling Rules Retrieve

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
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).

Dry-run estimate for how much volume this rule would remove (placeholder response until CH-backed simulation is wired).

认证

需要 Connected Account

Tags

logs
Environments Logs Sampling Rules UpdatePOSTHOG_ENVIRONMENTS_LOGS_SAMPLING_RULES_UPDATEEnvironments Logs Sampling Rules Update

Environments Logs Sampling Rules Update

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
Environments Logs Services CreatePOSTHOG_ENVIRONMENTS_LOGS_SERVICES_CREATEEnvironments Logs Services Create

Environments Logs Services Create

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Environments Logs Sparkline CreatePOSTHOG_ENVIRONMENTS_LOGS_SPARKLINE_CREATEEnvironments Logs Sparkline Create

Environments Logs Sparkline Create

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Environments Logs Values RetrievePOSTHOG_ENVIRONMENTS_LOGS_VALUES_RETRIEVEEnvironments Logs Values Retrieve

Environments Logs Values Retrieve

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Environments Logs Views CreatePOSTHOG_ENVIRONMENTS_LOGS_VIEWS_CREATEEnvironments Logs Views Create

Environments Logs Views Create

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
Environments Logs Views DestroyPOSTHOG_ENVIRONMENTS_LOGS_VIEWS_DESTROYEnvironments Logs Views Destroy

Environments Logs Views Destroy

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
Environments Logs Views ListPOSTHOG_ENVIRONMENTS_LOGS_VIEWS_LISTEnvironments Logs Views List

Environments Logs Views List

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Environments Logs Views Partial UpdatePOSTHOG_ENVIRONMENTS_LOGS_VIEWS_PARTIAL_UPDATEEnvironments Logs Views Partial Update

Environments Logs Views Partial Update

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
Environments Logs Views RetrievePOSTHOG_ENVIRONMENTS_LOGS_VIEWS_RETRIEVEEnvironments Logs Views Retrieve

Environments Logs Views Retrieve

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Environments Logs Views UpdatePOSTHOG_ENVIRONMENTS_LOGS_VIEWS_UPDATEEnvironments Logs Views Update

Environments Logs Views Update

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
Environments Managed Viewsets RetrievePOSTHOG_ENVIRONMENTS_MANAGED_VIEWSETS_RETRIEVEGet all views associated with a specific managed viewset. GET /api/environments/{team_id}/managed_viewsets/{kind}/

Get all views associated with a specific managed viewset. GET /api/environments/{team_id}/managed_viewsets/{kind}/

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

managed_viewsets
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}

Enable or disable a managed viewset by kind. PUT /api/environments/{team_id}/managed_viewsets/{kind}/ with body {"enabled": true/false}

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

managed_viewsets
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.

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.

认证

需要 Connected Account

Scopes

marketing_analytics:read

Tags

marketing_analytics
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.

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.

认证

需要 Connected Account

Scopes

marketing_analytics:read

Tags

marketing_analytics
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.

Aggregate data-source sync health, UTM attribution health, and conversion-goal config into a single per-integration diagnostic with recommended actions. Read-only.

认证

需要 Connected Account

Scopes

marketing_analytics:read

Tags

marketing_analytics
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.

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.

认证

需要 Connected Account

Scopes

marketing_analytics:read

Tags

marketing_analytics
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.

Rank existing custom events as conversion-goal candidates by volume, UTM-tag coverage, and unique users, excluding system/autocaptured events. Read-only.

认证

需要 Connected Account

Scopes

marketing_analytics:read

Tags

marketing_analytics
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.

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.

认证

需要 Connected Account

Scopes

marketing_analytics:read

Tags

marketing_analytics
Environments Marketing Analytics Test Mapping CreatePOSTHOG_ENVIRONMENTS_MARKETING_ANALYTICS_TEST_MAPPING_CREATEEnvironments Marketing Analytics Test Mapping Create

Environments Marketing Analytics Test Mapping Create

认证

需要 Connected Account

Tags

marketing_analytics
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.

Cross-reference campaigns with spend from ad platforms against pageview events with UTM parameters to identify tracking issues.

认证

需要 Connected Account

Scopes

marketing_analytics:read

Tags

marketing_analytics
Environments Max Tools Create And Query Insight CreatePOSTHOG_ENVIRONMENTS_MAX_TOOLS_CREATE_AND_QUERY_INSIGHT_CREATEEnvironments Max Tools Create And Query Insight Create

Environments Max Tools Create And Query Insight Create

认证

需要 Connected Account

Scopes

insight:readquery:read

Tags

max_tools
Environments Mcp Analytics Feedback CreatePOSTHOG_ENVIRONMENTS_MCP_ANALYTICS_FEEDBACK_CREATECreate a new MCP feedback submission for the current project.

Create a new MCP feedback submission for the current project.

认证

需要 Connected Account

Scopes

mcp_analytics:write

Tags

mcp_analytics
Environments Mcp Analytics Feedback ListPOSTHOG_ENVIRONMENTS_MCP_ANALYTICS_FEEDBACK_LISTList MCP feedback submissions for the current project, newest first.

List MCP feedback submissions for the current project, newest first.

认证

需要 Connected Account

Scopes

mcp_analytics:read

Tags

mcp_analytics
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').

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').

认证

需要 Connected Account

Scopes

mcp_analytics:write

Tags

mcp_analytics
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.

Return the most recent intent cluster snapshot for the current project. Returns an empty IDLE snapshot when no clustering run has happened yet.

认证

需要 Connected Account

Scopes

mcp_analytics:read

Tags

mcp_analytics
Environments Mcp Analytics Missing Capabilities CreatePOSTHOG_ENVIRONMENTS_MCP_ANALYTICS_MISSING_CAPABILITIES_CREATECreate a new missing capability report for the current project.

Create a new missing capability report for the current project.

认证

需要 Connected Account

Scopes

mcp_analytics:write

Tags

mcp_analytics
Environments Mcp Analytics Missing Capabilities ListPOSTHOG_ENVIRONMENTS_MCP_ANALYTICS_MISSING_CAPABILITIES_LISTList missing capability reports for the current project, newest first.

List missing capability reports for the current project, newest first.

认证

需要 Connected Account

Scopes

mcp_analytics:read

Tags

mcp_analytics
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.

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.

认证

需要 Connected Account

Scopes

mcp_analytics:read

Tags

mcp_analytics
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.

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.

认证

需要 Connected Account

Scopes

mcp_analytics:write

Tags

mcp_analytics
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.

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.

认证

需要 Connected Account

Scopes

mcp_analytics:write

Tags

mcp_analytics
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.

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.

认证

需要 Connected Account

Scopes

mcp_analytics:read

Tags

mcp_analytics
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.

List a page of the $mcp_tool_call events that belong to a given $session_id, in chronological order.

认证

需要 Connected Account

Scopes

mcp_analytics:read

Tags

mcp_analytics
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.

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.

认证

需要 Connected Account

Scopes

project:read

Tags

mcp_server_installations
Environments Mcp Server Installations CreatePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_CREATEEnvironments Mcp Server Installations Create

Environments Mcp Server Installations Create

认证

需要 Connected Account

Scopes

project:write

Tags

mcp_server_installations
Environments Mcp Server Installations DestroyPOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_DESTROYEnvironments Mcp Server Installations Destroy

Environments Mcp Server Installations Destroy

认证

需要 Connected Account

Scopes

project:read

Tags

mcp_server_installations
Environments Mcp Server Installations Install Custom CreatePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_INSTALL_CUSTOM_CREATEEnvironments Mcp Server Installations Install Custom Create

Environments Mcp Server Installations Install Custom Create

认证

需要 Connected Account

Scopes

project:read

Tags

mcp_server_installations
Environments Mcp Server Installations Install Template CreatePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_INSTALL_TEMPLATE_CREATEEnvironments Mcp Server Installations Install Template Create

Environments Mcp Server Installations Install Template Create

认证

需要 Connected Account

Scopes

project:read

Tags

mcp_server_installations
Environments Mcp Server Installations ListPOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_LISTEnvironments Mcp Server Installations List

Environments Mcp Server Installations List

认证

需要 Connected Account

Scopes

project:read

Tags

mcp_server_installations
Environments Mcp Server Installations Partial UpdatePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_PARTIAL_UPDATEEnvironments Mcp Server Installations Partial Update

Environments Mcp Server Installations Partial Update

认证

需要 Connected Account

Scopes

project:read

Tags

mcp_server_installations
Environments Mcp Server Installations Proxy CreatePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_PROXY_CREATEEnvironments Mcp Server Installations Proxy Create

Environments Mcp Server Installations Proxy Create

认证

需要 Connected Account

Scopes

project:read

Tags

mcp_server_installations
Environments Mcp Server Installations RetrievePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_RETRIEVEEnvironments Mcp Server Installations Retrieve

Environments Mcp Server Installations Retrieve

认证

需要 Connected Account

Scopes

project:read

Tags

mcp_server_installations
Environments Mcp Server Installations Tools Partial UpdatePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_TOOLS_PARTIAL_UPDATEEnvironments Mcp Server Installations Tools Partial Update

Environments Mcp Server Installations Tools Partial Update

认证

需要 Connected Account

Scopes

project:read

Tags

mcp_server_installations
Environments Mcp Server Installations Tools Refresh CreatePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_TOOLS_REFRESH_CREATEEnvironments Mcp Server Installations Tools Refresh Create

Environments Mcp Server Installations Tools Refresh Create

认证

需要 Connected Account

Scopes

project:read

Tags

mcp_server_installations
Environments Mcp Server Installations Tools RetrievePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_TOOLS_RETRIEVEEnvironments Mcp Server Installations Tools Retrieve

Environments Mcp Server Installations Tools Retrieve

认证

需要 Connected Account

Scopes

project:read

Tags

mcp_server_installations
Environments Mcp Server Installations UpdatePOSTHOG_ENVIRONMENTS_MCP_SERVER_INSTALLATIONS_UPDATEEnvironments Mcp Server Installations Update

Environments Mcp Server Installations Update

认证

需要 Connected Account

Scopes

project:write

Tags

mcp_server_installations
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.

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.

认证

需要 Connected Account

Scopes

project:read

Tags

mcp_servers
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.

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.

认证

需要 Connected Account

Tags

mcp_tools
Environments Messaging Templates CreatePOSTHOG_ENVIRONMENTS_MESSAGING_TEMPLATES_CREATEEnvironments Messaging Templates Create

Environments Messaging Templates Create

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

messaging_templates
Environments Messaging Templates Design Partial UpdatePOSTHOG_ENVIRONMENTS_MESSAGING_TEMPLATES_DESIGN_PARTIAL_UPDATEEnvironments Messaging Templates Design Partial Update

Environments Messaging Templates Design Partial Update

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

messaging_templates
Environments Messaging Templates DestroyPOSTHOG_ENVIRONMENTS_MESSAGING_TEMPLATES_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

messaging_templates
Environments Messaging Templates ListPOSTHOG_ENVIRONMENTS_MESSAGING_TEMPLATES_LISTEnvironments Messaging Templates List

Environments Messaging Templates List

认证

需要 Connected Account

Scopes

hog_flow:read

Tags

messaging_templates
Environments Messaging Templates Partial UpdatePOSTHOG_ENVIRONMENTS_MESSAGING_TEMPLATES_PARTIAL_UPDATEEnvironments Messaging Templates Partial Update

Environments Messaging Templates Partial Update

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

messaging_templates
Environments Messaging Templates RetrievePOSTHOG_ENVIRONMENTS_MESSAGING_TEMPLATES_RETRIEVEEnvironments Messaging Templates Retrieve

Environments Messaging Templates Retrieve

认证

需要 Connected Account

Scopes

hog_flow:read

Tags

messaging_templates
Environments Messaging Templates UpdatePOSTHOG_ENVIRONMENTS_MESSAGING_TEMPLATES_UPDATEEnvironments Messaging Templates Update

Environments Messaging Templates Update

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

messaging_templates
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.

Characterize a metric anomaly: compare an anomaly window against a baseline, find the onset, and rank which label values moved.

认证

需要 Connected Account

Scopes

metrics:read

Tags

metricsmetrics
Environments Metrics Has Metrics RetrievePOSTHOG_ENVIRONMENTS_METRICS_HAS_METRICS_RETRIEVEEnvironments Metrics Has Metrics Retrieve

Environments Metrics Has Metrics Retrieve

认证

需要 Connected Account

Scopes

metrics:read

Tags

metricsmetrics
Environments Metrics Query CreatePOSTHOG_ENVIRONMENTS_METRICS_QUERY_CREATEEnvironments Metrics Query Create

Environments Metrics Query Create

认证

需要 Connected Account

Scopes

metrics:read

Tags

metricsmetrics
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.

Raw individual emissions for a metric (the events model), newest first — backs the Samples view and the metric->trace pivot.

认证

需要 Connected Account

Scopes

metrics:read

Tags

metricsmetrics
Environments Metrics Values RetrievePOSTHOG_ENVIRONMENTS_METRICS_VALUES_RETRIEVEDistinct metric names for the team. Backs the picker UI.

Distinct metric names for the team. Backs the picker UI.

认证

需要 Connected Account

Scopes

metrics:read

Tags

metricsmetrics
Environments Partial UpdatePOSTHOG_ENVIRONMENTS_PARTIAL_UPDATEDeprecated: use /api/environments/{id}/ instead.

Deprecated: use /api/environments/{id}/ instead.

认证

需要 Connected Account

Scopes

project:write

Tags

environments
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.

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.

认证

需要 Connected Account

Scopes

activity_log:read

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

activity_log:read

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

person:read

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

person:read

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

person:write

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

person:readcohort:read

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

person:write

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

person:read

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

person:read

Tags

persons
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.

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.

认证

需要 Connected Account

Tags

persons
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.

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.

认证

需要 Connected Account

Tags

persons
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.

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.

认证

需要 Connected Account

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

person:read

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

person:write

Tags

persons
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)

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)

认证

需要 Connected Account

Scopes

person:read

Tags

personspersons
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.

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.

认证

需要 Connected Account

Tags

persons
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.

Reset a distinct_id for a deleted person. This allows the distinct_id to be used again.

认证

需要 Connected Account

Scopes

person:write

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

person:read

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

person:write

Tags

persons
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.

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.

认证

需要 Connected Account

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

person:write

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

person:write

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

person:read

Tags

persons
Environments Plugin Configs Logs ListPOSTHOG_ENVIRONMENTS_PLUGIN_CONFIGS_LOGS_LISTEnvironments Plugin Configs Logs List

Environments Plugin Configs Logs List

认证

需要 Connected Account

Scopes

plugin:read

Tags

plugin_configs
Environments Project Secret Api Keys CreatePOSTHOG_ENVIRONMENTS_PROJECT_SECRET_API_KEYS_CREATEEnvironments Project Secret Api Keys Create

Environments Project Secret Api Keys Create

认证

需要 Connected Account

Scopes

project:write

Tags

project_secret_api_keys
Environments Project Secret Api Keys DestroyPOSTHOG_ENVIRONMENTS_PROJECT_SECRET_API_KEYS_DESTROYEnvironments Project Secret Api Keys Destroy

Environments Project Secret Api Keys Destroy

认证

需要 Connected Account

Scopes

project:write

Tags

project_secret_api_keys
Environments Project Secret Api Keys ListPOSTHOG_ENVIRONMENTS_PROJECT_SECRET_API_KEYS_LISTEnvironments Project Secret Api Keys List

Environments Project Secret Api Keys List

认证

需要 Connected Account

Scopes

project:read

Tags

project_secret_api_keys
Environments Project Secret Api Keys Partial UpdatePOSTHOG_ENVIRONMENTS_PROJECT_SECRET_API_KEYS_PARTIAL_UPDATEEnvironments Project Secret Api Keys Partial Update

Environments Project Secret Api Keys Partial Update

认证

需要 Connected Account

Scopes

project:write

Tags

project_secret_api_keys
Environments Project Secret Api Keys RetrievePOSTHOG_ENVIRONMENTS_PROJECT_SECRET_API_KEYS_RETRIEVEEnvironments Project Secret Api Keys Retrieve

Environments Project Secret Api Keys Retrieve

认证

需要 Connected Account

Scopes

project:read

Tags

project_secret_api_keys
Environments Project Secret Api Keys Roll CreatePOSTHOG_ENVIRONMENTS_PROJECT_SECRET_API_KEYS_ROLL_CREATERoll a project secret API key

Roll a project secret API key

认证

需要 Connected Account

Scopes

project:write

Tags

project_secret_api_keys
Environments Project Secret Api Keys UpdatePOSTHOG_ENVIRONMENTS_PROJECT_SECRET_API_KEYS_UPDATEEnvironments Project Secret Api Keys Update

Environments Project Secret Api Keys Update

认证

需要 Connected Account

Scopes

project:write

Tags

project_secret_api_keys
Environments Property Access Controls CreatePOSTHOG_ENVIRONMENTS_PROPERTY_ACCESS_CONTROLS_CREATECreate or update a property access control rule.

Create or update a property access control rule.

认证

需要 Connected Account

Scopes

access_control:write

Tags

property_access_controls
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.

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.

认证

需要 Connected Account

Scopes

access_control:write

Tags

property_access_controls
Environments Property Access Controls RetrievePOSTHOG_ENVIRONMENTS_PROPERTY_ACCESS_CONTROLS_RETRIEVEGet all property access control rules for a property definition.

Get all property access control rules for a property definition.

认证

需要 Connected Account

Scopes

access_control:read

Tags

property_access_controls
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.

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.

认证

需要 Connected Account

Tags

query
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.

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.

认证

需要 Connected Account

Scopes

query:read

Tags

query
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.

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.

认证

需要 Connected Account

Tags

query
Environments Query DestroyPOSTHOG_ENVIRONMENTS_QUERY_DESTROY(Experimental)

(Experimental)

认证

需要 Connected Account

Scopes

query:read

Tags

query
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.

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.

认证

需要 Connected Account

Tags

query
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.

Get query log details from query_log_archive table for a specific query_id, the query must have been issued in last 24 hours.

认证

需要 Connected Account

Tags

query
Environments Query RetrievePOSTHOG_ENVIRONMENTS_QUERY_RETRIEVE(Experimental)

(Experimental)

认证

需要 Connected Account

Scopes

query:read

Tags

query
Environments Query Upgrade CreatePOSTHOG_ENVIRONMENTS_QUERY_UPGRADE_CREATEUpgrades a query without executing it. Returns a query with all nodes migrated to the latest version.

Upgrades a query without executing it. Returns a query with all nodes migrated to the latest version.

认证

需要 Connected Account

Tags

query
Environments Reset Token Partial UpdatePOSTHOG_ENVIRONMENTS_RESET_TOKEN_PARTIAL_UPDATEDeprecated: use /api/environments/{id}/ instead.

Deprecated: use /api/environments/{id}/ instead.

认证

需要 Connected Account

Tags

environments
Environments RetrievePOSTHOG_ENVIRONMENTS_RETRIEVEDeprecated: use /api/environments/{id}/ instead.

Deprecated: use /api/environments/{id}/ instead.

认证

需要 Connected Account

Scopes

project:read

Tags

environments
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).

Retrieve the team's session summaries configuration (product context used to tailor single-session replay summaries).

认证

需要 Connected Account

Tags

session_summaries
Environments Rotate Secret Token Partial UpdatePOSTHOG_ENVIRONMENTS_ROTATE_SECRET_TOKEN_PARTIAL_UPDATEDeprecated: use /api/environments/{id}/ instead.

Deprecated: use /api/environments/{id}/ instead.

认证

需要 Connected Account

Tags

environments
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.

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.

认证

需要 Connected Account

Scopes

heatmap:write

Tags

saved
Environments Saved DestroyPOSTHOG_ENVIRONMENTS_SAVED_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

heatmap:write

Tags

saved
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.

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.

认证

需要 Connected Account

Scopes

heatmap:read

Tags

saved
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.

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.

认证

需要 Connected Account

Scopes

heatmap:write

Tags

saved
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'.

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'.

认证

需要 Connected Account

Scopes

heatmap:write

Tags

saved
Environments Saved RetrievePOSTHOG_ENVIRONMENTS_SAVED_RETRIEVEGet a single saved heatmap by its short_id, including per-width render status.

Get a single saved heatmap by its short_id, including per-width render status.

认证

需要 Connected Account

Scopes

heatmap:read

Tags

saved
Environments Session Recording Playlists CreatePOSTHOG_ENVIRONMENTS_SESSION_RECORDING_PLAYLISTS_CREATEEnvironments Session Recording Playlists Create

Environments Session Recording Playlists Create

认证

需要 Connected Account

Scopes

session_recording_playlist:write

Tags

replaysession_recording_playlists
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 true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

session_recording_playlist:write

Tags

replaysession_recording_playlists
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.

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.

认证

需要 Connected Account

Scopes

session_recording_playlist:read

Tags

replaysession_recording_playlists
Environments Session Recording Playlists Partial UpdatePOSTHOG_ENVIRONMENTS_SESSION_RECORDING_PLAYLISTS_PARTIAL_UPDATEEnvironments Session Recording Playlists Partial Update

Environments Session Recording Playlists Partial Update

认证

需要 Connected Account

Scopes

session_recording_playlist:write

Tags

replaysession_recording_playlists
Environments Session Recording Playlists Recordings CreatePOSTHOG_ENVIRONMENTS_SESSION_RECORDING_PLAYLISTS_RECORDINGS_CREATEEnvironments Session Recording Playlists Recordings Create

Environments Session Recording Playlists Recordings Create

认证

需要 Connected Account

Tags

replaysession_recording_playlists
Environments Session Recording Playlists Recordings DestroyPOSTHOG_ENVIRONMENTS_SESSION_RECORDING_PLAYLISTS_RECORDINGS_DESTROYEnvironments Session Recording Playlists Recordings Destroy

Environments Session Recording Playlists Recordings Destroy

认证

需要 Connected Account

Tags

replaysession_recording_playlists
Environments Session Recording Playlists Recordings RetrievePOSTHOG_ENVIRONMENTS_SESSION_RECORDING_PLAYLISTS_RECORDINGS_RETRIEVEEnvironments Session Recording Playlists Recordings Retrieve

Environments Session Recording Playlists Recordings Retrieve

认证

需要 Connected Account

Scopes

session_recording_playlist:read

Tags

replaysession_recording_playlists
Environments Session Recording Playlists RetrievePOSTHOG_ENVIRONMENTS_SESSION_RECORDING_PLAYLISTS_RETRIEVEEnvironments Session Recording Playlists Retrieve

Environments Session Recording Playlists Retrieve

认证

需要 Connected Account

Scopes

session_recording_playlist:read

Tags

replaysession_recording_playlists
Environments Session Recording Playlists UpdatePOSTHOG_ENVIRONMENTS_SESSION_RECORDING_PLAYLISTS_UPDATEEnvironments Session Recording Playlists Update

Environments Session Recording Playlists Update

认证

需要 Connected Account

Scopes

session_recording_playlist:write

Tags

replaysession_recording_playlists
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`.

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`.

认证

需要 Connected Account

Tags

replaysession_recordings
Environments Session Recordings DestroyPOSTHOG_ENVIRONMENTS_SESSION_RECORDINGS_DESTROYEnvironments Session Recordings Destroy

Environments Session Recordings Destroy

认证

需要 Connected Account

Scopes

session_recording:write

Tags

replaysession_recordings
Environments Session Recordings ListPOSTHOG_ENVIRONMENTS_SESSION_RECORDINGS_LISTEnvironments Session Recordings List

Environments Session Recordings List

认证

需要 Connected Account

Scopes

session_recording:read

Tags

replaysession_recordings
Environments Session Recordings Partial UpdatePOSTHOG_ENVIRONMENTS_SESSION_RECORDINGS_PARTIAL_UPDATEEnvironments Session Recordings Partial Update

Environments Session Recordings Partial Update

认证

需要 Connected Account

Scopes

session_recording:write

Tags

replaysession_recordings
Environments Session Recordings RetrievePOSTHOG_ENVIRONMENTS_SESSION_RECORDINGS_RETRIEVEEnvironments Session Recordings Retrieve

Environments Session Recordings Retrieve

认证

需要 Connected Account

Scopes

session_recording:read

Tags

replaysession_recordings
Environments Session Recordings Sharing ListPOSTHOG_ENVIRONMENTS_SESSION_RECORDINGS_SHARING_LISTEnvironments Session Recordings Sharing List

Environments Session Recordings Sharing List

认证

需要 Connected Account

Scopes

sharing_configuration:read

Tags

session_recordings
Environments Session Recordings Sharing Passwords CreatePOSTHOG_ENVIRONMENTS_SESSION_RECORDINGS_SHARING_PASSWORDS_CREATECreate a new password for the sharing configuration.

Create a new password for the sharing configuration.

认证

需要 Connected Account

Scopes

sharing_configuration:write

Tags

session_recordings
Environments Session Recordings Sharing Passwords DestroyPOSTHOG_ENVIRONMENTS_SESSION_RECORDINGS_SHARING_PASSWORDS_DESTROYDelete a password from the sharing configuration.

Delete a password from the sharing configuration.

认证

需要 Connected Account

Scopes

sharing_configuration:write

Tags

session_recordings
Environments Session Recordings Sharing Refresh CreatePOSTHOG_ENVIRONMENTS_SESSION_RECORDINGS_SHARING_REFRESH_CREATEEnvironments Session Recordings Sharing Refresh Create

Environments Session Recordings Sharing Refresh Create

认证

需要 Connected Account

Scopes

sharing_configuration:write

Tags

session_recordings
Environments Session Recordings UpdatePOSTHOG_ENVIRONMENTS_SESSION_RECORDINGS_UPDATEEnvironments Session Recordings Update

Environments Session Recordings Update

认证

需要 Connected Account

Scopes

session_recording:write

Tags

replaysession_recordings
Environments Sessions Property Definitions RetrievePOSTHOG_ENVIRONMENTS_SESSIONS_PROPERTY_DEFINITIONS_RETRIEVEEnvironments Sessions Property Definitions Retrieve

Environments Sessions Property Definitions Retrieve

认证

需要 Connected Account

Scopes

query:read

Tags

sessions
Environments Sessions Values RetrievePOSTHOG_ENVIRONMENTS_SESSIONS_VALUES_RETRIEVEEnvironments Sessions Values Retrieve

Environments Sessions Values Retrieve

认证

需要 Connected Account

Scopes

query:read

Tags

sessions
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 settings

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

认证

需要 Connected Account

Tags

environments
Environments Subscriptions CreatePOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_CREATEEnvironments Subscriptions Create

Environments Subscriptions Create

认证

需要 Connected Account

Scopes

subscription:write

Tags

subscriptionssubscriptions
List subscription deliveriesPOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_DELIVERIES_LISTPaginated delivery history for a subscription. Requires premium subscriptions.

Paginated delivery history for a subscription. Requires premium subscriptions.

认证

需要 Connected Account

Scopes

subscription:read

Tags

subscriptionssubscriptions
Retrieve subscription deliveryPOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_DELIVERIES_RETRIEVEFetch one delivery row by id.

Fetch one delivery row by id.

认证

需要 Connected Account

Scopes

subscription:read

Tags

subscriptionssubscriptions
Environments Subscriptions DestroyPOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

subscription:write

Tags

subscriptionssubscriptions
Environments Subscriptions ListPOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_LISTEnvironments Subscriptions List

Environments Subscriptions List

认证

需要 Connected Account

Scopes

subscription:read

Tags

subscriptionssubscriptions
Environments Subscriptions Partial UpdatePOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_PARTIAL_UPDATEEnvironments Subscriptions Partial Update

Environments Subscriptions Partial Update

认证

需要 Connected Account

Scopes

subscription:write

Tags

subscriptionssubscriptions
Environments Subscriptions RetrievePOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_RETRIEVEEnvironments Subscriptions Retrieve

Environments Subscriptions Retrieve

认证

需要 Connected Account

Scopes

subscription:read

Tags

subscriptionssubscriptions
Environments Subscriptions Summary Quota RetrievePOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_SUMMARY_QUOTA_RETRIEVEEnvironments Subscriptions Summary Quota Retrieve

Environments Subscriptions Summary Quota Retrieve

认证

需要 Connected Account

Scopes

subscription:read

Tags

subscriptionssubscriptions
Environments Subscriptions Test Delivery CreatePOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_TEST_DELIVERY_CREATEEnvironments Subscriptions Test Delivery Create

Environments Subscriptions Test Delivery Create

认证

需要 Connected Account

Scopes

subscription:write

Tags

subscriptionssubscriptions
Environments Subscriptions UpdatePOSTHOG_ENVIRONMENTS_SUBSCRIPTIONS_UPDATEEnvironments Subscriptions Update

Environments Subscriptions Update

认证

需要 Connected Account

Scopes

subscription:write

Tags

subscriptionssubscriptions
Environments Taggers CreatePOSTHOG_ENVIRONMENTS_TAGGERS_CREATEEnvironments Taggers Create

Environments Taggers Create

认证

需要 Connected Account

Scopes

tagger:write

Tags

taggers
Environments Taggers DestroyPOSTHOG_ENVIRONMENTS_TAGGERS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

tagger:write

Tags

taggers
Environments Taggers ListPOSTHOG_ENVIRONMENTS_TAGGERS_LISTEnvironments Taggers List

Environments Taggers List

认证

需要 Connected Account

Scopes

tagger:read

Tags

taggers
Environments Taggers Partial UpdatePOSTHOG_ENVIRONMENTS_TAGGERS_PARTIAL_UPDATEEnvironments Taggers Partial Update

Environments Taggers Partial Update

认证

需要 Connected Account

Scopes

tagger:write

Tags

taggers
Environments Taggers RetrievePOSTHOG_ENVIRONMENTS_TAGGERS_RETRIEVEEnvironments Taggers Retrieve

Environments Taggers Retrieve

认证

需要 Connected Account

Scopes

tagger:read

Tags

taggers
Environments Taggers Test Hog CreatePOSTHOG_ENVIRONMENTS_TAGGERS_TEST_HOG_CREATETest Hog tagger code against sample events without saving.

Test Hog tagger code against sample events without saving.

认证

需要 Connected Account

Scopes

tagger:read

Tags

taggers
Environments Taggers UpdatePOSTHOG_ENVIRONMENTS_TAGGERS_UPDATEEnvironments Taggers Update

Environments Taggers Update

认证

需要 Connected Account

Scopes

tagger:write

Tags

taggers
Environments Tracing Spans Aggregate CreatePOSTHOG_ENVIRONMENTS_TRACING_SPANS_AGGREGATE_CREATEEnvironments Tracing Spans Aggregate Create

Environments Tracing Spans Aggregate Create

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Environments Tracing Spans Attribute Breakdown CreatePOSTHOG_ENVIRONMENTS_TRACING_SPANS_ATTRIBUTE_BREAKDOWN_CREATEEnvironments Tracing Spans Attribute Breakdown Create

Environments Tracing Spans Attribute Breakdown Create

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Environments Tracing Spans Attributes RetrievePOSTHOG_ENVIRONMENTS_TRACING_SPANS_ATTRIBUTES_RETRIEVEEnvironments Tracing Spans Attributes Retrieve

Environments Tracing Spans Attributes Retrieve

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Environments Tracing Spans Count CreatePOSTHOG_ENVIRONMENTS_TRACING_SPANS_COUNT_CREATEEnvironments Tracing Spans Count Create

Environments Tracing Spans Count Create

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Environments Tracing Spans Duration Histogram CreatePOSTHOG_ENVIRONMENTS_TRACING_SPANS_DURATION_HISTOGRAM_CREATEEnvironments Tracing Spans Duration Histogram Create

Environments Tracing Spans Duration Histogram Create

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Environments Tracing Spans Has Spans RetrievePOSTHOG_ENVIRONMENTS_TRACING_SPANS_HAS_SPANS_RETRIEVEEnvironments Tracing Spans Has Spans Retrieve

Environments Tracing Spans Has Spans Retrieve

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Environments Tracing Spans Query CreatePOSTHOG_ENVIRONMENTS_TRACING_SPANS_QUERY_CREATEEnvironments Tracing Spans Query Create

Environments Tracing Spans Query Create

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Environments Tracing Spans Service Names RetrievePOSTHOG_ENVIRONMENTS_TRACING_SPANS_SERVICE_NAMES_RETRIEVEEnvironments Tracing Spans Service Names Retrieve

Environments Tracing Spans Service Names Retrieve

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Environments Tracing Spans Sparkline CreatePOSTHOG_ENVIRONMENTS_TRACING_SPANS_SPARKLINE_CREATEEnvironments Tracing Spans Sparkline Create

Environments Tracing Spans Sparkline Create

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Environments Tracing Spans Symbol Stats CreatePOSTHOG_ENVIRONMENTS_TRACING_SPANS_SYMBOL_STATS_CREATEEnvironments Tracing Spans Symbol Stats Create

Environments Tracing Spans Symbol Stats Create

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Environments Tracing Spans Trace CreatePOSTHOG_ENVIRONMENTS_TRACING_SPANS_TRACE_CREATEEnvironments Tracing Spans Trace Create

Environments Tracing Spans Trace Create

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Environments Tracing Spans Tree CreatePOSTHOG_ENVIRONMENTS_TRACING_SPANS_TREE_CREATEEnvironments Tracing Spans Tree Create

Environments Tracing Spans Tree Create

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Environments Tracing Spans Values RetrievePOSTHOG_ENVIRONMENTS_TRACING_SPANS_VALUES_RETRIEVEEnvironments Tracing Spans Values Retrieve

Environments Tracing Spans Values Retrieve

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Environments Tracing Views CreatePOSTHOG_ENVIRONMENTS_TRACING_VIEWS_CREATEEnvironments Tracing Views Create

Environments Tracing Views Create

认证

需要 Connected Account

Scopes

tracing:write

Tags

tracing
Environments Tracing Views DestroyPOSTHOG_ENVIRONMENTS_TRACING_VIEWS_DESTROYEnvironments Tracing Views Destroy

Environments Tracing Views Destroy

认证

需要 Connected Account

Scopes

tracing:write

Tags

tracing
Environments Tracing Views ListPOSTHOG_ENVIRONMENTS_TRACING_VIEWS_LISTEnvironments Tracing Views List

Environments Tracing Views List

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Environments Tracing Views Partial UpdatePOSTHOG_ENVIRONMENTS_TRACING_VIEWS_PARTIAL_UPDATEEnvironments Tracing Views Partial Update

Environments Tracing Views Partial Update

认证

需要 Connected Account

Scopes

tracing:write

Tags

tracing
Environments Tracing Views RetrievePOSTHOG_ENVIRONMENTS_TRACING_VIEWS_RETRIEVEEnvironments Tracing Views Retrieve

Environments Tracing Views Retrieve

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Environments Tracing Views UpdatePOSTHOG_ENVIRONMENTS_TRACING_VIEWS_UPDATEEnvironments Tracing Views Update

Environments Tracing Views Update

认证

需要 Connected Account

Scopes

tracing:write

Tags

tracing
Environments UpdatePOSTHOG_ENVIRONMENTS_UPDATEDeprecated: use /api/environments/{id}/ instead.

Deprecated: use /api/environments/{id}/ instead.

认证

需要 Connected Account

Scopes

project:write

Tags

environments
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).

Update the team's session summaries configuration (product context used to tailor single-session replay summaries).

认证

需要 Connected Account

Tags

session_summaries
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.

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.

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
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.

Planned user interview topics: who we want to target and what we want to ask about.

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
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.

Planned user interview topics: who we want to target and what we want to ask about.

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
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.

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.

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
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.

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.

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
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).

Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
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).

Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
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).

Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).

认证

需要 Connected Account

Scopes

user_interview:read

Tags

user_interview_topics
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).

Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
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).

Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).

认证

需要 Connected Account

Scopes

user_interview:read

Tags

user_interview_topics
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).

Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
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.

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.

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
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.

Planned user interview topics: who we want to target and what we want to ask about.

认证

需要 Connected Account

Scopes

user_interview:read

Tags

user_interview_topics
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.

Planned user interview topics: who we want to target and what we want to ask about.

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
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.

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.

认证

需要 Connected Account

Scopes

user_interview:read

Tags

user_interview_topics
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.

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.

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
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.

Planned user interview topics: who we want to target and what we want to ask about.

认证

需要 Connected Account

Scopes

user_interview:read

Tags

user_interview_topics
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.

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.

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
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.

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.

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
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.

Planned user interview topics: who we want to target and what we want to ask about.

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
Environments User Interviews CreatePOSTHOG_ENVIRONMENTS_USER_INTERVIEWS_CREATEEnvironments User Interviews Create

Environments User Interviews Create

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interviews
Environments User Interviews DestroyPOSTHOG_ENVIRONMENTS_USER_INTERVIEWS_DESTROYEnvironments User Interviews Destroy

Environments User Interviews Destroy

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interviews
Environments User Interviews ListPOSTHOG_ENVIRONMENTS_USER_INTERVIEWS_LISTEnvironments User Interviews List

Environments User Interviews List

认证

需要 Connected Account

Scopes

user_interview:read

Tags

user_interviews
Environments User Interviews Partial UpdatePOSTHOG_ENVIRONMENTS_USER_INTERVIEWS_PARTIAL_UPDATEEnvironments User Interviews Partial Update

Environments User Interviews Partial Update

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interviews
Environments User Interviews RetrievePOSTHOG_ENVIRONMENTS_USER_INTERVIEWS_RETRIEVEEnvironments User Interviews Retrieve

Environments User Interviews Retrieve

认证

需要 Connected Account

Scopes

user_interview:read

Tags

user_interviews
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.

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.

认证

需要 Connected Account

Scopes

user_interview:read

Tags

user_interviews
Environments User Interviews UpdatePOSTHOG_ENVIRONMENTS_USER_INTERVIEWS_UPDATEEnvironments User Interviews Update

Environments User Interviews Update

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interviews
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.

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.

认证

需要 Connected Account

Scopes

replay_scanner:writesession_recording:read

Tags

vision
Environments Vision Observations Label DestroyPOSTHOG_ENVIRONMENTS_VISION_OBSERVATIONS_LABEL_DESTROYRemove the observation's shared label. Requires session recording edit access.

Remove the observation's shared label. Requires session recording edit access.

认证

需要 Connected Account

Scopes

replay_scanner:writesession_recording:read

Tags

vision
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.

Read-only access to a session's observations across every scanner the caller can read, for the replay-page dock.

认证

需要 Connected Account

Scopes

replay_scanner:readsession_recording:read

Tags

vision
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.

Read-only access to a session's observations across every scanner the caller can read, for the replay-page dock.

认证

需要 Connected Account

Scopes

replay_scanner:readsession_recording:read

Tags

vision
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.

Delete a failed observation and re-run its scanner on the same recording. Returns 202 with the workflow handle.

认证

需要 Connected Account

Scopes

replay_scanner:writesession_recording:read

Tags

vision
Environments Vision Scanners CreatePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_CREATECRUD for Replay Vision scanners.

CRUD for Replay Vision scanners.

认证

需要 Connected Account

Scopes

replay_scanner:writesession_recording:read

Tags

vision
Environments Vision Scanners Creators RetrievePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_CREATORS_RETRIEVEDistinct creators across the team's scanners — feeds the `Created by` filter dropdown.

Distinct creators across the team's scanners — feeds the `Created by` filter dropdown.

认证

需要 Connected Account

Scopes

replay_scanner:read

Tags

vision
Environments Vision Scanners DestroyPOSTHOG_ENVIRONMENTS_VISION_SCANNERS_DESTROYCRUD for Replay Vision scanners.

CRUD for Replay Vision scanners.

认证

需要 Connected Account

Scopes

replay_scanner:write

Tags

vision
Environments Vision Scanners Estimate CreatePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_ESTIMATE_CREATEEstimate the observation volume a proposed scanner would generate, for the pre-save cost preview.

Estimate the observation volume a proposed scanner would generate, for the pre-save cost preview.

认证

需要 Connected Account

Scopes

replay_scanner:readsession_recording:read

Tags

vision
Environments Vision Scanners ListPOSTHOG_ENVIRONMENTS_VISION_SCANNERS_LISTCRUD for Replay Vision scanners.

CRUD for Replay Vision scanners.

认证

需要 Connected Account

Scopes

replay_scanner:read

Tags

vision
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.

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.

认证

需要 Connected Account

Scopes

replay_scanner:writesession_recording:read

Tags

vision
Environments Vision Scanners Observations Label DestroyPOSTHOG_ENVIRONMENTS_VISION_SCANNERS_OBSERVATIONS_LABEL_DESTROYRemove the observation's shared label. Requires session recording edit access.

Remove the observation's shared label. Requires session recording edit access.

认证

需要 Connected Account

Scopes

replay_scanner:writesession_recording:read

Tags

vision
Environments Vision Scanners Observations ListPOSTHOG_ENVIRONMENTS_VISION_SCANNERS_OBSERVATIONS_LISTRead-only access to observations produced by a scanner.

Read-only access to observations produced by a scanner.

认证

需要 Connected Account

Scopes

replay_scanner:readsession_recording:read

Tags

vision
Environments Vision Scanners Observations RetrievePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_OBSERVATIONS_RETRIEVERead-only access to observations produced by a scanner.

Read-only access to observations produced by a scanner.

认证

需要 Connected Account

Scopes

replay_scanner:readsession_recording:read

Tags

vision
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.

Delete a failed observation and re-run its scanner on the same recording. Returns 202 with the workflow handle.

认证

需要 Connected Account

Scopes

replay_scanner:writesession_recording:read

Tags

vision
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.

Aggregate counts and per-scanner-type distributions over the filtered observation set. Same filters as the list endpoint apply.

认证

需要 Connected Account

Scopes

replay_scanner:readsession_recording:read

Tags

vision
Environments Vision Scanners Observe CreatePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_OBSERVE_CREATEApply this scanner to one specific session, on demand. Returns 202 with the workflow handle.

Apply this scanner to one specific session, on demand. Returns 202 with the workflow handle.

认证

需要 Connected Account

Scopes

replay_scanner:writesession_recording:read

Tags

vision
Environments Vision Scanners Partial UpdatePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_PARTIAL_UPDATECRUD for Replay Vision scanners.

CRUD for Replay Vision scanners.

认证

需要 Connected Account

Scopes

replay_scanner:writesession_recording:read

Tags

vision
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.

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.

认证

需要 Connected Account

Scopes

replay_scanner:writesession_recording:read

Tags

vision
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.

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.

认证

需要 Connected Account

Scopes

replay_scanner:readsession_recording:read

Tags

vision
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.

Dismiss this suggestion without applying it. Only the current pending suggestion can be dismissed. Requires session recording edit access.

认证

需要 Connected Account

Scopes

replay_scanner:writesession_recording:read

Tags

vision
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.

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.

认证

需要 Connected Account

Scopes

replay_scanner:writesession_recording:read

Tags

vision
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.

AI prompt-rewrite suggestions for a scanner, generated from the team's thumbs up/down ratings.

认证

需要 Connected Account

Scopes

replay_scanner:readsession_recording:read

Tags

vision
Environments Vision Scanners RetrievePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_RETRIEVECRUD for Replay Vision scanners.

CRUD for Replay Vision scanners.

认证

需要 Connected Account

Scopes

replay_scanner:read

Tags

vision
Environments Vision Scanners Stats RetrievePOSTHOG_ENVIRONMENTS_VISION_SCANNERS_STATS_RETRIEVETeam-wide scanner counts — independent of list filters, so the overview stays stable.

Team-wide scanner counts — independent of list filters, so the overview stays stable.

认证

需要 Connected Account

Scopes

replay_scanner:read

Tags

vision
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.

Suggest classifier tags grounded in the scanner's own observations and the org's product data.

认证

需要 Connected Account

Scopes

replay_scanner:readsession_recording:read

Tags

vision
Environments Warehouse Saved Queries Activity RetrievePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_ACTIVITY_RETRIEVECreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Scopes

activity_log:read

Tags

warehouse_saved_queries
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.

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.

认证

需要 Connected Account

Tags

warehouse_saved_queries
Environments Warehouse Saved Queries Cancel CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_CANCEL_CREATECancel a running saved query workflow.

Cancel a running saved query workflow.

认证

需要 Connected Account

Tags

warehouse_saved_queries
Environments Warehouse Saved Queries CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_CREATECreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_saved_queries
Environments Warehouse Saved Queries Dependencies RetrievePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_DEPENDENCIES_RETRIEVEReturn the count of immediate upstream and downstream dependencies for this saved query.

Return the count of immediate upstream and downstream dependencies for this saved query.

认证

需要 Connected Account

Tags

warehouse_saved_queries
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.

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.

认证

需要 Connected Account

Tags

warehouse_saved_queries
Environments Warehouse Saved Queries DestroyPOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_DESTROYCreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_saved_queries
Environments Warehouse Saved Queries ListPOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_LISTCreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

warehouse_saved_queries
Environments Warehouse Saved Queries Materialize CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_MATERIALIZE_CREATEEnable materialization for this saved query with a 24-hour sync frequency.

Enable materialization for this saved query with a 24-hour sync frequency.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_saved_queries
Environments Warehouse Saved Queries Partial UpdatePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_PARTIAL_UPDATECreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_saved_queries
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.

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.

认证

需要 Connected Account

Tags

warehouse_saved_queries
Environments Warehouse Saved Queries RetrievePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_RETRIEVECreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

warehouse_saved_queries
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)

Undo materialization, revert back to the original view. (i.e. delete the materialized table and the schedule)

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_saved_queries
Environments Warehouse Saved Queries Run CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_RUN_CREATERun this saved query.

Run this saved query.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_saved_queries
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.

Return the recent run history (up to 5 most recent) for this materialized view.

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

warehouse_saved_queries
Environments Warehouse Saved Queries UpdatePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERIES_UPDATECreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_saved_queries
Environments Warehouse Saved Query Folders CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERY_FOLDERS_CREATEEnvironments Warehouse Saved Query Folders Create

Environments Warehouse Saved Query Folders Create

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_saved_query_folders
Environments Warehouse Saved Query Folders DestroyPOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERY_FOLDERS_DESTROYEnvironments Warehouse Saved Query Folders Destroy

Environments Warehouse Saved Query Folders Destroy

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_saved_query_folders
Environments Warehouse Saved Query Folders ListPOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERY_FOLDERS_LISTEnvironments Warehouse Saved Query Folders List

Environments Warehouse Saved Query Folders List

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

warehouse_saved_query_folders
Environments Warehouse Saved Query Folders Partial UpdatePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERY_FOLDERS_PARTIAL_UPDATEEnvironments Warehouse Saved Query Folders Partial Update

Environments Warehouse Saved Query Folders Partial Update

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_saved_query_folders
Environments Warehouse Saved Query Folders RetrievePOSTHOG_ENVIRONMENTS_WAREHOUSE_SAVED_QUERY_FOLDERS_RETRIEVEEnvironments Warehouse Saved Query Folders Retrieve

Environments Warehouse Saved Query Folders Retrieve

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

warehouse_saved_query_folders
Environments Warehouse Tables CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_TABLES_CREATECreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Scopes

warehouse_table:write

Tags

warehouse_tables
Environments Warehouse Tables DestroyPOSTHOG_ENVIRONMENTS_WAREHOUSE_TABLES_DESTROYCreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Scopes

warehouse_table:write

Tags

warehouse_tables
Environments Warehouse Tables File CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_TABLES_FILE_CREATECreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Scopes

warehouse_table:write

Tags

warehouse_tables
Environments Warehouse Tables ListPOSTHOG_ENVIRONMENTS_WAREHOUSE_TABLES_LISTCreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Scopes

warehouse_table:read

Tags

warehouse_tables
Environments Warehouse Tables Partial UpdatePOSTHOG_ENVIRONMENTS_WAREHOUSE_TABLES_PARTIAL_UPDATECreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Scopes

warehouse_table:write

Tags

warehouse_tables
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.

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.

认证

需要 Connected Account

Scopes

warehouse_table:write

Tags

warehouse_tables
Environments Warehouse Tables RetrievePOSTHOG_ENVIRONMENTS_WAREHOUSE_TABLES_RETRIEVECreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Scopes

warehouse_table:read

Tags

warehouse_tables
Environments Warehouse Tables UpdatePOSTHOG_ENVIRONMENTS_WAREHOUSE_TABLES_UPDATECreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Scopes

warehouse_table:write

Tags

warehouse_tables
Environments Warehouse Tables Update Schema CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_TABLES_UPDATE_SCHEMA_CREATECreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Tags

warehouse_tables
Environments Warehouse View Link CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINK_CREATECreate, Read, Update and Delete View Columns.

Create, Read, Update and Delete View Columns.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_view_link
Environments Warehouse View Link DestroyPOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINK_DESTROYCreate, Read, Update and Delete View Columns.

Create, Read, Update and Delete View Columns.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_view_link
Environments Warehouse View Link ListPOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINK_LISTCreate, Read, Update and Delete View Columns.

Create, Read, Update and Delete View Columns.

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

warehouse_view_link
Environments Warehouse View Link Partial UpdatePOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINK_PARTIAL_UPDATECreate, Read, Update and Delete View Columns.

Create, Read, Update and Delete View Columns.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_view_link
Environments Warehouse View Link RetrievePOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINK_RETRIEVECreate, Read, Update and Delete View Columns.

Create, Read, Update and Delete View Columns.

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

warehouse_view_link
Environments Warehouse View Link UpdatePOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINK_UPDATECreate, Read, Update and Delete View Columns.

Create, Read, Update and Delete View Columns.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_view_link
Environments Warehouse View Link Validate CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINK_VALIDATE_CREATECreate, Read, Update and Delete View Columns.

Create, Read, Update and Delete View Columns.

认证

需要 Connected Account

Tags

warehouse_view_link
Environments Warehouse View Links CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINKS_CREATECreate, Read, Update and Delete View Columns.

Create, Read, Update and Delete View Columns.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_view_links
Environments Warehouse View Links DestroyPOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINKS_DESTROYCreate, Read, Update and Delete View Columns.

Create, Read, Update and Delete View Columns.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_view_links
Environments Warehouse View Links ListPOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINKS_LISTCreate, Read, Update and Delete View Columns.

Create, Read, Update and Delete View Columns.

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

warehouse_view_links
Environments Warehouse View Links Partial UpdatePOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINKS_PARTIAL_UPDATECreate, Read, Update and Delete View Columns.

Create, Read, Update and Delete View Columns.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_view_links
Environments Warehouse View Links RetrievePOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINKS_RETRIEVECreate, Read, Update and Delete View Columns.

Create, Read, Update and Delete View Columns.

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

warehouse_view_links
Environments Warehouse View Links UpdatePOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINKS_UPDATECreate, Read, Update and Delete View Columns.

Create, Read, Update and Delete View Columns.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_view_links
Environments Warehouse View Links Validate CreatePOSTHOG_ENVIRONMENTS_WAREHOUSE_VIEW_LINKS_VALIDATE_CREATECreate, Read, Update and Delete View Columns.

Create, Read, Update and Delete View Columns.

认证

需要 Connected Account

Tags

warehouse_view_links
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.

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.

认证

需要 Connected Account

Scopes

web_analytics:read

Tags

web_analyticsweb_analytics
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.

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.

认证

需要 Connected Account

Scopes

web_analytics:read

Tags

web_analyticsweb_analytics
Environments Web Vitals RetrievePOSTHOG_ENVIRONMENTS_WEB_VITALS_RETRIEVEGet web vitals for a specific pathname. Toolbar accesses this via OAuth (handled by TeamAndOrgViewSetMixin.get_authenticators).

Get web vitals for a specific pathname. Toolbar accesses this via OAuth (handled by TeamAndOrgViewSetMixin.get_authenticators).

认证

需要 Connected Account

Scopes

query:read

Tags

web_vitals
Error Tracking Assignment Rules CreatePOSTHOG_ERROR_TRACKING_ASSIGNMENT_RULES_CREATEError Tracking Assignment Rules Create

Error Tracking Assignment Rules Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Assignment Rules DestroyPOSTHOG_ERROR_TRACKING_ASSIGNMENT_RULES_DESTROYError Tracking Assignment Rules Destroy

Error Tracking Assignment Rules Destroy

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Assignment Rules ListPOSTHOG_ERROR_TRACKING_ASSIGNMENT_RULES_LISTError Tracking Assignment Rules List

Error Tracking Assignment Rules List

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Error Tracking Assignment Rules Partial UpdatePOSTHOG_ERROR_TRACKING_ASSIGNMENT_RULES_PARTIAL_UPDATEError Tracking Assignment Rules Partial Update

Error Tracking Assignment Rules Partial Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Assignment Rules Reorder Partial UpdatePOSTHOG_ERROR_TRACKING_ASSIGNMENT_RULES_REORDER_PARTIAL_UPDATEError Tracking Assignment Rules Reorder Partial Update

Error Tracking Assignment Rules Reorder Partial Update

认证

需要 Connected Account

Tags

error_tracking
Error Tracking Assignment Rules RetrievePOSTHOG_ERROR_TRACKING_ASSIGNMENT_RULES_RETRIEVEError Tracking Assignment Rules Retrieve

Error Tracking Assignment Rules Retrieve

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Error Tracking Assignment Rules UpdatePOSTHOG_ERROR_TRACKING_ASSIGNMENT_RULES_UPDATEError Tracking Assignment Rules Update

Error Tracking Assignment Rules Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Bypass Rules CreatePOSTHOG_ERROR_TRACKING_BYPASS_RULES_CREATEError Tracking Bypass Rules Create

Error Tracking Bypass Rules Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Bypass Rules DestroyPOSTHOG_ERROR_TRACKING_BYPASS_RULES_DESTROYError Tracking Bypass Rules Destroy

Error Tracking Bypass Rules Destroy

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Bypass Rules ListPOSTHOG_ERROR_TRACKING_BYPASS_RULES_LISTError Tracking Bypass Rules List

Error Tracking Bypass Rules List

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Error Tracking Bypass Rules Partial UpdatePOSTHOG_ERROR_TRACKING_BYPASS_RULES_PARTIAL_UPDATEError Tracking Bypass Rules Partial Update

Error Tracking Bypass Rules Partial Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Bypass Rules Reorder Partial UpdatePOSTHOG_ERROR_TRACKING_BYPASS_RULES_REORDER_PARTIAL_UPDATEError Tracking Bypass Rules Reorder Partial Update

Error Tracking Bypass Rules Reorder Partial Update

认证

需要 Connected Account

Tags

error_tracking
Error Tracking Bypass Rules RetrievePOSTHOG_ERROR_TRACKING_BYPASS_RULES_RETRIEVEError Tracking Bypass Rules Retrieve

Error Tracking Bypass Rules Retrieve

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Error Tracking Bypass Rules UpdatePOSTHOG_ERROR_TRACKING_BYPASS_RULES_UPDATEError Tracking Bypass Rules Update

Error Tracking Bypass Rules Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking External References CreatePOSTHOG_ERROR_TRACKING_EXTERNAL_REFERENCES_CREATEError Tracking External References Create

Error Tracking External References Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
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 true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking External References ListPOSTHOG_ERROR_TRACKING_EXTERNAL_REFERENCES_LISTError Tracking External References List

Error Tracking External References List

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Error Tracking External References RetrievePOSTHOG_ERROR_TRACKING_EXTERNAL_REFERENCES_RETRIEVEError Tracking External References Retrieve

Error Tracking External References Retrieve

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Error Tracking Fingerprints DestroyPOSTHOG_ERROR_TRACKING_FINGERPRINTS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Tags

error_tracking
Error Tracking Fingerprints ListPOSTHOG_ERROR_TRACKING_FINGERPRINTS_LISTError Tracking Fingerprints List

Error Tracking Fingerprints List

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Error Tracking Fingerprints RetrievePOSTHOG_ERROR_TRACKING_FINGERPRINTS_RETRIEVEError Tracking Fingerprints Retrieve

Error Tracking Fingerprints Retrieve

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
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 Retrieve

Error Tracking Git Provider File Links Resolve Github Retrieve

认证

需要 Connected Account

Tags

error_tracking
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 Retrieve

Error Tracking Git Provider File Links Resolve Gitlab Retrieve

认证

需要 Connected Account

Tags

error_tracking
Error Tracking Grouping Rules CreatePOSTHOG_ERROR_TRACKING_GROUPING_RULES_CREATEError Tracking Grouping Rules Create

Error Tracking Grouping Rules Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Grouping Rules DestroyPOSTHOG_ERROR_TRACKING_GROUPING_RULES_DESTROYError Tracking Grouping Rules Destroy

Error Tracking Grouping Rules Destroy

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Grouping Rules ListPOSTHOG_ERROR_TRACKING_GROUPING_RULES_LISTError Tracking Grouping Rules List

Error Tracking Grouping Rules List

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Error Tracking Grouping Rules Partial UpdatePOSTHOG_ERROR_TRACKING_GROUPING_RULES_PARTIAL_UPDATEError Tracking Grouping Rules Partial Update

Error Tracking Grouping Rules Partial Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Grouping Rules Reorder Partial UpdatePOSTHOG_ERROR_TRACKING_GROUPING_RULES_REORDER_PARTIAL_UPDATEError Tracking Grouping Rules Reorder Partial Update

Error Tracking Grouping Rules Reorder Partial Update

认证

需要 Connected Account

Tags

error_tracking
Error Tracking Grouping Rules RetrievePOSTHOG_ERROR_TRACKING_GROUPING_RULES_RETRIEVEError Tracking Grouping Rules Retrieve

Error Tracking Grouping Rules Retrieve

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Error Tracking Grouping Rules UpdatePOSTHOG_ERROR_TRACKING_GROUPING_RULES_UPDATEError Tracking Grouping Rules Update

Error Tracking Grouping Rules Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Issues Activity RetrievePOSTHOG_ERROR_TRACKING_ISSUES_ACTIVITY_RETRIEVEError Tracking Issues Activity Retrieve

Error Tracking Issues Activity Retrieve

认证

需要 Connected Account

Scopes

activity_log:read

Tags

error_tracking
Error Tracking Issues All Activity RetrievePOSTHOG_ERROR_TRACKING_ISSUES_ALL_ACTIVITY_RETRIEVEError Tracking Issues All Activity Retrieve

Error Tracking Issues All Activity Retrieve

认证

需要 Connected Account

Scopes

activity_log:read

Tags

error_tracking
Error Tracking Issues Assign Partial UpdatePOSTHOG_ERROR_TRACKING_ISSUES_ASSIGN_PARTIAL_UPDATEError Tracking Issues Assign Partial Update

Error Tracking Issues Assign Partial Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Issues Bulk CreatePOSTHOG_ERROR_TRACKING_ISSUES_BULK_CREATEError Tracking Issues Bulk Create

Error Tracking Issues Bulk Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Issues Cohort UpdatePOSTHOG_ERROR_TRACKING_ISSUES_COHORT_UPDATEError Tracking Issues Cohort Update

Error Tracking Issues Cohort Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Issues DestroyPOSTHOG_ERROR_TRACKING_ISSUES_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Issues Exists RetrievePOSTHOG_ERROR_TRACKING_ISSUES_EXISTS_RETRIEVEError Tracking Issues Exists Retrieve

Error Tracking Issues Exists Retrieve

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Error Tracking Issues ListPOSTHOG_ERROR_TRACKING_ISSUES_LISTError Tracking Issues List

Error Tracking Issues List

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Error Tracking Issues Merge CreatePOSTHOG_ERROR_TRACKING_ISSUES_MERGE_CREATEError Tracking Issues Merge Create

Error Tracking Issues Merge Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Issues Partial UpdatePOSTHOG_ERROR_TRACKING_ISSUES_PARTIAL_UPDATEError Tracking Issues Partial Update

Error Tracking Issues Partial Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Issues RetrievePOSTHOG_ERROR_TRACKING_ISSUES_RETRIEVEError Tracking Issues Retrieve

Error Tracking Issues Retrieve

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Error Tracking Issues Split CreatePOSTHOG_ERROR_TRACKING_ISSUES_SPLIT_CREATEError Tracking Issues Split Create

Error Tracking Issues Split Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Issues UpdatePOSTHOG_ERROR_TRACKING_ISSUES_UPDATEError Tracking Issues Update

Error Tracking Issues Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Issues Values RetrievePOSTHOG_ERROR_TRACKING_ISSUES_VALUES_RETRIEVEError Tracking Issues Values Retrieve

Error Tracking Issues Values Retrieve

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
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.

Fetch one error tracking issue with impact counts, top in_app frame, latest release, and optional sparkline.

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
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.

Fetch sampled exception events, stack traces, browser/SDK context, URL, and $session_id values for one issue.

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
List compact error tracking issuesPOSTHOG_ERROR_TRACKING_QUERY_ISSUES_LIST_CREATEList error tracking issues with typed filters and compact aggregate counts.

List error tracking issues with typed filters and compact aggregate counts.

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Error Tracking Recommendations Dismiss CreatePOSTHOG_ERROR_TRACKING_RECOMMENDATIONS_DISMISS_CREATEError Tracking Recommendations Dismiss Create

Error Tracking Recommendations Dismiss Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Recommendations ListPOSTHOG_ERROR_TRACKING_RECOMMENDATIONS_LISTError Tracking Recommendations List

Error Tracking Recommendations List

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Error Tracking Recommendations Refresh CreatePOSTHOG_ERROR_TRACKING_RECOMMENDATIONS_REFRESH_CREATEError Tracking Recommendations Refresh Create

Error Tracking Recommendations Refresh Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Recommendations Restore CreatePOSTHOG_ERROR_TRACKING_RECOMMENDATIONS_RESTORE_CREATEError Tracking Recommendations Restore Create

Error Tracking Recommendations Restore Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Releases CreatePOSTHOG_ERROR_TRACKING_RELEASES_CREATEError Tracking Releases Create

Error Tracking Releases Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Releases DestroyPOSTHOG_ERROR_TRACKING_RELEASES_DESTROYError Tracking Releases Destroy

Error Tracking Releases Destroy

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Releases Hash RetrievePOSTHOG_ERROR_TRACKING_RELEASES_HASH_RETRIEVEError Tracking Releases Hash Retrieve

Error Tracking Releases Hash Retrieve

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Error Tracking Releases ListPOSTHOG_ERROR_TRACKING_RELEASES_LISTError Tracking Releases List

Error Tracking Releases List

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Error Tracking Releases Partial UpdatePOSTHOG_ERROR_TRACKING_RELEASES_PARTIAL_UPDATEError Tracking Releases Partial Update

Error Tracking Releases Partial Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Releases RetrievePOSTHOG_ERROR_TRACKING_RELEASES_RETRIEVEError Tracking Releases Retrieve

Error Tracking Releases Retrieve

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Error Tracking Releases UpdatePOSTHOG_ERROR_TRACKING_RELEASES_UPDATEError Tracking Releases Update

Error Tracking Releases Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Settings Retrieve Settings RetrievePOSTHOG_ERROR_TRACKING_SETTINGS_RETRIEVE_SETTINGS_RETRIEVEError Tracking Settings Retrieve Settings Retrieve

Error Tracking Settings Retrieve Settings Retrieve

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Error Tracking Settings Update Settings Partial UpdatePOSTHOG_ERROR_TRACKING_SETTINGS_UPDATE_SETTINGS_PARTIAL_UPDATEError Tracking Settings Update Settings Partial Update

Error Tracking Settings Update Settings Partial Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Spike Detection Config ListPOSTHOG_ERROR_TRACKING_SPIKE_DETECTION_CONFIG_LISTError Tracking Spike Detection Config List

Error Tracking Spike Detection Config List

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
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 Update

Error Tracking Spike Detection Config Update Config Partial Update

认证

需要 Connected Account

Tags

error_tracking
Error Tracking Spike Events ListPOSTHOG_ERROR_TRACKING_SPIKE_EVENTS_LISTError Tracking Spike Events List

Error Tracking Spike Events List

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Error Tracking Stack Frames Batch Get CreatePOSTHOG_ERROR_TRACKING_STACK_FRAMES_BATCH_GET_CREATEError Tracking Stack Frames Batch Get Create

Error Tracking Stack Frames Batch Get Create

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
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 true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Tags

error_tracking
Error Tracking Stack Frames ListPOSTHOG_ERROR_TRACKING_STACK_FRAMES_LISTError Tracking Stack Frames List

Error Tracking Stack Frames List

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Error Tracking Stack Frames RetrievePOSTHOG_ERROR_TRACKING_STACK_FRAMES_RETRIEVEError Tracking Stack Frames Retrieve

Error Tracking Stack Frames Retrieve

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Error Tracking Suppression Rules CreatePOSTHOG_ERROR_TRACKING_SUPPRESSION_RULES_CREATEError Tracking Suppression Rules Create

Error Tracking Suppression Rules Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Suppression Rules DestroyPOSTHOG_ERROR_TRACKING_SUPPRESSION_RULES_DESTROYError Tracking Suppression Rules Destroy

Error Tracking Suppression Rules Destroy

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Suppression Rules ListPOSTHOG_ERROR_TRACKING_SUPPRESSION_RULES_LISTError Tracking Suppression Rules List

Error Tracking Suppression Rules List

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Error Tracking Suppression Rules Partial UpdatePOSTHOG_ERROR_TRACKING_SUPPRESSION_RULES_PARTIAL_UPDATEError Tracking Suppression Rules Partial Update

Error Tracking Suppression Rules Partial Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Suppression Rules Reorder Partial UpdatePOSTHOG_ERROR_TRACKING_SUPPRESSION_RULES_REORDER_PARTIAL_UPDATEError Tracking Suppression Rules Reorder Partial Update

Error Tracking Suppression Rules Reorder Partial Update

认证

需要 Connected Account

Tags

error_tracking
Error Tracking Suppression Rules RetrievePOSTHOG_ERROR_TRACKING_SUPPRESSION_RULES_RETRIEVEError Tracking Suppression Rules Retrieve

Error Tracking Suppression Rules Retrieve

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Error Tracking Suppression Rules UpdatePOSTHOG_ERROR_TRACKING_SUPPRESSION_RULES_UPDATEError Tracking Suppression Rules Update

Error Tracking Suppression Rules Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Symbol Sets Bulk Delete CreatePOSTHOG_ERROR_TRACKING_SYMBOL_SETS_BULK_DELETE_CREATEError Tracking Symbol Sets Bulk Delete Create

Error Tracking Symbol Sets Bulk Delete Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Symbol Sets Bulk Finish Upload CreatePOSTHOG_ERROR_TRACKING_SYMBOL_SETS_BULK_FINISH_UPLOAD_CREATEError Tracking Symbol Sets Bulk Finish Upload Create

Error Tracking Symbol Sets Bulk Finish Upload Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Symbol Sets Bulk Start Upload CreatePOSTHOG_ERROR_TRACKING_SYMBOL_SETS_BULK_START_UPLOAD_CREATEError Tracking Symbol Sets Bulk Start Upload Create

Error Tracking Symbol Sets Bulk Start Upload Create

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Symbol Sets DestroyPOSTHOG_ERROR_TRACKING_SYMBOL_SETS_DESTROYError Tracking Symbol Sets Destroy

Error Tracking Symbol Sets Destroy

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Symbol Sets Download RetrievePOSTHOG_ERROR_TRACKING_SYMBOL_SETS_DOWNLOAD_RETRIEVEReturn a presigned URL for downloading the symbol set's source map.

Return a presigned URL for downloading the symbol set's source map.

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Error Tracking Symbol Sets Finish Upload UpdatePOSTHOG_ERROR_TRACKING_SYMBOL_SETS_FINISH_UPLOAD_UPDATEError Tracking Symbol Sets Finish Upload Update

Error Tracking Symbol Sets Finish Upload Update

认证

需要 Connected Account

Scopes

error_tracking:write

Tags

error_tracking
Error Tracking Symbol Sets ListPOSTHOG_ERROR_TRACKING_SYMBOL_SETS_LISTError Tracking Symbol Sets List

Error Tracking Symbol Sets List

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
Error Tracking Symbol Sets RetrievePOSTHOG_ERROR_TRACKING_SYMBOL_SETS_RETRIEVEError Tracking Symbol Sets Retrieve

Error Tracking Symbol Sets Retrieve

认证

需要 Connected Account

Scopes

error_tracking:read

Tags

error_tracking
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.

Create a new evaluation run. This endpoint validates the request and enqueues a Temporal workflow to asynchronously execute the evaluation.

认证

需要 Connected Account

Scopes

evaluation:write

Tags

evaluation_runs
Evaluations CreatePOSTHOG_EVALUATIONS_CREATEEvaluations Create

Evaluations Create

认证

需要 Connected Account

Scopes

evaluation:write

Tags

evaluations
Evaluations DestroyPOSTHOG_EVALUATIONS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

evaluation:write

Tags

evaluations
Evaluations ListPOSTHOG_EVALUATIONS_LISTEvaluations List

Evaluations List

认证

需要 Connected Account

Scopes

evaluation:read

Tags

evaluations
Evaluations Partial UpdatePOSTHOG_EVALUATIONS_PARTIAL_UPDATEEvaluations Partial Update

Evaluations Partial Update

认证

需要 Connected Account

Scopes

evaluation:write

Tags

evaluations
Evaluations RetrievePOSTHOG_EVALUATIONS_RETRIEVEEvaluations Retrieve

Evaluations Retrieve

认证

需要 Connected Account

Scopes

evaluation:read

Tags

evaluations
Evaluations Test Hog CreatePOSTHOG_EVALUATIONS_TEST_HOG_CREATETest Hog evaluation code against sample events without saving.

Test Hog evaluation code against sample events without saving.

认证

需要 Connected Account

Scopes

evaluation:read

Tags

evaluations
Evaluations UpdatePOSTHOG_EVALUATIONS_UPDATEEvaluations Update

Evaluations Update

认证

需要 Connected Account

Scopes

evaluation:write

Tags

evaluations
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.

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.

认证

需要 Connected Account

Scopes

event_definition:write

Tags

event_definitions
Event Definitions By Name RetrievePOSTHOG_EVENT_DEFINITIONS_BY_NAME_RETRIEVEGet event definition by exact name

Get event definition by exact name

认证

需要 Connected Account

Scopes

event_definition:read

Tags

event_definitions
Event Definitions CreatePOSTHOG_EVENT_DEFINITIONS_CREATEEvent Definitions Create

Event Definitions Create

认证

需要 Connected Account

Scopes

event_definition:write

Tags

event_definitions
Event Definitions DestroyPOSTHOG_EVENT_DEFINITIONS_DESTROYEvent Definitions Destroy

Event Definitions Destroy

认证

需要 Connected Account

Scopes

event_definition:write

Tags

event_definitions
Event Definitions Golang RetrievePOSTHOG_EVENT_DEFINITIONS_GOLANG_RETRIEVEEvent Definitions Golang Retrieve

Event Definitions Golang Retrieve

认证

需要 Connected Account

Scopes

event_definition:read

Tags

event_definitions
Event Definitions ListPOSTHOG_EVENT_DEFINITIONS_LISTEvent Definitions List

Event Definitions List

认证

需要 Connected Account

Scopes

event_definition:read

Tags

event_definitions
Event Definitions Metrics RetrievePOSTHOG_EVENT_DEFINITIONS_METRICS_RETRIEVEEvent Definitions Metrics Retrieve

Event Definitions Metrics Retrieve

认证

需要 Connected Account

Tags

event_definitions
Event Definitions Partial UpdatePOSTHOG_EVENT_DEFINITIONS_PARTIAL_UPDATEEvent Definitions Partial Update

Event Definitions Partial Update

认证

需要 Connected Account

Scopes

event_definition:write

Tags

event_definitions
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.

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.

认证

需要 Connected Account

Scopes

event_definition:read

Tags

event_definitions
Event Definitions Python RetrievePOSTHOG_EVENT_DEFINITIONS_PYTHON_RETRIEVEEvent Definitions Python Retrieve

Event Definitions Python Retrieve

认证

需要 Connected Account

Scopes

event_definition:read

Tags

event_definitions
Event Definitions RetrievePOSTHOG_EVENT_DEFINITIONS_RETRIEVEEvent Definitions Retrieve

Event Definitions Retrieve

认证

需要 Connected Account

Scopes

event_definition:read

Tags

event_definitions
Event Definitions Typescript RetrievePOSTHOG_EVENT_DEFINITIONS_TYPESCRIPT_RETRIEVEEvent Definitions Typescript Retrieve

Event Definitions Typescript Retrieve

认证

需要 Connected Account

Scopes

event_definition:read

Tags

event_definitions
Event Definitions UpdatePOSTHOG_EVENT_DEFINITIONS_UPDATEEvent Definitions Update

Event Definitions Update

认证

需要 Connected Account

Scopes

event_definition:write

Tags

event_definitions
Event Filter CreatePOSTHOG_EVENT_FILTER_CREATECreate or update the event filter config.

Create or update the event filter config.

认证

需要 Connected Account

Scopes

event_filter:write

Tags

event_filter
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 totals

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

认证

需要 Connected Account

Scopes

event_filter:read

Tags

event_filter
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 totals

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

认证

需要 Connected Account

Scopes

event_filter:read

Tags

event_filter
Event Filter RetrievePOSTHOG_EVENT_FILTER_RETRIEVEReturns the event filter config for the team, or null if not yet created.

Returns the event filter config for the team, or null if not yet created.

认证

需要 Connected Account

Scopes

event_filter:read

Tags

event_filter
Event Schemas CreatePOSTHOG_EVENT_SCHEMAS_CREATEEvent Schemas Create

Event Schemas Create

认证

需要 Connected Account

Scopes

event_definition:write

Tags

event_schemas
Event Schemas DestroyPOSTHOG_EVENT_SCHEMAS_DESTROYEvent Schemas Destroy

Event Schemas Destroy

认证

需要 Connected Account

Scopes

event_definition:write

Tags

event_schemas
Event Schemas ListPOSTHOG_EVENT_SCHEMAS_LISTEvent Schemas List

Event Schemas List

认证

需要 Connected Account

Scopes

event_definition:read

Tags

event_schemas
Event Schemas Partial UpdatePOSTHOG_EVENT_SCHEMAS_PARTIAL_UPDATEEvent Schemas Partial Update

Event Schemas Partial Update

认证

需要 Connected Account

Scopes

event_definition:write

Tags

event_schemas
Event Schemas UpdatePOSTHOG_EVENT_SCHEMAS_UPDATEEvent Schemas Update

Event Schemas Update

认证

需要 Connected Account

Scopes

event_definition:write

Tags

event_schemas
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.

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.

认证

需要 Connected Account

Scopes

query:read

Tags

events
Events RetrievePOSTHOG_EVENTS_RETRIEVEEvents Retrieve

Events Retrieve

认证

需要 Connected Account

Scopes

query:read

Tags

events
Events Values RetrievePOSTHOG_EVENTS_VALUES_RETRIEVEEvents Values Retrieve

Events Values Retrieve

认证

需要 Connected Account

Scopes

query:read

Tags

events
Experiment Holdouts CreatePOSTHOG_EXPERIMENT_HOLDOUTS_CREATEExperiment Holdouts Create

Experiment Holdouts Create

认证

需要 Connected Account

Scopes

experiment_holdout:write

Tags

experiment_holdouts
Experiment Holdouts DestroyPOSTHOG_EXPERIMENT_HOLDOUTS_DESTROYExperiment Holdouts Destroy

Experiment Holdouts Destroy

认证

需要 Connected Account

Scopes

experiment_holdout:write

Tags

experiment_holdouts
Experiment Holdouts ListPOSTHOG_EXPERIMENT_HOLDOUTS_LISTExperiment Holdouts List

Experiment Holdouts List

认证

需要 Connected Account

Scopes

experiment_holdout:read

Tags

experiment_holdouts
Experiment Holdouts Partial UpdatePOSTHOG_EXPERIMENT_HOLDOUTS_PARTIAL_UPDATEExperiment Holdouts Partial Update

Experiment Holdouts Partial Update

认证

需要 Connected Account

Scopes

experiment_holdout:write

Tags

experiment_holdouts
Experiment Holdouts RetrievePOSTHOG_EXPERIMENT_HOLDOUTS_RETRIEVEExperiment Holdouts Retrieve

Experiment Holdouts Retrieve

认证

需要 Connected Account

Scopes

experiment_holdout:read

Tags

experiment_holdouts
Experiment Holdouts UpdatePOSTHOG_EXPERIMENT_HOLDOUTS_UPDATEExperiment Holdouts Update

Experiment Holdouts Update

认证

需要 Connected Account

Scopes

experiment_holdout:write

Tags

experiment_holdouts
Experiment Saved Metrics CreatePOSTHOG_EXPERIMENT_SAVED_METRICS_CREATEExperiment Saved Metrics Create

Experiment Saved Metrics Create

认证

需要 Connected Account

Scopes

experiment_saved_metric:write

Tags

experiment_saved_metrics
Experiment Saved Metrics DestroyPOSTHOG_EXPERIMENT_SAVED_METRICS_DESTROYExperiment Saved Metrics Destroy

Experiment Saved Metrics Destroy

认证

需要 Connected Account

Scopes

experiment_saved_metric:write

Tags

experiment_saved_metrics
Experiment Saved Metrics ListPOSTHOG_EXPERIMENT_SAVED_METRICS_LISTExperiment Saved Metrics List

Experiment Saved Metrics List

认证

需要 Connected Account

Scopes

experiment_saved_metric:read

Tags

experiment_saved_metrics
Experiment Saved Metrics Partial UpdatePOSTHOG_EXPERIMENT_SAVED_METRICS_PARTIAL_UPDATEExperiment Saved Metrics Partial Update

Experiment Saved Metrics Partial Update

认证

需要 Connected Account

Scopes

experiment_saved_metric:write

Tags

experiment_saved_metrics
Experiment Saved Metrics RetrievePOSTHOG_EXPERIMENT_SAVED_METRICS_RETRIEVEExperiment Saved Metrics Retrieve

Experiment Saved Metrics Retrieve

认证

需要 Connected Account

Scopes

experiment_saved_metric:read

Tags

experiment_saved_metrics
Experiment Saved Metrics UpdatePOSTHOG_EXPERIMENT_SAVED_METRICS_UPDATEExperiment Saved Metrics Update

Experiment Saved Metrics Update

认证

需要 Connected Account

Scopes

experiment_saved_metric:write

Tags

experiment_saved_metrics
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.

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.

认证

需要 Connected Account

Scopes

experiment:write

Tags

experiments
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.

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.

认证

需要 Connected Account

Scopes

experiment:read

Tags

experiments
Experiments Copy To Project CreatePOSTHOG_EXPERIMENTS_COPY_TO_PROJECT_CREATECopy an experiment into another project in the same organization as a new draft.

Copy an experiment into another project in the same organization as a new draft.

认证

需要 Connected Account

Scopes

experiment:write

Tags

experiments
Experiments CreatePOSTHOG_EXPERIMENTS_CREATECreate a new experiment in draft status with optional metrics.

Create a new experiment in draft status with optional metrics.

认证

需要 Connected Account

Scopes

experiment:write

Tags

experiments
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.

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.

认证

需要 Connected Account

Scopes

experiment:write

Tags

experiments
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.

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.

认证

需要 Connected Account

Scopes

experiment:writellm_prompt:read

Tags

experiments
Experiments DestroyPOSTHOG_EXPERIMENTS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

experiment:write

Tags

experiments
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.

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.

认证

需要 Connected Account

Scopes

experiment:write

Tags

experiments
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")

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")

认证

需要 Connected Account

Scopes

feature_flag:read

Tags

experiments
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.

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.

认证

需要 Connected Account

Scopes

experiment:write

Tags

experiments
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).

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).

认证

需要 Connected Account

Scopes

experiment:write

Tags

experiments
Experiments ListPOSTHOG_EXPERIMENTS_LISTList experiments for the current project. Supports filtering by status and archival state.

List experiments for the current project. Supports filtering by status and archival state.

认证

需要 Connected Account

Scopes

experiment:read

Tags

experiments
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.

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.

认证

需要 Connected Account

Scopes

experiment:write

Tags

experiments
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.

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.

认证

需要 Connected Account

Scopes

experiment:read

Tags

experiments
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.

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.

认证

需要 Connected Account

Scopes

experiment:read

Tags

experiments
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.

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.

认证

需要 Connected Account

Scopes

experiment:write

Tags

experiments
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.

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.

认证

需要 Connected Account

Scopes

experiment:write

Tags

experiments
Experiments Prompt Templates RetrievePOSTHOG_EXPERIMENTS_PROMPT_TEMPLATES_RETRIEVEList the LLM metric templates that can be passed to `create_from_prompt`.

List the LLM metric templates that can be passed to `create_from_prompt`.

认证

需要 Connected Account

Scopes

experiment:read

Tags

experiments
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.

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.

认证

需要 Connected Account

Scopes

experiment:write

Tags

experiments
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.

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.

认证

需要 Connected Account

Scopes

experiment:read

Tags

experiments
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.

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.

认证

需要 Connected Account

Scopes

experiment:write

Tags

experiments
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.

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.

认证

需要 Connected Account

Scopes

experiment:write

Tags

experiments
Experiments RetrievePOSTHOG_EXPERIMENTS_RETRIEVERetrieve a single experiment by ID, including its current status, metrics, feature flag, and results metadata.

Retrieve a single experiment by ID, including its current status, metrics, feature flag, and results metadata.

认证

需要 Connected Account

Scopes

experiment:read

Tags

experiments
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.

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.

认证

需要 Connected Account

Scopes

experiment:write

Tags

experiments
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.

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.

认证

需要 Connected Account

Scopes

experiment:read

Tags

experiments
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.

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.

认证

需要 Connected Account

Scopes

experiment:read

Tags

experiments
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.

Unarchive an archived experiment. Restores the experiment to the default list view. Returns 400 if the experiment is not currently archived.

认证

需要 Connected Account

Scopes

experiment:write

Tags

experiments
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.

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.

认证

需要 Connected Account

Scopes

experiment:write

Tags

experiments
Exports Content RetrievePOSTHOG_EXPORTS_CONTENT_RETRIEVEExports Content Retrieve

Exports Content Retrieve

认证

需要 Connected Account

Scopes

export:read

Tags

exports
Exports CreatePOSTHOG_EXPORTS_CREATEExports Create

Exports Create

认证

需要 Connected Account

Scopes

export:write

Tags

exports
Exports ListPOSTHOG_EXPORTS_LISTExports List

Exports List

认证

需要 Connected Account

Scopes

export:read

Tags

exports
Exports RetrievePOSTHOG_EXPORTS_RETRIEVEExports Retrieve

Exports Retrieve

认证

需要 Connected Account

Scopes

export:read

Tags

exports
External Data Schemas Cancel CreatePOSTHOG_EXTERNAL_DATA_SCHEMAS_CANCEL_CREATEExternal Data Schemas Cancel Create

External Data Schemas Cancel Create

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_schemas
External Data Schemas CreatePOSTHOG_EXTERNAL_DATA_SCHEMAS_CREATEExternal Data Schemas Create

External Data Schemas Create

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_schemas
External Data Schemas Delete Data DestroyPOSTHOG_EXTERNAL_DATA_SCHEMAS_DELETE_DATA_DESTROYExternal Data Schemas Delete Data Destroy

External Data Schemas Delete Data Destroy

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_schemas
External Data Schemas DestroyPOSTHOG_EXTERNAL_DATA_SCHEMAS_DESTROYExternal Data Schemas Destroy

External Data Schemas Destroy

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_schemas
External Data Schemas Incremental Fields CreatePOSTHOG_EXTERNAL_DATA_SCHEMAS_INCREMENTAL_FIELDS_CREATEExternal Data Schemas Incremental Fields Create

External Data Schemas Incremental Fields Create

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_schemas
External Data Schemas ListPOSTHOG_EXTERNAL_DATA_SCHEMAS_LISTExternal Data Schemas List

External Data Schemas List

认证

需要 Connected Account

Scopes

external_data_source:read

Tags

external_data_schemas
External Data Schemas Logs RetrievePOSTHOG_EXTERNAL_DATA_SCHEMAS_LOGS_RETRIEVEExternal Data Schemas Logs Retrieve

External Data Schemas Logs Retrieve

认证

需要 Connected Account

Scopes

external_data_source:read

Tags

external_data_schemas
External Data Schemas Partial UpdatePOSTHOG_EXTERNAL_DATA_SCHEMAS_PARTIAL_UPDATEExternal Data Schemas Partial Update

External Data Schemas Partial Update

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_schemas
External Data Schemas Reload CreatePOSTHOG_EXTERNAL_DATA_SCHEMAS_RELOAD_CREATEExternal Data Schemas Reload Create

External Data Schemas Reload Create

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_schemas
External Data Schemas Resync CreatePOSTHOG_EXTERNAL_DATA_SCHEMAS_RESYNC_CREATEExternal Data Schemas Resync Create

External Data Schemas Resync Create

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_schemas
External Data Schemas RetrievePOSTHOG_EXTERNAL_DATA_SCHEMAS_RETRIEVEExternal Data Schemas Retrieve

External Data Schemas Retrieve

认证

需要 Connected Account

Scopes

external_data_source:read

Tags

external_data_schemas
External Data Schemas UpdatePOSTHOG_EXTERNAL_DATA_SCHEMAS_UPDATEExternal Data Schemas Update

External Data Schemas Update

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_schemas
External Data Sources Bulk Update Schemas Partial UpdatePOSTHOG_EXTERNAL_DATA_SOURCES_BULK_UPDATE_SCHEMAS_PARTIAL_UPDATECreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Tags

external_data_sources
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.

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.

认证

需要 Connected Account

Scopes

external_data_source:read

Tags

external_data_sources
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.

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.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
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).

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).

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
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.

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.

认证

需要 Connected Account

Scopes

external_data_source:read

Tags

external_data_sources
External Data Sources Connections ListPOSTHOG_EXTERNAL_DATA_SOURCES_CONNECTIONS_LISTCreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:read

Tags

external_data_sources
External Data Sources CreatePOSTHOG_EXTERNAL_DATA_SOURCES_CREATECreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
External Data Sources Create Webhook CreatePOSTHOG_EXTERNAL_DATA_SOURCES_CREATE_WEBHOOK_CREATECreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
External Data Sources Database Schema CreatePOSTHOG_EXTERNAL_DATA_SOURCES_DATABASE_SCHEMA_CREATECreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
External Data Sources Delete Webhook CreatePOSTHOG_EXTERNAL_DATA_SOURCES_DELETE_WEBHOOK_CREATECreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
External Data Sources DestroyPOSTHOG_EXTERNAL_DATA_SOURCES_DESTROYCreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
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.

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.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
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.

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.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
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).

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).

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
External Data Sources Jobs RetrievePOSTHOG_EXTERNAL_DATA_SOURCES_JOBS_RETRIEVECreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:read

Tags

external_data_sources
External Data Sources ListPOSTHOG_EXTERNAL_DATA_SOURCES_LISTCreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:read

Tags

external_data_sources
External Data Sources Partial UpdatePOSTHOG_EXTERNAL_DATA_SOURCES_PARTIAL_UPDATECreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
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`.

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`.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
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).

Fetch current schema/table list from the source and create any new ExternalDataSchema rows (no data sync).

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
External Data Sources Reload CreatePOSTHOG_EXTERNAL_DATA_SOURCES_RELOAD_CREATECreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
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.

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.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
External Data Sources RetrievePOSTHOG_EXTERNAL_DATA_SOURCES_RETRIEVECreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:read

Tags

external_data_sources
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.

Update the revenue analytics configuration and return the full external data source.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
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.

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.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
External Data Sources Source Prefix CreatePOSTHOG_EXTERNAL_DATA_SOURCES_SOURCE_PREFIX_CREATECreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
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.

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.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
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`.

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`.

认证

需要 Connected Account

Scopes

external_data_source:read

Tags

external_data_sources
External Data Sources UpdatePOSTHOG_EXTERNAL_DATA_SOURCES_UPDATECreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
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.

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.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
External Data Sources Update Webhook Inputs CreatePOSTHOG_EXTERNAL_DATA_SOURCES_UPDATE_WEBHOOK_INPUTS_CREATECreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:write

Tags

external_data_sources
External Data Sources Webhook Info RetrievePOSTHOG_EXTERNAL_DATA_SOURCES_WEBHOOK_INFO_RETRIEVECreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:read

Tags

external_data_sources
External Data Sources Wizard RetrievePOSTHOG_EXTERNAL_DATA_SOURCES_WIZARD_RETRIEVECreate, Read, Update and Delete External data Sources.

Create, Read, Update and Delete External data Sources.

认证

需要 Connected Account

Scopes

external_data_source:read

Tags

external_data_sources
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.

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.

认证

需要 Connected Account

Scopes

activity_log:read

Tags

feature_flags
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.

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.

认证

需要 Connected Account

Scopes

activity_log:read

Tags

feature_flags
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.

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.

认证

需要 Connected Account

Scopes

feature_flag:write

Tags

feature_flags
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.

Get feature flag keys by IDs. Accepts a list of feature flag IDs and returns a mapping of ID to key.

认证

需要 Connected Account

Scopes

feature_flag:read

Tags

feature_flags
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 list

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

认证

需要 Connected Account

Scopes

feature_flag:write

Tags

feature_flags
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.

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.

认证

需要 Connected Account

Scopes

feature_flag:write

Tags

feature_flags
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.

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.

认证

需要 Connected Account

Tags

feature_flags
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.

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.

认证

需要 Connected Account

Tags

feature_flags
Feature Flags Dependent Flags ListPOSTHOG_FEATURE_FLAGS_DEPENDENT_FLAGS_LISTGet other active flags that depend on this flag.

Get other active flags that depend on this flag.

认证

需要 Connected Account

Scopes

feature_flag:read

Tags

feature_flags
Feature Flags DestroyPOSTHOG_FEATURE_FLAGS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

feature_flag:write

Tags

feature_flags
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.

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.

认证

需要 Connected Account

Tags

feature_flags
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.

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.

认证

需要 Connected Account

Scopes

feature_flag:read

Tags

feature_flags
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.

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.

认证

需要 Connected Account

Scopes

feature_flag:read

Tags

feature_flags
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.

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.

认证

需要 Connected Account

Scopes

feature_flag:read

Tags

feature_flags
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.

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.

认证

需要 Connected Account

Scopes

feature_flag:read

Tags

feature_flags
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.

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.

认证

需要 Connected Account

Scopes

feature_flag:write

Tags

feature_flags
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.

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.

认证

需要 Connected Account

Scopes

feature_flag:read

Tags

feature_flags
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.

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.

认证

需要 Connected Account

Scopes

feature_flag:read

Tags

feature_flags
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.

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.

认证

需要 Connected Account

Scopes

feature_flag:read

Tags

feature_flags
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.

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.

认证

需要 Connected Account

Scopes

feature_flag:read

Tags

feature_flags
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.

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.

认证

需要 Connected Account

Scopes

feature_flag:write

Tags

feature_flags
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.

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.

认证

需要 Connected Account

Scopes

feature_flag:read

Tags

feature_flags
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.

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.

认证

需要 Connected Account

Scopes

feature_flag:read

Tags

feature_flags
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.

Create, read, update, and resolve toolbar field notes — UI feedback a user points at on their own site, surfaced to coding agents over MCP.

认证

需要 Connected Account

Scopes

field_note:write

Tags

field_notes
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.

Create, read, update, and resolve toolbar field notes — UI feedback a user points at on their own site, surfaced to coding agents over MCP.

认证

需要 Connected Account

Scopes

field_note:write

Tags

field_notes
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.

Create, read, update, and resolve toolbar field notes — UI feedback a user points at on their own site, surfaced to coding agents over MCP.

认证

需要 Connected Account

Scopes

field_note:read

Tags

field_notes
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.

Create, read, update, and resolve toolbar field notes — UI feedback a user points at on their own site, surfaced to coding agents over MCP.

认证

需要 Connected Account

Scopes

field_note:write

Tags

field_notes
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.

Create, read, update, and resolve toolbar field notes — UI feedback a user points at on their own site, surfaced to coding agents over MCP.

认证

需要 Connected Account

Scopes

field_note:read

Tags

field_notes
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.

Create, read, update, and resolve toolbar field notes — UI feedback a user points at on their own site, surfaced to coding agents over MCP.

认证

需要 Connected Account

Scopes

field_note:write

Tags

field_notes
File Download Batch Exports Cancel CreatePOSTHOG_FILE_DOWNLOAD_BATCH_EXPORTS_CANCEL_CREATECancel an ongoing file-download batch export.

Cancel an ongoing file-download batch export.

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsfile_download_batch_exports
File Download Batch Exports CreatePOSTHOG_FILE_DOWNLOAD_BATCH_EXPORTS_CREATECreate and start a batch export on demand run to download a file.

Create and start a batch export on demand run to download a file.

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsfile_download_batch_exports
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.

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.

认证

需要 Connected Account

Scopes

batch_export:read

Tags

batch_exportsfile_download_batch_exports
File Download Batch Exports ListPOSTHOG_FILE_DOWNLOAD_BATCH_EXPORTS_LISTFile Download Batch Exports List

File Download Batch Exports List

认证

需要 Connected Account

Scopes

batch_export:read

Tags

batch_exportsfile_download_batch_exports
File Download Batch Exports Logs RetrievePOSTHOG_FILE_DOWNLOAD_BATCH_EXPORTS_LOGS_RETRIEVEFile Download Batch Exports Logs Retrieve

File Download Batch Exports Logs Retrieve

认证

需要 Connected Account

Tags

batch_exportsfile_download_batch_exports
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.

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.

认证

需要 Connected Account

Scopes

batch_export:read

Tags

batch_exportsfile_download_batch_exports
File System Count By Path CreatePOSTHOG_FILE_SYSTEM_COUNT_BY_PATH_CREATEGet count of all files in a folder.

Get count of all files in a folder.

认证

需要 Connected Account

Scopes

file_system:read

Tags

file_system
File System Count CreatePOSTHOG_FILE_SYSTEM_COUNT_CREATEGet count of all files in a folder.

Get count of all files in a folder.

认证

需要 Connected Account

Scopes

file_system:read

Tags

file_system
File System CreatePOSTHOG_FILE_SYSTEM_CREATEFile System Create

File System Create

认证

需要 Connected Account

Scopes

file_system:write

Tags

file_system
File System DestroyPOSTHOG_FILE_SYSTEM_DESTROYFile System Destroy

File System Destroy

认证

需要 Connected Account

Scopes

file_system:write

Tags

file_system
File System Link CreatePOSTHOG_FILE_SYSTEM_LINK_CREATEFile System Link Create

File System Link Create

认证

需要 Connected Account

Scopes

file_system:write

Tags

file_system
File System ListPOSTHOG_FILE_SYSTEM_LISTFile System List

File System List

认证

需要 Connected Account

Scopes

file_system:read

Tags

file_system
File System Log View CreatePOSTHOG_FILE_SYSTEM_LOG_VIEW_CREATEFile System Log View Create

File System Log View Create

认证

需要 Connected Account

Scopes

file_system:write

Tags

file_system
File System Log View RetrievePOSTHOG_FILE_SYSTEM_LOG_VIEW_RETRIEVEFile System Log View Retrieve

File System Log View Retrieve

认证

需要 Connected Account

Scopes

file_system:write

Tags

file_system
File System Move CreatePOSTHOG_FILE_SYSTEM_MOVE_CREATEFile System Move Create

File System Move Create

认证

需要 Connected Account

Scopes

file_system:write

Tags

file_system
File System Partial UpdatePOSTHOG_FILE_SYSTEM_PARTIAL_UPDATEFile System Partial Update

File System Partial Update

认证

需要 Connected Account

Scopes

file_system:write

Tags

file_system
File System RetrievePOSTHOG_FILE_SYSTEM_RETRIEVEFile System Retrieve

File System Retrieve

认证

需要 Connected Account

Scopes

file_system:read

Tags

file_system
File System Shortcut CreatePOSTHOG_FILE_SYSTEM_SHORTCUT_CREATEFile System Shortcut Create

File System Shortcut Create

认证

需要 Connected Account

Scopes

file_system_shortcut:write

Tags

file_system_shortcut
File System Shortcut DestroyPOSTHOG_FILE_SYSTEM_SHORTCUT_DESTROYFile System Shortcut Destroy

File System Shortcut Destroy

认证

需要 Connected Account

Scopes

file_system_shortcut:write

Tags

file_system_shortcut
File System Shortcut ListPOSTHOG_FILE_SYSTEM_SHORTCUT_LISTFile System Shortcut List

File System Shortcut List

认证

需要 Connected Account

Scopes

file_system_shortcut:read

Tags

file_system_shortcut
File System Shortcut Partial UpdatePOSTHOG_FILE_SYSTEM_SHORTCUT_PARTIAL_UPDATEFile System Shortcut Partial Update

File System Shortcut Partial Update

认证

需要 Connected Account

Scopes

file_system_shortcut:write

Tags

file_system_shortcut
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.

Set the display order of the current user's shortcuts. `ordered_ids` becomes the new top-to-bottom order; any unknown IDs are rejected.

认证

需要 Connected Account

Tags

file_system_shortcut
File System Shortcut RetrievePOSTHOG_FILE_SYSTEM_SHORTCUT_RETRIEVEFile System Shortcut Retrieve

File System Shortcut Retrieve

认证

需要 Connected Account

Scopes

file_system_shortcut:read

Tags

file_system_shortcut
File System Shortcut UpdatePOSTHOG_FILE_SYSTEM_SHORTCUT_UPDATEFile System Shortcut Update

File System Shortcut Update

认证

需要 Connected Account

Scopes

file_system_shortcut:write

Tags

file_system_shortcut
File System Undo Delete CreatePOSTHOG_FILE_SYSTEM_UNDO_DELETE_CREATEFile System Undo Delete Create

File System Undo Delete Create

认证

需要 Connected Account

Scopes

file_system:write

Tags

file_system
File System Unfiled RetrievePOSTHOG_FILE_SYSTEM_UNFILED_RETRIEVEFile System Unfiled Retrieve

File System Unfiled Retrieve

认证

需要 Connected Account

Scopes

file_system:read

Tags

file_system
File System UpdatePOSTHOG_FILE_SYSTEM_UPDATEFile System Update

File System Update

认证

需要 Connected Account

Scopes

file_system:write

Tags

file_system
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 values

Get possible values for a feature flag. Query parameters: - key: The flag ID (required) Returns: - Array of objects with 'name' field containing possible values

认证

需要 Connected Account

Tags

flag_value
Groups Activity RetrievePOSTHOG_GROUPS_ACTIVITY_RETRIEVEGroups Activity Retrieve

Groups Activity Retrieve

认证

需要 Connected Account

Scopes

activity_log:read

Tags

groups
Groups CreatePOSTHOG_GROUPS_CREATEGroups Create

Groups Create

认证

需要 Connected Account

Scopes

group:write

Tags

groups
Groups Delete Property CreatePOSTHOG_GROUPS_DELETE_PROPERTY_CREATEGroups Delete Property Create

Groups Delete Property Create

认证

需要 Connected Account

Scopes

group:write

Tags

groups
Groups Find RetrievePOSTHOG_GROUPS_FIND_RETRIEVEGroups Find Retrieve

Groups Find Retrieve

认证

需要 Connected Account

Scopes

group:read

Tags

groups
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.

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.

认证

需要 Connected Account

Scopes

group:read

Tags

groups
Groups Property Values RetrievePOSTHOG_GROUPS_PROPERTY_VALUES_RETRIEVEGroups Property Values Retrieve

Groups Property Values Retrieve

认证

需要 Connected Account

Scopes

group:read

Tags

groups
Groups Related RetrievePOSTHOG_GROUPS_RELATED_RETRIEVEGroups Related Retrieve

Groups Related Retrieve

认证

需要 Connected Account

Scopes

group:read

Tags

groups
Groups Types Create Detail Dashboard UpdatePOSTHOG_GROUPS_TYPES_CREATE_DETAIL_DASHBOARD_UPDATEGroups Types Create Detail Dashboard Update

Groups Types Create Detail Dashboard Update

认证

需要 Connected Account

Tags

groups_types
Groups Types DestroyPOSTHOG_GROUPS_TYPES_DESTROYGroups Types Destroy

Groups Types Destroy

认证

需要 Connected Account

Scopes

group:write

Tags

groups_types
Groups Types ListPOSTHOG_GROUPS_TYPES_LISTGroups Types List

Groups Types List

认证

需要 Connected Account

Scopes

group:read

Tags

groups_types
Groups Types Metrics CreatePOSTHOG_GROUPS_TYPES_METRICS_CREATEGroups Types Metrics Create

Groups Types Metrics Create

认证

需要 Connected Account

Scopes

usage_metric:write

Tags

groups_types
Groups Types Metrics DestroyPOSTHOG_GROUPS_TYPES_METRICS_DESTROYGroups Types Metrics Destroy

Groups Types Metrics Destroy

认证

需要 Connected Account

Scopes

usage_metric:write

Tags

groups_types
Groups Types Metrics ListPOSTHOG_GROUPS_TYPES_METRICS_LISTGroups Types Metrics List

Groups Types Metrics List

认证

需要 Connected Account

Scopes

usage_metric:read

Tags

groups_types
Groups Types Metrics Partial UpdatePOSTHOG_GROUPS_TYPES_METRICS_PARTIAL_UPDATEGroups Types Metrics Partial Update

Groups Types Metrics Partial Update

认证

需要 Connected Account

Scopes

usage_metric:write

Tags

groups_types
Groups Types Metrics RetrievePOSTHOG_GROUPS_TYPES_METRICS_RETRIEVEGroups Types Metrics Retrieve

Groups Types Metrics Retrieve

认证

需要 Connected Account

Scopes

usage_metric:read

Tags

groups_types
Groups Types Metrics UpdatePOSTHOG_GROUPS_TYPES_METRICS_UPDATEGroups Types Metrics Update

Groups Types Metrics Update

认证

需要 Connected Account

Scopes

usage_metric:write

Tags

groups_types
Groups Types Set Default Columns UpdatePOSTHOG_GROUPS_TYPES_SET_DEFAULT_COLUMNS_UPDATEGroups Types Set Default Columns Update

Groups Types Set Default Columns Update

认证

需要 Connected Account

Tags

groups_types
Groups Types Update Metadata Partial UpdatePOSTHOG_GROUPS_TYPES_UPDATE_METADATA_PARTIAL_UPDATEGroups Types Update Metadata Partial Update

Groups Types Update Metadata Partial Update

认证

需要 Connected Account

Tags

groups_types
Groups Update Property CreatePOSTHOG_GROUPS_UPDATE_PROPERTY_CREATEGroups Update Property Create

Groups Update Property Create

认证

需要 Connected Account

Scopes

group:write

Tags

groups
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.

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.

认证

需要 Connected Account

Scopes

health_issue:read

Tags

health_issues
Health Issues Partial UpdatePOSTHOG_HEALTH_ISSUES_PARTIAL_UPDATEHealth Issues Partial Update

Health Issues Partial Update

认证

需要 Connected Account

Scopes

health_issue:write

Tags

health_issues
Health Issues Refresh CreatePOSTHOG_HEALTH_ISSUES_REFRESH_CREATEHealth Issues Refresh Create

Health Issues Refresh Create

认证

需要 Connected Account

Scopes

health_issue:write

Tags

health_issues
Health Issues Resolve CreatePOSTHOG_HEALTH_ISSUES_RESOLVE_CREATEHealth Issues Resolve Create

Health Issues Resolve Create

认证

需要 Connected Account

Tags

health_issues
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.

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.

认证

需要 Connected Account

Scopes

health_issue:read

Tags

health_issues
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.

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.

认证

需要 Connected Account

Scopes

health_issue:read

Tags

health_issues
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.

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.

认证

需要 Connected Account

Scopes

heatmap:read

Tags

heatmap_screenshots
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.

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.

认证

需要 Connected Account

Scopes

heatmap:read

Tags

heatmaps
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).

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).

认证

需要 Connected Account

Scopes

heatmap:read

Tags

heatmaps
Hog Flows Asset Content RetrievePOSTHOG_HOG_FLOWS_ASSET_CONTENT_RETRIEVEHog Flows Asset Content Retrieve

Hog Flows Asset Content Retrieve

认证

需要 Connected Account

Scopes

hog_flow:readperson:read

Tags

hog_flows
Hog Flows Assets RetrievePOSTHOG_HOG_FLOWS_ASSETS_RETRIEVEHog Flows Assets Retrieve

Hog Flows Assets Retrieve

认证

需要 Connected Account

Scopes

hog_flow:readperson:read

Tags

hog_flows
Hog Flows Batch Jobs CreatePOSTHOG_HOG_FLOWS_BATCH_JOBS_CREATEHog Flows Batch Jobs Create

Hog Flows Batch Jobs Create

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

hog_flows
Hog Flows Batch Jobs ListPOSTHOG_HOG_FLOWS_BATCH_JOBS_LISTHog Flows Batch Jobs List

Hog Flows Batch Jobs List

认证

需要 Connected Account

Scopes

hog_flow:read

Tags

hog_flows
Hog Flows Bulk Delete CreatePOSTHOG_HOG_FLOWS_BULK_DELETE_CREATEHog Flows Bulk Delete Create

Hog Flows Bulk Delete Create

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

hog_flows
Hog Flows CreatePOSTHOG_HOG_FLOWS_CREATEHog Flows Create

Hog Flows Create

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

hog_flows
Hog Flows DestroyPOSTHOG_HOG_FLOWS_DESTROYHog Flows Destroy

Hog Flows Destroy

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

hog_flows
Hog Flows Graph Partial UpdatePOSTHOG_HOG_FLOWS_GRAPH_PARTIAL_UPDATEHog Flows Graph Partial Update

Hog Flows Graph Partial Update

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

hog_flows
Hog Flows Invocation Result RetrievePOSTHOG_HOG_FLOWS_INVOCATION_RESULT_RETRIEVEHog Flows Invocation Result Retrieve

Hog Flows Invocation Result Retrieve

认证

需要 Connected Account

Scopes

hog_flow:readperson:read

Tags

hog_flows
Hog Flows Invocation Results RetrievePOSTHOG_HOG_FLOWS_INVOCATION_RESULTS_RETRIEVEHog Flows Invocation Results Retrieve

Hog Flows Invocation Results Retrieve

认证

需要 Connected Account

Scopes

hog_flow:readperson:read

Tags

hog_flows
Hog Flows Invocations CreatePOSTHOG_HOG_FLOWS_INVOCATIONS_CREATEHog Flows Invocations Create

Hog Flows Invocations Create

认证

需要 Connected Account

Scopes

hog_flow:writegroup:read

Tags

hog_flows
Hog Flows ListPOSTHOG_HOG_FLOWS_LISTHog Flows List

Hog Flows List

认证

需要 Connected Account

Scopes

hog_flow:read

Tags

hog_flows
Hog Flows Logs RetrievePOSTHOG_HOG_FLOWS_LOGS_RETRIEVEHog Flows Logs Retrieve

Hog Flows Logs Retrieve

认证

需要 Connected Account

Scopes

hog_flow:read

Tags

hog_flows
Hog Flows Metrics Global RetrievePOSTHOG_HOG_FLOWS_METRICS_GLOBAL_RETRIEVEHog Flows Metrics Global Retrieve

Hog Flows Metrics Global Retrieve

认证

需要 Connected Account

Scopes

hog_flow:read

Tags

hog_flows
Hog Flows Metrics RetrievePOSTHOG_HOG_FLOWS_METRICS_RETRIEVEHog Flows Metrics Retrieve

Hog Flows Metrics Retrieve

认证

需要 Connected Account

Scopes

hog_flow:read

Tags

hog_flows
Hog Flows Metrics Totals RetrievePOSTHOG_HOG_FLOWS_METRICS_TOTALS_RETRIEVEHog Flows Metrics Totals Retrieve

Hog Flows Metrics Totals Retrieve

认证

需要 Connected Account

Scopes

hog_flow:read

Tags

hog_flows
Hog Flows Partial UpdatePOSTHOG_HOG_FLOWS_PARTIAL_UPDATEHog Flows Partial Update

Hog Flows Partial Update

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

hog_flows
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`.

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`.

认证

需要 Connected Account

Scopes

hog_flow:writeperson:readgroup:read

Tags

hog_flows
Hog Flows RetrievePOSTHOG_HOG_FLOWS_RETRIEVEHog Flows Retrieve

Hog Flows Retrieve

认证

需要 Connected Account

Scopes

hog_flow:read

Tags

hog_flows
Hog Flows Schedules CreatePOSTHOG_HOG_FLOWS_SCHEDULES_CREATEHog Flows Schedules Create

Hog Flows Schedules Create

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

hog_flows
Hog Flows Schedules DestroyPOSTHOG_HOG_FLOWS_SCHEDULES_DESTROYHog Flows Schedules Destroy

Hog Flows Schedules Destroy

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

hog_flows
Hog Flows Schedules ListPOSTHOG_HOG_FLOWS_SCHEDULES_LISTHog Flows Schedules List

Hog Flows Schedules List

认证

需要 Connected Account

Scopes

hog_flow:read

Tags

hog_flows
Hog Flows Schedules Partial UpdatePOSTHOG_HOG_FLOWS_SCHEDULES_PARTIAL_UPDATEHog Flows Schedules Partial Update

Hog Flows Schedules Partial Update

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

hog_flows
Hog Flows UpdatePOSTHOG_HOG_FLOWS_UPDATEHog Flows Update

Hog Flows Update

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

hog_flows
Hog Flows User Blast Radius CreatePOSTHOG_HOG_FLOWS_USER_BLAST_RADIUS_CREATEHog Flows User Blast Radius Create

Hog Flows User Blast Radius Create

认证

需要 Connected Account

Scopes

hog_flow:readperson:read

Tags

hog_flows
Hog Function Templates ListPOSTHOG_HOG_FUNCTION_TEMPLATES_LISTHog Function Templates List

Hog Function Templates List

认证

需要 Connected Account

Scopes

hog_function:read

Tags

hog_function_templateshog_function_templates
Hog Function Templates RetrievePOSTHOG_HOG_FUNCTION_TEMPLATES_RETRIEVEHog Function Templates Retrieve

Hog Function Templates Retrieve

认证

需要 Connected Account

Scopes

hog_function:read

Tags

hog_function_templateshog_function_templates
Hog Functions CreatePOSTHOG_HOG_FUNCTIONS_CREATEHog Functions Create

Hog Functions Create

认证

需要 Connected Account

Scopes

hog_function:write

Tags

hog_functionshog_functions
Hog Functions DestroyPOSTHOG_HOG_FUNCTIONS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Tags

hog_functionshog_functions
Hog Functions Enable Backfills CreatePOSTHOG_HOG_FUNCTIONS_ENABLE_BACKFILLS_CREATEHog Functions Enable Backfills Create

Hog Functions Enable Backfills Create

认证

需要 Connected Account

Tags

hog_functionshog_functions
Hog Functions Icon RetrievePOSTHOG_HOG_FUNCTIONS_ICON_RETRIEVEHog Functions Icon Retrieve

Hog Functions Icon Retrieve

认证

需要 Connected Account

Tags

hog_functionshog_functions
Hog Functions Icons RetrievePOSTHOG_HOG_FUNCTIONS_ICONS_RETRIEVEHog Functions Icons Retrieve

Hog Functions Icons Retrieve

认证

需要 Connected Account

Tags

hog_functionshog_functions
Hog Functions Invocations CreatePOSTHOG_HOG_FUNCTIONS_INVOCATIONS_CREATEHog Functions Invocations Create

Hog Functions Invocations Create

认证

需要 Connected Account

Scopes

hog_function:write

Tags

hog_functionshog_functions
Hog Functions ListPOSTHOG_HOG_FUNCTIONS_LISTHog Functions List

Hog Functions List

认证

需要 Connected Account

Scopes

hog_function:read

Tags

hog_functionshog_functions
Hog Functions Logs RetrievePOSTHOG_HOG_FUNCTIONS_LOGS_RETRIEVEHog Functions Logs Retrieve

Hog Functions Logs Retrieve

认证

需要 Connected Account

Scopes

hog_function:read

Tags

hog_functionshog_functions
Hog Functions Metrics RetrievePOSTHOG_HOG_FUNCTIONS_METRICS_RETRIEVEHog Functions Metrics Retrieve

Hog Functions Metrics Retrieve

认证

需要 Connected Account

Scopes

hog_function:read

Tags

hog_functionshog_functions
Hog Functions Metrics Totals RetrievePOSTHOG_HOG_FUNCTIONS_METRICS_TOTALS_RETRIEVEHog Functions Metrics Totals Retrieve

Hog Functions Metrics Totals Retrieve

认证

需要 Connected Account

Scopes

hog_function:read

Tags

hog_functionshog_functions
Hog Functions Partial UpdatePOSTHOG_HOG_FUNCTIONS_PARTIAL_UPDATEHog Functions Partial Update

Hog Functions Partial Update

认证

需要 Connected Account

Scopes

hog_function:write

Tags

hog_functionshog_functions
Hog Functions Rearrange Partial UpdatePOSTHOG_HOG_FUNCTIONS_REARRANGE_PARTIAL_UPDATEUpdate the execution order of multiple HogFunctions.

Update the execution order of multiple HogFunctions.

认证

需要 Connected Account

Scopes

hog_function:write

Tags

hog_functionshog_functions
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`.

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`.

认证

需要 Connected Account

Scopes

hog_function:writeperson:readgroup:read

Tags

hog_functionshog_functions
Hog Functions RetrievePOSTHOG_HOG_FUNCTIONS_RETRIEVEHog Functions Retrieve

Hog Functions Retrieve

认证

需要 Connected Account

Scopes

hog_function:read

Tags

hog_functionshog_functions
Hog Functions UpdatePOSTHOG_HOG_FUNCTIONS_UPDATEHog Functions Update

Hog Functions Update

认证

需要 Connected Account

Scopes

hog_function:write

Tags

hog_functionshog_functions
Identity Provider Configs CreatePOSTHOG_IDENTITY_PROVIDER_CONFIGS_CREATEIdentity Provider Configs Create

Identity Provider Configs Create

认证

需要 Connected Account

Scopes

organization:write

Tags

organizationsidentity_provider_configs
Identity Provider Configs DestroyPOSTHOG_IDENTITY_PROVIDER_CONFIGS_DESTROYIdentity Provider Configs Destroy

Identity Provider Configs Destroy

认证

需要 Connected Account

Scopes

organization:write

Tags

organizationsidentity_provider_configs
Identity Provider Configs ListPOSTHOG_IDENTITY_PROVIDER_CONFIGS_LISTIdentity Provider Configs List

Identity Provider Configs List

认证

需要 Connected Account

Scopes

organization:read

Tags

organizationsidentity_provider_configs
Identity Provider Configs Partial UpdatePOSTHOG_IDENTITY_PROVIDER_CONFIGS_PARTIAL_UPDATEIdentity Provider Configs Partial Update

Identity Provider Configs Partial Update

认证

需要 Connected Account

Scopes

organization:write

Tags

organizationsidentity_provider_configs
Identity Provider Configs RetrievePOSTHOG_IDENTITY_PROVIDER_CONFIGS_RETRIEVEIdentity Provider Configs Retrieve

Identity Provider Configs Retrieve

认证

需要 Connected Account

Scopes

organization:read

Tags

organizationsidentity_provider_configs
Identity Provider Configs Scim Token CreatePOSTHOG_IDENTITY_PROVIDER_CONFIGS_SCIM_TOKEN_CREATERegenerate the SCIM bearer token for this IdP config.

Regenerate the SCIM bearer token for this IdP config.

认证

需要 Connected Account

Tags

organizationsidentity_provider_configs
Identity Provider Configs UpdatePOSTHOG_IDENTITY_PROVIDER_CONFIGS_UPDATEIdentity Provider Configs Update

Identity Provider Configs Update

认证

需要 Connected Account

Scopes

organization:write

Tags

organizationsidentity_provider_configs
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.

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.

认证

需要 Connected Account

Scopes

ingestion_warning:read

Tags

ingestion_warnings_v2
Insight Variables CreatePOSTHOG_INSIGHT_VARIABLES_CREATEInsight Variables Create

Insight Variables Create

认证

需要 Connected Account

Scopes

insight_variable:write

Tags

insight_variables
Insight Variables DestroyPOSTHOG_INSIGHT_VARIABLES_DESTROYInsight Variables Destroy

Insight Variables Destroy

认证

需要 Connected Account

Scopes

insight_variable:write

Tags

insight_variables
Insight Variables ListPOSTHOG_INSIGHT_VARIABLES_LISTInsight Variables List

Insight Variables List

认证

需要 Connected Account

Scopes

insight_variable:read

Tags

insight_variables
Insight Variables Partial UpdatePOSTHOG_INSIGHT_VARIABLES_PARTIAL_UPDATEInsight Variables Partial Update

Insight Variables Partial Update

认证

需要 Connected Account

Scopes

insight_variable:write

Tags

insight_variables
Insight Variables RetrievePOSTHOG_INSIGHT_VARIABLES_RETRIEVEInsight Variables Retrieve

Insight Variables Retrieve

认证

需要 Connected Account

Scopes

insight_variable:read

Tags

insight_variables
Insight Variables UpdatePOSTHOG_INSIGHT_VARIABLES_UPDATEInsight Variables Update

Insight Variables Update

认证

需要 Connected Account

Scopes

insight_variable:write

Tags

insight_variables
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.

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.

认证

需要 Connected Account

Scopes

activity_log:read

Tags

insights
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.

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.

认证

需要 Connected Account

Scopes

activity_log:read

Tags

insights
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.

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.

认证

需要 Connected Account

Tags

insights
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.

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.

认证

需要 Connected Account

Scopes

insight:write

Tags

insights
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`.

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`.

认证

需要 Connected Account

Scopes

insight:write

Tags

insights
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 list

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

认证

需要 Connected Account

Tags

insights
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.

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.

认证

需要 Connected Account

Tags

insights
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.

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.

认证

需要 Connected Account

Scopes

insight:write

Tags

insights
Insights DestroyPOSTHOG_INSIGHTS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

insight:write

Tags

insights
Insights Generate Metadata CreatePOSTHOG_INSIGHTS_GENERATE_METADATA_CREATEGenerate an AI-suggested name and description for an insight based on its query configuration.

Generate an AI-suggested name and description for an insight based on its query configuration.

认证

需要 Connected Account

Scopes

insight:write

Tags

insights
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.

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.

认证

需要 Connected Account

Scopes

insight:read

Tags

insights
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.

Returns basic details about the last 5 insights viewed by this user. Most recently viewed first.

认证

需要 Connected Account

Tags

insights
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.

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.

认证

需要 Connected Account

Scopes

insight:write

Tags

insights
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.

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.

认证

需要 Connected Account

Scopes

insight:read

Tags

insights
Insights Sharing ListPOSTHOG_INSIGHTS_SHARING_LISTInsights Sharing List

Insights Sharing List

认证

需要 Connected Account

Scopes

sharing_configuration:read

Tags

insights
Insights Sharing Passwords CreatePOSTHOG_INSIGHTS_SHARING_PASSWORDS_CREATECreate a new password for the sharing configuration.

Create a new password for the sharing configuration.

认证

需要 Connected Account

Scopes

sharing_configuration:write

Tags

insights
Insights Sharing Passwords DestroyPOSTHOG_INSIGHTS_SHARING_PASSWORDS_DESTROYDelete a password from the sharing configuration.

Delete a password from the sharing configuration.

认证

需要 Connected Account

Scopes

sharing_configuration:write

Tags

insights
Insights Sharing Refresh CreatePOSTHOG_INSIGHTS_SHARING_REFRESH_CREATEInsights Sharing Refresh Create

Insights Sharing Refresh Create

认证

需要 Connected Account

Scopes

sharing_configuration:write

Tags

insights
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.

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.

认证

需要 Connected Account

Tags

insights
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.

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.

认证

需要 Connected Account

Tags

insights
Insights Thresholds ListPOSTHOG_INSIGHTS_THRESHOLDS_LISTInsights Thresholds List

Insights Thresholds List

认证

需要 Connected Account

Scopes

alert:read

Tags

insights
Insights Thresholds RetrievePOSTHOG_INSIGHTS_THRESHOLDS_RETRIEVEInsights Thresholds Retrieve

Insights Thresholds Retrieve

认证

需要 Connected Account

Scopes

alert:read

Tags

insights
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.

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.

认证

需要 Connected Account

Scopes

insight:read

Tags

insights
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.

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.

认证

需要 Connected Account

Scopes

insight:write

Tags

insights
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.

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.

认证

需要 Connected Account

Scopes

insight:read

Tags

insights
Integrations Anthropic Managed Agent Envs RetrievePOSTHOG_INTEGRATIONS_ANTHROPIC_MANAGED_AGENT_ENVS_RETRIEVEIntegrations Anthropic Managed Agent Envs Retrieve

Integrations Anthropic Managed Agent Envs Retrieve

认证

需要 Connected Account

Scopes

integration:read

Tags

integrations
Integrations Anthropic Managed Agent Vaults RetrievePOSTHOG_INTEGRATIONS_ANTHROPIC_MANAGED_AGENT_VAULTS_RETRIEVEIntegrations Anthropic Managed Agent Vaults Retrieve

Integrations Anthropic Managed Agent Vaults Retrieve

认证

需要 Connected Account

Scopes

integration:read

Tags

integrations
Integrations Anthropic Managed Agents RetrievePOSTHOG_INTEGRATIONS_ANTHROPIC_MANAGED_AGENTS_RETRIEVEIntegrations Anthropic Managed Agents Retrieve

Integrations Anthropic Managed Agents Retrieve

认证

需要 Connected Account

Scopes

integration:read

Tags

integrations
Integrations Authorize RetrievePOSTHOG_INTEGRATIONS_AUTHORIZE_RETRIEVEIntegrations Authorize Retrieve

Integrations Authorize Retrieve

认证

需要 Connected Account

Tags

integrations
Integrations Channels RetrievePOSTHOG_INTEGRATIONS_CHANNELS_RETRIEVEIntegrations Channels Retrieve

Integrations Channels Retrieve

认证

需要 Connected Account

Scopes

integration:read

Tags

integrations
Integrations Clickup Lists RetrievePOSTHOG_INTEGRATIONS_CLICKUP_LISTS_RETRIEVEIntegrations Clickup Lists Retrieve

Integrations Clickup Lists Retrieve

认证

需要 Connected Account

Tags

integrations
Integrations Clickup Spaces RetrievePOSTHOG_INTEGRATIONS_CLICKUP_SPACES_RETRIEVEIntegrations Clickup Spaces Retrieve

Integrations Clickup Spaces Retrieve

认证

需要 Connected Account

Tags

integrations
Integrations Clickup Workspaces RetrievePOSTHOG_INTEGRATIONS_CLICKUP_WORKSPACES_RETRIEVEIntegrations Clickup Workspaces Retrieve

Integrations Clickup Workspaces Retrieve

认证

需要 Connected Account

Tags

integrations
Integrations CreatePOSTHOG_INTEGRATIONS_CREATEIntegrations Create

Integrations Create

认证

需要 Connected Account

Scopes

integration:write

Tags

integrations
Integrations DestroyPOSTHOG_INTEGRATIONS_DESTROYIntegrations Destroy

Integrations Destroy

认证

需要 Connected Account

Scopes

integration:write

Tags

integrations
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.

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.

认证

需要 Connected Account

Tags

integrations
Integrations Domain Connect Check RetrievePOSTHOG_INTEGRATIONS_DOMAIN_CONNECT_CHECK_RETRIEVEIntegrations Domain Connect Check Retrieve

Integrations Domain Connect Check Retrieve

认证

需要 Connected Account

Tags

integrations
Integrations Email Partial UpdatePOSTHOG_INTEGRATIONS_EMAIL_PARTIAL_UPDATEIntegrations Email Partial Update

Integrations Email Partial Update

认证

需要 Connected Account

Tags

integrations
Integrations Email Verify CreatePOSTHOG_INTEGRATIONS_EMAIL_VERIFY_CREATEIntegrations Email Verify Create

Integrations Email Verify Create

认证

需要 Connected Account

Tags

integrations
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.

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.

认证

需要 Connected Account

Tags

organizationsintegrations
Integrations Github Branches RetrievePOSTHOG_INTEGRATIONS_GITHUB_BRANCHES_RETRIEVEIntegrations Github Branches Retrieve

Integrations Github Branches Retrieve

认证

需要 Connected Account

Scopes

integration:read

Tags

integrations
Integrations Github Link Existing CreatePOSTHOG_INTEGRATIONS_GITHUB_LINK_EXISTING_CREATEReuse a GitHub installation already linked to a sibling team in the same organization.

Reuse a GitHub installation already linked to a sibling team in the same organization.

认证

需要 Connected Account

Scopes

integration:write

Tags

integrations
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.

Mint a User OAuth URL to bootstrap a fresh `code` when the install flow returns without one.

认证

需要 Connected Account

Scopes

integration:write

Tags

integrations
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.

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.

认证

需要 Connected Account

Scopes

integration:write

Tags

integrations
Integrations Github Repos Refresh CreatePOSTHOG_INTEGRATIONS_GITHUB_REPOS_REFRESH_CREATEIntegrations Github Repos Refresh Create

Integrations Github Repos Refresh Create

认证

需要 Connected Account

Scopes

integration:write

Tags

integrations
Integrations Github Repos RetrievePOSTHOG_INTEGRATIONS_GITHUB_REPOS_RETRIEVEIntegrations Github Repos Retrieve

Integrations Github Repos Retrieve

认证

需要 Connected Account

Scopes

integration:read

Tags

integrations
Integrations Github Teams RetrievePOSTHOG_INTEGRATIONS_GITHUB_TEAMS_RETRIEVEIntegrations Github Teams Retrieve

Integrations Github Teams Retrieve

认证

需要 Connected Account

Scopes

integration:read

Tags

integrations
Integrations Google Accessible Accounts RetrievePOSTHOG_INTEGRATIONS_GOOGLE_ACCESSIBLE_ACCOUNTS_RETRIEVEIntegrations Google Accessible Accounts Retrieve

Integrations Google Accessible Accounts Retrieve

认证

需要 Connected Account

Tags

integrations
Integrations Google Conversion Actions RetrievePOSTHOG_INTEGRATIONS_GOOGLE_CONVERSION_ACTIONS_RETRIEVEIntegrations Google Conversion Actions Retrieve

Integrations Google Conversion Actions Retrieve

认证

需要 Connected Account

Tags

integrations
Integrations Google Search Console Sites RetrievePOSTHOG_INTEGRATIONS_GOOGLE_SEARCH_CONSOLE_SITES_RETRIEVEList the Search Console properties the connected Google account has access to.

List the Search Console properties the connected Google account has access to.

认证

需要 Connected Account

Scopes

integration:write

Tags

integrations
Integrations Jira Projects RetrievePOSTHOG_INTEGRATIONS_JIRA_PROJECTS_RETRIEVEIntegrations Jira Projects Retrieve

Integrations Jira Projects Retrieve

认证

需要 Connected Account

Scopes

integration:read

Tags

integrations
Integrations Linear Teams RetrievePOSTHOG_INTEGRATIONS_LINEAR_TEAMS_RETRIEVEIntegrations Linear Teams Retrieve

Integrations Linear Teams Retrieve

认证

需要 Connected Account

Scopes

integration:read

Tags

integrations
Integrations Linkedin Ads Accounts RetrievePOSTHOG_INTEGRATIONS_LINKEDIN_ADS_ACCOUNTS_RETRIEVEIntegrations Linkedin Ads Accounts Retrieve

Integrations Linkedin Ads Accounts Retrieve

认证

需要 Connected Account

Tags

integrations
Integrations Linkedin Ads Conversion Rules RetrievePOSTHOG_INTEGRATIONS_LINKEDIN_ADS_CONVERSION_RULES_RETRIEVEIntegrations Linkedin Ads Conversion Rules Retrieve

Integrations Linkedin Ads Conversion Rules Retrieve

认证

需要 Connected Account

Tags

integrations
Integrations ListPOSTHOG_INTEGRATIONS_LISTIntegrations List

Integrations List

认证

需要 Connected Account

Scopes

integration:read

Tags

integrations
Integrations Request Access CreatePOSTHOG_INTEGRATIONS_REQUEST_ACCESS_CREATENotify project admins that a member is requesting an integration be connected.

Notify project admins that a member is requesting an integration be connected.

认证

需要 Connected Account

Scopes

integration:write

Tags

integrations
Integrations RetrievePOSTHOG_INTEGRATIONS_RETRIEVEIntegrations Retrieve

Integrations Retrieve

认证

需要 Connected Account

Scopes

integration:read

Tags

integrations
Integrations Twilio Phone Numbers RetrievePOSTHOG_INTEGRATIONS_TWILIO_PHONE_NUMBERS_RETRIEVEIntegrations Twilio Phone Numbers Retrieve

Integrations Twilio Phone Numbers Retrieve

认证

需要 Connected Account

Tags

integrations
Invites Bulk CreatePOSTHOG_INVITES_BULK_CREATEInvites Bulk Create

Invites Bulk Create

认证

需要 Connected Account

Scopes

organization_member:write

Tags

organizationsinvites
Invites CreatePOSTHOG_INVITES_CREATEInvites Create

Invites Create

认证

需要 Connected Account

Scopes

organization_member:write

Tags

organizationsinvites
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.

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.

认证

需要 Connected Account

Scopes

organization_member:write

Tags

organizationsinvites
Invites DestroyPOSTHOG_INVITES_DESTROYInvites Destroy

Invites Destroy

认证

需要 Connected Account

Scopes

organization_member:write

Tags

organizationsinvites
Invites ListPOSTHOG_INVITES_LISTInvites List

Invites List

认证

需要 Connected Account

Scopes

organization_member:read

Tags

organizationsinvites
Js Snippet Resolve RetrievePOSTHOG_JS_SNIPPET_RESOLVE_RETRIEVEPreview what a given pin would resolve to, without saving it.

Preview what a given pin would resolve to, without saving it.

认证

需要 Connected Account

Tags

js-snippet
Js Snippet Version Partial UpdatePOSTHOG_JS_SNIPPET_VERSION_PARTIAL_UPDATEUpdate the team's version pin.

Update the team's version pin.

认证

需要 Connected Account

Tags

js-snippet
Js Snippet Version RetrievePOSTHOG_JS_SNIPPET_VERSION_RETRIEVEReturn the team's current version pin and resolved version.

Return the team's current version pin and resolved version.

认证

需要 Connected Account

Tags

js-snippet
Legal Documents CreatePOSTHOG_LEGAL_DOCUMENTS_CREATELegal Documents Create

Legal Documents Create

认证

需要 Connected Account

Scopes

legal_document:write

Tags

organizationslegal_documents
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).

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).

认证

需要 Connected Account

Scopes

legal_document:write

Tags

organizationslegal_documents
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.

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.

认证

需要 Connected Account

Tags

organizationslegal_documents
Legal Documents ListPOSTHOG_LEGAL_DOCUMENTS_LISTLegal Documents List

Legal Documents List

认证

需要 Connected Account

Scopes

legal_document:read

Tags

organizationslegal_documents
Legal Documents RetrievePOSTHOG_LEGAL_DOCUMENTS_RETRIEVELegal Documents Retrieve

Legal Documents Retrieve

认证

需要 Connected Account

Scopes

legal_document:read

Tags

organizationslegal_documents
ListPOSTHOG_LISTList

List

认证

需要 Connected Account

Scopes

organization:read

Tags

organizationsorganizations
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 Key

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

认证

需要 Connected Account

Scopes

live_debugger:read

Tags

live_debugger_breakpoints
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.

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.

认证

需要 Connected Account

Scopes

live_debugger:read

Tags

live_debugger_breakpoints
Live Debugger Breakpoints CreatePOSTHOG_LIVE_DEBUGGER_BREAKPOINTS_CREATECreate, Read, Update and Delete breakpoints for live debugging.

Create, Read, Update and Delete breakpoints for live debugging.

认证

需要 Connected Account

Scopes

live_debugger:write

Tags

live_debugger_breakpoints
Live Debugger Breakpoints DestroyPOSTHOG_LIVE_DEBUGGER_BREAKPOINTS_DESTROYCreate, Read, Update and Delete breakpoints for live debugging.

Create, Read, Update and Delete breakpoints for live debugging.

认证

需要 Connected Account

Scopes

live_debugger:write

Tags

live_debugger_breakpoints
Live Debugger Breakpoints ListPOSTHOG_LIVE_DEBUGGER_BREAKPOINTS_LISTCreate, Read, Update and Delete breakpoints for live debugging.

Create, Read, Update and Delete breakpoints for live debugging.

认证

需要 Connected Account

Scopes

live_debugger:read

Tags

live_debugger_breakpoints
Live Debugger Breakpoints Partial UpdatePOSTHOG_LIVE_DEBUGGER_BREAKPOINTS_PARTIAL_UPDATECreate, Read, Update and Delete breakpoints for live debugging.

Create, Read, Update and Delete breakpoints for live debugging.

认证

需要 Connected Account

Scopes

live_debugger:write

Tags

live_debugger_breakpoints
Live Debugger Breakpoints RetrievePOSTHOG_LIVE_DEBUGGER_BREAKPOINTS_RETRIEVECreate, Read, Update and Delete breakpoints for live debugging.

Create, Read, Update and Delete breakpoints for live debugging.

认证

需要 Connected Account

Scopes

live_debugger:read

Tags

live_debugger_breakpoints
Live Debugger Breakpoints UpdatePOSTHOG_LIVE_DEBUGGER_BREAKPOINTS_UPDATECreate, Read, Update and Delete breakpoints for live debugging.

Create, Read, Update and Delete breakpoints for live debugging.

认证

需要 Connected Account

Scopes

live_debugger:write

Tags

live_debugger_breakpoints
Llm Analytics Clustering Config ListPOSTHOG_LLM_ANALYTICS_CLUSTERING_CONFIG_LISTTeam-level clustering configuration (event filters for automated pipelines).

Team-level clustering configuration (event filters for automated pipelines).

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
Llm Analytics Clustering Config Set Event Filters CreatePOSTHOG_LLM_ANALYTICS_CLUSTERING_CONFIG_SET_EVENT_FILTERS_CREATETeam-level clustering configuration (event filters for automated pipelines).

Team-level clustering configuration (event filters for automated pipelines).

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Llm Analytics Clustering Jobs CreatePOSTHOG_LLM_ANALYTICS_CLUSTERING_JOBS_CREATECRUD for clustering job configurations (max 10 per team).

CRUD for clustering job configurations (max 10 per team).

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Llm Analytics Clustering Jobs DestroyPOSTHOG_LLM_ANALYTICS_CLUSTERING_JOBS_DESTROYCRUD for clustering job configurations (max 10 per team).

CRUD for clustering job configurations (max 10 per team).

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Llm Analytics Clustering Jobs ListPOSTHOG_LLM_ANALYTICS_CLUSTERING_JOBS_LISTCRUD for clustering job configurations (max 10 per team).

CRUD for clustering job configurations (max 10 per team).

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
Llm Analytics Clustering Jobs Partial UpdatePOSTHOG_LLM_ANALYTICS_CLUSTERING_JOBS_PARTIAL_UPDATECRUD for clustering job configurations (max 10 per team).

CRUD for clustering job configurations (max 10 per team).

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Llm Analytics Clustering Jobs RetrievePOSTHOG_LLM_ANALYTICS_CLUSTERING_JOBS_RETRIEVECRUD for clustering job configurations (max 10 per team).

CRUD for clustering job configurations (max 10 per team).

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
Llm Analytics Clustering Jobs UpdatePOSTHOG_LLM_ANALYTICS_CLUSTERING_JOBS_UPDATECRUD for clustering job configurations (max 10 per team).

CRUD for clustering job configurations (max 10 per team).

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Llm Analytics Evaluation Config RetrievePOSTHOG_LLM_ANALYTICS_EVALUATION_CONFIG_RETRIEVEGet the evaluation config for this team

Get the evaluation config for this team

认证

需要 Connected Account

Scopes

evaluation:read

Tags

llm_analytics
Llm Analytics Evaluation Config Set Active Key CreatePOSTHOG_LLM_ANALYTICS_EVALUATION_CONFIG_SET_ACTIVE_KEY_CREATESet the active provider key for evaluations

Set the active provider key for evaluations

认证

需要 Connected Account

Scopes

evaluation:write

Tags

llm_analytics
Llm Analytics Evaluation Reports CreatePOSTHOG_LLM_ANALYTICS_EVALUATION_REPORTS_CREATECRUD for evaluation report configurations + report run history.

CRUD for evaluation report configurations + report run history.

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
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.

Evaluation report configs are deleted only when their evaluation is deleted. Use PATCH enabled=false to stop delivery.

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Llm Analytics Evaluation Reports Generate CreatePOSTHOG_LLM_ANALYTICS_EVALUATION_REPORTS_GENERATE_CREATETrigger immediate report generation.

Trigger immediate report generation.

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Llm Analytics Evaluation Reports ListPOSTHOG_LLM_ANALYTICS_EVALUATION_REPORTS_LISTCRUD for evaluation report configurations + report run history.

CRUD for evaluation report configurations + report run history.

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
Llm Analytics Evaluation Reports Partial UpdatePOSTHOG_LLM_ANALYTICS_EVALUATION_REPORTS_PARTIAL_UPDATECRUD for evaluation report configurations + report run history.

CRUD for evaluation report configurations + report run history.

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Llm Analytics Evaluation Reports RetrievePOSTHOG_LLM_ANALYTICS_EVALUATION_REPORTS_RETRIEVECRUD for evaluation report configurations + report run history.

CRUD for evaluation report configurations + report run history.

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
Llm Analytics Evaluation Reports Runs ListPOSTHOG_LLM_ANALYTICS_EVALUATION_REPORTS_RUNS_LISTList report runs (history) for this report.

List report runs (history) for this report.

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
Llm Analytics Evaluation Reports UpdatePOSTHOG_LLM_ANALYTICS_EVALUATION_REPORTS_UPDATECRUD for evaluation report configurations + report run history.

CRUD for evaluation report configurations + report run history.

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
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 once

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

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

AI observabilityllm_analytics
Llm Analytics Models RetrievePOSTHOG_LLM_ANALYTICS_MODELS_RETRIEVEList available models for a provider.

List available models for a provider.

认证

需要 Connected Account

Scopes

evaluation:read

Tags

llm_analytics
Llm Analytics Offline Evaluations Experiment Items CreatePOSTHOG_LLM_ANALYTICS_OFFLINE_EVALUATIONS_EXPERIMENT_ITEMS_CREATELlm Analytics Offline Evaluations Experiment Items Create

Llm Analytics Offline Evaluations Experiment Items Create

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

AI observabilityllm_analytics
Llm Analytics Parser Recipes CreatePOSTHOG_LLM_ANALYTICS_PARSER_RECIPES_CREATELlm Analytics Parser Recipes Create

Llm Analytics Parser Recipes Create

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Llm Analytics Parser Recipes DestroyPOSTHOG_LLM_ANALYTICS_PARSER_RECIPES_DESTROYLlm Analytics Parser Recipes Destroy

Llm Analytics Parser Recipes Destroy

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Llm Analytics Parser Recipes ListPOSTHOG_LLM_ANALYTICS_PARSER_RECIPES_LISTLlm Analytics Parser Recipes List

Llm Analytics Parser Recipes List

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
Llm Analytics Parser Recipes Partial UpdatePOSTHOG_LLM_ANALYTICS_PARSER_RECIPES_PARTIAL_UPDATELlm Analytics Parser Recipes Partial Update

Llm Analytics Parser Recipes Partial Update

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Llm Analytics Parser Recipes RetrievePOSTHOG_LLM_ANALYTICS_PARSER_RECIPES_RETRIEVELlm Analytics Parser Recipes Retrieve

Llm Analytics Parser Recipes Retrieve

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
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.

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.

认证

需要 Connected Account

Scopes

user:read

Tags

AI observabilityllm_analytics
Llm Analytics Provider Key Validations CreatePOSTHOG_LLM_ANALYTICS_PROVIDER_KEY_VALIDATIONS_CREATEValidate LLM provider API keys without persisting them

Validate LLM provider API keys without persisting them

认证

需要 Connected Account

Scopes

llm_provider_key:write

Tags

llm_analytics
Llm Analytics Provider Keys Assign CreatePOSTHOG_LLM_ANALYTICS_PROVIDER_KEYS_ASSIGN_CREATEAssign this key to evaluations and optionally re-enable them.

Assign this key to evaluations and optionally re-enable them.

认证

需要 Connected Account

Tags

llm_analytics
Llm Analytics Provider Keys CreatePOSTHOG_LLM_ANALYTICS_PROVIDER_KEYS_CREATELlm Analytics Provider Keys Create

Llm Analytics Provider Keys Create

认证

需要 Connected Account

Scopes

llm_provider_key:write

Tags

llm_analytics
Llm Analytics Provider Keys Dependent Configs RetrievePOSTHOG_LLM_ANALYTICS_PROVIDER_KEYS_DEPENDENT_CONFIGS_RETRIEVEGet evaluations using this key and alternative keys for replacement.

Get evaluations using this key and alternative keys for replacement.

认证

需要 Connected Account

Tags

llm_analytics
Llm Analytics Provider Keys DestroyPOSTHOG_LLM_ANALYTICS_PROVIDER_KEYS_DESTROYLlm Analytics Provider Keys Destroy

Llm Analytics Provider Keys Destroy

认证

需要 Connected Account

Scopes

llm_provider_key:write

Tags

llm_analytics
Llm Analytics Provider Keys ListPOSTHOG_LLM_ANALYTICS_PROVIDER_KEYS_LISTLlm Analytics Provider Keys List

Llm Analytics Provider Keys List

认证

需要 Connected Account

Scopes

llm_provider_key:read

Tags

llm_analytics
Llm Analytics Provider Keys Partial UpdatePOSTHOG_LLM_ANALYTICS_PROVIDER_KEYS_PARTIAL_UPDATELlm Analytics Provider Keys Partial Update

Llm Analytics Provider Keys Partial Update

认证

需要 Connected Account

Scopes

llm_provider_key:write

Tags

llm_analytics
Llm Analytics Provider Keys RetrievePOSTHOG_LLM_ANALYTICS_PROVIDER_KEYS_RETRIEVELlm Analytics Provider Keys Retrieve

Llm Analytics Provider Keys Retrieve

认证

需要 Connected Account

Scopes

llm_provider_key:read

Tags

llm_analytics
Llm Analytics Provider Keys Trial Evaluations RetrievePOSTHOG_LLM_ANALYTICS_PROVIDER_KEYS_TRIAL_EVALUATIONS_RETRIEVEList enabled evaluations currently using trial credits for a given provider.

List enabled evaluations currently using trial credits for a given provider.

认证

需要 Connected Account

Tags

llm_analytics
Llm Analytics Provider Keys UpdatePOSTHOG_LLM_ANALYTICS_PROVIDER_KEYS_UPDATELlm Analytics Provider Keys Update

Llm Analytics Provider Keys Update

认证

需要 Connected Account

Scopes

llm_provider_key:write

Tags

llm_analytics
Llm Analytics Provider Keys Validate CreatePOSTHOG_LLM_ANALYTICS_PROVIDER_KEYS_VALIDATE_CREATELlm Analytics Provider Keys Validate Create

Llm Analytics Provider Keys Validate Create

认证

需要 Connected Account

Tags

llm_analytics
Llm Analytics Review Queue Items CreatePOSTHOG_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_CREATELlm Analytics Review Queue Items Create

Llm Analytics Review Queue Items Create

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Llm Analytics Review Queue Items DestroyPOSTHOG_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_DESTROYLlm Analytics Review Queue Items Destroy

Llm Analytics Review Queue Items Destroy

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Llm Analytics Review Queue Items ListPOSTHOG_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_LISTLlm Analytics Review Queue Items List

Llm Analytics Review Queue Items List

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
Llm Analytics Review Queue Items Partial UpdatePOSTHOG_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_PARTIAL_UPDATELlm Analytics Review Queue Items Partial Update

Llm Analytics Review Queue Items Partial Update

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Llm Analytics Review Queue Items RetrievePOSTHOG_LLM_ANALYTICS_REVIEW_QUEUE_ITEMS_RETRIEVELlm Analytics Review Queue Items Retrieve

Llm Analytics Review Queue Items Retrieve

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
Llm Analytics Review Queues CreatePOSTHOG_LLM_ANALYTICS_REVIEW_QUEUES_CREATELlm Analytics Review Queues Create

Llm Analytics Review Queues Create

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Llm Analytics Review Queues DestroyPOSTHOG_LLM_ANALYTICS_REVIEW_QUEUES_DESTROYLlm Analytics Review Queues Destroy

Llm Analytics Review Queues Destroy

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Llm Analytics Review Queues ListPOSTHOG_LLM_ANALYTICS_REVIEW_QUEUES_LISTLlm Analytics Review Queues List

Llm Analytics Review Queues List

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
Llm Analytics Review Queues Partial UpdatePOSTHOG_LLM_ANALYTICS_REVIEW_QUEUES_PARTIAL_UPDATELlm Analytics Review Queues Partial Update

Llm Analytics Review Queues Partial Update

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Llm Analytics Review Queues RetrievePOSTHOG_LLM_ANALYTICS_REVIEW_QUEUES_RETRIEVELlm Analytics Review Queues Retrieve

Llm Analytics Review Queues Retrieve

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
Llm Analytics Score Definitions CreatePOSTHOG_LLM_ANALYTICS_SCORE_DEFINITIONS_CREATELlm Analytics Score Definitions Create

Llm Analytics Score Definitions Create

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Llm Analytics Score Definitions ListPOSTHOG_LLM_ANALYTICS_SCORE_DEFINITIONS_LISTLlm Analytics Score Definitions List

Llm Analytics Score Definitions List

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
Llm Analytics Score Definitions New Version CreatePOSTHOG_LLM_ANALYTICS_SCORE_DEFINITIONS_NEW_VERSION_CREATELlm Analytics Score Definitions New Version Create

Llm Analytics Score Definitions New Version Create

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Llm Analytics Score Definitions Partial UpdatePOSTHOG_LLM_ANALYTICS_SCORE_DEFINITIONS_PARTIAL_UPDATELlm Analytics Score Definitions Partial Update

Llm Analytics Score Definitions Partial Update

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Llm Analytics Score Definitions RetrievePOSTHOG_LLM_ANALYTICS_SCORE_DEFINITIONS_RETRIEVELlm Analytics Score Definitions Retrieve

Llm Analytics Score Definitions Retrieve

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
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 summaries

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

认证

需要 Connected Account

Tags

AI observabilityllm_analytics
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.

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.

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

AI observabilityllm_analytics
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.

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.

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

AI observabilityllm_analytics
Llm Analytics Trace Reviews CreatePOSTHOG_LLM_ANALYTICS_TRACE_REVIEWS_CREATELlm Analytics Trace Reviews Create

Llm Analytics Trace Reviews Create

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Llm Analytics Trace Reviews DestroyPOSTHOG_LLM_ANALYTICS_TRACE_REVIEWS_DESTROYLlm Analytics Trace Reviews Destroy

Llm Analytics Trace Reviews Destroy

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Llm Analytics Trace Reviews ListPOSTHOG_LLM_ANALYTICS_TRACE_REVIEWS_LISTLlm Analytics Trace Reviews List

Llm Analytics Trace Reviews List

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
Llm Analytics Trace Reviews Partial UpdatePOSTHOG_LLM_ANALYTICS_TRACE_REVIEWS_PARTIAL_UPDATELlm Analytics Trace Reviews Partial Update

Llm Analytics Trace Reviews Partial Update

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Llm Analytics Trace Reviews RetrievePOSTHOG_LLM_ANALYTICS_TRACE_REVIEWS_RETRIEVELlm Analytics Trace Reviews Retrieve

Llm Analytics Trace Reviews Retrieve

认证

需要 Connected Account

Scopes

llm_analytics:read

Tags

llm_analytics
Llm Analytics Translate CreatePOSTHOG_LLM_ANALYTICS_TRANSLATE_CREATETranslate text to target language.

Translate text to target language.

认证

需要 Connected Account

Scopes

llm_analytics:write

Tags

llm_analytics
Llm Prompts CreatePOSTHOG_LLM_PROMPTS_CREATELlm Prompts Create

Llm Prompts Create

认证

需要 Connected Account

Scopes

llm_prompt:write

Tags

llm_prompts
Llm Prompts ListPOSTHOG_LLM_PROMPTS_LISTLlm Prompts List

Llm Prompts List

认证

需要 Connected Account

Scopes

llm_prompt:read

Tags

llm_prompts
Llm Prompts Name Archive CreatePOSTHOG_LLM_PROMPTS_NAME_ARCHIVE_CREATELlm Prompts Name Archive Create

Llm Prompts Name Archive Create

认证

需要 Connected Account

Scopes

llm_prompt:write

Tags

llm_prompts
Llm Prompts Name Duplicate CreatePOSTHOG_LLM_PROMPTS_NAME_DUPLICATE_CREATELlm Prompts Name Duplicate Create

Llm Prompts Name Duplicate Create

认证

需要 Connected Account

Scopes

llm_prompt:write

Tags

llm_prompts
Llm Prompts Name Partial UpdatePOSTHOG_LLM_PROMPTS_NAME_PARTIAL_UPDATELlm Prompts Name Partial Update

Llm Prompts Name Partial Update

认证

需要 Connected Account

Scopes

llm_prompt:write

Tags

llm_prompts
Llm Prompts Name RetrievePOSTHOG_LLM_PROMPTS_NAME_RETRIEVELlm Prompts Name Retrieve

Llm Prompts Name Retrieve

认证

需要 Connected Account

Scopes

llm_prompt:read

Tags

llm_prompts
Llm Prompts Resolve Name RetrievePOSTHOG_LLM_PROMPTS_RESOLVE_NAME_RETRIEVELlm Prompts Resolve Name Retrieve

Llm Prompts Resolve Name Retrieve

认证

需要 Connected Account

Scopes

llm_prompt:read

Tags

llm_prompts
Llm Skills CreatePOSTHOG_LLM_SKILLS_CREATELlm Skills Create

Llm Skills Create

认证

需要 Connected Account

Scopes

llm_skill:write

Tags

llm_skills
Llm Skills Import CreatePOSTHOG_LLM_SKILLS_IMPORT_CREATELlm Skills Import Create

Llm Skills Import Create

认证

需要 Connected Account

Scopes

llm_skill:write

Tags

llm_skills
Llm Skills ListPOSTHOG_LLM_SKILLS_LISTLlm Skills List

Llm Skills List

认证

需要 Connected Account

Scopes

llm_skill:read

Tags

llm_skills
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.

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.

认证

需要 Connected Account

Scopes

llm_skill:write

Tags

llm_skills
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.

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.

认证

需要 Connected Account

Scopes

llm_skill:read

Tags

llm_skills
Llm Skills Name Archive CreatePOSTHOG_LLM_SKILLS_NAME_ARCHIVE_CREATELlm Skills Name Archive Create

Llm Skills Name Archive Create

认证

需要 Connected Account

Scopes

llm_skill:write

Tags

llm_skills
Llm Skills Name Duplicate CreatePOSTHOG_LLM_SKILLS_NAME_DUPLICATE_CREATELlm Skills Name Duplicate Create

Llm Skills Name Duplicate Create

认证

需要 Connected Account

Scopes

llm_skill:write

Tags

llm_skills
Llm Skills Name Export RetrievePOSTHOG_LLM_SKILLS_NAME_EXPORT_RETRIEVELlm Skills Name Export Retrieve

Llm Skills Name Export Retrieve

认证

需要 Connected Account

Tags

llm_skills
Llm Skills Name Files CreatePOSTHOG_LLM_SKILLS_NAME_FILES_CREATELlm Skills Name Files Create

Llm Skills Name Files Create

认证

需要 Connected Account

Scopes

llm_skill:write

Tags

llm_skills
Llm Skills Name Files DestroyPOSTHOG_LLM_SKILLS_NAME_FILES_DESTROYLlm Skills Name Files Destroy

Llm Skills Name Files Destroy

认证

需要 Connected Account

Scopes

llm_skill:write

Tags

llm_skills
Llm Skills Name Files Rename CreatePOSTHOG_LLM_SKILLS_NAME_FILES_RENAME_CREATELlm Skills Name Files Rename Create

Llm Skills Name Files Rename Create

认证

需要 Connected Account

Scopes

llm_skill:write

Tags

llm_skills
Llm Skills Name Files RetrievePOSTHOG_LLM_SKILLS_NAME_FILES_RETRIEVELlm Skills Name Files Retrieve

Llm Skills Name Files Retrieve

认证

需要 Connected Account

Scopes

llm_skill:read

Tags

llm_skills
Llm Skills Name Partial UpdatePOSTHOG_LLM_SKILLS_NAME_PARTIAL_UPDATELlm Skills Name Partial Update

Llm Skills Name Partial Update

认证

需要 Connected Account

Scopes

llm_skill:write

Tags

llm_skills
Llm Skills Name RetrievePOSTHOG_LLM_SKILLS_NAME_RETRIEVELlm Skills Name Retrieve

Llm Skills Name Retrieve

认证

需要 Connected Account

Scopes

llm_skill:read

Tags

llm_skills
Llm Skills Resolve Name RetrievePOSTHOG_LLM_SKILLS_RESOLVE_NAME_RETRIEVELlm Skills Resolve Name Retrieve

Llm Skills Resolve Name Retrieve

认证

需要 Connected Account

Scopes

llm_skill:read

Tags

llm_skills
Logs Alerts CreatePOSTHOG_LOGS_ALERTS_CREATELogs Alerts Create

Logs Alerts Create

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
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.

Create a notification destination for this alert. One HogFunction is created per alert event kind (firing, resolved, ...) atomically.

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
Logs Alerts Destinations Delete CreatePOSTHOG_LOGS_ALERTS_DESTINATIONS_DELETE_CREATEDelete a notification destination by deleting its HogFunction group atomically.

Delete a notification destination by deleting its HogFunction group atomically.

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
Logs Alerts DestroyPOSTHOG_LOGS_ALERTS_DESTROYLogs Alerts Destroy

Logs Alerts Destroy

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
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.

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.

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Logs Alerts ListPOSTHOG_LOGS_ALERTS_LISTLogs Alerts List

Logs Alerts List

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Logs Alerts Partial UpdatePOSTHOG_LOGS_ALERTS_PARTIAL_UPDATELogs Alerts Partial Update

Logs Alerts Partial Update

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
Logs Alerts Reset CreatePOSTHOG_LOGS_ALERTS_RESET_CREATEReset a broken alert. Clears the consecutive-failure counter and schedules an immediate recheck.

Reset a broken alert. Clears the consecutive-failure counter and schedules an immediate recheck.

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
Logs Alerts RetrievePOSTHOG_LOGS_ALERTS_RETRIEVELogs Alerts Retrieve

Logs Alerts Retrieve

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
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.

Simulate a logs alert on historical data using the full state machine. Read-only — no alert check records are created.

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Logs Alerts UpdatePOSTHOG_LOGS_ALERTS_UPDATELogs Alerts Update

Logs Alerts Update

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
Logs Attributes RetrievePOSTHOG_LOGS_ATTRIBUTES_RETRIEVELogs Attributes Retrieve

Logs Attributes Retrieve

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Logs Count CreatePOSTHOG_LOGS_COUNT_CREATELogs Count Create

Logs Count Create

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Logs Count Ranges CreatePOSTHOG_LOGS_COUNT_RANGES_CREATELogs Count Ranges Create

Logs Count Ranges Create

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Logs ExplainLogWithAI CreatePOSTHOG_LOGS_EXPLAIN_LOG_WITH_AI_CREATEExplain a log entry using AI. POST /api/environments/:id/logs/explainLogWithAI/

Explain a log entry using AI. POST /api/environments/:id/logs/explainLogWithAI/

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
Logs Export CreatePOSTHOG_LOGS_EXPORT_CREATELogs Export Create

Logs Export Create

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Logs Facet Values CreatePOSTHOG_LOGS_FACET_VALUES_CREATELogs Facet Values Create

Logs Facet Values Create

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Logs Group By CreatePOSTHOG_LOGS_GROUP_BY_CREATELogs Group By Create

Logs Group By Create

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Logs Has Logs RetrievePOSTHOG_LOGS_HAS_LOGS_RETRIEVELogs Has Logs Retrieve

Logs Has Logs Retrieve

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Logs Patterns CreatePOSTHOG_LOGS_PATTERNS_CREATELogs Patterns Create

Logs Patterns Create

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Logs Query CreatePOSTHOG_LOGS_QUERY_CREATELogs Query Create

Logs Query Create

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Logs Sampling Rules CreatePOSTHOG_LOGS_SAMPLING_RULES_CREATELogs Sampling Rules Create

Logs Sampling Rules Create

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
Logs Sampling Rules DestroyPOSTHOG_LOGS_SAMPLING_RULES_DESTROYLogs Sampling Rules Destroy

Logs Sampling Rules Destroy

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
Logs Sampling Rules ListPOSTHOG_LOGS_SAMPLING_RULES_LISTLogs Sampling Rules List

Logs Sampling Rules List

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Logs Sampling Rules Partial UpdatePOSTHOG_LOGS_SAMPLING_RULES_PARTIAL_UPDATELogs Sampling Rules Partial Update

Logs Sampling Rules Partial Update

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
Logs Sampling Rules Reorder CreatePOSTHOG_LOGS_SAMPLING_RULES_REORDER_CREATEAtomically reassign priorities so the given ID order maps to ascending priorities (0..n-1).

Atomically reassign priorities so the given ID order maps to ascending priorities (0..n-1).

认证

需要 Connected Account

Tags

logs
Logs Sampling Rules RetrievePOSTHOG_LOGS_SAMPLING_RULES_RETRIEVELogs Sampling Rules Retrieve

Logs Sampling Rules Retrieve

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
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).

Dry-run estimate for how much volume this rule would remove (placeholder response until CH-backed simulation is wired).

认证

需要 Connected Account

Tags

logs
Logs Sampling Rules UpdatePOSTHOG_LOGS_SAMPLING_RULES_UPDATELogs Sampling Rules Update

Logs Sampling Rules Update

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
Logs Services CreatePOSTHOG_LOGS_SERVICES_CREATELogs Services Create

Logs Services Create

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Logs Sparkline CreatePOSTHOG_LOGS_SPARKLINE_CREATELogs Sparkline Create

Logs Sparkline Create

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Logs Values RetrievePOSTHOG_LOGS_VALUES_RETRIEVELogs Values Retrieve

Logs Values Retrieve

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Logs Views CreatePOSTHOG_LOGS_VIEWS_CREATELogs Views Create

Logs Views Create

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
Logs Views DestroyPOSTHOG_LOGS_VIEWS_DESTROYLogs Views Destroy

Logs Views Destroy

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
Logs Views ListPOSTHOG_LOGS_VIEWS_LISTLogs Views List

Logs Views List

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Logs Views Partial UpdatePOSTHOG_LOGS_VIEWS_PARTIAL_UPDATELogs Views Partial Update

Logs Views Partial Update

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
Logs Views RetrievePOSTHOG_LOGS_VIEWS_RETRIEVELogs Views Retrieve

Logs Views Retrieve

认证

需要 Connected Account

Scopes

logs:read

Tags

logs
Logs Views UpdatePOSTHOG_LOGS_VIEWS_UPDATELogs Views Update

Logs Views Update

认证

需要 Connected Account

Scopes

logs:write

Tags

logs
Managed Viewsets RetrievePOSTHOG_MANAGED_VIEWSETS_RETRIEVEGet all views associated with a specific managed viewset. GET /api/environments/{team_id}/managed_viewsets/{kind}/

Get all views associated with a specific managed viewset. GET /api/environments/{team_id}/managed_viewsets/{kind}/

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

managed_viewsets
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}

Enable or disable a managed viewset by kind. PUT /api/environments/{team_id}/managed_viewsets/{kind}/ with body {"enabled": true/false}

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

managed_viewsets
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.

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.

认证

需要 Connected Account

Scopes

marketing_analytics:read

Tags

marketing_analytics
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.

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.

认证

需要 Connected Account

Scopes

marketing_analytics:read

Tags

marketing_analytics
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.

Aggregate data-source sync health, UTM attribution health, and conversion-goal config into a single per-integration diagnostic with recommended actions. Read-only.

认证

需要 Connected Account

Scopes

marketing_analytics:read

Tags

marketing_analytics
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.

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.

认证

需要 Connected Account

Scopes

marketing_analytics:read

Tags

marketing_analytics
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.

Rank existing custom events as conversion-goal candidates by volume, UTM-tag coverage, and unique users, excluding system/autocaptured events. Read-only.

认证

需要 Connected Account

Scopes

marketing_analytics:read

Tags

marketing_analytics
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.

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.

认证

需要 Connected Account

Scopes

marketing_analytics:read

Tags

marketing_analytics
Marketing Analytics Test Mapping CreatePOSTHOG_MARKETING_ANALYTICS_TEST_MAPPING_CREATEMarketing Analytics Test Mapping Create

Marketing Analytics Test Mapping Create

认证

需要 Connected Account

Tags

marketing_analytics
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.

Cross-reference campaigns with spend from ad platforms against pageview events with UTM parameters to identify tracking issues.

认证

需要 Connected Account

Scopes

marketing_analytics:read

Tags

marketing_analytics
Max Tools Create And Query Insight CreatePOSTHOG_MAX_TOOLS_CREATE_AND_QUERY_INSIGHT_CREATEMax Tools Create And Query Insight Create

Max Tools Create And Query Insight Create

认证

需要 Connected Account

Scopes

insight:readquery:read

Tags

max_tools
Mcp Analytics Feedback CreatePOSTHOG_MCP_ANALYTICS_FEEDBACK_CREATECreate a new MCP feedback submission for the current project.

Create a new MCP feedback submission for the current project.

认证

需要 Connected Account

Scopes

mcp_analytics:write

Tags

mcp_analytics
Mcp Analytics Feedback ListPOSTHOG_MCP_ANALYTICS_FEEDBACK_LISTList MCP feedback submissions for the current project, newest first.

List MCP feedback submissions for the current project, newest first.

认证

需要 Connected Account

Scopes

mcp_analytics:read

Tags

mcp_analytics
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').

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').

认证

需要 Connected Account

Scopes

mcp_analytics:write

Tags

mcp_analytics
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.

Return the most recent intent cluster snapshot for the current project. Returns an empty IDLE snapshot when no clustering run has happened yet.

认证

需要 Connected Account

Scopes

mcp_analytics:read

Tags

mcp_analytics
Mcp Analytics Missing Capabilities CreatePOSTHOG_MCP_ANALYTICS_MISSING_CAPABILITIES_CREATECreate a new missing capability report for the current project.

Create a new missing capability report for the current project.

认证

需要 Connected Account

Scopes

mcp_analytics:write

Tags

mcp_analytics
Mcp Analytics Missing Capabilities ListPOSTHOG_MCP_ANALYTICS_MISSING_CAPABILITIES_LISTList missing capability reports for the current project, newest first.

List missing capability reports for the current project, newest first.

认证

需要 Connected Account

Scopes

mcp_analytics:read

Tags

mcp_analytics
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.

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.

认证

需要 Connected Account

Scopes

mcp_analytics:read

Tags

mcp_analytics
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.

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.

认证

需要 Connected Account

Scopes

mcp_analytics:write

Tags

mcp_analytics
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.

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.

认证

需要 Connected Account

Scopes

mcp_analytics:write

Tags

mcp_analytics
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.

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.

认证

需要 Connected Account

Scopes

mcp_analytics:read

Tags

mcp_analytics
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.

List a page of the $mcp_tool_call events that belong to a given $session_id, in chronological order.

认证

需要 Connected Account

Scopes

mcp_analytics:read

Tags

mcp_analytics
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.

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.

认证

需要 Connected Account

Scopes

project:read

Tags

mcp_server_installations
Mcp Server Installations CreatePOSTHOG_MCP_SERVER_INSTALLATIONS_CREATEMcp Server Installations Create

Mcp Server Installations Create

认证

需要 Connected Account

Scopes

project:write

Tags

mcp_server_installations
Mcp Server Installations DestroyPOSTHOG_MCP_SERVER_INSTALLATIONS_DESTROYMcp Server Installations Destroy

Mcp Server Installations Destroy

认证

需要 Connected Account

Scopes

project:read

Tags

mcp_server_installations
Mcp Server Installations Install Custom CreatePOSTHOG_MCP_SERVER_INSTALLATIONS_INSTALL_CUSTOM_CREATEMcp Server Installations Install Custom Create

Mcp Server Installations Install Custom Create

认证

需要 Connected Account

Scopes

project:read

Tags

mcp_server_installations
Mcp Server Installations Install Template CreatePOSTHOG_MCP_SERVER_INSTALLATIONS_INSTALL_TEMPLATE_CREATEMcp Server Installations Install Template Create

Mcp Server Installations Install Template Create

认证

需要 Connected Account

Scopes

project:read

Tags

mcp_server_installations
Mcp Server Installations ListPOSTHOG_MCP_SERVER_INSTALLATIONS_LISTMcp Server Installations List

Mcp Server Installations List

认证

需要 Connected Account

Scopes

project:read

Tags

mcp_server_installations
Mcp Server Installations Partial UpdatePOSTHOG_MCP_SERVER_INSTALLATIONS_PARTIAL_UPDATEMcp Server Installations Partial Update

Mcp Server Installations Partial Update

认证

需要 Connected Account

Scopes

project:read

Tags

mcp_server_installations
Mcp Server Installations Proxy CreatePOSTHOG_MCP_SERVER_INSTALLATIONS_PROXY_CREATEMcp Server Installations Proxy Create

Mcp Server Installations Proxy Create

认证

需要 Connected Account

Scopes

project:read

Tags

mcp_server_installations
Mcp Server Installations RetrievePOSTHOG_MCP_SERVER_INSTALLATIONS_RETRIEVEMcp Server Installations Retrieve

Mcp Server Installations Retrieve

认证

需要 Connected Account

Scopes

project:read

Tags

mcp_server_installations
Mcp Server Installations Tools Partial UpdatePOSTHOG_MCP_SERVER_INSTALLATIONS_TOOLS_PARTIAL_UPDATEMcp Server Installations Tools Partial Update

Mcp Server Installations Tools Partial Update

认证

需要 Connected Account

Scopes

project:read

Tags

mcp_server_installations
Mcp Server Installations Tools Refresh CreatePOSTHOG_MCP_SERVER_INSTALLATIONS_TOOLS_REFRESH_CREATEMcp Server Installations Tools Refresh Create

Mcp Server Installations Tools Refresh Create

认证

需要 Connected Account

Scopes

project:read

Tags

mcp_server_installations
Mcp Server Installations Tools RetrievePOSTHOG_MCP_SERVER_INSTALLATIONS_TOOLS_RETRIEVEMcp Server Installations Tools Retrieve

Mcp Server Installations Tools Retrieve

认证

需要 Connected Account

Scopes

project:read

Tags

mcp_server_installations
Mcp Server Installations UpdatePOSTHOG_MCP_SERVER_INSTALLATIONS_UPDATEMcp Server Installations Update

Mcp Server Installations Update

认证

需要 Connected Account

Scopes

project:write

Tags

mcp_server_installations
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.

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.

认证

需要 Connected Account

Scopes

project:read

Tags

mcp_servers
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.

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.

认证

需要 Connected Account

Tags

mcp_tools
Members DestroyPOSTHOG_MEMBERS_DESTROYMembers Destroy

Members Destroy

认证

需要 Connected Account

Scopes

organization_member:write

Tags

organizationsmembers
Members Github Login RetrievePOSTHOG_MEMBERS_GITHUB_LOGIN_RETRIEVEMembers Github Login Retrieve

Members Github Login Retrieve

认证

需要 Connected Account

Scopes

organization_member:read

Tags

organizationsmembers
Members ListPOSTHOG_MEMBERS_LISTMembers List

Members List

认证

需要 Connected Account

Scopes

organization_member:read

Tags

organizationsmembers
Members Partial UpdatePOSTHOG_MEMBERS_PARTIAL_UPDATEMembers Partial Update

Members Partial Update

认证

需要 Connected Account

Scopes

organization_member:write

Tags

organizationsmembers
Members Scoped Api Keys RetrievePOSTHOG_MEMBERS_SCOPED_API_KEYS_RETRIEVEMembers Scoped Api Keys Retrieve

Members Scoped Api Keys Retrieve

认证

需要 Connected Account

Tags

organizationsmembers
Members UpdatePOSTHOG_MEMBERS_UPDATEMembers Update

Members Update

认证

需要 Connected Account

Scopes

organization_member:write

Tags

organizationsmembers
Messaging Templates CreatePOSTHOG_MESSAGING_TEMPLATES_CREATEMessaging Templates Create

Messaging Templates Create

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

messaging_templates
Messaging Templates Design Partial UpdatePOSTHOG_MESSAGING_TEMPLATES_DESIGN_PARTIAL_UPDATEMessaging Templates Design Partial Update

Messaging Templates Design Partial Update

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

messaging_templates
Messaging Templates DestroyPOSTHOG_MESSAGING_TEMPLATES_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

messaging_templates
Messaging Templates ListPOSTHOG_MESSAGING_TEMPLATES_LISTMessaging Templates List

Messaging Templates List

认证

需要 Connected Account

Scopes

hog_flow:read

Tags

messaging_templates
Messaging Templates Partial UpdatePOSTHOG_MESSAGING_TEMPLATES_PARTIAL_UPDATEMessaging Templates Partial Update

Messaging Templates Partial Update

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

messaging_templates
Messaging Templates RetrievePOSTHOG_MESSAGING_TEMPLATES_RETRIEVEMessaging Templates Retrieve

Messaging Templates Retrieve

认证

需要 Connected Account

Scopes

hog_flow:read

Tags

messaging_templates
Messaging Templates UpdatePOSTHOG_MESSAGING_TEMPLATES_UPDATEMessaging Templates Update

Messaging Templates Update

认证

需要 Connected Account

Scopes

hog_flow:write

Tags

messaging_templates
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.

Characterize a metric anomaly: compare an anomaly window against a baseline, find the onset, and rank which label values moved.

认证

需要 Connected Account

Scopes

metrics:read

Tags

metricsmetrics
Metrics Has Metrics RetrievePOSTHOG_METRICS_HAS_METRICS_RETRIEVEMetrics Has Metrics Retrieve

Metrics Has Metrics Retrieve

认证

需要 Connected Account

Scopes

metrics:read

Tags

metricsmetrics
Metrics Query CreatePOSTHOG_METRICS_QUERY_CREATEMetrics Query Create

Metrics Query Create

认证

需要 Connected Account

Scopes

metrics:read

Tags

metricsmetrics
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.

Raw individual emissions for a metric (the events model), newest first — backs the Samples view and the metric->trace pivot.

认证

需要 Connected Account

Scopes

metrics:read

Tags

metricsmetrics
Metrics Values RetrievePOSTHOG_METRICS_VALUES_RETRIEVEDistinct metric names for the team. Backs the picker UI.

Distinct metric names for the team. Backs the picker UI.

认证

需要 Connected Account

Scopes

metrics:read

Tags

metricsmetrics
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.

The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.

认证

需要 Connected Account

Scopes

activity_log:read

Tags

notebooks
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.

The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.

认证

需要 Connected Account

Tags

notebooks
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.

The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.

认证

需要 Connected Account

Scopes

notebook:write

Tags

notebooks
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.

The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.

认证

需要 Connected Account

Scopes

notebook:write

Tags

notebooks
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.

The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.

认证

需要 Connected Account

Scopes

notebook:write

Tags

notebooks
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.

The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.

认证

需要 Connected Account

Scopes

notebook:read

Tags

notebooks
Notebooks CreatePOSTHOG_NOTEBOOKS_CREATEThe API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.

The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.

认证

需要 Connected Account

Scopes

notebook:write

Tags

notebooks
Notebooks DestroyPOSTHOG_NOTEBOOKS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

notebook:write

Tags

notebooks
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.

The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.

认证

需要 Connected Account

Tags

notebooks
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.

The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.

认证

需要 Connected Account

Tags

notebooks
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.

The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.

认证

需要 Connected Account

Tags

notebooks
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.

The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.

认证

需要 Connected Account

Tags

notebooks
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.

The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.

认证

需要 Connected Account

Tags

notebooks
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.

The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.

认证

需要 Connected Account

Tags

notebooks
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.

The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.

认证

需要 Connected Account

Tags

notebooks
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.

The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.

认证

需要 Connected Account

Tags

notebooks
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.

The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.

认证

需要 Connected Account

Tags

notebooks
Notebooks ListPOSTHOG_NOTEBOOKS_LISTThe API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.

The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.

认证

需要 Connected Account

Scopes

notebook:read

Tags

notebooks
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.

The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.

认证

需要 Connected Account

Scopes

notebook:write

Tags

notebooks
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.

The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.

认证

需要 Connected Account

Tags

notebooks
Notebooks RetrievePOSTHOG_NOTEBOOKS_RETRIEVEThe API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.

The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.

认证

需要 Connected Account

Scopes

notebook:read

Tags

notebooks
Notebooks Sharing ListPOSTHOG_NOTEBOOKS_SHARING_LISTNotebooks Sharing List

Notebooks Sharing List

认证

需要 Connected Account

Scopes

sharing_configuration:read

Tags

notebooks
Notebooks Sharing Passwords CreatePOSTHOG_NOTEBOOKS_SHARING_PASSWORDS_CREATECreate a new password for the sharing configuration.

Create a new password for the sharing configuration.

认证

需要 Connected Account

Scopes

sharing_configuration:write

Tags

notebooks
Notebooks Sharing Passwords DestroyPOSTHOG_NOTEBOOKS_SHARING_PASSWORDS_DESTROYDelete a password from the sharing configuration.

Delete a password from the sharing configuration.

认证

需要 Connected Account

Scopes

sharing_configuration:write

Tags

notebooks
Notebooks Sharing Refresh CreatePOSTHOG_NOTEBOOKS_SHARING_REFRESH_CREATENotebooks Sharing Refresh Create

Notebooks Sharing Refresh Create

认证

需要 Connected Account

Scopes

sharing_configuration:write

Tags

notebooks
Notebooks UpdatePOSTHOG_NOTEBOOKS_UPDATEThe API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.

The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.

认证

需要 Connected Account

Scopes

notebook:write

Tags

notebooks
Oauth Applications ListPOSTHOG_OAUTH_APPLICATIONS_LISTViewSet for listing OAuth applications at the organization level (read-only).

ViewSet for listing OAuth applications at the organization level (read-only).

认证

需要 Connected Account

Scopes

organization:read

Tags

organizationsoauth_applications
Object Media Previews CreatePOSTHOG_OBJECT_MEDIA_PREVIEWS_CREATEObject Media Previews Create

Object Media Previews Create

认证

需要 Connected Account

Scopes

event_definition:write

Tags

object_media_previews
Object Media Previews DestroyPOSTHOG_OBJECT_MEDIA_PREVIEWS_DESTROYObject Media Previews Destroy

Object Media Previews Destroy

认证

需要 Connected Account

Scopes

event_definition:write

Tags

object_media_previews
Object Media Previews ListPOSTHOG_OBJECT_MEDIA_PREVIEWS_LISTObject Media Previews List

Object Media Previews List

认证

需要 Connected Account

Scopes

event_definition:read

Tags

object_media_previews
Object Media Previews Partial UpdatePOSTHOG_OBJECT_MEDIA_PREVIEWS_PARTIAL_UPDATEObject Media Previews Partial Update

Object Media Previews Partial Update

认证

需要 Connected Account

Scopes

event_definition:write

Tags

object_media_previews
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).

Get the preferred media preview for an event definition. Most recent user-uploaded, then most recent exported asset. Requires event_definition (query param).

认证

需要 Connected Account

Tags

object_media_previews
Object Media Previews RetrievePOSTHOG_OBJECT_MEDIA_PREVIEWS_RETRIEVEObject Media Previews Retrieve

Object Media Previews Retrieve

认证

需要 Connected Account

Scopes

event_definition:read

Tags

object_media_previews
Object Media Previews UpdatePOSTHOG_OBJECT_MEDIA_PREVIEWS_UPDATEObject Media Previews Update

Object Media Previews Update

认证

需要 Connected Account

Scopes

event_definition:write

Tags

object_media_previews
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.

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.

认证

需要 Connected Account

Scopes

organization_integration:write

Tags

organizationsintegrations
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.

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.

认证

需要 Connected Account

Scopes

activity_log:read

Tags

activity_logsadvanced_activity_logs
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.

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.

认证

需要 Connected Account

Tags

activity_logsadvanced_activity_logs
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.

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.

认证

需要 Connected Account

Scopes

activity_log:read

Tags

activity_logsadvanced_activity_logs
Org Organizations Batch Exports CreatePOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_CREATEOrg Organizations Batch Exports Create

Org Organizations Batch Exports Create

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsbatch_exports
Org Organizations Batch Exports DestroyPOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_DESTROYOrg Organizations Batch Exports Destroy

Org Organizations Batch Exports Destroy

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsbatch_exports
Org Organizations Batch Exports ListPOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_LISTOrg Organizations Batch Exports List

Org Organizations Batch Exports List

认证

需要 Connected Account

Scopes

batch_export:read

Tags

batch_exportsbatch_exports
Org Organizations Batch Exports Logs RetrievePOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_LOGS_RETRIEVEOrg Organizations Batch Exports Logs Retrieve

Org Organizations Batch Exports Logs Retrieve

认证

需要 Connected Account

Tags

batch_exportsbatch_exports
Org Organizations Batch Exports Partial UpdatePOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_PARTIAL_UPDATEOrg Organizations Batch Exports Partial Update

Org Organizations Batch Exports Partial Update

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsbatch_exports
Org Organizations Batch Exports Pause CreatePOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_PAUSE_CREATEPause a BatchExport.

Pause a BatchExport.

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsbatch_exports
Org Organizations Batch Exports RetrievePOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_RETRIEVEOrg Organizations Batch Exports Retrieve

Org Organizations Batch Exports Retrieve

认证

需要 Connected Account

Scopes

batch_export:read

Tags

batch_exportsbatch_exports
Org Organizations Batch Exports Run Test Step CreatePOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_RUN_TEST_STEP_CREATEOrg Organizations Batch Exports Run Test Step Create

Org Organizations Batch Exports Run Test Step Create

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsbatch_exports
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 Create

Org Organizations Batch Exports Run Test Step New Create

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsbatch_exports
Org Organizations Batch Exports Test RetrievePOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_TEST_RETRIEVEOrg Organizations Batch Exports Test Retrieve

Org Organizations Batch Exports Test Retrieve

认证

需要 Connected Account

Scopes

batch_export:read

Tags

batch_exportsbatch_exports
Org Organizations Batch Exports Unpause CreatePOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_UNPAUSE_CREATEUnpause a BatchExport.

Unpause a BatchExport.

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsbatch_exports
Org Organizations Batch Exports UpdatePOSTHOG_ORG_ORGANIZATIONS_BATCH_EXPORTS_UPDATEOrg Organizations Batch Exports Update

Org Organizations Batch Exports Update

认证

需要 Connected Account

Scopes

batch_export:write

Tags

batch_exportsbatch_exports
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.

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.

认证

需要 Connected Account

Scopes

organization_integration:read

Tags

organizationsintegrations
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.

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.

认证

需要 Connected Account

Scopes

organization_integration:read

Tags

organizationsintegrations
Organizations Projects Activity RetrievePOSTHOG_ORGANIZATIONS_PROJECTS_ACTIVITY_RETRIEVEProjects for the current organization.

Projects for the current organization.

认证

需要 Connected Account

Tags

organizationsprojects
Organizations Projects Add Product Intent Partial UpdatePOSTHOG_ORGANIZATIONS_PROJECTS_ADD_PRODUCT_INTENT_PARTIAL_UPDATEProjects for the current organization.

Projects for the current organization.

认证

需要 Connected Account

Scopes

project:read

Tags

organizationsprojects
Organizations Projects Change Organization CreatePOSTHOG_ORGANIZATIONS_PROJECTS_CHANGE_ORGANIZATION_CREATEProjects for the current organization.

Projects for the current organization.

认证

需要 Connected Account

Tags

organizationsprojects
Organizations Projects Complete Product Onboarding Partial UpdatePOSTHOG_ORGANIZATIONS_PROJECTS_COMPLETE_PRODUCT_ONBOARDING_PARTIAL_UPDATEProjects for the current organization.

Projects for the current organization.

认证

需要 Connected Account

Scopes

project:read

Tags

organizationsprojects
Organizations Projects CreatePOSTHOG_ORGANIZATIONS_PROJECTS_CREATEProjects for the current organization.

Projects for the current organization.

认证

需要 Connected Account

Scopes

project:write

Tags

organizationsprojects
Organizations Projects Default Evaluation Contexts CreatePOSTHOG_ORGANIZATIONS_PROJECTS_DEFAULT_EVALUATION_CONTEXTS_CREATEManage default evaluation contexts for a project.

Manage default evaluation contexts for a project.

认证

需要 Connected Account

Tags

organizationsprojects
Organizations Projects Default Evaluation Contexts DestroyPOSTHOG_ORGANIZATIONS_PROJECTS_DEFAULT_EVALUATION_CONTEXTS_DESTROYManage default evaluation contexts for a project.

Manage default evaluation contexts for a project.

认证

需要 Connected Account

Tags

organizationsprojects
Organizations Projects Default Evaluation Contexts RetrievePOSTHOG_ORGANIZATIONS_PROJECTS_DEFAULT_EVALUATION_CONTEXTS_RETRIEVEManage default evaluation contexts for a project.

Manage default evaluation contexts for a project.

认证

需要 Connected Account

Tags

organizationsprojects
Organizations Projects Default Release Conditions RetrievePOSTHOG_ORGANIZATIONS_PROJECTS_DEFAULT_RELEASE_CONDITIONS_RETRIEVEManage default release conditions for new feature flags in this project.

Manage default release conditions for new feature flags in this project.

认证

需要 Connected Account

Tags

organizationsprojects
Organizations Projects Default Release Conditions UpdatePOSTHOG_ORGANIZATIONS_PROJECTS_DEFAULT_RELEASE_CONDITIONS_UPDATEManage default release conditions for new feature flags in this project.

Manage default release conditions for new feature flags in this project.

认证

需要 Connected Account

Tags

organizationsprojects
Organizations Projects Delete Secret Token Backup Partial UpdatePOSTHOG_ORGANIZATIONS_PROJECTS_DELETE_SECRET_TOKEN_BACKUP_PARTIAL_UPDATEProjects for the current organization.

Projects for the current organization.

认证

需要 Connected Account

Tags

organizationsprojects
Organizations Projects DestroyPOSTHOG_ORGANIZATIONS_PROJECTS_DESTROYProjects for the current organization.

Projects for the current organization.

认证

需要 Connected Account

Scopes

project:write

Tags

organizationsprojects
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.

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.

认证

需要 Connected Account

Tags

organizationsprojects
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.

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.

认证

需要 Connected Account

Tags

organizationsprojects
Organizations Projects Event Ingestion Restrictions RetrievePOSTHOG_ORGANIZATIONS_PROJECTS_EVENT_INGESTION_RESTRICTIONS_RETRIEVEProjects for the current organization.

Projects for the current organization.

认证

需要 Connected Account

Scopes

project:read

Tags

organizationsprojects
Organizations Projects Experiments Config Partial UpdatePOSTHOG_ORGANIZATIONS_PROJECTS_EXPERIMENTS_CONFIG_PARTIAL_UPDATEManage experiment configuration for this project.

Manage experiment configuration for this project.

认证

需要 Connected Account

Tags

organizationsprojects
Organizations Projects Experiments Config RetrievePOSTHOG_ORGANIZATIONS_PROJECTS_EXPERIMENTS_CONFIG_RETRIEVEManage experiment configuration for this project.

Manage experiment configuration for this project.

认证

需要 Connected Account

Tags

organizationsprojects
Organizations Projects Generate Conversations Public Token CreatePOSTHOG_ORGANIZATIONS_PROJECTS_GENERATE_CONVERSATIONS_PUBLIC_TOKEN_CREATEProjects for the current organization.

Projects for the current organization.

认证

需要 Connected Account

Tags

organizationsprojects
Organizations Projects Is Generating Demo Data RetrievePOSTHOG_ORGANIZATIONS_PROJECTS_IS_GENERATING_DEMO_DATA_RETRIEVEProjects for the current organization.

Projects for the current organization.

认证

需要 Connected Account

Tags

organizationsprojects
Organizations Projects ListPOSTHOG_ORGANIZATIONS_PROJECTS_LISTProjects for the current organization.

Projects for the current organization.

认证

需要 Connected Account

Scopes

project:read

Tags

organizationsprojects
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.

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.

认证

需要 Connected Account

Tags

organizationsprojects
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.

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.

认证

需要 Connected Account

Tags

organizationsprojects
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.

Update one or more of a project's settings. Only the fields included in the request body are changed.

认证

需要 Connected Account

Scopes

project:write

Tags

organizationsprojects
Organizations Projects Reset Token Partial UpdatePOSTHOG_ORGANIZATIONS_PROJECTS_RESET_TOKEN_PARTIAL_UPDATEProjects for the current organization.

Projects for the current organization.

认证

需要 Connected Account

Tags

organizationsprojects
Organizations Projects RetrievePOSTHOG_ORGANIZATIONS_PROJECTS_RETRIEVERetrieve a project and its settings.

Retrieve a project and its settings.

认证

需要 Connected Account

Scopes

project:read

Tags

organizationsprojects
Organizations Projects Rotate Secret Token Partial UpdatePOSTHOG_ORGANIZATIONS_PROJECTS_ROTATE_SECRET_TOKEN_PARTIAL_UPDATEProjects for the current organization.

Projects for the current organization.

认证

需要 Connected Account

Tags

organizationsprojects
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 settings

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

认证

需要 Connected Account

Tags

organizationsprojects
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.

Replace a project and its settings. Prefer the PATCH endpoint for partial updates — PUT requires every writable field to be provided.

认证

需要 Connected Account

Scopes

project:write

Tags

organizationsprojects
Partial UpdatePOSTHOG_PARTIAL_UPDATEPartial Update

Partial Update

认证

需要 Connected Account

Scopes

organization:write

Tags

organizationsorganizations
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.

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.

认证

需要 Connected Account

Scopes

activity_log:read

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

activity_log:read

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

person:read

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

person:read

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

person:write

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

person:readcohort:read

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

person:write

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

person:read

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

person:read

Tags

persons
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.

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.

认证

需要 Connected Account

Tags

persons
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.

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.

认证

需要 Connected Account

Tags

persons
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.

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.

认证

需要 Connected Account

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

person:read

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

person:write

Tags

persons
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)

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)

认证

需要 Connected Account

Scopes

person:read

Tags

personspersons
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.

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.

认证

需要 Connected Account

Tags

persons
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.

Reset a distinct_id for a deleted person. This allows the distinct_id to be used again.

认证

需要 Connected Account

Scopes

person:write

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

person:read

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

person:write

Tags

persons
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.

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.

认证

需要 Connected Account

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

person:write

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

person:write

Tags

persons
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.

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.

认证

需要 Connected Account

Scopes

person:read

Tags

persons
Plugin Configs Logs ListPOSTHOG_PLUGIN_CONFIGS_LOGS_LISTPlugin Configs Logs List

Plugin Configs Logs List

认证

需要 Connected Account

Scopes

plugin:read

Tags

plugin_configs
Product Enablement CreatePOSTHOG_PRODUCT_ENABLEMENT_CREATEProduct Enablement Create

Product Enablement Create

认证

需要 Connected Account

Scopes

product_enablement:write

Tags

product_enablement
Product Tours CreatePOSTHOG_PRODUCT_TOURS_CREATEProduct Tours Create

Product Tours Create

认证

需要 Connected Account

Scopes

product_tour:write

Tags

product_tours
Product Tours DestroyPOSTHOG_PRODUCT_TOURS_DESTROYProduct Tours Destroy

Product Tours Destroy

认证

需要 Connected Account

Scopes

product_tour:write

Tags

product_tours
Product Tours Discard Draft DestroyPOSTHOG_PRODUCT_TOURS_DISCARD_DRAFT_DESTROYDiscard draft content.

Discard draft content.

认证

需要 Connected Account

Scopes

product_tour:write

Tags

product_tours
Product Tours Draft Partial UpdatePOSTHOG_PRODUCT_TOURS_DRAFT_PARTIAL_UPDATESave draft content (server-side merge). No side effects triggered.

Save draft content (server-side merge). No side effects triggered.

认证

需要 Connected Account

Scopes

product_tour:write

Tags

product_tours
Product Tours Draft Status RetrievePOSTHOG_PRODUCT_TOURS_DRAFT_STATUS_RETRIEVELightweight polling endpoint for draft change detection.

Lightweight polling endpoint for draft change detection.

认证

需要 Connected Account

Scopes

product_tour:read

Tags

product_tours
Product Tours Generate CreatePOSTHOG_PRODUCT_TOURS_GENERATE_CREATEGenerate tour step content using AI.

Generate tour step content using AI.

认证

需要 Connected Account

Scopes

product_tour:write

Tags

product_tours
Product Tours ListPOSTHOG_PRODUCT_TOURS_LISTProduct Tours List

Product Tours List

认证

需要 Connected Account

Scopes

product_tour:read

Tags

product_tours
Product Tours Partial UpdatePOSTHOG_PRODUCT_TOURS_PARTIAL_UPDATEProduct Tours Partial Update

Product Tours Partial Update

认证

需要 Connected Account

Scopes

product_tour:write

Tags

product_tours
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.

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.

认证

需要 Connected Account

Scopes

product_tour:write

Tags

product_tours
Product Tours RetrievePOSTHOG_PRODUCT_TOURS_RETRIEVEProduct Tours Retrieve

Product Tours Retrieve

认证

需要 Connected Account

Scopes

product_tour:read

Tags

product_tours
Product Tours UpdatePOSTHOG_PRODUCT_TOURS_UPDATEProduct Tours Update

Product Tours Update

认证

需要 Connected Account

Scopes

product_tour:write

Tags

product_tours
Project Secret Api Keys CreatePOSTHOG_PROJECT_SECRET_API_KEYS_CREATEProject Secret Api Keys Create

Project Secret Api Keys Create

认证

需要 Connected Account

Scopes

project:write

Tags

project_secret_api_keys
Project Secret Api Keys DestroyPOSTHOG_PROJECT_SECRET_API_KEYS_DESTROYProject Secret Api Keys Destroy

Project Secret Api Keys Destroy

认证

需要 Connected Account

Scopes

project:write

Tags

project_secret_api_keys
Project Secret Api Keys ListPOSTHOG_PROJECT_SECRET_API_KEYS_LISTProject Secret Api Keys List

Project Secret Api Keys List

认证

需要 Connected Account

Scopes

project:read

Tags

project_secret_api_keys
Project Secret Api Keys Partial UpdatePOSTHOG_PROJECT_SECRET_API_KEYS_PARTIAL_UPDATEProject Secret Api Keys Partial Update

Project Secret Api Keys Partial Update

认证

需要 Connected Account

Scopes

project:write

Tags

project_secret_api_keys
Project Secret Api Keys RetrievePOSTHOG_PROJECT_SECRET_API_KEYS_RETRIEVEProject Secret Api Keys Retrieve

Project Secret Api Keys Retrieve

认证

需要 Connected Account

Scopes

project:read

Tags

project_secret_api_keys
Project Secret Api Keys Roll CreatePOSTHOG_PROJECT_SECRET_API_KEYS_ROLL_CREATERoll a project secret API key

Roll a project secret API key

认证

需要 Connected Account

Scopes

project:write

Tags

project_secret_api_keys
Project Secret Api Keys UpdatePOSTHOG_PROJECT_SECRET_API_KEYS_UPDATEProject Secret Api Keys Update

Project Secret Api Keys Update

认证

需要 Connected Account

Scopes

project:write

Tags

project_secret_api_keys
Property Access Controls CreatePOSTHOG_PROPERTY_ACCESS_CONTROLS_CREATECreate or update a property access control rule.

Create or update a property access control rule.

认证

需要 Connected Account

Scopes

access_control:write

Tags

property_access_controls
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.

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.

认证

需要 Connected Account

Scopes

access_control:write

Tags

property_access_controls
Property Access Controls RetrievePOSTHOG_PROPERTY_ACCESS_CONTROLS_RETRIEVEGet all property access control rules for a property definition.

Get all property access control rules for a property definition.

认证

需要 Connected Account

Scopes

access_control:read

Tags

property_access_controls
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 list

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

认证

需要 Connected Account

Tags

property_definitions
Property Definitions DestroyPOSTHOG_PROPERTY_DEFINITIONS_DESTROYProperty Definitions Destroy

Property Definitions Destroy

认证

需要 Connected Account

Scopes

property_definition:write

Tags

property_definitions
Property Definitions ListPOSTHOG_PROPERTY_DEFINITIONS_LISTProperty Definitions List

Property Definitions List

认证

需要 Connected Account

Scopes

property_definition:read

Tags

property_definitions
Property Definitions Partial UpdatePOSTHOG_PROPERTY_DEFINITIONS_PARTIAL_UPDATEProperty Definitions Partial Update

Property Definitions Partial Update

认证

需要 Connected Account

Scopes

property_definition:write

Tags

property_definitions
Property Definitions RetrievePOSTHOG_PROPERTY_DEFINITIONS_RETRIEVEProperty Definitions Retrieve

Property Definitions Retrieve

认证

需要 Connected Account

Scopes

property_definition:read

Tags

property_definitions
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_name

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

认证

需要 Connected Account

Scopes

property_definition:read

Tags

property_definitions
Property Definitions UpdatePOSTHOG_PROPERTY_DEFINITIONS_UPDATEProperty Definitions Update

Property Definitions Update

认证

需要 Connected Account

Scopes

property_definition:write

Tags

property_definitions
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.

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.

认证

需要 Connected Account

Scopes

organization:write

Tags

reverse_proxyproxy_records
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.

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.

认证

需要 Connected Account

Scopes

organization:write

Tags

reverse_proxyproxy_records
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.

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.

认证

需要 Connected Account

Tags

reverse_proxyproxy_records
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.

List all reverse proxies configured for the organization. Returns proxy records along with the maximum number allowed by the current plan.

认证

需要 Connected Account

Scopes

organization:read

Tags

reverse_proxyproxy_records
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.

Get details of a specific reverse proxy by ID. Returns the full configuration including domain, CNAME target, and current provisioning status.

认证

需要 Connected Account

Scopes

organization:read

Tags

reverse_proxyproxy_records
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.

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.

认证

需要 Connected Account

Tags

reverse_proxyproxy_records
Public Hog Function Templates ListPOSTHOG_PUBLIC_HOG_FUNCTION_TEMPLATES_LISTPublic Hog Function Templates List

Public Hog Function Templates List

认证

需要 Connected Account

Tags

hog_function_templatespublic_hog_function_templates
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.

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.

认证

需要 Connected Account

Tags

query
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.

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.

认证

需要 Connected Account

Scopes

query:read

Tags

query
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.

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.

认证

需要 Connected Account

Tags

query
Query DestroyPOSTHOG_QUERY_DESTROY(Experimental)

(Experimental)

认证

需要 Connected Account

Scopes

query:read

Tags

query
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.

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.

认证

需要 Connected Account

Tags

query
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.

Get query log details from query_log_archive table for a specific query_id, the query must have been issued in last 24 hours.

认证

需要 Connected Account

Tags

query
Query RetrievePOSTHOG_QUERY_RETRIEVE(Experimental)

(Experimental)

认证

需要 Connected Account

Scopes

query:read

Tags

query
Query Upgrade CreatePOSTHOG_QUERY_UPGRADE_CREATEUpgrades a query without executing it. Returns a query with all nodes migrated to the latest version.

Upgrades a query without executing it. Returns a query with all nodes migrated to the latest version.

认证

需要 Connected Account

Tags

query
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.

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.

认证

需要 Connected Account

Scopes

project:read

Tags

quota_limitsquota_limits
Reminders CreatePOSTHOG_REMINDERS_CREATEReminders Create

Reminders Create

认证

需要 Connected Account

Scopes

user:write

Tags

remindersreminders
Reminders DestroyPOSTHOG_REMINDERS_DESTROYReminders Destroy

Reminders Destroy

认证

需要 Connected Account

Scopes

user:write

Tags

remindersreminders
Reminders ListPOSTHOG_REMINDERS_LISTReminders List

Reminders List

认证

需要 Connected Account

Scopes

user:read

Tags

remindersreminders
Reminders Partial UpdatePOSTHOG_REMINDERS_PARTIAL_UPDATEReminders Partial Update

Reminders Partial Update

认证

需要 Connected Account

Scopes

user:write

Tags

remindersreminders
Reminders RetrievePOSTHOG_REMINDERS_RETRIEVEReminders Retrieve

Reminders Retrieve

认证

需要 Connected Account

Scopes

user:read

Tags

remindersreminders
Reminders UpdatePOSTHOG_REMINDERS_UPDATEReminders Update

Reminders Update

认证

需要 Connected Account

Scopes

user:write

Tags

remindersreminders
Request Ai Access CreatePOSTHOG_REQUEST_AI_ACCESS_CREATENotify organization admins that a member is requesting PostHog AI be enabled.

Notify organization admins that a member is requesting PostHog AI be enabled.

认证

需要 Connected Account

Tags

organizationsrequest_ai_access
RetrievePOSTHOG_RETRIEVERetrieve

Retrieve

认证

需要 Connected Account

Scopes

organization:read

Tags

organizationsorganizations
Retrieve Session Summaries ConfigPOSTHOG_RETRIEVE_SESSION_SUMMARIES_CONFIGRetrieve the team's session summaries configuration (product context used to tailor single-session replay summaries).

Retrieve the team's session summaries configuration (product context used to tailor single-session replay summaries).

认证

需要 Connected Account

Tags

session_summaries
Role External References CreatePOSTHOG_ROLE_EXTERNAL_REFERENCES_CREATERole External References Create

Role External References Create

认证

需要 Connected Account

Scopes

organization:write

Tags

organizationsrole_external_references
Role External References DestroyPOSTHOG_ROLE_EXTERNAL_REFERENCES_DESTROYRole External References Destroy

Role External References Destroy

认证

需要 Connected Account

Scopes

organization:write

Tags

organizationsrole_external_references
Role External References ListPOSTHOG_ROLE_EXTERNAL_REFERENCES_LISTRole External References List

Role External References List

认证

需要 Connected Account

Scopes

organization:read

Tags

organizationsrole_external_references
Role External References Lookup RetrievePOSTHOG_ROLE_EXTERNAL_REFERENCES_LOOKUP_RETRIEVERole External References Lookup Retrieve

Role External References Lookup Retrieve

认证

需要 Connected Account

Tags

organizationsrole_external_references
Roles CreatePOSTHOG_ROLES_CREATERoles Create

Roles Create

认证

需要 Connected Account

Scopes

organization:write

Tags

organizationsroles
Roles DestroyPOSTHOG_ROLES_DESTROYRoles Destroy

Roles Destroy

认证

需要 Connected Account

Scopes

organization:write

Tags

organizationsroles
Roles ListPOSTHOG_ROLES_LISTRoles List

Roles List

认证

需要 Connected Account

Scopes

organization:read

Tags

organizationsroles
Roles Partial UpdatePOSTHOG_ROLES_PARTIAL_UPDATERoles Partial Update

Roles Partial Update

认证

需要 Connected Account

Scopes

organization:write

Tags

organizationsroles
Roles RetrievePOSTHOG_ROLES_RETRIEVERoles Retrieve

Roles Retrieve

认证

需要 Connected Account

Scopes

organization:read

Tags

organizationsroles
Roles Role Memberships CreatePOSTHOG_ROLES_ROLE_MEMBERSHIPS_CREATERoles Role Memberships Create

Roles Role Memberships Create

认证

需要 Connected Account

Scopes

organization:write

Tags

organizationsroles
Roles Role Memberships DestroyPOSTHOG_ROLES_ROLE_MEMBERSHIPS_DESTROYRoles Role Memberships Destroy

Roles Role Memberships Destroy

认证

需要 Connected Account

Scopes

organization:write

Tags

organizationsroles
Roles Role Memberships ListPOSTHOG_ROLES_ROLE_MEMBERSHIPS_LISTRoles Role Memberships List

Roles Role Memberships List

认证

需要 Connected Account

Scopes

organization:read

Tags

organizationsroles
Roles Role Memberships RetrievePOSTHOG_ROLES_ROLE_MEMBERSHIPS_RETRIEVERoles Role Memberships Retrieve

Roles Role Memberships Retrieve

认证

需要 Connected Account

Scopes

organization:read

Tags

organizationsroles
Roles UpdatePOSTHOG_ROLES_UPDATERoles Update

Roles Update

认证

需要 Connected Account

Scopes

organization:write

Tags

organizationsroles
Sandbox CreatePOSTHOG_SANDBOX_CREATEAPI for managing sandbox environments that control network access for task runs.

API for managing sandbox environments that control network access for task runs.

认证

需要 Connected Account

Scopes

task:write

Tags

sandbox-environmentssandbox_environments
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.

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.

认证

需要 Connected Account

Scopes

task:write

Tags

sandbox-custom-imagessandbox_custom_images
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.

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.

认证

需要 Connected Account

Scopes

task:write

Tags

sandbox-custom-imagessandbox_custom_images
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.

Create a draft custom image and start its interactive image-builder agent task. The returned builder_task_id points at the conversation.

认证

需要 Connected Account

Scopes

task:write

Tags

sandbox-custom-imagessandbox_custom_images
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).

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).

认证

需要 Connected Account

Scopes

task:write

Tags

sandbox-custom-imagessandbox_custom_images
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).

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).

认证

需要 Connected Account

Scopes

task:read

Tags

sandbox-custom-imagessandbox_custom_images
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).

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).

认证

需要 Connected Account

Scopes

task:read

Tags

sandbox-custom-imagessandbox_custom_images
Sandbox DestroyPOSTHOG_SANDBOX_DESTROYAPI for managing sandbox environments that control network access for task runs.

API for managing sandbox environments that control network access for task runs.

认证

需要 Connected Account

Scopes

task:write

Tags

sandbox-environmentssandbox_environments
Sandbox ListPOSTHOG_SANDBOX_LISTAPI for managing sandbox environments that control network access for task runs.

API for managing sandbox environments that control network access for task runs.

认证

需要 Connected Account

Scopes

task:read

Tags

sandbox-environmentssandbox_environments
Sandbox Partial UpdatePOSTHOG_SANDBOX_PARTIAL_UPDATEAPI for managing sandbox environments that control network access for task runs.

API for managing sandbox environments that control network access for task runs.

认证

需要 Connected Account

Scopes

task:write

Tags

sandbox-environmentssandbox_environments
Sandbox RetrievePOSTHOG_SANDBOX_RETRIEVEAPI for managing sandbox environments that control network access for task runs.

API for managing sandbox environments that control network access for task runs.

认证

需要 Connected Account

Scopes

task:read

Tags

sandbox-environmentssandbox_environments
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.

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.

认证

需要 Connected Account

Scopes

heatmap:write

Tags

saved
Saved DestroyPOSTHOG_SAVED_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

heatmap:write

Tags

saved
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.

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.

认证

需要 Connected Account

Scopes

heatmap:read

Tags

saved
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.

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.

认证

需要 Connected Account

Scopes

heatmap:write

Tags

saved
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.

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.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

saved_query_column_annotations
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.

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.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

saved_query_column_annotations
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.

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.

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

saved_query_column_annotations
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.

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.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

saved_query_column_annotations
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.

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.

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

saved_query_column_annotations
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.

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.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

saved_query_column_annotations
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'.

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'.

认证

需要 Connected Account

Scopes

heatmap:write

Tags

saved
Saved RetrievePOSTHOG_SAVED_RETRIEVEGet a single saved heatmap by its short_id, including per-width render status.

Get a single saved heatmap by its short_id, including per-width render status.

认证

需要 Connected Account

Scopes

heatmap:read

Tags

saved
Scheduled Changes CreatePOSTHOG_SCHEDULED_CHANGES_CREATECreate, read, update and delete scheduled changes.

Create, read, update and delete scheduled changes.

认证

需要 Connected Account

Scopes

feature_flag:write

Tags

scheduled_changes
Scheduled Changes DestroyPOSTHOG_SCHEDULED_CHANGES_DESTROYCreate, read, update and delete scheduled changes.

Create, read, update and delete scheduled changes.

认证

需要 Connected Account

Scopes

feature_flag:write

Tags

scheduled_changes
Scheduled Changes ListPOSTHOG_SCHEDULED_CHANGES_LISTCreate, read, update and delete scheduled changes.

Create, read, update and delete scheduled changes.

认证

需要 Connected Account

Scopes

feature_flag:read

Tags

scheduled_changes
Scheduled Changes Partial UpdatePOSTHOG_SCHEDULED_CHANGES_PARTIAL_UPDATECreate, read, update and delete scheduled changes.

Create, read, update and delete scheduled changes.

认证

需要 Connected Account

Scopes

feature_flag:write

Tags

scheduled_changes
Scheduled Changes RetrievePOSTHOG_SCHEDULED_CHANGES_RETRIEVECreate, read, update and delete scheduled changes.

Create, read, update and delete scheduled changes.

认证

需要 Connected Account

Scopes

feature_flag:read

Tags

scheduled_changes
Scheduled Changes UpdatePOSTHOG_SCHEDULED_CHANGES_UPDATECreate, read, update and delete scheduled changes.

Create, read, update and delete scheduled changes.

认证

需要 Connected Account

Scopes

feature_flag:write

Tags

scheduled_changes
Schema Property Groups CreatePOSTHOG_SCHEMA_PROPERTY_GROUPS_CREATESchema Property Groups Create

Schema Property Groups Create

认证

需要 Connected Account

Scopes

event_definition:write

Tags

schema_property_groups
Schema Property Groups DestroyPOSTHOG_SCHEMA_PROPERTY_GROUPS_DESTROYSchema Property Groups Destroy

Schema Property Groups Destroy

认证

需要 Connected Account

Scopes

event_definition:write

Tags

schema_property_groups
Schema Property Groups ListPOSTHOG_SCHEMA_PROPERTY_GROUPS_LISTSchema Property Groups List

Schema Property Groups List

认证

需要 Connected Account

Scopes

event_definition:read

Tags

schema_property_groups
Schema Property Groups Partial UpdatePOSTHOG_SCHEMA_PROPERTY_GROUPS_PARTIAL_UPDATESchema Property Groups Partial Update

Schema Property Groups Partial Update

认证

需要 Connected Account

Scopes

event_definition:write

Tags

schema_property_groups
Schema Property Groups RetrievePOSTHOG_SCHEMA_PROPERTY_GROUPS_RETRIEVESchema Property Groups Retrieve

Schema Property Groups Retrieve

认证

需要 Connected Account

Scopes

event_definition:read

Tags

schema_property_groups
Schema Property Groups UpdatePOSTHOG_SCHEMA_PROPERTY_GROUPS_UPDATESchema Property Groups Update

Schema Property Groups Update

认证

需要 Connected Account

Scopes

event_definition:write

Tags

schema_property_groups
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.

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.

认证

需要 Connected Account

Scopes

project:read

Tags

sdk_healthsdk_health
Session Group Summaries CreatePOSTHOG_SESSION_GROUP_SUMMARIES_CREATEAPI for retrieving and managing stored group session summaries.

API for retrieving and managing stored group session summaries.

认证

需要 Connected Account

Scopes

session_recording:write

Tags

session_group_summaries
Session Group Summaries DestroyPOSTHOG_SESSION_GROUP_SUMMARIES_DESTROYAPI for retrieving and managing stored group session summaries.

API for retrieving and managing stored group session summaries.

认证

需要 Connected Account

Scopes

session_recording:write

Tags

session_group_summaries
Session Group Summaries ListPOSTHOG_SESSION_GROUP_SUMMARIES_LISTAPI for retrieving and managing stored group session summaries.

API for retrieving and managing stored group session summaries.

认证

需要 Connected Account

Scopes

session_recording:read

Tags

session_group_summaries
Session Group Summaries Partial UpdatePOSTHOG_SESSION_GROUP_SUMMARIES_PARTIAL_UPDATEAPI for retrieving and managing stored group session summaries.

API for retrieving and managing stored group session summaries.

认证

需要 Connected Account

Scopes

session_recording:write

Tags

session_group_summaries
Session Group Summaries RetrievePOSTHOG_SESSION_GROUP_SUMMARIES_RETRIEVEAPI for retrieving and managing stored group session summaries.

API for retrieving and managing stored group session summaries.

认证

需要 Connected Account

Scopes

session_recording:read

Tags

session_group_summaries
Session Group Summaries UpdatePOSTHOG_SESSION_GROUP_SUMMARIES_UPDATEAPI for retrieving and managing stored group session summaries.

API for retrieving and managing stored group session summaries.

认证

需要 Connected Account

Scopes

session_recording:write

Tags

session_group_summaries
Session Recording Playlists CreatePOSTHOG_SESSION_RECORDING_PLAYLISTS_CREATESession Recording Playlists Create

Session Recording Playlists Create

认证

需要 Connected Account

Scopes

session_recording_playlist:write

Tags

replaysession_recording_playlists
Session Recording Playlists DestroyPOSTHOG_SESSION_RECORDING_PLAYLISTS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

session_recording_playlist:write

Tags

replaysession_recording_playlists
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.

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.

认证

需要 Connected Account

Scopes

session_recording_playlist:read

Tags

replaysession_recording_playlists
Session Recording Playlists Partial UpdatePOSTHOG_SESSION_RECORDING_PLAYLISTS_PARTIAL_UPDATESession Recording Playlists Partial Update

Session Recording Playlists Partial Update

认证

需要 Connected Account

Scopes

session_recording_playlist:write

Tags

replaysession_recording_playlists
Session Recording Playlists Recordings CreatePOSTHOG_SESSION_RECORDING_PLAYLISTS_RECORDINGS_CREATESession Recording Playlists Recordings Create

Session Recording Playlists Recordings Create

认证

需要 Connected Account

Tags

replaysession_recording_playlists
Session Recording Playlists Recordings DestroyPOSTHOG_SESSION_RECORDING_PLAYLISTS_RECORDINGS_DESTROYSession Recording Playlists Recordings Destroy

Session Recording Playlists Recordings Destroy

认证

需要 Connected Account

Tags

replaysession_recording_playlists
Session Recording Playlists Recordings RetrievePOSTHOG_SESSION_RECORDING_PLAYLISTS_RECORDINGS_RETRIEVESession Recording Playlists Recordings Retrieve

Session Recording Playlists Recordings Retrieve

认证

需要 Connected Account

Scopes

session_recording_playlist:read

Tags

replaysession_recording_playlists
Session Recording Playlists RetrievePOSTHOG_SESSION_RECORDING_PLAYLISTS_RETRIEVESession Recording Playlists Retrieve

Session Recording Playlists Retrieve

认证

需要 Connected Account

Scopes

session_recording_playlist:read

Tags

replaysession_recording_playlists
Session Recording Playlists UpdatePOSTHOG_SESSION_RECORDING_PLAYLISTS_UPDATESession Recording Playlists Update

Session Recording Playlists Update

认证

需要 Connected Account

Scopes

session_recording_playlist:write

Tags

replaysession_recording_playlists
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`.

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`.

认证

需要 Connected Account

Tags

replaysession_recordings
Session Recordings DestroyPOSTHOG_SESSION_RECORDINGS_DESTROYSession Recordings Destroy

Session Recordings Destroy

认证

需要 Connected Account

Scopes

session_recording:write

Tags

replaysession_recordings
Session Recordings ListPOSTHOG_SESSION_RECORDINGS_LISTSession Recordings List

Session Recordings List

认证

需要 Connected Account

Scopes

session_recording:read

Tags

replaysession_recordings
Session Recordings Partial UpdatePOSTHOG_SESSION_RECORDINGS_PARTIAL_UPDATESession Recordings Partial Update

Session Recordings Partial Update

认证

需要 Connected Account

Scopes

session_recording:write

Tags

replaysession_recordings
Session Recordings RetrievePOSTHOG_SESSION_RECORDINGS_RETRIEVESession Recordings Retrieve

Session Recordings Retrieve

认证

需要 Connected Account

Scopes

session_recording:read

Tags

replaysession_recordings
Session Recordings Sharing ListPOSTHOG_SESSION_RECORDINGS_SHARING_LISTSession Recordings Sharing List

Session Recordings Sharing List

认证

需要 Connected Account

Scopes

sharing_configuration:read

Tags

session_recordings
Session Recordings Sharing Passwords CreatePOSTHOG_SESSION_RECORDINGS_SHARING_PASSWORDS_CREATECreate a new password for the sharing configuration.

Create a new password for the sharing configuration.

认证

需要 Connected Account

Scopes

sharing_configuration:write

Tags

session_recordings
Session Recordings Sharing Passwords DestroyPOSTHOG_SESSION_RECORDINGS_SHARING_PASSWORDS_DESTROYDelete a password from the sharing configuration.

Delete a password from the sharing configuration.

认证

需要 Connected Account

Scopes

sharing_configuration:write

Tags

session_recordings
Session Recordings Sharing Refresh CreatePOSTHOG_SESSION_RECORDINGS_SHARING_REFRESH_CREATESession Recordings Sharing Refresh Create

Session Recordings Sharing Refresh Create

认证

需要 Connected Account

Scopes

sharing_configuration:write

Tags

session_recordings
Session Recordings UpdatePOSTHOG_SESSION_RECORDINGS_UPDATESession Recordings Update

Session Recordings Update

认证

需要 Connected Account

Scopes

session_recording:write

Tags

replaysession_recordings
Sessions Property Definitions RetrievePOSTHOG_SESSIONS_PROPERTY_DEFINITIONS_RETRIEVESessions Property Definitions Retrieve

Sessions Property Definitions Retrieve

认证

需要 Connected Account

Scopes

query:read

Tags

sessions
Sessions Values RetrievePOSTHOG_SESSIONS_VALUES_RETRIEVESessions Values Retrieve

Sessions Values Retrieve

认证

需要 Connected Account

Scopes

query:read

Tags

sessions
Signals Processing ListPOSTHOG_SIGNALS_PROCESSING_LISTReturn current processing state including pause status.

Return current processing state including pause status.

认证

需要 Connected Account

Scopes

task:read

Tags

signals
Signals Processing Pause DestroyPOSTHOG_SIGNALS_PROCESSING_PAUSE_DESTROYView and control signal processing pipeline state for a team.

View and control signal processing pipeline state for a team.

认证

需要 Connected Account

Scopes

task:write

Tags

signals
Signals Processing Pause UpdatePOSTHOG_SIGNALS_PROCESSING_PAUSE_UPDATEView and control signal processing pipeline state for a team.

View and control signal processing pipeline state for a team.

认证

需要 Connected Account

Scopes

task:write

Tags

signals
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.

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.

认证

需要 Connected Account

Scopes

task:write

Tags

signals
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).

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).

认证

需要 Connected Account

Scopes

task:write

Tags

signals
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.

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.

认证

需要 Connected Account

Scopes

task:read

Tags

signals
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.

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.

认证

需要 Connected Account

Scopes

task:read

Tags

signals
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.

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.

认证

需要 Connected Account

Scopes

task:write

Tags

signals
Get a single artefactPOSTHOG_SIGNALS_REPORT_ARTEFACTS_RETRIEVEGet one artefact by id, content parsed (and reviewers enriched) the same way as the list.

Get one artefact by id, content parsed (and reviewers enriched) the same way as the list.

认证

需要 Connected Account

Scopes

task:read

Tags

signals
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.

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.

认证

需要 Connected Account

Scopes

task:write

Tags

signals
Signals Reports ListPOSTHOG_SIGNALS_REPORTS_LISTSignals Reports List

Signals Reports List

认证

需要 Connected Account

Scopes

task:read

Tags

signals
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.

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.

认证

需要 Connected Account

Scopes

task:write

Tags

signals
Signals Reports RetrievePOSTHOG_SIGNALS_REPORTS_RETRIEVESignals Reports Retrieve

Signals Reports Retrieve

认证

需要 Connected Account

Scopes

task:read

Tags

signals
List a report's signalsPOSTHOG_SIGNALS_REPORTS_SIGNALS_RETRIEVEFetch all signals for a report from ClickHouse, including full metadata.

Fetch all signals for a report from ClickHouse, including full metadata.

认证

需要 Connected Account

Scopes

task:read

Tags

signals
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>, }

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>, }

认证

需要 Connected Account

Scopes

task:write

Tags

signals
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.

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.

认证

需要 Connected Account

Scopes

signal_scout:write

Tags

signals
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.

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.

认证

需要 Connected Account

Scopes

signal_scout:write

Tags

signals
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.

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.

认证

需要 Connected Account

Scopes

signal_scout:read

Tags

signals
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.

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.

认证

需要 Connected Account

Scopes

signal_scout:write

Tags

signals
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.

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.

认证

需要 Connected Account

Scopes

signal_scout:write

Tags

signals
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.

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.

认证

需要 Connected Account

Scopes

signal_scout:write

Tags

signals
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.

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.

认证

需要 Connected Account

Scopes

signal_scout_report:write

Tags

signals
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.

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.

认证

需要 Connected Account

Scopes

signal_scout_report:write

Tags

signals
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.

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.

认证

需要 Connected Account

Scopes

signal_scout_internal:write

Tags

signals
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.

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.

认证

需要 Connected Account

Scopes

signal_scout_internal:read

Tags

signals
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.

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.

认证

需要 Connected Account

Scopes

signal_scout:read

Tags

signals
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.

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.

认证

需要 Connected Account

Scopes

signal_scout:read

Tags

signals
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.

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.

认证

需要 Connected Account

Scopes

signal_scout:readtask:read

Tags

signals
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.

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.

认证

需要 Connected Account

Scopes

signal_scout:readtask:read

Tags

signals
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.

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.

认证

需要 Connected Account

Scopes

signal_scout:read

Tags

signals
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).

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).

认证

需要 Connected Account

Scopes

signal_scout:read

Tags

signals
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.

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.

认证

需要 Connected Account

Scopes

signal_scout:read

Tags

signals
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.

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.

认证

需要 Connected Account

Scopes

signal_scout:read

Tags

signals
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).

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).

认证

需要 Connected Account

Scopes

signal_scout:read

Tags

signals
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.

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.

认证

需要 Connected Account

Scopes

signal_scout:read

Tags

signals
Forget a scratchpad entry by keyPOSTHOG_SIGNALS_SCOUT_SCRATCHPAD_FORGETDelete an entry by key. Returns `deleted=false` if no row matched.

Delete an entry by key. Returns `deleted=false` if no row matched.

认证

需要 Connected Account

Scopes

signal_scout_internal:write

Tags

signals
Remember a scratchpad entryPOSTHOG_SIGNALS_SCOUT_SCRATCHPAD_REMEMBERUpsert a memory keyed on `(team, key)`. Re-using a key updates the existing entry in place.

Upsert a memory keyed on `(team, key)`. Re-using a key updates the existing entry in place.

认证

需要 Connected Account

Scopes

signal_scout_internal:write

Tags

signals
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.

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.

认证

需要 Connected Account

Scopes

signal_scout:read

Tags

signals
Signals Source Configs CreatePOSTHOG_SIGNALS_SOURCE_CONFIGS_CREATESignals Source Configs Create

Signals Source Configs Create

认证

需要 Connected Account

Scopes

task:write

Tags

signals
Signals Source Configs DestroyPOSTHOG_SIGNALS_SOURCE_CONFIGS_DESTROYSignals Source Configs Destroy

Signals Source Configs Destroy

认证

需要 Connected Account

Scopes

task:write

Tags

signals
Signals Source Configs ListPOSTHOG_SIGNALS_SOURCE_CONFIGS_LISTSignals Source Configs List

Signals Source Configs List

认证

需要 Connected Account

Scopes

task:read

Tags

signals
Signals Source Configs Partial UpdatePOSTHOG_SIGNALS_SOURCE_CONFIGS_PARTIAL_UPDATESignals Source Configs Partial Update

Signals Source Configs Partial Update

认证

需要 Connected Account

Scopes

task:write

Tags

signals
Signals Source Configs RetrievePOSTHOG_SIGNALS_SOURCE_CONFIGS_RETRIEVESignals Source Configs Retrieve

Signals Source Configs Retrieve

认证

需要 Connected Account

Scopes

task:read

Tags

signals
Signals Source Configs UpdatePOSTHOG_SIGNALS_SOURCE_CONFIGS_UPDATESignals Source Configs Update

Signals Source Configs Update

认证

需要 Connected Account

Scopes

task:write

Tags

signals
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.

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.

认证

需要 Connected Account

Scopes

session_recording:read

Tags

single_session_summaries
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.

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.

认证

需要 Connected Account

Scopes

session_recording:read

Tags

single_session_summaries
Subscriptions CreatePOSTHOG_SUBSCRIPTIONS_CREATESubscriptions Create

Subscriptions Create

认证

需要 Connected Account

Scopes

subscription:write

Tags

subscriptionssubscriptions
List subscription deliveriesPOSTHOG_SUBSCRIPTIONS_DELIVERIES_LISTPaginated delivery history for a subscription. Requires premium subscriptions.

Paginated delivery history for a subscription. Requires premium subscriptions.

认证

需要 Connected Account

Scopes

subscription:read

Tags

subscriptionssubscriptions
Retrieve subscription deliveryPOSTHOG_SUBSCRIPTIONS_DELIVERIES_RETRIEVEFetch one delivery row by id.

Fetch one delivery row by id.

认证

需要 Connected Account

Scopes

subscription:read

Tags

subscriptionssubscriptions
Subscriptions DestroyPOSTHOG_SUBSCRIPTIONS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

subscription:write

Tags

subscriptionssubscriptions
Subscriptions ListPOSTHOG_SUBSCRIPTIONS_LISTSubscriptions List

Subscriptions List

认证

需要 Connected Account

Scopes

subscription:read

Tags

subscriptionssubscriptions
Subscriptions Partial UpdatePOSTHOG_SUBSCRIPTIONS_PARTIAL_UPDATESubscriptions Partial Update

Subscriptions Partial Update

认证

需要 Connected Account

Scopes

subscription:write

Tags

subscriptionssubscriptions
Subscriptions RetrievePOSTHOG_SUBSCRIPTIONS_RETRIEVESubscriptions Retrieve

Subscriptions Retrieve

认证

需要 Connected Account

Scopes

subscription:read

Tags

subscriptionssubscriptions
Subscriptions Summary Quota RetrievePOSTHOG_SUBSCRIPTIONS_SUMMARY_QUOTA_RETRIEVESubscriptions Summary Quota Retrieve

Subscriptions Summary Quota Retrieve

认证

需要 Connected Account

Scopes

subscription:read

Tags

subscriptionssubscriptions
Subscriptions Test Delivery CreatePOSTHOG_SUBSCRIPTIONS_TEST_DELIVERY_CREATESubscriptions Test Delivery Create

Subscriptions Test Delivery Create

认证

需要 Connected Account

Scopes

subscription:write

Tags

subscriptionssubscriptions
Subscriptions UpdatePOSTHOG_SUBSCRIPTIONS_UPDATESubscriptions Update

Subscriptions Update

认证

需要 Connected Account

Scopes

subscription:write

Tags

subscriptionssubscriptions
Surveys Activity RetrievePOSTHOG_SURVEYS_ACTIVITY_RETRIEVESurveys Activity Retrieve

Surveys Activity Retrieve

认证

需要 Connected Account

Scopes

activity_log:read

Tags

surveys
Surveys All Activity RetrievePOSTHOG_SURVEYS_ALL_ACTIVITY_RETRIEVESurveys All Activity Retrieve

Surveys All Activity Retrieve

认证

需要 Connected Account

Scopes

activity_log:read

Tags

surveys
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.

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.

认证

需要 Connected Account

Scopes

survey:read

Tags

surveys
Surveys CreatePOSTHOG_SURVEYS_CREATESurveys Create

Surveys Create

认证

需要 Connected Account

Scopes

survey:write

Tags

surveys
Surveys DestroyPOSTHOG_SURVEYS_DESTROYSurveys Destroy

Surveys Destroy

认证

需要 Connected Account

Scopes

survey:write

Tags

surveys
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.

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.

认证

需要 Connected Account

Scopes

survey:write

Tags

surveys
Surveys Generate Translations CreatePOSTHOG_SURVEYS_GENERATE_TRANSLATIONS_CREATESurveys Generate Translations Create

Surveys Generate Translations Create

认证

需要 Connected Account

Scopes

survey:write

Tags

surveys
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 rates

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

认证

需要 Connected Account

Scopes

survey:read

Tags

surveys
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.

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.

认证

需要 Connected Account

Scopes

survey:write

Tags

surveys
Surveys ListPOSTHOG_SURVEYS_LISTSurveys List

Surveys List

认证

需要 Connected Account

Scopes

survey:read

Tags

surveys
Surveys Partial UpdatePOSTHOG_SURVEYS_PARTIAL_UPDATESurveys Partial Update

Surveys Partial Update

认证

需要 Connected Account

Scopes

survey:write

Tags

surveys
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.

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.

认证

需要 Connected Account

Scopes

survey:read

Tags

surveys
Surveys Responses Archive CreatePOSTHOG_SURVEYS_RESPONSES_ARCHIVE_CREATEArchive a single survey response.

Archive a single survey response.

认证

需要 Connected Account

Scopes

survey:write

Tags

surveys
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 counts

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

认证

需要 Connected Account

Scopes

survey:read

Tags

surveys
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.

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.

认证

需要 Connected Account

Scopes

survey:readquery:read

Tags

surveys
Surveys Responses Unarchive CreatePOSTHOG_SURVEYS_RESPONSES_UNARCHIVE_CREATEUnarchive a single survey response.

Unarchive a single survey response.

认证

需要 Connected Account

Scopes

survey:write

Tags

surveys
Surveys RetrievePOSTHOG_SURVEYS_RETRIEVESurveys Retrieve

Surveys Retrieve

认证

需要 Connected Account

Scopes

survey:read

Tags

surveys
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 rates

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

认证

需要 Connected Account

Scopes

survey:read

Tags

surveys
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.

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.

认证

需要 Connected Account

Scopes

survey:write

Tags

surveys
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.

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.

认证

需要 Connected Account

Scopes

survey:read

Tags

surveys
Surveys Summary Headline CreatePOSTHOG_SURVEYS_SUMMARY_HEADLINE_CREATESurveys Summary Headline Create

Surveys Summary Headline Create

认证

需要 Connected Account

Scopes

survey:read

Tags

surveys
Surveys UpdatePOSTHOG_SURVEYS_UPDATESurveys Update

Surveys Update

认证

需要 Connected Account

Scopes

survey:write

Tags

surveys
Taggers CreatePOSTHOG_TAGGERS_CREATETaggers Create

Taggers Create

认证

需要 Connected Account

Scopes

tagger:write

Tags

taggers
Taggers DestroyPOSTHOG_TAGGERS_DESTROYHard delete of this model is not allowed. Use a patch API call to set "deleted" to true

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

认证

需要 Connected Account

Scopes

tagger:write

Tags

taggers
Taggers ListPOSTHOG_TAGGERS_LISTTaggers List

Taggers List

认证

需要 Connected Account

Scopes

tagger:read

Tags

taggers
Taggers Partial UpdatePOSTHOG_TAGGERS_PARTIAL_UPDATETaggers Partial Update

Taggers Partial Update

认证

需要 Connected Account

Scopes

tagger:write

Tags

taggers
Taggers RetrievePOSTHOG_TAGGERS_RETRIEVETaggers Retrieve

Taggers Retrieve

认证

需要 Connected Account

Scopes

tagger:read

Tags

taggers
Taggers Test Hog CreatePOSTHOG_TAGGERS_TEST_HOG_CREATETest Hog tagger code against sample events without saving.

Test Hog tagger code against sample events without saving.

认证

需要 Connected Account

Scopes

tagger:read

Tags

taggers
Taggers UpdatePOSTHOG_TAGGERS_UPDATETaggers Update

Taggers Update

认证

需要 Connected Account

Scopes

tagger:write

Tags

taggers
Task Automations CreatePOSTHOG_TASK_AUTOMATIONS_CREATEAPI for managing scheduled task automations.

API for managing scheduled task automations.

认证

需要 Connected Account

Scopes

task:write

Tags

task-automationstask_automations
Task Automations DestroyPOSTHOG_TASK_AUTOMATIONS_DESTROYAPI for managing scheduled task automations.

API for managing scheduled task automations.

认证

需要 Connected Account

Scopes

task:write

Tags

task-automationstask_automations
Task Automations ListPOSTHOG_TASK_AUTOMATIONS_LISTAPI for managing scheduled task automations.

API for managing scheduled task automations.

认证

需要 Connected Account

Scopes

task:read

Tags

task-automationstask_automations
Task Automations Partial UpdatePOSTHOG_TASK_AUTOMATIONS_PARTIAL_UPDATEAPI for managing scheduled task automations.

API for managing scheduled task automations.

认证

需要 Connected Account

Scopes

task:write

Tags

task-automationstask_automations
Task Automations RetrievePOSTHOG_TASK_AUTOMATIONS_RETRIEVEAPI for managing scheduled task automations.

API for managing scheduled task automations.

认证

需要 Connected Account

Scopes

task:read

Tags

task-automationstask_automations
Task Automations Run CreatePOSTHOG_TASK_AUTOMATIONS_RUN_CREATEAPI for managing scheduled task automations.

API for managing scheduled task automations.

认证

需要 Connected Account

Scopes

task:write

Tags

task-automationstask_automations
Resolve or create a public channelPOSTHOG_TASK_CHANNELS_CREATEReturns the existing public channel with the (normalized) name, creating it if needed.

Returns the existing public channel with the (normalized) name, creating it if needed.

认证

需要 Connected Account

Scopes

task:write

Tags

task_channels
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.

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.

认证

需要 Connected Account

Scopes

task:write

Tags

task_channels
List channelsPOSTHOG_TASK_CHANNELS_LISTAll live public channels plus the requester's personal #me channel (created on first list).

All live public channels plus the requester's personal #me channel (created on first list).

认证

需要 Connected Account

Scopes

task:read

Tags

task_channels
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.

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.

认证

需要 Connected Account

Scopes

task:write

Tags

task_channels
List mentions of the requesterPOSTHOG_TASK_MENTIONS_LISTThread messages that @-mention the requester, newest first, restricted to tasks they can see.

Thread messages that @-mention the requester, newest first, restricted to tasks they can see.

认证

需要 Connected Account

Scopes

task:read

Tags

task_mentions
Tasks CreatePOSTHOG_TASKS_CREATEAPI for managing tasks within a project. Tasks represent units of work to be performed by an agent.

API for managing tasks within a project. Tasks represent units of work to be performed by an agent.

认证

需要 Connected Account

Scopes

task:write

Tags

taskstasks
Tasks DestroyPOSTHOG_TASKS_DESTROYAPI for managing tasks within a project. Tasks represent units of work to be performed by an agent.

API for managing tasks within a project. Tasks represent units of work to be performed by an agent.

认证

需要 Connected Account

Scopes

task:write

Tags

taskstasks
List tasksPOSTHOG_TASKS_LISTGet a list of tasks for the current project, with optional filtering by origin product, stage, organization, repository, and created_by.

Get a list of tasks for the current project, with optional filtering by origin product, stage, organization, repository, and created_by.

认证

需要 Connected Account

Scopes

task:read

Tags

taskstasks
Tasks Partial UpdatePOSTHOG_TASKS_PARTIAL_UPDATEAPI for managing tasks within a project. Tasks represent units of work to be performed by an agent.

API for managing tasks within a project. Tasks represent units of work to be performed by an agent.

认证

需要 Connected Account

Scopes

task:write

Tags

taskstasks
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.

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.

认证

需要 Connected Account

Scopes

task:write

Tags

taskstasks
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.

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.

认证

需要 Connected Account

Scopes

task:write

Tags

taskstasks
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.

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.

认证

需要 Connected Account

Scopes

task:read

Tags

taskstasks
Get repository readinessPOSTHOG_TASKS_REPOSITORY_READINESS_RETRIEVEGet autonomy readiness details for a specific repository in the current project.

Get autonomy readiness details for a specific repository in the current project.

认证

需要 Connected Account

Scopes

task:read

Tags

taskstasks
Get taskPOSTHOG_TASKS_RETRIEVERetrieve a single task by ID.

Retrieve a single task by ID.

认证

需要 Connected Account

Scopes

task:read

Tags

taskstasks
Run taskPOSTHOG_TASKS_RUN_CREATECreate a new task run and kick off the workflow.

Create a new task run and kick off the workflow.

认证

需要 Connected Account

Scopes

task:write

Tags

taskstasks
Append log entriesPOSTHOG_TASKS_RUNS_APPEND_LOG_CREATEAppend one or more log entries to the task run log array

Append one or more log entries to the task run log array

认证

需要 Connected Account

Scopes

task:write

Tags

task-runstaskstasks
Upload artifacts for a task runPOSTHOG_TASKS_RUNS_ARTIFACTS_CREATEPersist task artifacts to S3 and attach them to the run manifest.

Persist task artifacts to S3 and attach them to the run manifest.

认证

需要 Connected Account

Scopes

task:write

Tags

task-runstaskstasks
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.

Streams artifact content for a task run artifact after validating that it belongs to the run.

认证

需要 Connected Account

Scopes

task:read

Tags

task-runstaskstasks
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.

Verify directly uploaded S3 objects and attach them to the run artifact manifest.

认证

需要 Connected Account

Scopes

task:write

Tags

task-runstaskstasks
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.

Reserve S3 object keys for task artifacts and return presigned POST forms for direct uploads.

认证

需要 Connected Account

Scopes

task:write

Tags

task-runstaskstasks
Generate presigned URL for an artifactPOSTHOG_TASKS_RUNS_ARTIFACTS_PRESIGN_CREATEReturns a temporary, signed URL that can be used to download a specific artifact.

Returns a temporary, signed URL that can be used to download a specific artifact.

认证

需要 Connected Account

Scopes

task:read

Tags

task-runstaskstasks
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.

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.

认证

需要 Connected Account

Scopes

task:write

Tags

task-runstaskstasks
Get sandbox connection tokenPOSTHOG_TASKS_RUNS_CONNECTION_TOKEN_RETRIEVEGenerate a JWT token for direct connection to the sandbox. Valid for 24 hours.

Generate a JWT token for direct connection to the sandbox. Valid for 24 hours.

认证

需要 Connected Account

Scopes

task:write

Tags

task-runstaskstasks
Create task runPOSTHOG_TASKS_RUNS_CREATECreate a new run for a specific task without starting execution.

Create a new run for a specific task without starting execution.

认证

需要 Connected Account

Scopes

task:write

Tags

task-runstaskstasks
List task runsPOSTHOG_TASKS_RUNS_LISTGet a list of runs for a specific task.

Get a list of runs for a specific task.

认证

需要 Connected Account

Scopes

task:read

Tags

task-runstaskstasks
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.

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.

认证

需要 Connected Account

Scopes

task:read

Tags

task-runstaskstasks
Update task runPOSTHOG_TASKS_RUNS_PARTIAL_UPDATEAPI for managing task runs. Each run represents an execution of a task.

API for managing task runs. Each run represents an execution of a task.

认证

需要 Connected Account

Scopes

task:write

Tags

task-runstaskstasks
Relay run message to SlackPOSTHOG_TASKS_RUNS_RELAY_MESSAGE_CREATEQueue a Slack relay workflow to post a run message into the mapped Slack thread.

Queue a Slack relay workflow to post a run message into the mapped Slack thread.

认证

需要 Connected Account

Scopes

task:write

Tags

task-runstaskstasks
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.

Resume an existing task run in a cloud sandbox. Terminates any existing workflow and starts a new one.

认证

需要 Connected Account

Scopes

task:write

Tags

task-runstaskstasks
Get task runPOSTHOG_TASKS_RUNS_RETRIEVERetrieve a single run for a specific task.

Retrieve a single run for a specific task.

认证

需要 Connected Account

Scopes

task:read

Tags

task-runstaskstasks
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.

Fetch session log entries for a task run with optional filtering by timestamp, event type, and limit.

认证

需要 Connected Account

Scopes

task:read

Tags

task-runstaskstasks
Set run outputPOSTHOG_TASKS_RUNS_SET_OUTPUT_PARTIAL_UPDATEUpdate the output field for a task run (e.g., PR URL, commit SHA, etc.)

Update the output field for a task run (e.g., PR URL, commit SHA, etc.)

认证

需要 Connected Account

Scopes

task:write

Tags

task-runstaskstasks
Start task runPOSTHOG_TASKS_RUNS_START_CREATEStart an existing cloud run after any initial run-scoped attachments have been uploaded.

Start an existing cloud run after any initial run-scoped attachments have been uploaded.

认证

需要 Connected Account

Scopes

task:write

Tags

task-runstaskstasks
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.

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.

认证

需要 Connected Account

Scopes

task:read

Tags

task-runstaskstasks
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.

Generate a run-scoped JWT that authorizes reading this task run's live event stream via the agent-proxy.

认证

需要 Connected Account

Scopes

task:read

Tags

task-runstaskstasks
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.

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.

认证

需要 Connected Account

Scopes

task:read

Tags

taskstasks
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.

Verify staged S3 uploads and cache their metadata so they can be attached to the next run created for this task.

认证

需要 Connected Account

Scopes

task:write

Tags

taskstasks
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.

Reserve S3 object keys for task attachments before creating a new run and return presigned POST forms for direct uploads.

认证

需要 Connected Account

Scopes

task:write

Tags

taskstasks
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`.

Returns summary for the requested tasks: `id`, `title`, `repository`, `created_at`, `updated_at`, and the latest run's `status` and `environment`.

认证

需要 Connected Account

Scopes

task:read

Tags

taskstasks
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.

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.

认证

需要 Connected Account

Scopes

task:write

Tags

tasks
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.

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.

认证

需要 Connected Account

Scopes

task:write

Tags

tasks
List thread messagesPOSTHOG_TASKS_THREAD_MESSAGES_LISTThe task's thread in chronological order.

The task's thread in chronological order.

认证

需要 Connected Account

Scopes

task:read

Tags

tasks
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.

Task author only: forwards the message into the task's latest live run.

认证

需要 Connected Account

Scopes

task:write

Tags

tasks
Tasks UpdatePOSTHOG_TASKS_UPDATEAPI for managing tasks within a project. Tasks represent units of work to be performed by an agent.

API for managing tasks within a project. Tasks represent units of work to be performed by an agent.

认证

需要 Connected Account

Scopes

task:write

Tags

taskstasks
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.

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.

认证

需要 Connected Account

Scopes

task:write

Tags

taskstasks
Tracing Spans Aggregate CreatePOSTHOG_TRACING_SPANS_AGGREGATE_CREATETracing Spans Aggregate Create

Tracing Spans Aggregate Create

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Tracing Spans Attribute Breakdown CreatePOSTHOG_TRACING_SPANS_ATTRIBUTE_BREAKDOWN_CREATETracing Spans Attribute Breakdown Create

Tracing Spans Attribute Breakdown Create

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Tracing Spans Attributes RetrievePOSTHOG_TRACING_SPANS_ATTRIBUTES_RETRIEVETracing Spans Attributes Retrieve

Tracing Spans Attributes Retrieve

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Tracing Spans Count CreatePOSTHOG_TRACING_SPANS_COUNT_CREATETracing Spans Count Create

Tracing Spans Count Create

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Tracing Spans Duration Histogram CreatePOSTHOG_TRACING_SPANS_DURATION_HISTOGRAM_CREATETracing Spans Duration Histogram Create

Tracing Spans Duration Histogram Create

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Tracing Spans Has Spans RetrievePOSTHOG_TRACING_SPANS_HAS_SPANS_RETRIEVETracing Spans Has Spans Retrieve

Tracing Spans Has Spans Retrieve

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Tracing Spans Query CreatePOSTHOG_TRACING_SPANS_QUERY_CREATETracing Spans Query Create

Tracing Spans Query Create

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Tracing Spans Service Names RetrievePOSTHOG_TRACING_SPANS_SERVICE_NAMES_RETRIEVETracing Spans Service Names Retrieve

Tracing Spans Service Names Retrieve

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Tracing Spans Sparkline CreatePOSTHOG_TRACING_SPANS_SPARKLINE_CREATETracing Spans Sparkline Create

Tracing Spans Sparkline Create

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Tracing Spans Symbol Stats CreatePOSTHOG_TRACING_SPANS_SYMBOL_STATS_CREATETracing Spans Symbol Stats Create

Tracing Spans Symbol Stats Create

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Tracing Spans Trace CreatePOSTHOG_TRACING_SPANS_TRACE_CREATETracing Spans Trace Create

Tracing Spans Trace Create

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Tracing Spans Tree CreatePOSTHOG_TRACING_SPANS_TREE_CREATETracing Spans Tree Create

Tracing Spans Tree Create

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Tracing Spans Values RetrievePOSTHOG_TRACING_SPANS_VALUES_RETRIEVETracing Spans Values Retrieve

Tracing Spans Values Retrieve

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Tracing Views CreatePOSTHOG_TRACING_VIEWS_CREATETracing Views Create

Tracing Views Create

认证

需要 Connected Account

Scopes

tracing:write

Tags

tracing
Tracing Views DestroyPOSTHOG_TRACING_VIEWS_DESTROYTracing Views Destroy

Tracing Views Destroy

认证

需要 Connected Account

Scopes

tracing:write

Tags

tracing
Tracing Views ListPOSTHOG_TRACING_VIEWS_LISTTracing Views List

Tracing Views List

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Tracing Views Partial UpdatePOSTHOG_TRACING_VIEWS_PARTIAL_UPDATETracing Views Partial Update

Tracing Views Partial Update

认证

需要 Connected Account

Scopes

tracing:write

Tags

tracing
Tracing Views RetrievePOSTHOG_TRACING_VIEWS_RETRIEVETracing Views Retrieve

Tracing Views Retrieve

认证

需要 Connected Account

Scopes

tracing:read

Tags

tracing
Tracing Views UpdatePOSTHOG_TRACING_VIEWS_UPDATETracing Views Update

Tracing Views Update

认证

需要 Connected Account

Scopes

tracing:write

Tags

tracing
UpdatePOSTHOG_UPDATEUpdate

Update

认证

需要 Connected Account

Scopes

organization:write

Tags

organizationsorganizations
Update Session Summaries ConfigPOSTHOG_UPDATE_SESSION_SUMMARIES_CONFIGUpdate the team's session summaries configuration (product context used to tailor single-session replay summaries).

Update the team's session summaries configuration (product context used to tailor single-session replay summaries).

认证

需要 Connected Account

Tags

session_summaries
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.

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.

认证

需要 Connected Account

Scopes

uploaded_media:write

Tags

uploaded_media
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.

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.

认证

需要 Connected Account

Scopes

user:write

Tags

user_home_settingsuser_home_settings
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.

Get the authenticated user's pinned sidebar tabs and configured homepage for the current team. Pass `@me` as the UUID.

认证

需要 Connected Account

Scopes

user:read

Tags

user_home_settingsuser_home_settings
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.

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.

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
User Interview Topics CreatePOSTHOG_USER_INTERVIEW_TOPICS_CREATEPlanned user interview topics: who we want to target and what we want to ask about.

Planned user interview topics: who we want to target and what we want to ask about.

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
User Interview Topics DestroyPOSTHOG_USER_INTERVIEW_TOPICS_DESTROYPlanned user interview topics: who we want to target and what we want to ask about.

Planned user interview topics: who we want to target and what we want to ask about.

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
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.

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.

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
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.

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.

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
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).

Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
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).

Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
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).

Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).

认证

需要 Connected Account

Scopes

user_interview:read

Tags

user_interview_topics
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).

Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
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).

Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).

认证

需要 Connected Account

Scopes

user_interview:read

Tags

user_interview_topics
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).

Per-interviewee extra context for a user interview topic. At most one row per (topic, interviewee_identifier).

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
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.

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.

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
User Interview Topics ListPOSTHOG_USER_INTERVIEW_TOPICS_LISTPlanned user interview topics: who we want to target and what we want to ask about.

Planned user interview topics: who we want to target and what we want to ask about.

认证

需要 Connected Account

Scopes

user_interview:read

Tags

user_interview_topics
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.

Planned user interview topics: who we want to target and what we want to ask about.

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
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.

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.

认证

需要 Connected Account

Scopes

user_interview:read

Tags

user_interview_topics
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.

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.

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
User Interview Topics RetrievePOSTHOG_USER_INTERVIEW_TOPICS_RETRIEVEPlanned user interview topics: who we want to target and what we want to ask about.

Planned user interview topics: who we want to target and what we want to ask about.

认证

需要 Connected Account

Scopes

user_interview:read

Tags

user_interview_topics
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.

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.

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
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.

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.

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
User Interview Topics UpdatePOSTHOG_USER_INTERVIEW_TOPICS_UPDATEPlanned user interview topics: who we want to target and what we want to ask about.

Planned user interview topics: who we want to target and what we want to ask about.

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interview_topics
User Interviews CreatePOSTHOG_USER_INTERVIEWS_CREATEUser Interviews Create

User Interviews Create

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interviews
User Interviews DestroyPOSTHOG_USER_INTERVIEWS_DESTROYUser Interviews Destroy

User Interviews Destroy

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interviews
User Interviews ListPOSTHOG_USER_INTERVIEWS_LISTUser Interviews List

User Interviews List

认证

需要 Connected Account

Scopes

user_interview:read

Tags

user_interviews
User Interviews Partial UpdatePOSTHOG_USER_INTERVIEWS_PARTIAL_UPDATEUser Interviews Partial Update

User Interviews Partial Update

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interviews
User Interviews RetrievePOSTHOG_USER_INTERVIEWS_RETRIEVEUser Interviews Retrieve

User Interviews Retrieve

认证

需要 Connected Account

Scopes

user_interview:read

Tags

user_interviews
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.

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.

认证

需要 Connected Account

Scopes

user_interview:read

Tags

user_interviews
User Interviews UpdatePOSTHOG_USER_INTERVIEWS_UPDATEUser Interviews Update

User Interviews Update

认证

需要 Connected Account

Scopes

user_interview:write

Tags

user_interviews
Users Cancel Email Change Request Partial UpdatePOSTHOG_USERS_CANCEL_EMAIL_CHANGE_REQUEST_PARTIAL_UPDATEUsers Cancel Email Change Request Partial Update

Users Cancel Email Change Request Partial Update

认证

需要 Connected Account

Tags

usersusers
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.

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.

认证

需要 Connected Account

Tags

usersusers
Users DestroyPOSTHOG_USERS_DESTROYUsers Destroy

Users Destroy

认证

需要 Connected Account

Tags

usersusers
Users Github Login RetrievePOSTHOG_USERS_GITHUB_LOGIN_RETRIEVEUsers Github Login Retrieve

Users Github Login Retrieve

认证

需要 Connected Account

Scopes

user:read

Tags

usersusers
Users Hedgehog Config Partial UpdatePOSTHOG_USERS_HEDGEHOG_CONFIG_PARTIAL_UPDATEUsers Hedgehog Config Partial Update

Users Hedgehog Config Partial Update

认证

需要 Connected Account

Scopes

user:write

Tags

usersusers
Users Hedgehog Config RetrievePOSTHOG_USERS_HEDGEHOG_CONFIG_RETRIEVEUsers Hedgehog Config Retrieve

Users Hedgehog Config Retrieve

认证

需要 Connected Account

Scopes

user:read

Tags

usersusers
List branches for a personal GitHub installation repositoryPOSTHOG_USERS_INTEGRATIONS_GITHUB_BRANCHES_RETRIEVEList branches for a repository accessible to a personal GitHub installation.

List branches for a repository accessible to a personal GitHub installation.

认证

需要 Connected Account

Scopes

user:read

Tags

usersusers
Disconnect a personal GitHub integrationPOSTHOG_USERS_INTEGRATIONS_GITHUB_DESTROYRemove a specific GitHub installation by its installation_id.

Remove a specific GitHub installation by its installation_id.

认证

需要 Connected Account

Scopes

user:write

Tags

usersusers
Users Integrations Github Prepare Callback CreatePOSTHOG_USERS_INTEGRATIONS_GITHUB_PREPARE_CALLBACK_CREATESeed personal GitHub manage callback state before opening installation settings on GitHub.

Seed personal GitHub manage callback state before opening installation settings on GitHub.

认证

需要 Connected Account

Scopes

user:write

Tags

usersusers
Refresh repositories for a personal GitHub installationPOSTHOG_USERS_INTEGRATIONS_GITHUB_REPOS_REFRESH_CREATERefresh repositories accessible to a specific GitHub installation.

Refresh repositories accessible to a specific GitHub installation.

认证

需要 Connected Account

Scopes

user:write

Tags

usersusers
List repositories for a personal GitHub installationPOSTHOG_USERS_INTEGRATIONS_GITHUB_REPOS_RETRIEVEList repositories accessible to a specific GitHub installation (paginated, cached).

List repositories accessible to a specific GitHub installation (paginated, cached).

认证

需要 Connected Account

Scopes

user:read

Tags

usersusers
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.

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.

认证

需要 Connected Account

Scopes

user:write

Tags

usersusers
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.

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.

认证

需要 Connected Account

Scopes

user:read

Tags

usersusers
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.

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.

认证

需要 Connected Account

Scopes

user:write

Tags

usersusers
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.

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.

认证

需要 Connected Account

Scopes

user:read

Tags

usersusers
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.

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.

认证

需要 Connected Account

Scopes

user:write

Tags

usersusers
Users ListPOSTHOG_USERS_LISTUsers List

Users List

认证

需要 Connected Account

Scopes

user:read

Tags

usersusers
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.

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.

认证

需要 Connected Account

Tags

usersusers
Users Login Sessions ListPOSTHOG_USERS_LOGIN_SESSIONS_LISTList the cookie-auth login sessions for the current user. Self-only — never another user.

List the cookie-auth login sessions for the current user. Self-only — never another user.

认证

需要 Connected Account

Tags

usersusers
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.

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.

认证

需要 Connected Account

Tags

usersusers
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.

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.

认证

需要 Connected Account

Tags

usersusers
Users Partial UpdatePOSTHOG_USERS_PARTIAL_UPDATEUpdate one or more of the authenticated user's profile fields or settings.

Update one or more of the authenticated user's profile fields or settings.

认证

需要 Connected Account

Scopes

user:write

Tags

usersusers
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.

Idempotent upsert: if the (user, token) pair already exists, `platform` and `last_seen_at` are refreshed. Otherwise a new row is created.

认证

需要 Connected Account

Scopes

user:write

Tags

usersusers
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.

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.

认证

需要 Connected Account

Scopes

user:write

Tags

usersusers
Users Request Email Verification CreatePOSTHOG_USERS_REQUEST_EMAIL_VERIFICATION_CREATEUsers Request Email Verification Create

Users Request Email Verification Create

认证

需要 Connected Account

Tags

usersusers
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.

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.

认证

需要 Connected Account

Scopes

user:read

Tags

usersusers
Users Scene Personalisation CreatePOSTHOG_USERS_SCENE_PERSONALISATION_CREATEUsers Scene Personalisation Create

Users Scene Personalisation Create

认证

需要 Connected Account

Tags

usersusers
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)

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)

认证

需要 Connected Account

Scopes

user:write

Tags

usersusers
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)

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)

认证

需要 Connected Account

Scopes

user:write

Tags

usersusers
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)

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)

认证

需要 Connected Account

Scopes

user:write

Tags

usersusers
Users Start 2fa Setup RetrievePOSTHOG_USERS_START_2FA_SETUP_RETRIEVEUsers Start 2fa Setup Retrieve

Users Start 2fa Setup Retrieve

认证

需要 Connected Account

Tags

usersusers
Users Two Factor Backup Codes CreatePOSTHOG_USERS_TWO_FACTOR_BACKUP_CODES_CREATEGenerate new backup codes, invalidating any existing ones

Generate new backup codes, invalidating any existing ones

认证

需要 Connected Account

Tags

usersusers
Users Two Factor Disable CreatePOSTHOG_USERS_TWO_FACTOR_DISABLE_CREATEDisable 2FA and remove all related devices

Disable 2FA and remove all related devices

认证

需要 Connected Account

Tags

usersusers
Users Two Factor Start Setup RetrievePOSTHOG_USERS_TWO_FACTOR_START_SETUP_RETRIEVEUsers Two Factor Start Setup Retrieve

Users Two Factor Start Setup Retrieve

认证

需要 Connected Account

Tags

usersusers
Users Two Factor Status RetrievePOSTHOG_USERS_TWO_FACTOR_STATUS_RETRIEVEGet current 2FA status including backup codes if enabled

Get current 2FA status including backup codes if enabled

认证

需要 Connected Account

Tags

usersusers
Users Two Factor Validate CreatePOSTHOG_USERS_TWO_FACTOR_VALIDATE_CREATEUsers Two Factor Validate Create

Users Two Factor Validate Create

认证

需要 Connected Account

Tags

usersusers
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.

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.

认证

需要 Connected Account

Scopes

user:write

Tags

usersusers
Users Validate 2fa CreatePOSTHOG_USERS_VALIDATE_2FA_CREATEUsers Validate 2fa Create

Users Validate 2fa Create

认证

需要 Connected Account

Tags

usersusers
Users Verify Email CreatePOSTHOG_USERS_VERIFY_EMAIL_CREATEUsers Verify Email Create

Users Verify Email Create

认证

需要 Connected Account

Tags

usersusers
Vision Actions CreatePOSTHOG_VISION_ACTIONS_CREATECRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.

CRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.

认证

需要 Connected Account

Scopes

vision_action:writesession_recording:read

Tags

vision
Vision Actions DestroyPOSTHOG_VISION_ACTIONS_DESTROYCRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.

CRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.

认证

需要 Connected Account

Scopes

vision_action:write

Tags

vision
Vision Actions ListPOSTHOG_VISION_ACTIONS_LISTCRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.

CRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.

认证

需要 Connected Account

Scopes

vision_action:read

Tags

vision
Vision Actions Partial UpdatePOSTHOG_VISION_ACTIONS_PARTIAL_UPDATECRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.

CRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.

认证

需要 Connected Account

Scopes

vision_action:writesession_recording:read

Tags

vision
Vision Actions RetrievePOSTHOG_VISION_ACTIONS_RETRIEVECRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.

CRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.

认证

需要 Connected Account

Scopes

vision_action:read

Tags

vision
Vision Actions Runs ListPOSTHOG_VISION_ACTIONS_RUNS_LISTRead-only run history for a single vision action (nested under /vision/actions/{action_id}/runs/).

Read-only run history for a single vision action (nested under /vision/actions/{action_id}/runs/).

认证

需要 Connected Account

Scopes

vision_action:readsession_recording:read

Tags

vision
Vision Actions Runs RetrievePOSTHOG_VISION_ACTIONS_RUNS_RETRIEVERead-only run history for a single vision action (nested under /vision/actions/{action_id}/runs/).

Read-only run history for a single vision action (nested under /vision/actions/{action_id}/runs/).

认证

需要 Connected Account

Scopes

vision_action:readsession_recording:read

Tags

vision
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.

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.

认证

需要 Connected Account

Scopes

replay_scanner:writesession_recording:read

Tags

vision
Vision Observations Label DestroyPOSTHOG_VISION_OBSERVATIONS_LABEL_DESTROYRemove the observation's shared label. Requires session recording edit access.

Remove the observation's shared label. Requires session recording edit access.

认证

需要 Connected Account

Scopes

replay_scanner:writesession_recording:read

Tags

vision
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.

Read-only access to a session's observations across every scanner the caller can read, for the replay-page dock.

认证

需要 Connected Account

Scopes

replay_scanner:readsession_recording:read

Tags

vision
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.

Read-only access to a session's observations across every scanner the caller can read, for the replay-page dock.

认证

需要 Connected Account

Scopes

replay_scanner:readsession_recording:read

Tags

vision
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.

Delete a failed observation and re-run its scanner on the same recording. Returns 202 with the workflow handle.

认证

需要 Connected Account

Scopes

replay_scanner:writesession_recording:read

Tags

vision
Vision Scanners CreatePOSTHOG_VISION_SCANNERS_CREATECRUD for Replay Vision scanners.

CRUD for Replay Vision scanners.

认证

需要 Connected Account

Scopes

replay_scanner:writesession_recording:read

Tags

vision
Vision Scanners Creators RetrievePOSTHOG_VISION_SCANNERS_CREATORS_RETRIEVEDistinct creators across the team's scanners — feeds the `Created by` filter dropdown.

Distinct creators across the team's scanners — feeds the `Created by` filter dropdown.

认证

需要 Connected Account

Scopes

replay_scanner:read

Tags

vision
Vision Scanners DestroyPOSTHOG_VISION_SCANNERS_DESTROYCRUD for Replay Vision scanners.

CRUD for Replay Vision scanners.

认证

需要 Connected Account

Scopes

replay_scanner:write

Tags

vision
Vision Scanners Estimate CreatePOSTHOG_VISION_SCANNERS_ESTIMATE_CREATEEstimate the observation volume a proposed scanner would generate, for the pre-save cost preview.

Estimate the observation volume a proposed scanner would generate, for the pre-save cost preview.

认证

需要 Connected Account

Scopes

replay_scanner:readsession_recording:read

Tags

vision
Vision Scanners ListPOSTHOG_VISION_SCANNERS_LISTCRUD for Replay Vision scanners.

CRUD for Replay Vision scanners.

认证

需要 Connected Account

Scopes

replay_scanner:read

Tags

vision
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.

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.

认证

需要 Connected Account

Scopes

replay_scanner:writesession_recording:read

Tags

vision
Vision Scanners Observations Label DestroyPOSTHOG_VISION_SCANNERS_OBSERVATIONS_LABEL_DESTROYRemove the observation's shared label. Requires session recording edit access.

Remove the observation's shared label. Requires session recording edit access.

认证

需要 Connected Account

Scopes

replay_scanner:writesession_recording:read

Tags

vision
Vision Scanners Observations ListPOSTHOG_VISION_SCANNERS_OBSERVATIONS_LISTRead-only access to observations produced by a scanner.

Read-only access to observations produced by a scanner.

认证

需要 Connected Account

Scopes

replay_scanner:readsession_recording:read

Tags

vision
Vision Scanners Observations RetrievePOSTHOG_VISION_SCANNERS_OBSERVATIONS_RETRIEVERead-only access to observations produced by a scanner.

Read-only access to observations produced by a scanner.

认证

需要 Connected Account

Scopes

replay_scanner:readsession_recording:read

Tags

vision
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.

Delete a failed observation and re-run its scanner on the same recording. Returns 202 with the workflow handle.

认证

需要 Connected Account

Scopes

replay_scanner:writesession_recording:read

Tags

vision
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.

Aggregate counts and per-scanner-type distributions over the filtered observation set. Same filters as the list endpoint apply.

认证

需要 Connected Account

Scopes

replay_scanner:readsession_recording:read

Tags

vision
Vision Scanners Observe CreatePOSTHOG_VISION_SCANNERS_OBSERVE_CREATEApply this scanner to one specific session, on demand. Returns 202 with the workflow handle.

Apply this scanner to one specific session, on demand. Returns 202 with the workflow handle.

认证

需要 Connected Account

Scopes

replay_scanner:writesession_recording:read

Tags

vision
Vision Scanners Partial UpdatePOSTHOG_VISION_SCANNERS_PARTIAL_UPDATECRUD for Replay Vision scanners.

CRUD for Replay Vision scanners.

认证

需要 Connected Account

Scopes

replay_scanner:writesession_recording:read

Tags

vision
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.

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.

认证

需要 Connected Account

Scopes

replay_scanner:writesession_recording:read

Tags

vision
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.

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.

认证

需要 Connected Account

Scopes

replay_scanner:readsession_recording:read

Tags

vision
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.

Dismiss this suggestion without applying it. Only the current pending suggestion can be dismissed. Requires session recording edit access.

认证

需要 Connected Account

Scopes

replay_scanner:writesession_recording:read

Tags

vision
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.

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.

认证

需要 Connected Account

Scopes

replay_scanner:writesession_recording:read

Tags

vision
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.

AI prompt-rewrite suggestions for a scanner, generated from the team's thumbs up/down ratings.

认证

需要 Connected Account

Scopes

replay_scanner:readsession_recording:read

Tags

vision
Vision Scanners RetrievePOSTHOG_VISION_SCANNERS_RETRIEVECRUD for Replay Vision scanners.

CRUD for Replay Vision scanners.

认证

需要 Connected Account

Scopes

replay_scanner:read

Tags

vision
Vision Scanners Stats RetrievePOSTHOG_VISION_SCANNERS_STATS_RETRIEVETeam-wide scanner counts — independent of list filters, so the overview stays stable.

Team-wide scanner counts — independent of list filters, so the overview stays stable.

认证

需要 Connected Account

Scopes

replay_scanner:read

Tags

vision
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.

Suggest classifier tags grounded in the scanner's own observations and the org's product data.

认证

需要 Connected Account

Scopes

replay_scanner:readsession_recording:read

Tags

vision
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.

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.

认证

需要 Connected Account

Scopes

visual_review:read

Tags

visual_review
Visual Review Repos CreatePOSTHOG_VISUAL_REVIEW_REPOS_CREATECreate a new repo.

Create a new repo.

认证

需要 Connected Account

Scopes

visual_review:write

Tags

visual_review
Visual Review Repos ListPOSTHOG_VISUAL_REVIEW_REPOS_LISTList all projects for the team.

List all projects for the team.

认证

需要 Connected Account

Scopes

visual_review:read

Tags

visual_review
Visual Review Repos Partial UpdatePOSTHOG_VISUAL_REVIEW_REPOS_PARTIAL_UPDATEUpdate a repo's settings.

Update a repo's settings.

认证

需要 Connected Account

Scopes

visual_review:write

Tags

visual_review
Visual Review Repos Quarantine CreatePOSTHOG_VISUAL_REVIEW_REPOS_QUARANTINE_CREATEQuarantine a snapshot identifier for a specific run type.

Quarantine a snapshot identifier for a specific run type.

认证

需要 Connected Account

Scopes

visual_review:write

Tags

visual_review
Visual Review Repos Quarantine Expire CreatePOSTHOG_VISUAL_REVIEW_REPOS_QUARANTINE_EXPIRE_CREATEExpire all active quarantine entries for an identifier.

Expire all active quarantine entries for an identifier.

认证

需要 Connected Account

Scopes

visual_review:write

Tags

visual_review
Visual Review Repos Quarantine ListPOSTHOG_VISUAL_REVIEW_REPOS_QUARANTINE_LISTList quarantined identifiers. Without filter: active only. With identifier: full history.

List quarantined identifiers. Without filter: active only. With identifier: full history.

认证

需要 Connected Account

Scopes

visual_review:read

Tags

visual_review
Visual Review Repos RetrievePOSTHOG_VISUAL_REVIEW_REPOS_RETRIEVEGet a repo by ID.

Get a repo by ID.

认证

需要 Connected Account

Scopes

visual_review:read

Tags

visual_review
Visual Review Repos Runs Counts RetrievePOSTHOG_VISUAL_REVIEW_REPOS_RUNS_COUNTS_RETRIEVEReview state counts for runs in this repo.

Review state counts for runs in this repo.

认证

需要 Connected Account

Scopes

visual_review:read

Tags

visual_review
Visual Review Repos Runs ListPOSTHOG_VISUAL_REVIEW_REPOS_RUNS_LISTList runs in this repo, optionally filtered by review state and free-text search.

List runs in this repo, optionally filtered by review state and free-text search.

认证

需要 Connected Account

Scopes

visual_review:read

Tags

visual_review
Visual Review Repos Snapshots ListPOSTHOG_VISUAL_REVIEW_REPOS_SNAPSHOTS_LISTDeduped baseline timeline for a snapshot identity. Newest first.

Deduped baseline timeline for a snapshot identity. Newest first.

认证

需要 Connected Account

Scopes

visual_review:read

Tags

visual_review
Visual Review Repos Thumbnails RetrievePOSTHOG_VISUAL_REVIEW_REPOS_THUMBNAILS_RETRIEVEServe a snapshot thumbnail by identifier. Returns WebP with ETag caching.

Serve a snapshot thumbnail by identifier. Returns WebP with ETag caching.

认证

需要 Connected Account

Scopes

visual_review:read

Tags

visual_review
Visual Review Runs Add Snapshots CreatePOSTHOG_VISUAL_REVIEW_RUNS_ADD_SNAPSHOTS_CREATEAdd a batch of snapshots to a pending run (shard-based flow).

Add a batch of snapshots to a pending run (shard-based flow).

认证

需要 Connected Account

Scopes

visual_review:write

Tags

visual_review
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.

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.

认证

需要 Connected Account

Scopes

visual_review:write

Tags

visual_review
Visual Review Runs Complete CreatePOSTHOG_VISUAL_REVIEW_RUNS_COMPLETE_CREATEComplete a run: detect removals, verify uploads, trigger diff processing.

Complete a run: detect removals, verify uploads, trigger diff processing.

认证

需要 Connected Account

Scopes

visual_review:write

Tags

visual_review
Visual Review Runs Counts RetrievePOSTHOG_VISUAL_REVIEW_RUNS_COUNTS_RETRIEVEReview state counts for the runs list.

Review state counts for the runs list.

认证

需要 Connected Account

Scopes

visual_review:read

Tags

visual_review
Visual Review Runs CreatePOSTHOG_VISUAL_REVIEW_RUNS_CREATECreate a new run from a CI manifest.

Create a new run from a CI manifest.

认证

需要 Connected Account

Scopes

visual_review:write

Tags

visual_review
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.

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.

认证

需要 Connected Account

Scopes

visual_review:write

Tags

visual_review
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.

List runs for the team, optionally filtered by review state, PR number, commit SHA, branch, or free-text search.

认证

需要 Connected Account

Scopes

visual_review:read

Tags

visual_review
Visual Review Runs Recompute CreatePOSTHOG_VISUAL_REVIEW_RUNS_RECOMPUTE_CREATERe-evaluate quarantine and counts, update commit status, and optionally rerun the CI job.

Re-evaluate quarantine and counts, update commit status, and optionally rerun the CI job.

认证

需要 Connected Account

Scopes

visual_review:write

Tags

visual_review
Visual Review Runs RetrievePOSTHOG_VISUAL_REVIEW_RUNS_RETRIEVEGet run status and summary.

Get run status and summary.

认证

需要 Connected Account

Scopes

visual_review:read

Tags

visual_review
Visual Review Runs Snapshot History ListPOSTHOG_VISUAL_REVIEW_RUNS_SNAPSHOT_HISTORY_LISTRecent change history for a snapshot identifier across runs.

Recent change history for a snapshot identifier across runs.

认证

需要 Connected Account

Scopes

visual_review:read

Tags

visual_review
Visual Review Runs Snapshots ListPOSTHOG_VISUAL_REVIEW_RUNS_SNAPSHOTS_LISTGet a run's snapshots with diff results, excluding quarantined ones by default.

Get a run's snapshots with diff results, excluding quarantined ones by default.

认证

需要 Connected Account

Scopes

visual_review:read

Tags

visual_review
Visual Review Runs Tolerate CreatePOSTHOG_VISUAL_REVIEW_RUNS_TOLERATE_CREATEMark a changed snapshot as a known tolerated alternate.

Mark a changed snapshot as a known tolerated alternate.

认证

需要 Connected Account

Scopes

visual_review:write

Tags

visual_review
Visual Review Runs Tolerated Hashes ListPOSTHOG_VISUAL_REVIEW_RUNS_TOLERATED_HASHES_LISTList known tolerated hashes for a snapshot identifier.

List known tolerated hashes for a snapshot identifier.

认证

需要 Connected Account

Scopes

visual_review:read

Tags

visual_review
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.

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.

认证

需要 Connected Account

Scopes

warehouse_table:write

Tags

warehouse_column_annotations
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.

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.

认证

需要 Connected Account

Scopes

warehouse_table:write

Tags

warehouse_column_annotations
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.

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.

认证

需要 Connected Account

Scopes

warehouse_table:read

Tags

warehouse_column_annotations
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.

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.

认证

需要 Connected Account

Scopes

warehouse_table:write

Tags

warehouse_column_annotations
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.

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.

认证

需要 Connected Account

Scopes

warehouse_table:read

Tags

warehouse_column_annotations
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.

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.

认证

需要 Connected Account

Scopes

warehouse_table:write

Tags

warehouse_column_annotations
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>`.

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>`.

认证

需要 Connected Account

Scopes

warehouse_table:read

Tags

warehouse_column_statistics
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>`.

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>`.

认证

需要 Connected Account

Scopes

warehouse_table:read

Tags

warehouse_column_statistics
Warehouse Dag ListPOSTHOG_WAREHOUSE_DAG_LISTReturn this team's DAG as a set of edges and nodes

Return this team's DAG as a set of edges and nodes

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

warehouse_dag
Warehouse Model Paths ListPOSTHOG_WAREHOUSE_MODEL_PATHS_LISTWarehouse Model Paths List

Warehouse Model Paths List

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

warehouse_model_paths
Warehouse Model Paths RetrievePOSTHOG_WAREHOUSE_MODEL_PATHS_RETRIEVEWarehouse Model Paths Retrieve

Warehouse Model Paths Retrieve

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

warehouse_model_paths
Warehouse Saved Queries Activity RetrievePOSTHOG_WAREHOUSE_SAVED_QUERIES_ACTIVITY_RETRIEVECreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Scopes

activity_log:read

Tags

warehouse_saved_queries
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.

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.

认证

需要 Connected Account

Tags

warehouse_saved_queries
Warehouse Saved Queries Cancel CreatePOSTHOG_WAREHOUSE_SAVED_QUERIES_CANCEL_CREATECancel a running saved query workflow.

Cancel a running saved query workflow.

认证

需要 Connected Account

Tags

warehouse_saved_queries
Warehouse Saved Queries CreatePOSTHOG_WAREHOUSE_SAVED_QUERIES_CREATECreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_saved_queries
Warehouse Saved Queries Dependencies RetrievePOSTHOG_WAREHOUSE_SAVED_QUERIES_DEPENDENCIES_RETRIEVEReturn the count of immediate upstream and downstream dependencies for this saved query.

Return the count of immediate upstream and downstream dependencies for this saved query.

认证

需要 Connected Account

Tags

warehouse_saved_queries
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.

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.

认证

需要 Connected Account

Tags

warehouse_saved_queries
Warehouse Saved Queries DestroyPOSTHOG_WAREHOUSE_SAVED_QUERIES_DESTROYCreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_saved_queries
Warehouse Saved Queries ListPOSTHOG_WAREHOUSE_SAVED_QUERIES_LISTCreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

warehouse_saved_queries
Warehouse Saved Queries Materialize CreatePOSTHOG_WAREHOUSE_SAVED_QUERIES_MATERIALIZE_CREATEEnable materialization for this saved query with a 24-hour sync frequency.

Enable materialization for this saved query with a 24-hour sync frequency.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_saved_queries
Warehouse Saved Queries Partial UpdatePOSTHOG_WAREHOUSE_SAVED_QUERIES_PARTIAL_UPDATECreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_saved_queries
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.

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.

认证

需要 Connected Account

Tags

warehouse_saved_queries
Warehouse Saved Queries RetrievePOSTHOG_WAREHOUSE_SAVED_QUERIES_RETRIEVECreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

warehouse_saved_queries
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)

Undo materialization, revert back to the original view. (i.e. delete the materialized table and the schedule)

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_saved_queries
Warehouse Saved Queries Run CreatePOSTHOG_WAREHOUSE_SAVED_QUERIES_RUN_CREATERun this saved query.

Run this saved query.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_saved_queries
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.

Return the recent run history (up to 5 most recent) for this materialized view.

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

warehouse_saved_queries
Warehouse Saved Queries UpdatePOSTHOG_WAREHOUSE_SAVED_QUERIES_UPDATECreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_saved_queries
Warehouse Saved Query Folders CreatePOSTHOG_WAREHOUSE_SAVED_QUERY_FOLDERS_CREATEWarehouse Saved Query Folders Create

Warehouse Saved Query Folders Create

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_saved_query_folders
Warehouse Saved Query Folders DestroyPOSTHOG_WAREHOUSE_SAVED_QUERY_FOLDERS_DESTROYWarehouse Saved Query Folders Destroy

Warehouse Saved Query Folders Destroy

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_saved_query_folders
Warehouse Saved Query Folders ListPOSTHOG_WAREHOUSE_SAVED_QUERY_FOLDERS_LISTWarehouse Saved Query Folders List

Warehouse Saved Query Folders List

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

warehouse_saved_query_folders
Warehouse Saved Query Folders Partial UpdatePOSTHOG_WAREHOUSE_SAVED_QUERY_FOLDERS_PARTIAL_UPDATEWarehouse Saved Query Folders Partial Update

Warehouse Saved Query Folders Partial Update

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_saved_query_folders
Warehouse Saved Query Folders RetrievePOSTHOG_WAREHOUSE_SAVED_QUERY_FOLDERS_RETRIEVEWarehouse Saved Query Folders Retrieve

Warehouse Saved Query Folders Retrieve

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

warehouse_saved_query_folders
Warehouse Tables CreatePOSTHOG_WAREHOUSE_TABLES_CREATECreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Scopes

warehouse_table:write

Tags

warehouse_tables
Warehouse Tables DestroyPOSTHOG_WAREHOUSE_TABLES_DESTROYCreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Scopes

warehouse_table:write

Tags

warehouse_tables
Warehouse Tables File CreatePOSTHOG_WAREHOUSE_TABLES_FILE_CREATECreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Scopes

warehouse_table:write

Tags

warehouse_tables
Warehouse Tables ListPOSTHOG_WAREHOUSE_TABLES_LISTCreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Scopes

warehouse_table:read

Tags

warehouse_tables
Warehouse Tables Partial UpdatePOSTHOG_WAREHOUSE_TABLES_PARTIAL_UPDATECreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Scopes

warehouse_table:write

Tags

warehouse_tables
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.

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.

认证

需要 Connected Account

Scopes

warehouse_table:write

Tags

warehouse_tables
Warehouse Tables RetrievePOSTHOG_WAREHOUSE_TABLES_RETRIEVECreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Scopes

warehouse_table:read

Tags

warehouse_tables
Warehouse Tables UpdatePOSTHOG_WAREHOUSE_TABLES_UPDATECreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Scopes

warehouse_table:write

Tags

warehouse_tables
Warehouse Tables Update Schema CreatePOSTHOG_WAREHOUSE_TABLES_UPDATE_SCHEMA_CREATECreate, Read, Update and Delete Warehouse Tables.

Create, Read, Update and Delete Warehouse Tables.

认证

需要 Connected Account

Tags

warehouse_tables
Warehouse View Link CreatePOSTHOG_WAREHOUSE_VIEW_LINK_CREATECreate, Read, Update and Delete View Columns.

Create, Read, Update and Delete View Columns.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_view_link
Warehouse View Link DestroyPOSTHOG_WAREHOUSE_VIEW_LINK_DESTROYCreate, Read, Update and Delete View Columns.

Create, Read, Update and Delete View Columns.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_view_link
Warehouse View Link ListPOSTHOG_WAREHOUSE_VIEW_LINK_LISTCreate, Read, Update and Delete View Columns.

Create, Read, Update and Delete View Columns.

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

warehouse_view_link
Warehouse View Link Partial UpdatePOSTHOG_WAREHOUSE_VIEW_LINK_PARTIAL_UPDATECreate, Read, Update and Delete View Columns.

Create, Read, Update and Delete View Columns.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_view_link
Warehouse View Link RetrievePOSTHOG_WAREHOUSE_VIEW_LINK_RETRIEVECreate, Read, Update and Delete View Columns.

Create, Read, Update and Delete View Columns.

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

warehouse_view_link
Warehouse View Link UpdatePOSTHOG_WAREHOUSE_VIEW_LINK_UPDATECreate, Read, Update and Delete View Columns.

Create, Read, Update and Delete View Columns.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_view_link
Warehouse View Link Validate CreatePOSTHOG_WAREHOUSE_VIEW_LINK_VALIDATE_CREATECreate, Read, Update and Delete View Columns.

Create, Read, Update and Delete View Columns.

认证

需要 Connected Account

Tags

warehouse_view_link
Warehouse View Links CreatePOSTHOG_WAREHOUSE_VIEW_LINKS_CREATECreate, Read, Update and Delete View Columns.

Create, Read, Update and Delete View Columns.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_view_links
Warehouse View Links DestroyPOSTHOG_WAREHOUSE_VIEW_LINKS_DESTROYCreate, Read, Update and Delete View Columns.

Create, Read, Update and Delete View Columns.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_view_links
Warehouse View Links ListPOSTHOG_WAREHOUSE_VIEW_LINKS_LISTCreate, Read, Update and Delete View Columns.

Create, Read, Update and Delete View Columns.

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

warehouse_view_links
Warehouse View Links Partial UpdatePOSTHOG_WAREHOUSE_VIEW_LINKS_PARTIAL_UPDATECreate, Read, Update and Delete View Columns.

Create, Read, Update and Delete View Columns.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_view_links
Warehouse View Links RetrievePOSTHOG_WAREHOUSE_VIEW_LINKS_RETRIEVECreate, Read, Update and Delete View Columns.

Create, Read, Update and Delete View Columns.

认证

需要 Connected Account

Scopes

warehouse_view:read

Tags

warehouse_view_links
Warehouse View Links UpdatePOSTHOG_WAREHOUSE_VIEW_LINKS_UPDATECreate, Read, Update and Delete View Columns.

Create, Read, Update and Delete View Columns.

认证

需要 Connected Account

Scopes

warehouse_view:write

Tags

warehouse_view_links
Warehouse View Links Validate CreatePOSTHOG_WAREHOUSE_VIEW_LINKS_VALIDATE_CREATECreate, Read, Update and Delete View Columns.

Create, Read, Update and Delete View Columns.

认证

需要 Connected Account

Tags

warehouse_view_links
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.

Clears a pending celebration for the given track and stage once the client has shown it, so it isn't celebrated again. Idempotent.

认证

需要 Connected Account

Tags

web_analytics_achievements
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.

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.

认证

需要 Connected Account

Tags

web_analytics_achievements
Get Web analytics achievements preferencesPOSTHOG_WEB_ANALYTICS_ACHIEVEMENTS_PREFERENCESReturns the requesting user's per-project Web analytics achievements preferences.

Returns the requesting user's per-project Web analytics achievements preferences.

认证

需要 Connected Account

Tags

web_analytics_achievements
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.

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.

认证

需要 Connected Account

Tags

web_analytics_achievements
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.

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.

认证

需要 Connected Account

Tags

web_analytics_achievements
Update Web analytics achievements preferencesPOSTHOG_WEB_ANALYTICS_ACHIEVEMENTS_UPDATE_PREFERENCESSets the requesting user's per-project Web analytics achievements preferences.

Sets the requesting user's per-project Web analytics achievements preferences.

认证

需要 Connected Account

Tags

web_analytics_achievements
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.

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.

认证

需要 Connected Account

Scopes

web_analytics:read

Tags

web_analyticsweb_analytics
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.

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.

认证

需要 Connected Account

Scopes

web_analytics:read

Tags

web_analyticsweb_analytics
Web Experiments CreatePOSTHOG_WEB_EXPERIMENTS_CREATEWeb Experiments Create

Web Experiments Create

认证

需要 Connected Account

Scopes

experiment:write

Tags

web_experiments
Web Experiments DestroyPOSTHOG_WEB_EXPERIMENTS_DESTROYWeb Experiments Destroy

Web Experiments Destroy

认证

需要 Connected Account

Scopes

experiment:write

Tags

web_experiments
Web Experiments ListPOSTHOG_WEB_EXPERIMENTS_LISTWeb Experiments List

Web Experiments List

认证

需要 Connected Account

Scopes

experiment:read

Tags

web_experiments
Web Experiments Partial UpdatePOSTHOG_WEB_EXPERIMENTS_PARTIAL_UPDATEWeb Experiments Partial Update

Web Experiments Partial Update

认证

需要 Connected Account

Scopes

experiment:write

Tags

web_experiments
Web Experiments RetrievePOSTHOG_WEB_EXPERIMENTS_RETRIEVEWeb Experiments Retrieve

Web Experiments Retrieve

认证

需要 Connected Account

Scopes

experiment:read

Tags

web_experiments
Web Experiments UpdatePOSTHOG_WEB_EXPERIMENTS_UPDATEWeb Experiments Update

Web Experiments Update

认证

需要 Connected Account

Scopes

experiment:write

Tags

web_experiments
Web Vitals RetrievePOSTHOG_WEB_VITALS_RETRIEVEGet web vitals for a specific pathname. Toolbar accesses this via OAuth (handled by TeamAndOrgViewSetMixin.get_authenticators).

Get web vitals for a specific pathname. Toolbar accesses this via OAuth (handled by TeamAndOrgViewSetMixin.get_authenticators).

认证

需要 Connected Account

Scopes

query:read

Tags

web_vitals
Welcome Current RetrievePOSTHOG_WELCOME_CURRENT_RETRIEVEAggregated payload for the invited-user welcome screen.

Aggregated payload for the invited-user welcome screen.

认证

需要 Connected Account

Tags

organizationswelcome
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.

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.

认证

需要 Connected Account

Scopes

wizard_session:write

Tags

wizard
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.

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.

认证

需要 Connected Account

Scopes

wizard_session:read

Tags

wizard
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>.

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

认证

需要 Connected Account

Scopes

wizard_session:read

Tags

wizard
Wizard Sessions RetrievePOSTHOG_WIZARD_SESSIONS_RETRIEVERetrieve a single wizard session by its session_id.

Retrieve a single wizard session by its session_id.

认证

需要 Connected Account

Scopes

wizard_session:read

Tags

wizard
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.

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.

认证

需要 Connected Account

Scopes

wizard_session:read

Tags

wizard