List project repository sync health for an administrator
const url = 'https://example.com/api/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/github-sync-health';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/github-sync-health \ --header 'Authorization: Bearer <token>'Returns safe, durable repository observations. An unavailable read fails explicitly; it never reports healthy or an empty list in place of a failed read. The unresolved identity count includes historical sync work whose repository identity is unknown, even if no repository health rows exist. No sync principal, credential, or private provider payload is returned.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Project UUID
Responses
Section titled “ Responses ”Repository health observations
object
Safe project repository sync observation; no sync identity, credential, or provider response body.
object
GitHub repository in owner/repo format.
GitHub installation or repository settings page for administrator repair.
Complete count of access-blocked sync work for this repository under original identities.
Historical sync work without a known repository identity; not included in health.
Not authenticated
object
Human-readable error message
Stable machine-readable error code for client branching
First validation message per field path
object
Structured validation issues (Zod)
object
Seconds until rate limit resets (429 responses)
True if re-linking GitHub may fix the issue
Forbidden
object
Human-readable error message
Stable machine-readable error code for client branching
First validation message per field path
object
Structured validation issues (Zod)
object
Seconds until rate limit resets (429 responses)
Not found
object
Human-readable error message
Stable machine-readable error code for client branching
First validation message per field path
object
Structured validation issues (Zod)
object
Seconds until rate limit resets (429 responses)
GitHub sync health unavailable
object
Human-readable error message
Stable machine-readable error code for client branching
First validation message per field path
object
Structured validation issues (Zod)
object
Seconds until rate limit resets (429 responses)