Projects

Diagnose a project's repository integrations

Returns provider-neutral, machine-actionable source and destination access, Definition readability, source-approval label setup, required status names, and the latest durable webhook delivery. The Console renders this same result.

GET
/projects/{project_id}/integration-health

Returns provider-neutral, machine-actionable source and destination access, Definition readability, source-approval label setup, required status names, and the latest durable webhook delivery. The Console renders this same result.

AuthorizationBearer <token>

Organization API key from the console (ak_...), or an OAuth access token with user:org:read, the organization selected during consent, and the capability required by the operation.

In: header

Path Parameters

project_id*string

Unique identifier for a project.

Match^prj_[a-z0-9]{16}$

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/projects/prj_4f8k2m7x9q1v6b3n/integration-health"
{  "object": "repository_integration_health",  "project_id": "prj_4f8k2m7x9q1v6b3n",  "status": "ready",  "repositories": [    {      "repository": {        "provider": "github",        "identifier": "acme/payments-api"      },      "roles": [        "source"      ],      "status": "ready",      "default_branch": "string",      "capabilities": [        "string"      ],      "breaking_acknowledgement": true,      "definition": "readable",      "issues": [        {          "code": "connection_missing",          "message": "string"        }      ]    }  ],  "required_checks": {    "source": [      "string"    ],    "destination": [      "string"    ]  },  "last_event": {    "provider": "string",    "id": "string",    "event": "string",    "status": "queued",    "error": "string",    "created_at": "2019-08-24T14:15:22Z"  }}