Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Create live debugger breakpoint
POSTHOG_CREATE_LIVE_DEBUGGER_BREAKPOINTTool to create a new live debugger breakpoint in a PostHog project. Use when you need to set up debugging instrumentation for a specific file and line number in your application code. Client applications will receive this breakpoint configuration and can pause execution or log data when that line is reached.
Create LLM Analytics Summarization
POSTHOG_CREATE_LLM_ANALYTICS_SUMMARIZATIONGenerate 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 in [L45] or [L45-52] format. Use when you need to quickly understand complex LLM interactions, debug traces, or generate human-readable explanations of AI system behavior.
Create LLM Analytics Text Representation
POSTHOG_CREATE_LLM_ANALYTICS_TEXT_REPRESENTATIONTool to generate human-readable text representations of LLM trace events for display, logging, or analysis. Use when you need to convert LLM analytics events ($ai_generation, $ai_span, $ai_embedding, or $ai_trace) into formatted text.
Create LLM Prompt
POSTHOG_CREATE_LLM_PROMPTCreate a named, versioned LLM prompt in a PostHog project. Use to store a new prompt with optional model or agent configuration. To publish another version of an existing prompt, use the prompt publishing endpoint instead.
Create Logs Export
POSTHOG_CREATE_LOGS_EXPORTTool to create a logs export job using HogQL queries in PostHog. Use when you need to export event logs or query results for analysis. The endpoint creates an asynchronous export job and returns metadata including the export ID, format, and filename that can be used to retrieve the exported data.
Create Notebook Sharing Passwords
POSTHOG_CREATE_NOTEBOOK_SHARING_PASSWORDCreate a notebook sharing password and return its plaintext value once. Requires password protection to already be enabled on the notebook sharing configuration and the organization's Access Control feature. Does not enable sharing or password protection.
Create Notebook Widget Snapshots
POSTHOG_CREATE_NOTEBOOK_WIDGET_SNAPSHOTSCreate widget snapshot in a PostHog project. PostHog documents this notebook API as early access and subject to breaking changes.
Create Notebook Widget Snapshots Publish
POSTHOG_CREATE_NOTEBOOK_WIDGET_SNAPSHOTS_PUBLISHPublish widget snapshot in a PostHog project. PostHog documents this notebook API as early access and subject to breaking changes.
Create new organization with configurable access
POSTHOG_CREATE_ORGANIZATIONCreate a new PostHog organization with configurable security and notification settings. This action creates a new organization and automatically provisions a default project with an API token. The organization will be immediately active and ready for use. Returns complete organization details including: - Organization ID, name, and URL slug - Automatically created default project and team - API token for the default team - All security and access control settings Requires organization:write permission. The authenticated user becomes the first member of the newly created organization.
Create organization invite with role and email
POSTHOG_CREATE_ORGANIZATION_INVITECreate and send an organization invitation to a user via email. This allows you to invite people to join your PostHog organization with a specific role (member, admin, or owner). The action creates an invite that can optionally send an email notification to the recipient. Returns the complete invite details including invite ID, timestamps, and the user who created it. Successful invitations return a 201 status with full invite details. Use cases: - Invite team members to collaborate on analytics - Grant admin access to manage organization settings - Add owners with full organizational control - Create invites without immediate email notification (set send_email=false)
Create organization proxy record for custom domain
POSTHOG_CREATE_ORGANIZATION_PROXY_RECORDCreate a managed reverse proxy record for an organization to enable custom domain routing for PostHog analytics events. This bypasses ad blockers by routing analytics through your own domain. After creating the record, you must: 1. Create a CNAME DNS record pointing your domain to the returned target_cname 2. Wait 2-30 minutes for DNS propagation and SSL certificate provisioning 3. The status will progress from 'waiting' → 'issuing' → 'live' IMPORTANT: If using Cloudflare, set the CNAME to "DNS only" (disable proxy) to avoid SSL certificate provisioning issues. Requires organization write access (organization:write permission).
Create organization role with feature flag levels
POSTHOG_CREATE_ORGANIZATION_ROLECreate a new custom role within a PostHog organization with optional feature flag access permissions. This action creates an organization role that can be assigned to members to control their access levels. The role can include specific feature flag access permissions via the feature_flags_access_level parameter. Returns the created role with its unique ID, name, creation timestamp, and other metadata. Security: Requires PersonalAPIKeyAuth with organization admin permissions.
Create domain with saml for organization
POSTHOG_CREATE_ORGANIZATION_SAML_DOMAINCreate and configure an authentication domain with SAML SSO for a PostHog organization. Requires Enterprise plan. Adds an email domain (e.g., 'company.com') to your organization and configures SAML Single Sign-On for users with matching email addresses. After creation, verify domain ownership via DNS TXT record before SAML activates. SAML parameters (entity_id, acs_url, x509_cert) come from your Identity Provider (Okta, OneLogin, Azure AD, etc.). Workflow: 1) Create domain (this endpoint) 2) Add DNS TXT record from verification_challenge 3) Verify domain 4) Configure IdP with PostHog SAML settings 5) Test authentication. Returns 201 with domain config on success, 403 if not on Enterprise plan.
Create persisted folder
POSTHOG_CREATE_PERSISTED_FOLDERTool to create a new persisted folder in a PostHog project. Use when you need to create a new folder for organizing data storage with a specific type and configuration.
Create person path with format option
POSTHOG_CREATE_PERSON_PATHRetrieve path analytics for a specific person within a PostHog project. This endpoint returns the navigation paths and user journey data for a person. Note: This endpoint requires session-based authentication and does not support Personal API Key access. To use this endpoint, you must be authenticated via the PostHog web application.
Create product tour
POSTHOG_CREATE_PRODUCT_TOURTool to create a new product tour in a PostHog project. Use when you need to set up guided tours to onboard users or highlight features. Requires a project_id and a name for the tour.
Create project action with format
POSTHOG_CREATE_PROJECT_ACTIONCreate an action in a PostHog project using action details such as its name, description, tags, and steps. An optional format parameter selects CSV or JSON output.
Create project cohorts
POSTHOG_CREATE_PROJECT_COHORTCreate cohorts for a specified project by POSTing JSON-form data to "/api/projects/{project_id}/cohorts/". Provide project_id in URL and the necessary payload, adhering to JSON schema constraints. Authentication required. Returns 201 upon success.
Create project dashboard
POSTHOG_CREATE_PROJECT_DASHBOARDThe POST endpoint creates a dashboard within a project using a `project_id`, accepting details in JSON/form formats. It uses 'PersonalAPIKeyAuth' for security and returns HTTP 201 with dashboard details on success.
Create new project experiment
POSTHOG_CREATE_PROJECT_EXPERIMENTCreate a new experiment in a specific PostHog project using experiment details and a personal API key. Returns experiment information.