Sdk
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET |
Retrieve sdk doctor report
Returns a pre-digested health assessment of the PostHog SDKs the project is using. Covers which SDKs are current vs outdated (smart-semver rules with grace periods and traffic-percentage thresholds), per-version breakdown, and a human-readable reason for each assessment. Use this to diagnose SDK version issues, surface upgrade recommendations, or check overall SDK health.
Required API key scopes
project:readQuery parameters
- force_refreshboolean
Response
Example request
GET /api /projects /:project_id /sdk_doctor /reportExample response
Status 200
Retrieve sdk doctor report
Returns a pre-digested health assessment of the PostHog SDKs the project is using. Covers which SDKs are current vs outdated (smart-semver rules with grace periods and traffic-percentage thresholds), per-version breakdown, and a human-readable reason for each assessment. Use this to diagnose SDK version issues, surface upgrade recommendations, or check overall SDK health.
Required API key scopes
project:readQuery parameters
- force_refreshboolean
Response
Example request
GET /api /projects /:project_id /sdk_doctor /report