Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Send Authorization: Bearer <api_key>. The legacy Authorization: Api-Key <api_key> scheme is also accepted.

Path Parameters

model_id
string
required
deployment_id
string
required

Body

application/json

Triggers a sync of any staged patches to the running deployment. Takes no fields: the deployment and its staged patches fully determine the sync.

Response

200 - application/json

The outcome of a sync that ran.

Operational failures (a transient patch failure, an invalid patch sequence) are surfaced as HTTP errors rather than fields here, so a 2xx means the sync reached a verdict.

needs_full_deploy_reason
string | null

If set, the change cannot be patched and a full push is required; the value explains why. If null, the deployment is now in sync.