Data & Analytics

PostHog

PostHog is an open-source product analytics platform tracking user interactions and behaviors to help teams refine features, improve funnels, and reduce churn

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Get Person Push Notifications

    List a page of push notifications for a person in a PostHog project, with pagination parameters for additional pages.

  • Look Up Persons By Distinct IDs

    Look up existing persons by distinct IDs in a PostHog project without changing them; only the first 200 IDs are processed, and each person includes at most 10 distinct IDs. JSON returns a map keyed by matched distinct ID; CSV returns raw text in data.

  • Look Up Persons By UUIDs

    Look up existing persons by UUIDs without creating or changing them. Returns a map keyed by canonical UUID, omitting unmatched UUIDs. Only the first 200 inputs are processed; each person includes up to 10 distinct IDs. Empty input returns an empty results map. CSV format returns raw text in data.

  • Fetch pipeline destination activity

    Retrieve activity logs and metadata for a specific pipeline destination configuration. Returns activity information including latest updates, version tags, and operational status. Use this to monitor the activity and update history of a destination config. For complete destination config details (plugin settings, filters, enabled status), use POSTHOG_RETRIEVE_PIPELINE_DESTINATION_CONFIG_DETAILS instead. Required: project_id (integer) and destination config id (integer).

  • Fetch pipeline transformation details

    Retrieve available pipeline transformation plugins from the organization's plugin repository. Returns a list of transformation templates that can be used to modify, enrich, or filter events in real-time. Each plugin includes configuration schemas, capabilities, and metadata. Requires `organization_id` (organization UUID). Note: This endpoint requires specific authentication permissions beyond Personal API Keys and may not be accessible in all environments.

  • Get product tour

    Tool to retrieve a specific product tour by UUID from a PostHog project. Use when you need to fetch details about a product tour configuration, including targeting and content settings.

  • Retrieve and delete project person trends

    Retrieve person trends for a PostHog project.

  • Fetch project survey activity log

    Retrieve the survey activity log for a project. Returns activity entries with user, action, item, change details and pagination information; requires personal API key access.

  • Get Query Scan

    Retrieve the cached analysis of a query's last slow run. Use the cache_key from a query response, not a query ID. This read does not execute the query or request analysis. Returns {} while analysis is pending. Returns 404 if no matching analysis exists or PostHog has not enabled scan visibility for the project. A normal fast query may never have a scan. PostHog does not generate new scans for API-key query executions.

  • Get Role Membership

    Retrieve details of a specific role membership within an organization by its UUID. Use this to view information about a user's assignment to a particular role, including when they were assigned and their organization member details.

  • Get session group summaries

    Tool to retrieve stored group session summaries for a project. Use when you need to list or access session grouping summaries. Supports pagination via limit and offset parameters.

  • Fetch session recording playlist details

    Retrieve session recording playlist details for a specific project by project_id and playlist short_id. Requires PersonalAPIKeyAuth with read access. Returns playlist metadata including creation and modification info.

  • Get Signal Reports Actions

    List report agent actions in a PostHog project. List the actions on this report that start an agent run, read from the report's current state. `get_it_merged` is available only while the report has an open, approved pull request. `make_it_green` is available only while CI fails on the report's open pull request. `suggested_prompt` has one entry per prompt the report suggests. Start one with the run endpoint.

  • Get spike detection configuration

    Retrieve the active error tracking spike detection configuration for a project. Use this to inspect the project's alert snooze duration, multiplier, and threshold.

  • Get Survey Responses

    List survey responses in a PostHog project. 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. Returns one page; use the documented pagination parameters for additional pages.

  • Get survey response statistics

    Get survey response statistics for a specific survey. Returns event counts, unique respondents, and conversion rates. Use when analyzing survey performance and engagement metrics.

  • Get surveys archived response UUIDs

    Tool to 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.

  • Get surveys stats

    Tool to get aggregated response statistics across all surveys for a project. Use when you need to analyze overall survey performance, response rates, and dismissal rates. Optionally filter statistics by date range using ISO timestamps.

  • Retrieve unused organization pipeline frontend apps

    Retrieve a list of pipeline frontend apps that are available but not currently in use within a specific organization. This is useful for discovering apps that could be enabled or removed. Returns details including app IDs, types, names, descriptions, and URLs. **IMPORTANT AUTHENTICATION NOTE**: This endpoint requires session-based authentication (cookie-based auth from browser sessions) and does NOT support Personal API Key authentication. When using Personal API Keys, this endpoint will return a 403 Forbidden error. To use this endpoint, authentication must be done through a browser session with proper organization access. Args: organization_id: The UUID of the organization to query Returns: A list of unused pipeline frontend apps with their metadata

  • Get user home settings

    Tool to retrieve user home settings including homepage and tab configurations. Use when you need to fetch the personalized home page and tab settings for a user.

PreviousPage 17 / 35Next