{ "opencollection": "1.0.0", "info": { "name": "PostHog actions sdk_doctor API", "version": "1.0.0" }, "items": [ { "info": { "name": "sdk_doctor", "type": "folder" }, "items": [ { "info": { "name": "Get SDK health report for a project", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/projects/:project_id/sdk_doctor/report/", "params": [ { "name": "force_refresh", "value": "", "type": "query", "description": "When true, bypasses the Redis cache and re-queries ClickHouse for SDK usage. Use sparingly — data is refreshed every 12 hours by a background job." }, { "name": "project_id", "value": "", "type": "path", "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "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." } ] } ], "bundled": true }