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.
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.
Authorization
apiKey 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
Unique identifier for a project.
^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" }}Apply exact, reviewed diagnostic remediations POST
Applies only deterministic patches. Repository sources receive an updateable source pull request; URL sources receive project overlays. Diagnostics that require API-owner intent return 422 and include an authoring_brief in the Diagnostic instead.
Generate targets and open pull requests POST
Resolves the project's URL or GitHub source, generates every configured delivery package, stores each result in the project's history, and attempts to open a pull request in every configured destination. When the complete generated tree already matches a destination, no commit, branch, or pull request is created and that generation reports `pr_status: no_changes`. This is the same pipeline automatic regeneration runs after a source change.