mcp_analytics

Trigger an asynchronous recompute of the intent cluster snapshot. The task runs in the background; poll the GET endpoint for progress (status transitions to 'idle' or 'error').

post/api/projects/{project_id}/mcp_analytics/intent_clusters/recompute/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/mcp_analytics/intent_clusters/recompute/
  • 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/.

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.