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.

  • 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.

  • Get user interviews

    Tool to retrieve paginated list of user interviews for a specific project. Use when you need to access interview recordings, transcripts, and summaries.

  • Get Vision Alerts Events

    List vision alert events in a PostHog project. Paginated event history for this alert, newest first. Quiet no-op check rows (no state change, no error) are filtered out. Optional `?kind=...` narrows to one kind. Returns one page; use the documented pagination parameters for additional pages.

  • Get warehouse saved queries activity

    Retrieve activity log details for a specific PostHog warehouse saved query, including recorded changes and the users who made them.

  • Get warehouse saved query

    Retrieve a specific PostHog warehouse saved query, including its creator, query definition, execution status, and latest execution metadata.

  • Get warehouse table

    Retrieve details of a specific data warehouse table by its UUID. Use this to inspect warehouse table configuration, credentials, schema, and format.

  • Get Warehouse Tables

    Tool to retrieve a paginated list of warehouse tables for a specific project. Use when you need to list, search, or discover warehouse tables. Supports pagination via limit/offset and filtering via search term.

  • Get web experiment

    Tool to retrieve a specific web experiment by ID from a PostHog project. Use when you need to fetch configuration details about a web experiment including variants and feature flag mapping.

PreviousPage 9 / 18Next