posthog__get | Read | ANY PostHog REST GET by path, bound to the selected project: api/projects/{selected}/… (insights, dashboards, feature_flags, experiments, surveys, cohorts, error_tracking/issues, event_definitions, session_recordings … |
posthog__list_projects | Read | The PostHog organizations and projects the connected sign-in reaches (GET /api/users/@me/ + each organization's projects): id, name, organization, time zone, region. |
posthog__get_project | Read | The selected project: name, organization, time zone, whether events were ever ingested, base currency. |
posthog__run_query | Read | A read-only HogQL (SQL) query on the selected project (POST /api/projects/{id}/query/ with a HogQLQuery): { accountId?, query (one SELECT / WITH statement), limit? (default 100, max 10000 — a LIMIT is added or capped)… |
posthog__trends | Read | A Trends query (TrendsQuery): { accountId?, events: [{ event (e.g. "$pageview"), math? (total | dau | weekly_active | monthly_active | unique_session | sum | avg | min | max | median, with mathProperty), name?, proper… |
posthog__funnel | Read | A Funnel (FunnelsQuery): { accountId?, steps: [{ event, name?, properties? }] (2–20, in order), conversionWindow? (default 14) + conversionWindowUnit? (minute | hour | day | week | month), orderType? (ordered | strict… |
posthog__retention | Read | A Retention table (RetentionQuery): { accountId?, startEvent? (default $pageview), returnEvent? (default the start event), period? (Day | Week | Month, default Week), totalIntervals? (default 8, ≤ 30), retentionType? … |
posthog__paths | Read | User paths (PathsQuery): { accountId?, includeEventTypes? ($pageview default | $screen | custom_event | hogql), startPoint?, endPoint?, stepLimit? (2–10, default 5), pathGroupings? }. |
posthog__lifecycle | Read | Lifecycle (LifecycleQuery): new / returning / resurrecting / dormant users per interval for one event: { accountId?, event? (default $pageview), interval? (day | week | month) }. |
posthog__stickiness | Read | Stickiness (StickinessQuery): how many users did the event on 1, 2, … intervals: { accountId?, events: [{ event (e.g. "$pageview"), math? (total | dau | weekly_active | monthly_active | unique_session | sum | avg | mi… |
posthog__session_analysis | Read | Sessions in aggregate (HogQL on the sessions table): sessions, average duration (s), bounce rate, pageviews per session — total or grouped by: groupBy? (day | channel | entry_path | device | country). |
posthog__heatmaps | Read | Click / scroll heatmap aggregates for one page (GET /api/projects/{id}/heatmaps/): { accountId?, url (exact page URL) or urlPattern (a regex), type? (click default | rageclick | mousemove | scrolldepth), viewportWidth… |
posthog__list_insights | Read | Saved insights (GET …/insights/): id, short_id, name, description, the query kind, dashboards, last refresh. |
posthog__get_insight | Read | ONE insight with its query and (refresh? = false) its cached result (GET …/insights/{id}/). |
posthog__list_dashboards | Read | Dashboards (GET …/dashboards/): id, name, description, pinned, tile count. |
posthog__get_dashboard | Read | ONE dashboard with its tiles (insight id, name, query kind) (GET …/dashboards/{id}/). |
posthog__list_feature_flags | Read | Feature flags (GET …/feature_flags/): id, key, name, active, rollout percentage per release condition, variants, tags. |
posthog__get_feature_flag | Read | ONE flag with its release conditions, variants and payloads (GET …/feature_flags/{id}/). |
posthog__list_experiments | Read | Experiments (GET …/experiments/): id, name, status (draft | running | complete — from start_date / end_date), feature flag key, metrics. |
posthog__get_experiment | Read | ONE experiment (GET …/experiments/{id}/) and, includeResults? (default true), its results when PostHog answers them (else said unavailable). |
posthog__list_surveys | Read | Surveys (GET …/surveys/): id, name, type, status (draft | running | complete), questions (type + text), targeting flag. |
posthog__get_survey | Read | ONE survey and, includeResponses? (default true), a response SUMMARY: total responses and counts per choice / rating answer (open-text answers and respondents are never returned). |
posthog__list_cohorts | Read | Cohorts (GET …/cohorts/): id, name, description, static or dynamic, count (people), last calculated. |
posthog__list_error_issues | Read | Error-tracking issues (GET …/error_tracking/issues/): id, name, description, status (active | resolved | suppressed | archived), first seen, assignee. |
posthog__get_error_issue | Read | ONE error issue (GET …/error_tracking/issues/{id}/). |
posthog__list_session_recordings | Read | Session recording METADATA (GET …/session_recordings/): id, start / end, duration, active seconds, clicks, keypresses, console errors, the start URL's page (no query string). |
posthog__get_session_recording_summary | Read | ONE recording's metadata (the list's fields), masked the same way. |
posthog__list_event_definitions | Read | Event definitions (GET …/event_definitions/): name, volume (30 days), last seen, verified. |
posthog__get_account_health | Read | Project health in one read: reachable (no_access on 401 / 403), ever ingested, events in the last 24 h and 7 days. |
posthog__create_insight | Write | Save an insight (POST …/insights/): { accountId?, name, description?, query (a query node such as { kind: "TrendsQuery", … }, or the InsightVizNode wrapping it), dashboardIds? (dashboards of this project) }. |
posthog__update_insight | Write | Change an insight's name, description or query (PATCH …/insights/{id}/): { accountId?, insightId, name?, description?, query? }. |
posthog__create_dashboard | Write | Create a dashboard (POST …/dashboards/): { accountId?, name, description?, pinned? }. |
posthog__update_dashboard | Write | Rename / describe / pin a dashboard (PATCH …/dashboards/{id}/): { accountId?, dashboardId, name?, description?, pinned? }. |
posthog__add_insight_to_dashboard | Write | Add a saved insight as a tile on a dashboard (the insight's dashboards list gains the dashboard): { accountId?, insightId, dashboardId }. |
posthog__create_feature_flag | Write — always a person | Create a feature flag INACTIVE by default (POST …/feature_flags/): { accountId?, key (letters, digits, - _), name? (description), rolloutPercentage? (0–100, default 0), properties? (release-condition filters), variant… |
posthog__update_feature_flag | Write — always a person | Change a flag (PATCH …/feature_flags/{id}/): { accountId?, flagId | key, name?, rolloutPercentage?, properties?, variants?, filters? (the whole filters object), tags? }. ★ A rollout, release-condition or variant chang… |
posthog__set_feature_flag_active | Write — always a person | Turn ONE flag on or off: { accountId?, flagId | key, active: true | false }. |
posthog__create_experiment | Write | Create an experiment as a DRAFT (no start date): { accountId?, name, featureFlagKey (a new key for its flag), description?, variants? ([{ key, rollout_percentage }], default control / test 50 / 50), metrics? (PostHog … |
posthog__launch_experiment | Write — always a person | Launch a draft experiment (sets start_date to now, which activates its flag for real users): { accountId?, experimentId }. |
posthog__stop_experiment | Write — always a person | End a running experiment (sets end_date to now): { accountId?, experimentId, conclusion? }. |
posthog__create_survey | Write | Create a survey as a DRAFT (no start date): { accountId?, name, type? (popover default | api | widget), questions ([{ type: open | single_choice | multiple_choice | rating | link, question, choices?, scale? }] 1–10), … |
posthog__launch_survey | Write — always a person | Launch a draft survey (start_date = now — it starts showing to real users): { accountId?, surveyId }. |
posthog__stop_survey | Write — always a person | Stop a running survey (end_date = now): { accountId?, surveyId }. |
posthog__create_cohort | Write | Create a DYNAMIC cohort (POST …/cohorts/): { accountId?, name, description?, filters (PostHog cohort filters: { properties: { type: AND | OR, values: [...] } }) }. |
posthog__update_cohort | Write | Change a dynamic cohort's name, description or filters (PATCH …/cohorts/{id}/): { accountId?, cohortId, name?, description?, filters? }. |
posthog__update_error_issue | Write | Set an error issue's status: { accountId?, issueId, status: active | resolved | suppressed }. |
posthog__assign_error_issue | Write | Assign an error issue to a user (id, or "me" for the connected sign-in) or unassign (assignee: null): { accountId?, issueId, assignee }. |
posthog__delete_object | Write — always a person | Soft-delete ONE insight, dashboard, feature flag, experiment, survey or cohort (PATCH deleted: true — PostHog keeps it restorable from its trash for a while): { accountId?, kind: insight | dashboard | feature_flag | e… |
posthog__mutate | Write — always a person | Any other PostHog write on the selected project by path: method POST | PATCH, path = api/projects/{selected}/{insights | dashboards | feature_flags | experiments | surveys | cohorts | error_tracking/issues}/…, body = … |