Queue a manual source synchronization

POST/v1/source-control/bindings/{bindingId}/sync

How to call this endpoint

Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.

Path, query, and header parameters

These parameters control which ACP object the endpoint acts on and how the request is processed.

Path parameters
NameLocationTypeRequiredDescription
bindingIdpathstringYes—
Query parameters
None.
Header parameters
NameLocationTypeRequiredDescription
X-Computer-Agents-OrganizationheaderstringNoActive organization context. If omitted, the authenticated user's personal organization is used.

Body schema

Content type: application/json · Required

FieldTypeRequiredDescription
directiongithub_to_resource | resource_to_githubYes—

What the API returns

Each response code below includes the documented payload shape for the ACP API.

202Durable synchronization execution queuedapplication/json
FieldTypeRequiredDescription
idstringYesUnique identifier.
bindingIdstringYes—
organizationIdstringYes—
directiongithub_to_resource | resource_to_githubYes—
triggerTypestringYes—
sourceEventIdstringYes—
githubShastringYes—
resourceRevisionstringYes—
statusqueued | running | succeeded | failed | ignored | conflictedYesCurrent lifecycle status.
attemptCountintegerYes—
availableAtstringYes—
claimOwnerstringYes—
claimExpiresAtstringYes—
errorstringYes—
metadataobjectYesFree-form metadata object.
createdAtstringYesISO 8601 timestamp.
updatedAtstringYesISO 8601 timestamp.
completedAtstringYesISO 8601 timestamp.
404Resource not foundapplication/json
FieldTypeRequiredDescription
errorstringNo—
409Requested synchronization direction is disabled
None.
Queue a manual source synchronization
Loading...
Response 202
Loading...
See the ACP quickstart and SDK flow