marketing_analytics

Diagnose marketing analytics

Aggregate data-source sync health, UTM attribution health, and conversion-goal config into a single per-integration diagnostic with recommended actions. Read-only.

get/api/projects/{project_id}/marketing_analytics/diagnose/

Request

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

attribution_lookback_daysinteger

Lookback window for attribution health (1-365 days); defaults to 7

include_conversion_goalsboolean

Whether to include the conversion-goal summary in the diagnostic

source_typestring nullable

Optional integration filter

Response

End-to-end marketing analytics diagnostic

overall_statusstring required

healthy/degraded/broken/no_sources

summarystring required

One-line plain-English summary of the diagnostic

Changes

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