Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Add dashboard collaborators with access level
POSTHOG_ADD_DASHBOARD_COLLABORATORS_WITH_ACCESS_LEVELAdd collaborators to a specific project dashboard. Requires 'project_id' and 'dashboard_id'. Supports JSON, form-urlencoded, and multipart data. Returns added collaborator details. Auth: 'PersonalAPIKeyAuth'. IMPORTANT REQUIREMENTS: 1. The dashboard must have restriction_level > 21 (not on the lowest restriction level). Use POSTHOG_PARTIAL_UPDATE_OF_A_PROJECT_S_DASHBOARD to set restriction_level to 37. 2. The user being added cannot be the dashboard owner or a project admin (they already have inherent access). 3. Currently only level 37 (edit access) can be explicitly specified. 4. Use POSTHOG_LIST_ORGANIZATION_MEMBERS_WITH_PAGINATION to find valid user UUIDs.
Create Dashboard Widgets Batch
POSTHOG_ADD_DASHBOARD_WIDGETSBatch dashboard widgets in a PostHog project. Add multiple widget tiles to a dashboard in one atomic request.
Add member to organization role
POSTHOG_ADD_MEMBER_TO_ORGANIZATION_ROLEAdd a member to an organization role by submitting their details and UUID in JSON/form, using organization and role IDs. Requires PersonalAPIKeyAuth. Success gives a 201 status.
Add persons to static cohort
POSTHOG_ADD_PERSONS_TO_STATIC_COHORTAdd persons to a static cohort by their UUIDs. Use when you need to manually add specific users to a static cohort. Only works with static cohorts (is_static=true), not dynamic cohorts.
Add product intent to project
POSTHOG_ADD_PRODUCT_INTENT_TO_PROJECTTool to add a product intent to a PostHog project. Use when you need to register a project's intention to use a specific PostHog product feature. Product intents help track which features (product analytics, feature flags, data warehouse, experiments, surveys) a project plans to use.
Add project specific member roles
POSTHOG_ADD_PROJECT_SPECIFIC_MEMBER_ROLESAdd members with specific roles to a project by providing their user_uuid and level (member or admin). Requires project_id in the URL. Supports JSON, form-data, and form-urlencoded input. Returns the newly created membership data upon success. Note: This endpoint only works for projects with access control enabled (private projects). If the project does not have access control enabled, the API will return a 404 "Endpoint not found" error. Access control is an Enterprise feature that can be enabled in Project Settings > Access Control.
Add session recording to playlist
POSTHOG_ADD_SESSION_RECORDING_TO_PLAYLISTAdd an existing session recording to a playlist. This endpoint associates a specific session recording with a playlist, making it part of that collection. Requires 'project_id' (project identifier), 'short_id' (playlist identifier), and 'session_recording_id' (recording identifier) in the URL. Optional body parameters can be used to update playlist properties. Works with both 'collection' and 'filters' type playlists. Returns the updated playlist details on success.
Append Desktop Recording Segments
POSTHOG_APPEND_DESKTOP_RECORDING_SEGMENTSAppend transcript segments to an existing desktop recording for real-time streaming support. Use when you need to add new transcript segments to a recording in batches as they become available from transcription services like AssemblyAI. Requires desktop_recording:write scope.
Archive Dataset
POSTHOG_ARCHIVE_DATASETArchive dataset in a PostHog project. Archive a dataset. Archived datasets remain readable and reject item mutations.
Archive Dataset Item
POSTHOG_ARCHIVE_DATASET_ITEMArchive dataset item in a PostHog project. Archive an active item by creating a new immutable version.
Archive Experiment
POSTHOG_ARCHIVE_EXPERIMENTArchive experiment in a PostHog project. Archive an ended experiment.
Archive Feature Flag
POSTHOG_ARCHIVE_FEATURE_FLAGArchive feature flag in a PostHog project. Archive a feature flag, hiding it from the default flag list.
Archive Llm Prompt
POSTHOG_ARCHIVE_LLM_PROMPTArchive named LLM prompt in a PostHog project.
Archive survey response
POSTHOG_ARCHIVE_SURVEY_RESPONSETool to archive a single survey response. Use when you need to hide a survey response from analytics while preserving it in the database.
Assign feature flag role based access
POSTHOG_ASSIGN_FEATURE_FLAG_ROLE_BASED_ACCESSSet up role-based access for a feature flag using `project_id` and `feature_flag_id`. Submit access info in JSON or form format, with `feature_flag:write` rights. Success returns new details with a 201 code.
Create Notebook Widgets Attach
POSTHOG_ATTACH_NOTEBOOK_WIDGETAttach notebook widget in a PostHog project. PostHog documents this notebook API as early access and subject to breaking changes.
Bulk create organization invites
POSTHOG_BULK_CREATE_ORGANIZATION_INVITESBulk-create PostHog organization invites with configurable access levels, messages, and private project access settings. Up to 20 invites can be sent per bulk request.
Bulk Delete Dashboards
POSTHOG_BULK_DELETE_DASHBOARDSBulk delete dashboards in a PostHog project. Soft-delete up to 100 dashboards. Optionally delete insights with no remaining dashboard. Report missing or inaccessible dashboards as skipped.
Bulk delete feature flags
POSTHOG_BULK_DELETE_FEATURE_FLAGSBulk delete feature flags in a PostHog project using either filter criteria or explicit IDs. Returns an operation status and, when available, a deleted count.
Bulk Delete Insights
POSTHOG_BULK_DELETE_INSIGHTSBulk delete insights in a PostHog project. 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.