Recheck one recorded repository and request sync recovery
const url = 'https://example.com/api/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/github-sync-health';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"repository":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/github-sync-health \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "repository": "example" }'Probes repository access under the original sync principal. Missing identities stay unresolved; recovery preserves the original repository and principal and never repeats a successful local write. A missing GitHub object alone does not prove repository access has been lost. A healthy latest probe does not imply all blocked original-identity work has recovered and never authorizes replay under another principal.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Project UUID
Request Body required
Section titled “Request Body required ”object
GitHub repository in owner/repo format.
Responses
Section titled “ Responses ”Current observation and recovery status
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.
object
Invalid request
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 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)