posthog_organizations_ listlist.
Query event data in HogQL, pull up insight and dashboard results, flip feature flags, check on running experiments, and triage the error issues stacking up in your project.
PopMCPPostHog
Every endpoint the API exposes, from HogQL queries and insights to feature flags, surveys and annotations, plus the triggers PopMCP can watch on your project.
posthog_organizations_ listlist.
posthog_organizations_ projects_ listProjects for the current organization.
posthog_error_ tracking_ issues_ listerror tracking issues list.
posthog_error_ tracking_ issues_ retrieveerror tracking issues retrieve.
posthog_get_ current_ userReturn the authenticated user plus their current project (team) and organization, and the list of organizations the API key can reach.
posthog_dashboards_ createdashboards create.
posthog_dashboards_ destroyHard delete of this model is not allowed.
posthog_dashboards_ listdashboards list.
posthog_dashboards_ partial_ updatedashboards partial update.
posthog_dashboards_ retrievedashboards retrieve.
posthog_experiments_ listList experiments for the current project.
posthog_experiments_ retrieveRetrieve a single experiment by ID, including its current status, metrics, feature flag, and results metadata.
posthog_feature_ flags_ createCreate, read, update and delete feature flags.
posthog_feature_ flags_ destroyHard delete of this model is not allowed.
posthog_feature_ flags_ listCreate, read, update and delete feature flags.
posthog_feature_ flags_ partial_ updateCreate, read, update and delete feature flags.
posthog_feature_ flags_ retrieveCreate, read, update and delete feature flags.
posthog_insights_ createDRF ViewSet mixin that gates coalesced responses behind permission checks.
posthog_insights_ destroyHard delete of this model is not allowed.
posthog_insights_ listDRF ViewSet mixin that gates coalesced responses behind permission checks.
posthog_insights_ partial_ updateDRF ViewSet mixin that gates coalesced responses behind permission checks.
posthog_insights_ retrieveDRF ViewSet mixin that gates coalesced responses behind permission checks.
posthog_persons_ listThis endpoint is meant for reading and deleting persons.
posthog_persons_ retrieveThis endpoint is meant for reading and deleting persons.
posthog_persons_ update_ property_ createThis endpoint is meant for reading and deleting persons.
posthog_surveys_ listsurveys list.
posthog_cohorts_ listcohorts list.
posthog_event_ definitions_ listevent definitions list.
posthog_annotations_ createCreate, Read, Update and Delete annotations.
posthog_annotations_ listCreate, Read, Update and Delete annotations.
posthog_get_ database_ schemaList the queryable tables and columns available to HogQL in this project (events, persons, sessions, groups, data-warehouse tables and their fields).
posthog_get_ query_ statusPoll the status and result of an async query started by run_hogql_query with async:true.
posthog_property_ definitions_ listproperty definitions list.
posthog_run_ hogql_ queryRun a HogQL query (PostHog's ClickHouse-flavored SQL) against this project and get rows back.
posthog_accounts_ createaccounts create.
posthog_cimd_ verification_ tokens_ createManage CIMD verification tokens for an organization.
posthog_error_ tracking_ assignment_ rules_ createerror tracking assignment rules create.
posthog_llm_ analytics_ clustering_ config_ retrieveTeam-level clustering configuration (event filters for automated pipelines).
posthog_batch_ exports_ backfills_ cancel_ createCancel a batch export backfill.
posthog_logs_ alerts_ createlogs alerts create.
posthog_users_ cancel_ email_ change_ request_ partial_ updateusers cancel email change request partial update.
posthog_external_ data_ sources_ bulk_ update_ schemas_ partial_ updateCreate, Read, Update and Delete External data Sources.
posthog_integrations_ anthropic_ managed_ agent_ envs_ retrieveintegrations anthropic managed agent envs retrieve.
posthog_notebooks_ activity_ retrieveThe API for interacting with Notebooks.
posthog_environments_ activity_ retrieveDeprecated: use /api/environments/{id}/ instead.
posthog_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.
posthog_dashboards_ bulk_ update_ tags_ createBulk update tags on multiple objects.
posthog_signals_ processing_ listReturn current processing state including pause status.
posthog_experiments_ archive_ createArchive an ended experiment.
posthog_desktop_ file_ system_ context_ generation_ retrieveReturn the Task currently generating this folder's CONTEXT.md, or null if none.
posthog_hog_ flows_ batch_ jobs_ createhog flows batch jobs create.
posthog_surveys_ activity_ retrievesurveys activity retrieve.
posthog_user_ interview_ topics_ add_ interviewee_ createAdd a single interviewee to this topic.
posthog_persons_ activity_ retrieveThis endpoint is meant for reading and deleting persons.
posthog_tasks_ runs_ append_ log_ createAppend log entries
posthog_feature_ flags_ activity_ retrieveCreate, read, update and delete feature flags.
posthog_insights_ activity_ retrieveAudit trail for a single insight — every change made to it, by whom, and when.
posthog_conversations_ tickets_ bulk_ update_ status_ createUpdate the status of multiple tickets in a single request.
posthog_warehouse_ saved_ queries_ activity_ retrieveCreate, Read, Update and Delete Warehouse Tables.
posthog_create_ session_ summaries_ individuallyGenerate AI individual summary for each session, without grouping.
posthog_tasks_ createAPI for managing tasks within a project.
posthog_environment_ vision_ quota_ retrieveenvironment vision quota retrieve.
posthog_endpoints_ createCreate a new endpoint.
posthog_file_ system_ count_ by_ path_ createGet count of all files in a folder.
posthog_hog_ functions_ createhog functions create.
posthog_mcp_ server_ installations_ authorize_ retrieveStart (or re-start) an OAuth flow.
posthog_approval_ policies_ createapproval policies create.
posthog_cohorts_ activity_ retrievecohorts activity retrieve.
posthog_data_ warehouse_ check_ database_ name_ retrieveCheck if a database name is available.
posthog_event_ definitions_ bulk_ update_ tags_ createBulk update tags on multiple objects.
posthog_external_ data_ schemas_ cancel_ createexternal data schemas cancel create.
posthog_groups_ types_ create_ detail_ dashboard_ updategroups types create detail dashboard update.
posthog_llm_ skills_ createllm skills create.
posthog_conversations_ append_ message_ createAppends a message to an existing conversation without triggering AI processing.
posthog_product_ tours_ createproduct tours create.
posthog_accounts_ destroyaccounts destroy.
posthog_cimd_ verification_ tokens_ destroyManage CIMD verification tokens for an organization.
posthog_error_ tracking_ assignment_ rules_ destroyerror tracking assignment rules destroy.
posthog_llm_ analytics_ clustering_ config_ set_ event_ filters_ createTeam-level clustering configuration (event filters for automated pipelines).
posthog_batch_ exports_ backfills_ createCreate a new backfill for a BatchExport.
posthog_logs_ alerts_ destinations_ createCreate a notification destination for this alert.
posthog_users_ credentials_ review_ complete_ createMark the user as having reviewed their existing credentials.
posthog_external_ data_ sources_ cdc_ status_ retrieveLive CDC health for an existing source: slot/publication existence and WAL lag.
posthog_integrations_ anthropic_ managed_ agent_ vaults_ retrieveintegrations anthropic managed agent vaults retrieve.
posthog_notebooks_ all_ activity_ retrieveThe API for interacting with Notebooks.
posthog_environments_ add_ product_ intent_ partial_ updateDeprecated: use /api/environments/{id}/ instead.
posthog_visual_ review_ repos_ createCreate a new repo.
posthog_dashboards_ collaborators_ createdashboards collaborators create.
posthog_signals_ processing_ pause_ destroyView and control signal processing pipeline state for a team.
posthog_experiments_ copy_ to_ project_ createCopy an experiment into another project in the same organization as a new draft.
posthog_desktop_ file_ system_ context_ generation_ updateSet or clear the Task associated with this folder's CONTEXT.md generation.
posthog_hog_ flows_ batch_ jobs_ listhog flows batch jobs list.
posthog_surveys_ all_ activity_ retrievesurveys all activity retrieve.
posthog_user_ interview_ topics_ createPlanned user interview topics: who we want to target and what we want to ask about.
posthog_persons_ all_ activity_ retrieveThis endpoint is meant for reading and deleting persons.
posthog_tasks_ runs_ artifacts_ createUpload artifacts for a task run
posthog_feature_ flags_ all_ activity_ retrieveCreate, read, update and delete feature flags.
posthog_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.
posthog_conversations_ tickets_ bulk_ update_ tags_ createBulk update tags on multiple objects.
posthog_warehouse_ saved_ queries_ ancestors_ createReturn the ancestors of this saved query.
posthog_session_ recording_ playlists_ createsession recording playlists create.
posthog_tasks_ destroyAPI for managing tasks within a project.
posthog_vision_ observations_ listRead-only access to a session's observations across every scanner the caller can read, for the replay-page dock.
posthog_endpoints_ destroyDelete an endpoint and clean up materialized query.
posthog_file_ system_ count_ createGet count of all files in a folder.
posthog_hog_ functions_ destroyHard delete of this model is not allowed.
posthog_mcp_ server_ installations_ createmcp server installations create.
posthog_approval_ policies_ destroyapproval policies destroy.
posthog_cohorts_ add_ persons_ to_ static_ cohort_ partial_ updatecohorts add persons to static cohort partial update.
posthog_data_ warehouse_ completed_ activity_ retrieveReturns completed/non-running activities (jobs with status 'Completed').
posthog_event_ definitions_ by_ name_ retrieveGet event definition by exact name
posthog_external_ data_ schemas_ createexternal data schemas create.
posthog_groups_ types_ destroygroups types destroy.
posthog_llm_ skills_ listllm skills list.
posthog_conversations_ cancel_ partial_ updateconversations cancel partial update.
posthog_product_ tours_ destroyproduct tours destroy.
posthog_accounts_ listaccounts list.
posthog_cimd_ verification_ tokens_ listManage CIMD verification tokens for an organization.
posthog_error_ tracking_ assignment_ rules_ listerror tracking assignment rules list.
posthog_llm_ analytics_ clustering_ jobs_ createCRUD for clustering job configurations (max 5 per team).
posthog_batch_ exports_ backfills_ listViewSet for BatchExportBackfill models.
posthog_logs_ alerts_ destinations_ delete_ createDelete a notification destination by deleting its HogFunction group atomically.
posthog_users_ destroyusers destroy.
posthog_external_ data_ sources_ check_ cdc_ prerequisites_ createValidate CDC prerequisites against a live Postgres connection.
posthog_integrations_ anthropic_ managed_ agents_ retrieveintegrations anthropic managed agents retrieve.
posthog_notebooks_ collab_ markdown_ save_ createThe API for interacting with Notebooks.
posthog_environments_ complete_ product_ onboarding_ partial_ updateDeprecated: use /api/environments/{id}/ instead.
posthog_visual_ review_ repos_ listList all projects for the team.
posthog_dashboards_ collaborators_ destroydashboards collaborators destroy.
posthog_signals_ processing_ pause_ updateView and control signal processing pipeline state for a team.
posthog_experiments_ createCreate a new experiment in draft status with optional metrics.
posthog_desktop_ file_ system_ count_ by_ path_ createGet count of all files in a folder.
posthog_hog_ flows_ bulk_ delete_ createhog flows bulk delete create.
posthog_surveys_ archived_ response_ uuids_ retrieveGet list of archived response UUIDs for HogQL filtering.
posthog_user_ interview_ topics_ destroyPlanned user interview topics: who we want to target and what we want to ask about.
posthog_persons_ batch_ by_ distinct_ ids_ createThis endpoint is meant for reading and deleting persons.
posthog_tasks_ runs_ artifacts_ download_ createDownload an artifact through the backend
posthog_feature_ flags_ bulk_ delete_ createBulk delete feature flags by filter criteria or explicit IDs.
posthog_insights_ analyze_ retrieveDRF ViewSet mixin that gates coalesced responses behind permission checks.
posthog_conversations_ tickets_ compose_ createCreate a new outbound ticket and send the first message to the customer.
posthog_warehouse_ saved_ queries_ cancel_ createCancel a running saved query workflow.
posthog_session_ recording_ playlists_ destroyHard delete of this model is not allowed.
posthog_tasks_ listList tasks
posthog_vision_ observations_ retrieveRead-only access to a session's observations across every scanner the caller can read, for the replay-page dock.
posthog_endpoints_ last_ execution_ times_ createGet the most recent execution time per endpoint (endpoint-level).
posthog_file_ system_ createfile system create.
posthog_hog_ functions_ enable_ backfills_ createhog functions enable backfills create.
posthog_mcp_ server_ installations_ destroymcp server installations destroy.
posthog_approval_ policies_ listapproval policies list.
posthog_cohorts_ all_ activity_ retrievecohorts all activity retrieve.
posthog_data_ warehouse_ data_ health_ issues_ retrieveReturns failed/disabled data pipeline items for the Pipeline status side panel.
posthog_event_ definitions_ createevent definitions create.
posthog_external_ data_ schemas_ delete_ data_ destroyexternal data schemas delete data destroy.
posthog_groups_ types_ listgroups types list.
posthog_llm_ skills_ name_ archive_ createllm skills name archive create.
posthog_conversations_ createUnified endpoint that handles both conversation creation and streaming.
posthog_product_ tours_ discard_ draft_ destroyDiscard draft content.
posthog_accounts_ notebooks_ createaccounts notebooks create.
posthog_cimd_ verification_ tokens_ retrieveManage CIMD verification tokens for an organization.
posthog_error_ tracking_ assignment_ rules_ partial_ updateerror tracking assignment rules partial update.
posthog_llm_ analytics_ clustering_ jobs_ destroyCRUD for clustering job configurations (max 5 per team).
posthog_batch_ exports_ backfills_ retrieveViewSet for BatchExportBackfill models.
posthog_logs_ alerts_ destroylogs alerts destroy.
posthog_users_ github_ login_ retrieveusers github login retrieve.
posthog_external_ data_ sources_ check_ cdc_ prerequisites_ for_ sourceValidate CDC prerequisites for an existing source using its stored credentials.
posthog_integrations_ authorize_ retrieveintegrations authorize retrieve.
posthog_notebooks_ collab_ presence_ createThe API for interacting with Notebooks.
posthog_environments_ createDeprecated: use /api/environments/{id}/ instead.
posthog_visual_ review_ repos_ partial_ updateUpdate a repo's settings.
posthog_dashboards_ collaborators_ listdashboards collaborators list.
posthog_signals_ reports_ listsignals reports list.
posthog_experiments_ create_ exposure_ cohort_ for_ experiment_ createMixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers.
posthog_desktop_ file_ system_ count_ createGet count of all files in a folder.
posthog_hog_ flows_ createhog flows create.
posthog_surveys_ createsurveys create.
posthog_user_ interview_ topics_ generate_ links_ createGenerate one public interview link per targeted interviewee.
posthog_persons_ batch_ by_ uuids_ createThis endpoint is meant for reading and deleting persons.
posthog_tasks_ runs_ artifacts_ finalize_ upload_ createFinalize direct uploads for task run artifacts
posthog_feature_ flags_ bulk_ keys_ retrieveGet feature flag keys by IDs.
posthog_insights_ bulk_ update_ tags_ createBulk update tags on multiple objects.
posthog_conversations_ tickets_ createconversations tickets create.
posthog_warehouse_ saved_ queries_ createCreate, Read, Update and Delete Warehouse Tables.
posthog_session_ recording_ playlists_ listOverride list to include synthetic playlists
posthog_tasks_ partial_ updateAPI for managing tasks within a project.
posthog_vision_ scanners_ createCRUD for Replay Vision scanners.
posthog_endpoints_ listList all endpoints for the team.
posthog_file_ system_ destroyfile system destroy.
posthog_hog_ functions_ icon_ retrievehog functions icon retrieve.
posthog_mcp_ server_ installations_ install_ custom_ createmcp server installations install custom create.
posthog_approval_ policies_ partial_ updateapproval policies partial update.
posthog_cohorts_ calculation_ history_ retrievecohorts calculation history retrieve.
posthog_data_ warehouse_ data_ ops_ dashboard_ retrieveReturns the data ops overview dashboard ID for this team, creating it if it doesn't exist yet.
posthog_event_ definitions_ destroyevent definitions destroy.
posthog_external_ data_ schemas_ destroyexternal data schemas destroy.
posthog_groups_ types_ metrics_ creategroups types metrics create.
posthog_llm_ skills_ name_ duplicate_ createllm skills name duplicate create.
posthog_conversations_ destroyDelete a conversation.
posthog_product_ tours_ draft_ partial_ updateSave draft content (server-side merge).
posthog_accounts_ notebooks_ destroyaccounts notebooks destroy.
posthog_domains_ createdomains create.
posthog_error_ tracking_ assignment_ rules_ reorder_ partial_ updateerror tracking assignment rules reorder partial update.
posthog_llm_ analytics_ clustering_ jobs_ listCRUD for clustering job configurations (max 5 per team).
posthog_batch_ exports_ createbatch exports create.
posthog_logs_ alerts_ events_ listPaginated event history for this alert, newest first.
posthog_users_ hedgehog_ config_ partial_ updateusers hedgehog config partial update.
posthog_external_ data_ sources_ connect_ link_ retrieveReturn a secure browser link for connecting a data warehouse source.
posthog_integrations_ channels_ retrieveintegrations channels retrieve.
posthog_notebooks_ collab_ save_ createThe API for interacting with Notebooks.
posthog_environments_ default_ evaluation_ contexts_ createManage default evaluation contexts for a team.
posthog_visual_ review_ repos_ quarantine_ createQuarantine a snapshot identifier for a specific run type.
posthog_dashboards_ copy_ tile_ createCopy an existing dashboard tile to another dashboard (insight, text card, or widget tile).
posthog_signals_ reports_ retrievesignals reports retrieve.
posthog_experiments_ create_ from_ prompt_ createCreate an experiment that compares N versions of an LLM prompt using a metric template.
posthog_desktop_ file_ system_ createThe file tree for the desktop product surface.
posthog_hog_ flows_ destroyhog flows destroy.
posthog_surveys_ destroysurveys destroy.
posthog_user_ interview_ topics_ interviewees_ bulk_ createCreate up to 500 interviewee context rows for a topic in a single request.
posthog_persons_ bulk_ delete_ createThis endpoint allows you to bulk delete persons, either by the PostHog person IDs or by distinct IDs.
posthog_tasks_ runs_ artifacts_ prepare_ upload_ createPrepare direct uploads for task run artifacts
posthog_feature_ flags_ bulk_ update_ tags_ createBulk update tags on multiple objects.
posthog_insights_ cancel_ createDRF ViewSet mixin that gates coalesced responses behind permission checks.
posthog_conversations_ tickets_ destroyconversations tickets destroy.
posthog_warehouse_ saved_ queries_ dependencies_ retrieveReturn the count of immediate upstream and downstream dependencies for this saved query.
posthog_session_ recording_ playlists_ partial_ updatesession recording playlists partial update.
posthog_tasks_ presence_ createBeacon presence for a device watching this task
posthog_vision_ scanners_ creators_ retrieveDistinct creators across the team's scanners — feeds the `Created by` filter dropdown.
posthog_endpoints_ logs_ retrieveendpoints logs retrieve.
posthog_file_ system_ link_ createfile system link create.
posthog_hog_ functions_ icons_ retrievehog functions icons retrieve.
posthog_mcp_ server_ installations_ install_ template_ createmcp server installations install template create.
posthog_approval_ policies_ retrieveapproval policies retrieve.
posthog_cohorts_ createcohorts create.
posthog_data_ warehouse_ deprovision_ createStart deprovisioning the managed warehouse for this team.
posthog_event_ definitions_ golang_ retrieveevent definitions golang retrieve.
posthog_external_ data_ schemas_ incremental_ fields_ createexternal data schemas incremental fields create.
posthog_groups_ types_ metrics_ destroygroups types metrics destroy.
posthog_llm_ skills_ name_ files_ createllm skills name files create.
posthog_conversations_ listconversations list.
posthog_product_ tours_ draft_ status_ retrieveLightweight polling endpoint for draft change detection.
posthog_accounts_ notebooks_ listaccounts notebooks list.
posthog_domains_ destroydomains destroy.
posthog_error_ tracking_ assignment_ rules_ retrieveerror tracking assignment rules retrieve.
posthog_llm_ analytics_ clustering_ jobs_ partial_ updateCRUD for clustering job configurations (max 5 per team).
posthog_batch_ exports_ destroybatch exports destroy.
posthog_logs_ alerts_ listlogs alerts list.
posthog_users_ hedgehog_ config_ retrieveusers hedgehog config retrieve.
posthog_external_ data_ sources_ connections_ listCreate, Read, Update and Delete External data Sources.
posthog_integrations_ clickup_ lists_ retrieveintegrations clickup lists retrieve.
posthog_notebooks_ collab_ stream_ retrieveThe API for interacting with Notebooks.
posthog_environments_ default_ evaluation_ contexts_ destroyManage default evaluation contexts for a team.
posthog_visual_ review_ repos_ quarantine_ expire_ createExpire all active quarantine entries for an identifier.
posthog_dashboards_ create_ from_ template_ json_ createdashboards create from template json create.
posthog_signals_ reports_ state_ createTransition a report to a new state.
posthog_experiments_ destroyHard delete of this model is not allowed.
posthog_desktop_ file_ system_ destroyThe file tree for the desktop product surface.
posthog_hog_ flows_ invocation_ result_ retrievehog flows invocation result retrieve.
posthog_surveys_ duplicate_ to_ projects_ createDuplicate a survey to multiple projects in a single transaction.
posthog_user_ interview_ topics_ interviewees_ createPer-interviewee extra context for an user interview topic.
posthog_persons_ cohorts_ retrieveThis endpoint is meant for reading and deleting persons.
posthog_tasks_ runs_ artifacts_ presign_ createGenerate presigned URL for an artifact
posthog_feature_ flags_ create_ static_ cohort_ for_ flag_ createCreate, read, update and delete feature flags.
posthog_insights_ generate_ metadata_ createGenerate an AI-suggested name and description for an insight based on its query configuration.
posthog_conversations_ tickets_ listList tickets with person data attached.
posthog_warehouse_ saved_ queries_ descendants_ createReturn the descendants of this saved query.
posthog_session_ recording_ playlists_ recordings_ createsession recording playlists recordings create.
posthog_tasks_ presence_ destroyBeacon presence for a device watching this task
posthog_vision_ scanners_ destroyCRUD for Replay Vision scanners.
posthog_endpoints_ materialization_ preview_ createPreview the materialization transform for an endpoint.
posthog_file_ system_ listfile system list.
posthog_hog_ functions_ invocations_ createhog functions invocations create.
posthog_mcp_ server_ installations_ listmcp server installations list.
posthog_approval_ policies_ updateapproval policies update.
posthog_cohorts_ destroyHard delete of this model is not allowed.
posthog_data_ warehouse_ job_ stats_ retrieveReturns success and failed job statistics for the last 1, 7, or 30 days.
posthog_event_ definitions_ metrics_ retrieveevent definitions metrics retrieve.
posthog_external_ data_ schemas_ listexternal data schemas list.
posthog_groups_ types_ metrics_ listgroups types metrics list.
posthog_llm_ skills_ name_ files_ destroyllm skills name files destroy.
posthog_conversations_ queue_ clear_ createconversations queue clear create.
posthog_product_ tours_ generate_ createGenerate tour step content using AI.
posthog_accounts_ notebooks_ retrieveaccounts notebooks retrieve.
posthog_domains_ listdomains list.
posthog_error_ tracking_ assignment_ rules_ updateerror tracking assignment rules update.
posthog_llm_ analytics_ clustering_ jobs_ retrieveCRUD for clustering job configurations (max 5 per team).
posthog_batch_ exports_ listbatch exports list.
posthog_logs_ alerts_ partial_ updatelogs alerts partial update.
posthog_users_ integrations_ github_ branches_ retrieveList branches for a personal GitHub installation repository
posthog_external_ data_ sources_ createCreate, Read, Update and Delete External data Sources.
posthog_integrations_ clickup_ spaces_ retrieveintegrations clickup spaces retrieve.
posthog_notebooks_ createThe API for interacting with Notebooks.
posthog_environments_ default_ evaluation_ contexts_ retrieveManage default evaluation contexts for a team.
posthog_visual_ review_ repos_ quarantine_ listList quarantined identifiers.
posthog_dashboards_ create_ text_ tile_ createAdd a markdown text tile to a dashboard.
posthog_signals_ scout_ config_ createCreate a scout config
posthog_experiments_ duplicate_ createMixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers.
posthog_desktop_ file_ system_ instructions_ destroySoft-delete every version of this folder's instructions.
posthog_hog_ flows_ invocation_ results_ retrievehog flows invocation results retrieve.
posthog_surveys_ generate_ translations_ createsurveys generate translations create.
posthog_user_ interview_ topics_ interviewees_ destroyPer-interviewee extra context for an user interview topic.
posthog_persons_ delete_ property_ createThis endpoint is meant for reading and deleting persons.
posthog_tasks_ runs_ command_ createSend command to task run
posthog_feature_ flags_ dashboard_ createCreate, read, update and delete feature flags.
posthog_insights_ my_ last_ viewed_ retrieveReturns basic details about the last 5 insights viewed by this user.
posthog_conversations_ tickets_ messages_ listReturn the message thread for a ticket, ordered chronologically (paginated).
posthog_warehouse_ saved_ queries_ destroyCreate, Read, Update and Delete Warehouse Tables.
posthog_session_ recording_ playlists_ recordings_ destroysession recording playlists recordings destroy.
posthog_tasks_ repositories_ retrieveList distinct task repositories
posthog_vision_ scanners_ estimate_ createEstimate the observation volume a proposed scanner would generate, for the pre-save cost preview.
posthog_endpoints_ materialization_ status_ retrieveGet materialization status for an endpoint.
posthog_file_ system_ log_ view_ createfile system log view create.
posthog_hog_ functions_ listhog functions list.
posthog_mcp_ server_ installations_ partial_ updatemcp server installations partial update.
posthog_change_ requests_ approve_ createApprove a change request.
posthog_cohorts_ partial_ updatecohorts partial update.
posthog_data_ warehouse_ property_ values_ retrieveAPI endpoints for data warehouse aggregate statistics and operations.
posthog_event_ definitions_ partial_ updateevent definitions partial update.
posthog_external_ data_ schemas_ partial_ updateexternal data schemas partial update.
posthog_groups_ types_ metrics_ partial_ updategroups types metrics partial update.
posthog_llm_ skills_ name_ files_ rename_ createllm skills name files rename create.
posthog_conversations_ queue_ createconversations queue create.
posthog_product_ tours_ listproduct tours list.
posthog_accounts_ partial_ updateaccounts partial update.
posthog_domains_ partial_ updatedomains partial update.
posthog_error_ tracking_ fingerprints_ destroyHard delete of this model is not allowed.
posthog_llm_ analytics_ clustering_ jobs_ updateCRUD for clustering job configurations (max 5 per team).
posthog_batch_ exports_ logs_ retrievebatch exports logs retrieve.
posthog_logs_ alerts_ reset_ createReset a broken alert.
posthog_users_ integrations_ github_ destroyDisconnect a personal GitHub integration
posthog_external_ data_ sources_ create_ webhook_ createCreate, Read, Update and Delete External data Sources.
posthog_integrations_ clickup_ workspaces_ retrieveintegrations clickup workspaces retrieve.
posthog_notebooks_ destroyHard delete of this model is not allowed.
posthog_environments_ default_ release_ conditions_ retrieveManage default release conditions for new feature flags in this team.
posthog_visual_ review_ repos_ retrieveGet a repo by ID.
posthog_dashboards_ create_ unlisted_ dashboard_ createCreates an unlisted dashboard from template by tag.
posthog_signals_ scout_ config_ listList scout configs
posthog_experiments_ eligible_ feature_ flags_ retrieveReturns a paginated list of feature flags eligible for use in experiments.
posthog_desktop_ file_ system_ instructions_ partial_ updatePublish a new version of the folder's instructions.
posthog_hog_ flows_ invocations_ createhog flows invocations create.
posthog_surveys_ global_ stats_ retrieveGet aggregated response statistics across all surveys.
posthog_user_ interview_ topics_ interviewees_ listPer-interviewee extra context for an user interview topic.
posthog_persons_ deletion_ status_ listList the status of queued event deletions for persons.
posthog_tasks_ runs_ connection_ token_ retrieveGet sandbox connection token
posthog_feature_ flags_ dependent_ flags_ listGet other active flags that depend on this flag.
posthog_insights_ sharing_ listinsights sharing list.
posthog_conversations_ tickets_ partial_ updateconversations tickets partial update.
posthog_warehouse_ saved_ queries_ listCreate, Read, Update and Delete Warehouse Tables.
posthog_session_ recording_ playlists_ recordings_ retrievesession recording playlists recordings retrieve.
posthog_tasks_ repository_ readiness_ retrieveGet repository readiness
posthog_vision_ scanners_ listCRUD for Replay Vision scanners.
posthog_endpoints_ openapi_ spec_ retrieveGet OpenAPI 3.0 specification for this endpoint.
posthog_file_ system_ log_ view_ retrievefile system log view retrieve.
posthog_hog_ functions_ logs_ retrievehog functions logs retrieve.
posthog_mcp_ server_ installations_ proxy_ createmcp server installations proxy create.
posthog_change_ requests_ cancel_ createCancel a change request.
posthog_cohorts_ persons_ retrievecohorts persons retrieve.
posthog_data_ warehouse_ provision_ createStart provisioning a managed warehouse for this team.
posthog_event_ definitions_ primary_ properties_ retrieveResolve team-configured primary properties for event definitions.
posthog_external_ data_ schemas_ reload_ createexternal data schemas reload create.
posthog_groups_ types_ metrics_ retrievegroups types metrics retrieve.
posthog_llm_ skills_ name_ files_ retrievellm skills name files retrieve.
posthog_conversations_ queue_ destroyconversations queue destroy.
posthog_product_ tours_ partial_ updateproduct tours partial update.
posthog_accounts_ retrieveaccounts retrieve.
posthog_domains_ retrievedomains retrieve.
posthog_error_ tracking_ fingerprints_ listerror tracking fingerprints list.
posthog_llm_ analytics_ evaluation_ config_ retrieveGet the evaluation config for this team
posthog_batch_ exports_ partial_ updatebatch exports partial update.
posthog_logs_ alerts_ retrievelogs alerts retrieve.
posthog_users_ integrations_ github_ repos_ refresh_ createRefresh repositories for a personal GitHub installation
posthog_external_ data_ sources_ database_ schema_ createCreate, Read, Update and Delete External data Sources.
posthog_integrations_ createintegrations create.
posthog_notebooks_ hogql_ execute_ createThe API for interacting with Notebooks.
posthog_environments_ default_ release_ conditions_ updateManage default release conditions for new feature flags in this team.
posthog_visual_ review_ repos_ runs_ counts_ retrieveReview state counts for runs in this repo.
posthog_dashboards_ delete_ tileSoft-delete a single tile from a dashboard.
posthog_signals_ scout_ config_ updateUpdate a scout config
posthog_experiments_ end_ createEnd a running experiment without shipping a variant.
posthog_desktop_ file_ system_ instructions_ retrieveReturn the latest non-deleted instructions for this folder.
posthog_hog_ flows_ listhog flows list.
posthog_surveys_ launchLaunch a survey by setting `start_date` to the current time.
posthog_user_ interview_ topics_ interviewees_ partial_ updatePer-interviewee extra context for an user interview topic.
posthog_persons_ funnel_ createThis endpoint is meant for reading and deleting persons.
posthog_tasks_ runs_ createCreate task run
posthog_feature_ flags_ enrich_ usage_ dashboard_ createCreate, read, update and delete feature flags.
posthog_insights_ sharing_ passwords_ createCreate a new password for the sharing configuration.
posthog_conversations_ tickets_ reply_ createPost a reply or internal note to a ticket.
posthog_warehouse_ saved_ queries_ materialize_ createEnable materialization for this saved query with a 24-hour sync frequency.
posthog_session_ recording_ playlists_ retrievesession recording playlists retrieve.
posthog_tasks_ retrieveAPI for managing tasks within a project.
posthog_vision_ scanners_ observations_ listRead-only access to observations produced by a scanner.
posthog_endpoints_ partial_ updateUpdate an existing endpoint.
posthog_file_ system_ move_ createfile system move create.
posthog_hog_ functions_ metrics_ retrievehog functions metrics retrieve.
posthog_mcp_ server_ installations_ retrievemcp server installations retrieve.
posthog_change_ requests_ listchange requests list.
posthog_cohorts_ remove_ person_ from_ static_ cohort_ partial_ updatecohorts remove person from static cohort partial update.
posthog_data_ warehouse_ reset_ password_ createReset the root password for the managed warehouse.
posthog_event_ definitions_ python_ retrieveevent definitions python retrieve.
posthog_external_ data_ schemas_ resync_ createexternal data schemas resync create.
posthog_groups_ types_ metrics_ updategroups types metrics update.
posthog_llm_ skills_ name_ partial_ updatellm skills name partial update.
posthog_conversations_ queue_ partial_ updateconversations queue partial update.
posthog_product_ tours_ publish_ draft_ createCommit draft to live tour.
posthog_accounts_ updateaccounts update.
posthog_domains_ scim_ logs_ retrievedomains scim logs retrieve.
posthog_error_ tracking_ fingerprints_ retrieveerror tracking fingerprints retrieve.
posthog_llm_ analytics_ evaluation_ config_ set_ active_ key_ createSet the active provider key for evaluations
posthog_batch_ exports_ pause_ createPause a BatchExport.
posthog_logs_ alerts_ simulate_ createSimulate a logs alert on historical data using the full state machine.
posthog_users_ integrations_ github_ repos_ retrieveList repositories for a personal GitHub installation
posthog_external_ data_ sources_ delete_ webhook_ createCreate, Read, Update and Delete External data Sources.
posthog_integrations_ destroyintegrations destroy.
posthog_notebooks_ kernel_ config_ createThe API for interacting with Notebooks.
posthog_environments_ delete_ secret_ token_ backup_ partial_ updateDeprecated: use /api/environments/{id}/ instead.
posthog_visual_ review_ repos_ runs_ listList runs in this repo, optionally filtered by review state.
posthog_dashboards_ move_ tile_ createdashboards move tile create.
posthog_signals_ scout_ emit_ signalEmit a finding for a run
posthog_experiments_ launch_ createLaunch a draft experiment.
posthog_desktop_ file_ system_ instructions_ updatePublish a new version of the folder's instructions.
posthog_hog_ flows_ logs_ retrievehog flows logs retrieve.
posthog_surveys_ partial_ updatesurveys partial update.
posthog_user_ interview_ topics_ interviewees_ retrievePer-interviewee extra context for an user interview topic.
posthog_persons_ funnel_ retrieveThis endpoint is meant for reading and deleting persons.
posthog_tasks_ runs_ listList task runs
posthog_feature_ flags_ evaluation_ reasons_ retrieveCreate, read, update and delete feature flags.
posthog_insights_ sharing_ passwords_ destroyDelete a password from the sharing configuration.
posthog_conversations_ tickets_ retrieveGet single ticket and mark as read by team.
posthog_warehouse_ saved_ queries_ partial_ updateCreate, Read, Update and Delete Warehouse Tables.
posthog_session_ recording_ playlists_ updatesession recording playlists update.
posthog_tasks_ run_ createRun task
posthog_vision_ scanners_ observations_ retrieveRead-only access to observations produced by a scanner.
posthog_endpoints_ retrieveRetrieve an endpoint, or a specific version via ?version=N.
posthog_file_ system_ partial_ updatefile system partial update.
posthog_hog_ functions_ metrics_ totals_ retrievehog functions metrics totals retrieve.
posthog_mcp_ server_ installations_ tools_ partial_ updatemcp server installations tools partial update.
posthog_change_ requests_ reject_ createReject a change request.
posthog_cohorts_ retrievecohorts retrieve.
posthog_data_ warehouse_ running_ activity_ retrieveReturns currently running activities (jobs with status 'Running').
posthog_event_ definitions_ retrieveevent definitions retrieve.
posthog_external_ data_ schemas_ retrieveexternal data schemas retrieve.
posthog_groups_ types_ set_ default_ columns_ updategroups types set default columns update.
posthog_llm_ skills_ name_ retrievellm skills name retrieve.
posthog_conversations_ queue_ retrieveconversations queue retrieve.
posthog_product_ tours_ retrieveproduct tours retrieve.
posthog_actions_ bulk_ update_ tags_ createBulk update tags on multiple objects.
posthog_domains_ scim_ token_ createRegenerate SCIM bearer token.
posthog_error_ tracking_ git_ provider_ file_ links_ resolve_ github_ geerror tracking git provider file links resolve github retrieve.
posthog_llm_ analytics_ evaluation_ reports_ createCRUD for evaluation report configurations + report run history.
posthog_batch_ exports_ retrievebatch exports retrieve.
posthog_logs_ alerts_ updatelogs alerts update.
posthog_users_ integrations_ github_ start_ createStart GitHub personal integration linking
posthog_external_ data_ sources_ destroyCreate, Read, Update and Delete External data Sources.
posthog_integrations_ domain_ connect_ apply_ url_ createUnified endpoint for generating Domain Connect apply URLs.
posthog_notebooks_ kernel_ dataframe_ retrieveThe API for interacting with Notebooks.
posthog_environments_ destroyDeprecated: use /api/environments/{id}/ instead.
posthog_visual_ review_ repos_ snapshots_ listDeduped baseline timeline for a snapshot identity.
posthog_dashboards_ move_ tile_ partial_ updatedashboards move tile partial update.
posthog_signals_ scout_ project_ profile_ getGet the current project profile
posthog_experiments_ partial_ updateUpdate an experiment.
posthog_desktop_ file_ system_ instructions_ versions_ listList the version history for this folder's instructions, newest first.
posthog_hog_ flows_ metrics_ global_ retrievehog flows metrics global retrieve.
posthog_surveys_ question_ labelsReturn a slim list of question labels for the team's surveys.
posthog_user_ interview_ topics_ interviewees_ updatePer-interviewee extra context for an user interview topic.
posthog_persons_ lifecycle_ retrieveThis endpoint is meant for reading and deleting persons.
posthog_tasks_ runs_ logs_ retrieveGet task run logs
posthog_feature_ flags_ matching_ ids_ retrieveGet IDs of all feature flags matching the current filters.
posthog_insights_ sharing_ refresh_ createinsights sharing refresh create.
posthog_conversations_ tickets_ suggest_ reply_ createconversations tickets suggest reply create.
posthog_warehouse_ saved_ queries_ resume_ schedules_ createResume paused materialization schedules for multiple matviews.
posthog_session_ recordings_ destroysession recordings destroy.
posthog_tasks_ slack_ thread_ context_ retrieveResolve a Slack thread to its task, runs, and Temporal workflows
posthog_vision_ scanners_ observations_ stats_ retrieveAggregate counts and per-scanner-type distributions over the filtered observation set.
posthog_endpoints_ run_ createExecute endpoint with optional materialization.
posthog_file_ system_ retrievefile system retrieve.
posthog_hog_ functions_ partial_ updatehog functions partial update.
posthog_mcp_ server_ installations_ tools_ refresh_ createmcp server installations tools refresh create.
posthog_change_ requests_ retrievechange requests retrieve.
posthog_cohorts_ updatecohorts update.
posthog_data_ warehouse_ total_ rows_ stats_ retrieveReturns aggregated statistics for the data warehouse total rows processed within the current billing period.
posthog_event_ definitions_ typescript_ retrieveevent definitions typescript retrieve.
posthog_external_ data_ schemas_ updateexternal data schemas update.
posthog_groups_ types_ update_ metadata_ partial_ updategroups types update metadata partial update.
posthog_llm_ skills_ resolve_ name_ retrievellm skills resolve name retrieve.
posthog_conversations_ retrieveconversations retrieve.
posthog_product_ tours_ updateproduct tours update.
posthog_actions_ createactions create.
posthog_domains_ updatedomains update.
posthog_error_ tracking_ git_ provider_ file_ links_ resolve_ gitlab_ geerror tracking git provider file links resolve gitlab retrieve.
posthog_llm_ analytics_ evaluation_ reports_ destroyHard delete of this model is not allowed.
posthog_batch_ exports_ run_ test_ step_ createbatch exports run test step create.
posthog_logs_ attributes_ retrievelogs attributes retrieve.
posthog_users_ integrations_ listList personal GitHub integrations
posthog_external_ data_ sources_ disable_ cdc_ createDisable CDC on an existing source.
posthog_integrations_ domain_ connect_ check_ retrieveintegrations domain connect check retrieve.
posthog_notebooks_ kernel_ execute_ createThe API for interacting with Notebooks.
posthog_environments_ event_ ingestion_ restrictions_ retrieveDeprecated: use /api/environments/{id}/ instead.
posthog_visual_ review_ repos_ thumbnails_ retrieveServe a snapshot thumbnail by identifier.
posthog_dashboards_ reorder_ tiles_ createdashboards reorder tiles create.
posthog_signals_ scout_ runs_ emissionsList a run's emitted findings
posthog_experiments_ pause_ createPause a running experiment.
posthog_desktop_ file_ system_ link_ createThe file tree for the desktop product surface.
posthog_hog_ flows_ metrics_ retrievehog flows metrics retrieve.
posthog_surveys_ responses_ archive_ createArchive a single survey response.
posthog_user_ interview_ topics_ links_ csv_ createSame materialization as generate_links, returned as a downloadable CSV.
posthog_persons_ partial_ updateThis endpoint is meant for reading and deleting persons.
posthog_tasks_ runs_ partial_ updateUpdate task run
posthog_feature_ flags_ my_ flags_ retrieveCreate, read, update and delete feature flags.
posthog_insights_ suggestions_ createDRF ViewSet mixin that gates coalesced responses behind permission checks.
posthog_conversations_ tickets_ unread_ count_ retrieveGet total unread ticket count for the team.
posthog_warehouse_ saved_ queries_ retrieveCreate, Read, Update and Delete Warehouse Tables.
posthog_session_ recordings_ listsession recordings list.
posthog_tasks_ staged_ artifacts_ finalize_ upload_ createFinalize staged direct uploads for task attachments
posthog_vision_ scanners_ observe_ createApply this scanner to one specific session, on demand.
posthog_endpoints_ run_ retrieveExecute endpoint with optional materialization.
posthog_file_ system_ undo_ delete_ createfile system undo delete create.
posthog_hog_ functions_ rearrange_ partial_ updateUpdate the execution order of multiple HogFunctions.
posthog_mcp_ server_ installations_ tools_ retrievemcp server installations tools retrieve.
posthog_environments_ promoted_ product_ intent_ retrieveReturn the product key (e.g.
posthog_cohorts_ used_ in_ retrievecohorts used in retrieve.
posthog_data_ warehouse_ warehouse_ status_ retrieveGet the current provisioning status of the managed warehouse.
posthog_event_ definitions_ updateevent definitions update.
posthog_actions_ destroyHard delete of this model is not allowed.
posthog_domains_ verify_ createdomains verify create.
posthog_error_ tracking_ grouping_ rules_ createerror tracking grouping rules create.
posthog_llm_ analytics_ evaluation_ reports_ generate_ createTrigger immediate report generation.
posthog_batch_ exports_ run_ test_ step_ new_ createbatch exports run test step new create.
posthog_logs_ count_ createlogs count create.
posthog_users_ listusers list.
posthog_external_ data_ sources_ enable_ cdc_ createEnable CDC on an existing source.
posthog_integrations_ email_ partial_ updateintegrations email partial update.
posthog_notebooks_ kernel_ execute_ stream_ createThe API for interacting with Notebooks.
posthog_environments_ experiments_ config_ partial_ updateManage experiment configuration for this environment.
posthog_visual_ review_ runs_ add_ snapshots_ createAdd a batch of snapshots to a pending run (shard-based flow).
posthog_dashboards_ run_ insights_ retrieveRun all insights on a dashboard and return their results.
posthog_signals_ scout_ runs_ listSearch recent agent runs
posthog_experiments_ prompt_ templates_ retrieveList the LLM metric templates that can be passed to `create_from_prompt`.
posthog_desktop_ file_ system_ listThe file tree for the desktop product surface.
posthog_hog_ flows_ metrics_ totals_ retrievehog flows metrics totals retrieve.
posthog_surveys_ responses_ count_ retrieveGet response counts for all surveys.
posthog_user_ interview_ topics_ listPlanned user interview topics: who we want to target and what we want to ask about.
posthog_persons_ properties_ at_ time_ retrieveGet person properties as they existed at a specific point in time.
posthog_tasks_ runs_ relay_ message_ createRelay run message to Slack
posthog_feature_ flags_ remote_ config_ retrieveCreate, read, update and delete feature flags.
posthog_insights_ suggestions_ retrieveDRF ViewSet mixin that gates coalesced responses behind permission checks.
posthog_conversations_ tickets_ updateHandle ticket updates including assignee changes.
posthog_warehouse_ saved_ queries_ revert_ materialization_ createUndo materialization, revert back to the original view.
posthog_session_ recordings_ partial_ updatesession recordings partial update.
posthog_tasks_ staged_ artifacts_ prepare_ upload_ createPrepare staged direct uploads for task attachments
posthog_vision_ scanners_ partial_ updateCRUD for Replay Vision scanners.
posthog_endpoints_ updateUpdate an existing endpoint.
posthog_file_ system_ unfiled_ retrievefile system unfiled retrieve.
posthog_hog_ functions_ retrievehog functions retrieve.
posthog_mcp_ server_ installations_ updatemcp server installations update.
posthog_organizations_ projects_ promoted_ product_ intent_ retrieveReturn the product key (e.g.
posthog_actions_ listactions list.
posthog_integrations_ environment_ mapping_ partial_ updateViewSet for organization-level integrations.
posthog_error_ tracking_ grouping_ rules_ destroyerror tracking grouping rules destroy.
posthog_llm_ analytics_ evaluation_ reports_ listCRUD for evaluation report configurations + report run history.
posthog_batch_ exports_ runs_ cancel_ createCancel a batch export run.
posthog_logs_ count_ ranges_ createlogs count ranges create.
posthog_users_ onboarding_ skip_ createMark the current user as having exited onboarding with a non-delegated reason.
posthog_external_ data_ sources_ jobs_ retrieveCreate, Read, Update and Delete External data Sources.
posthog_integrations_ email_ verify_ createintegrations email verify create.
posthog_notebooks_ kernel_ restart_ createThe API for interacting with Notebooks.
posthog_environments_ experiments_ config_ retrieveManage experiment configuration for this environment.
posthog_visual_ review_ runs_ approve_ createMark snapshots reviewed (DB only).
posthog_dashboards_ run_ widgets_ retrievedashboards run widgets retrieve.
posthog_signals_ scout_ runs_ retrieveGet a run by ID
posthog_experiments_ recalculate_ timeseries_ createMixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers.
posthog_desktop_ file_ system_ log_ view_ createThe file tree for the desktop product surface.
posthog_hog_ flows_ partial_ updatehog flows partial update.
posthog_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.
posthog_user_ interview_ topics_ partial_ updatePlanned user interview topics: who we want to target and what we want to ask about.
posthog_persons_ properties_ timeline_ retrieveThis endpoint is meant for reading and deleting persons.
posthog_tasks_ runs_ resume_ in_ cloud_ createResume task run in cloud
posthog_feature_ flags_ status_ retrieveCreate, read, update and delete feature flags.
posthog_insights_ thresholds_ listinsights thresholds list.
posthog_conversations_ views_ createconversations views create.
posthog_warehouse_ saved_ queries_ run_ createRun this saved query.
posthog_session_ recordings_ retrievesession recordings retrieve.
posthog_tasks_ summaries_ createFetch task summaries by ID
posthog_vision_ scanners_ retrieveCRUD for Replay Vision scanners.
posthog_endpoints_ versions_ listList all versions for an endpoint.
posthog_file_ system_ updatefile system update.
posthog_hog_ functions_ updatehog functions update.
posthog_actions_ partial_ updateactions partial update.
posthog_invites_ bulk_ createinvites bulk create.
posthog_error_ tracking_ grouping_ rules_ listerror tracking grouping rules list.
posthog_llm_ analytics_ evaluation_ reports_ partial_ updateCRUD for evaluation report configurations + report run history.
posthog_batch_ exports_ runs_ listbatch exports runs list.
posthog_logs_ explainLogWithAI_ createExplain a log entry using AI.
posthog_users_ partial_ updateUpdate one or more of the authenticated user's profile fields or settings.
posthog_external_ data_ sources_ listCreate, Read, Update and Delete External data Sources.
posthog_integrations_ github_ branches_ retrieveintegrations github branches retrieve.
posthog_notebooks_ kernel_ start_ createThe API for interacting with Notebooks.
posthog_environments_ generate_ conversations_ public_ token_ createDeprecated: use /api/environments/{id}/ instead.
posthog_visual_ review_ runs_ complete_ createComplete a run: detect removals, verify uploads, trigger diff processing.
posthog_dashboards_ sharing_ listdashboards sharing list.
posthog_signals_ scout_ scratchpad_ forgetForget a scratchpad entry by key
posthog_experiments_ requires_ flag_ implementation_ retrieveMixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers.
Credentials off one PostHog screen, then an endpoint your client signs into. Nothing to deploy, and nothing to install.
Create a Personal API Key under Settings → Personal API keys and paste it in. Set Region to us, eu, or selfhosted, plus Self-hosted host for the last. It locks to your current project, so no project id is needed.
••••••••••••3f7aushttps://posthog.yourcompany.comRead-only keeps it to queries, insights and dashboards. Full access adds writes — leave approval on so a feature flag rollout change or a person deletion waits for a human. Turn on the full catalog for rarer modules.
Drop the PopMCP URL into Claude, ChatGPT, Codex or any other supported client. It signs in through PopMCP with OAuth, so your PostHog credential never leaves the server.
app.popmcp.com/mcp/…Ask for something harmless before you turn writes on. Once it comes back clean, widen the tool set or switch the connection to full access.
Which events fired most last week, and how does that compare to the week before
posthog_get_database_schemaok
Then just ask for the work
“Which events fired most last week, and how does that compare to the week before”
“Roll the new-checkout flag back to 10% for everyone outside the beta cohort”
“Spin up a dashboard tracking signups, activation and week-two retention”
“Did the checkout redesign experiment cause this week's spike in error issues”
One hosted endpoint, registered once per client. The same tools and the same permissions, whichever window the request comes from.
Add the PopMCP URL under Settings → Connectors and the tools appear in every chat.
The same endpoint, registered in the browser. Nothing to install on the machine you are working from.
Register PopMCP as a custom connector, then let ChatGPT read and update the account.
Wire the endpoint into Codex or the Codex CLI when a task needs live business context, not a fixture.
Register the remote MCP server in OpenCode's config for terminal-first and scripted agent runs.
Add PopMCP as an MCP server in Z.ai's desktop app and work the account from the same window.
FAQ
What teams ask before putting PostHog behind an AI client.
No. The connect form asks for a Personal API Key, which you create under Settings → Personal API keys and paste in. There is no OAuth handshake, no client secret and no token refresh to keep alive. The only other fields are an optional Region and, for self-hosted instances, a host.
The connection auto-detects and locks to your current project, so the AI never has to know or pass a project id. get_current_user returns the authenticated user plus their current project and organization, and the organizations the key can reach. organizations_projects_list shows the projects inside the current organization.
Both. run_hogql_query runs PostHog's ClickHouse-flavored SQL against the project and hands back rows, while get_database_schema lists the tables and columns HogQL can reach — events, persons, sessions, groups and data-warehouse tables. Heavier queries can be started async and polled with get_query_status. Saved work is still reachable through insights_list and insights_retrieve.
Yes. The Region field accepts us, eu, or selfhosted. If you choose selfhosted, fill in Self-hosted host with your own instance address; on US or EU Cloud you can leave that field empty.
No — PostHog refuses a hard delete on those models, so dashboards_destroy, insights_destroy and feature_flags_destroy come back saying a hard delete of the model is not allowed. This is the thing that surprises people who expect a delete call to wipe the record. Person data is the genuinely destructive area, since the persons endpoints are built for reading and deleting persons, so keep approval-required on writes if you want those held for review.
1,373 operations across 128 API modules, split 573 read and 800 write. 34 load into your AI client by default and the rest stay searchable, so the tool list does not swamp the model. The biggest modules are Organizations, Error tracking, LLM analytics, Batch exports and Logs, and PopMCP can watch 20 triggers on top of that.
No. PopMCP hosts it and gives you a Streamable HTTP MCP URL. There is nothing to deploy, no callback URL to register, and no infrastructure to keep running or patch.
Any client that supports a remote Streamable HTTP MCP server — Claude Desktop, Claude Web, ChatGPT custom connectors, Codex and the Codex CLI, OpenCode and Z.ai's ZCode, as well as editors such as Cursor, Windsurf and Zed. Your client signs in to PopMCP with OAuth; the provider credential never leaves the server.
Loading 1373 tool definitions into every conversation burns context before the work starts. PopMCP loads a curated 34-tool set covering the everyday workflows and keeps the rest searchable, so your AI pulls a specialist tool only when a task needs it. You can switch a connection to the full catalog at any time.
A tool is something your AI calls — there are 1373 here. A trigger is something PopMCP watches for you: 20 PostHog events that can start work on the PopMCP side. Triggers never enter your AI client's context, and none of them ask you to paste a callback URL into PostHog.
Launch a hosted MCP endpoint for PostHog, keep tool access under control, and start testing real workflow prompts right away.