mcp_analytics

Return the most recent intent cluster snapshot for the current project. Returns an empty IDLE snapshot when no clustering run has happened yet.

get/api/projects/{project_id}/mcp_analytics/intent_clusters/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/mcp_analytics/intent_clusters/
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Query parameters

toolstring

Narrow the response to one tool: its pivot entry, the clusters it serves or switches with, and the overlap pairs it belongs to. Coverage meta stays whole-snapshot. Use this for single-tool views so they don't download every cluster and pivot to render one row. An unknown tool returns empty sections, not a 404.

Response

status'idle' | 'computing' | 'error' required
  • idle - Idle
  • computing - Computing
  • error - Error
error_messagestring required

Error message from the most recent failed run, otherwise empty.

last_computed_atstring date-time nullable required

When the latest snapshot finished computing.

last_computed_by_emailstring required

Email of the user who triggered the latest recompute, empty for system-triggered runs.

Changes

No recorded changes to this operation across all 1 revision of this API.