Skip to main content

Diagnostics

The Diagnostics API lets you trigger AI-powered analyses of your Meta Ads campaigns and retrieve the results. Each diagnostic examines campaign performance, detects issues, assigns risk levels, and generates prioritized recommendations.

List diagnostics

Retrieve a paginated list of diagnostics for your workspace.

Query parameters

Request

Response


Get diagnostic detail

Retrieve the full detail of a single diagnostic, including all issues and recommendations.

Path parameters

Request

Response


Run a diagnostic

Trigger a new AI diagnostic on a specific campaign. The diagnostic runs asynchronously and typically completes within 5-10 seconds.

Request body

Request

Response

The initial response returns immediately with status pending:
Poll GET /v1/diagnostics/{id} to check for completion. Diagnostics typically complete within 5-10 seconds.

Error codes

Example error