{
  "info": {
    "_postman_id": "16ab0b11-096e-412f-9bdd-4cafed54606a",
    "name": "PostHog actions sdk_doctor API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T11:09:11.000Z",
    "updatedAt": "2026-07-28T11:09:11.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-16ab0b11-096e-412f-9bdd-4cafed54606a"
  },
  "item": [
    {
      "name": "api",
      "item": [
        {
          "name": "projects",
          "item": [
            {
              "name": "{project_id}",
              "item": [
                {
                  "name": "sdk_doctor",
                  "item": [
                    {
                      "name": "report",
                      "item": [
                        {
                          "name": "Get SDK health report for a project",
                          "id": "54aad883-1604-4ba7-91f6-c7bca47b638d",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "auth": {
                              "type": "bearer",
                              "bearer": [
                                {
                                  "key": "token",
                                  "value": "{{bearerToken}}",
                                  "type": "string"
                                }
                              ]
                            },
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/api/projects/:project_id/sdk_doctor/report/?force_refresh=<boolean>",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "projects",
                                ":project_id",
                                "sdk_doctor",
                                "report",
                                ""
                              ],
                              "query": [
                                {
                                  "description": "When true, bypasses the Redis cache and re-queries ClickHouse for SDK usage. Use sparingly \u2014 data is refreshed every 12 hours by a background job.",
                                  "key": "force_refresh",
                                  "value": "<boolean>"
                                }
                              ],
                              "variable": [
                                {
                                  "id": "92b4f124-a99d-4b85-bc7b-63f80aa398fa",
                                  "key": "project_id",
                                  "value": "<string>",
                                  "description": "(Required) Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
                                }
                              ]
                            },
                            "description": "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."
                          },
                          "response": [
                            {
                              "id": "cc871b92-185d-4e9f-aa08-17485232f045",
                              "name": "New Response",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/api/projects/:project_id/sdk_doctor/report/?force_refresh=<boolean>",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "api",
                                    "projects",
                                    ":project_id",
                                    "sdk_doctor",
                                    "report",
                                    ""
                                  ],
                                  "query": [
                                    {
                                      "description": "When true, bypasses the Redis cache and re-queries ClickHouse for SDK usage. Use sparingly \u2014 data is refreshed every 12 hours by a background job.",
                                      "key": "force_refresh",
                                      "value": "<boolean>"
                                    }
                                  ],
                                  "variable": [
                                    {
                                      "key": "project_id"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"health\": \"warning\",\n  \"needs_updating_count\": \"<integer>\",\n  \"overall_health\": \"healthy\",\n  \"sdks\": [\n    {\n      \"banners\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"is_old\": \"<boolean>\",\n      \"is_outdated\": \"<boolean>\",\n      \"latest_version\": \"<string>\",\n      \"lib\": \"<string>\",\n      \"needs_updating\": \"<boolean>\",\n      \"outdated_traffic_alerts\": [\n        {\n          \"threshold_percent\": \"<double>\",\n          \"version\": \"<string>\"\n        },\n        {\n          \"threshold_percent\": \"<double>\",\n          \"version\": \"<string>\"\n        }\n      ],\n      \"readable_name\": \"<string>\",\n      \"reason\": \"<string>\",\n      \"releases\": [\n        {\n          \"activity_page_url\": \"<string>\",\n          \"count\": \"<integer>\",\n          \"days_since_release\": \"<integer>\",\n          \"is_current_or_newer\": \"<boolean>\",\n          \"is_old\": \"<boolean>\",\n          \"is_outdated\": \"<boolean>\",\n          \"max_timestamp\": \"<string>\",\n          \"needs_updating\": \"<boolean>\",\n          \"release_date\": \"<string>\",\n          \"released_ago\": \"<string>\",\n          \"sql_query\": \"<string>\",\n          \"status_reason\": \"<string>\",\n          \"version\": \"<string>\"\n        },\n        {\n          \"activity_page_url\": \"<string>\",\n          \"count\": \"<integer>\",\n          \"days_since_release\": \"<integer>\",\n          \"is_current_or_newer\": \"<boolean>\",\n          \"is_old\": \"<boolean>\",\n          \"is_outdated\": \"<boolean>\",\n          \"max_timestamp\": \"<string>\",\n          \"needs_updating\": \"<boolean>\",\n          \"release_date\": \"<string>\",\n          \"released_ago\": \"<string>\",\n          \"sql_query\": \"<string>\",\n          \"status_reason\": \"<string>\",\n          \"version\": \"<string>\"\n        }\n      ],\n      \"severity\": \"danger\"\n    },\n    {\n      \"banners\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"is_old\": \"<boolean>\",\n      \"is_outdated\": \"<boolean>\",\n      \"latest_version\": \"<string>\",\n      \"lib\": \"<string>\",\n      \"needs_updating\": \"<boolean>\",\n      \"outdated_traffic_alerts\": [\n        {\n          \"threshold_percent\": \"<double>\",\n          \"version\": \"<string>\"\n        },\n        {\n          \"threshold_percent\": \"<double>\",\n          \"version\": \"<string>\"\n        }\n      ],\n      \"readable_name\": \"<string>\",\n      \"reason\": \"<string>\",\n      \"releases\": [\n        {\n          \"activity_page_url\": \"<string>\",\n          \"count\": \"<integer>\",\n          \"days_since_release\": \"<integer>\",\n          \"is_current_or_newer\": \"<boolean>\",\n          \"is_old\": \"<boolean>\",\n          \"is_outdated\": \"<boolean>\",\n          \"max_timestamp\": \"<string>\",\n          \"needs_updating\": \"<boolean>\",\n          \"release_date\": \"<string>\",\n          \"released_ago\": \"<string>\",\n          \"sql_query\": \"<string>\",\n          \"status_reason\": \"<string>\",\n          \"version\": \"<string>\"\n        },\n        {\n          \"activity_page_url\": \"<string>\",\n          \"count\": \"<integer>\",\n          \"days_since_release\": \"<integer>\",\n          \"is_current_or_newer\": \"<boolean>\",\n          \"is_old\": \"<boolean>\",\n          \"is_outdated\": \"<boolean>\",\n          \"max_timestamp\": \"<string>\",\n          \"needs_updating\": \"<boolean>\",\n          \"release_date\": \"<string>\",\n          \"released_ago\": \"<string>\",\n          \"sql_query\": \"<string>\",\n          \"status_reason\": \"<string>\",\n          \"version\": \"<string>\"\n        }\n      ],\n      \"severity\": \"none\"\n    }\n  ],\n  \"team_sdk_count\": \"<integer>\"\n}",
                              "createdAt": "2026-07-28T11:09:11.000Z",
                              "updatedAt": "2026-07-28T11:09:11.000Z",
                              "uid": "35240-cc871b92-185d-4e9f-aa08-17485232f045"
                            }
                          ],
                          "createdAt": "2026-07-28T11:09:11.000Z",
                          "updatedAt": "2026-07-28T11:09:11.000Z",
                          "uid": "35240-54aad883-1604-4ba7-91f6-c7bca47b638d"
                        }
                      ],
                      "id": "97f6f2c2-dca8-4946-a51f-7bbcd4a140cb",
                      "createdAt": "2026-07-28T11:09:11.000Z",
                      "updatedAt": "2026-07-28T11:09:11.000Z",
                      "uid": "35240-97f6f2c2-dca8-4946-a51f-7bbcd4a140cb"
                    }
                  ],
                  "id": "8496ef10-61bf-4e3d-a06b-114ff83c150e",
                  "createdAt": "2026-07-28T11:09:11.000Z",
                  "updatedAt": "2026-07-28T11:09:11.000Z",
                  "uid": "35240-8496ef10-61bf-4e3d-a06b-114ff83c150e"
                }
              ],
              "id": "798ca43a-9f76-4a7b-a6f8-d7fbafcf185f",
              "createdAt": "2026-07-28T11:09:11.000Z",
              "updatedAt": "2026-07-28T11:09:11.000Z",
              "uid": "35240-798ca43a-9f76-4a7b-a6f8-d7fbafcf185f"
            }
          ],
          "id": "65e70010-dc0b-4c77-bc0d-2eeeb9ad0103",
          "createdAt": "2026-07-28T11:09:11.000Z",
          "updatedAt": "2026-07-28T11:09:11.000Z",
          "uid": "35240-65e70010-dc0b-4c77-bc0d-2eeeb9ad0103"
        }
      ],
      "id": "b3cd0efb-8b55-4676-a70f-c828fa121b96",
      "createdAt": "2026-07-28T11:09:11.000Z",
      "updatedAt": "2026-07-28T11:09:11.000Z",
      "uid": "35240-b3cd0efb-8b55-4676-a70f-c828fa121b96"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "/"
    }
  ]
}