Hanzo
OpenapiSync

Run reconciles one sync now — the manual re-sync, and the initial import for a…

Run reconciles one sync now — the manual re-sync, and the initial import for a link created without run=true.

POST /v1/sync/{id}/run

Addresshttps://api.hanzo.ai/v1/sync/{id}/run
MethodPOST
Operationpost_sync_by_id_run
AuthAuthorization: Bearer $HANZO_API_KEY

Run reconciles one sync now — the manual re-sync, and the initial import for a link created without run=true. The work is handed to a bounded background worker and the call answers 202 immediately, so a large mirror-in never holds the request open; queued=true means accepted, not finished.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyesID is the sync to act on, from the path.

Response

StatusBodyMeaning
202syncQueuedaccepted

202 body — 2 fields.

FieldInTypeAlwaysDescription
idbodystringID is the sync the reconcile was queued for.
queuedbodybooleanQueued is true when the reconcile was accepted; it has not run yet.

Failure carries the platform error shape — see Errors.

Examples

hanzo sync run <id>

Sync API · All Hanzo APIs · Interactive reference

How is this guide?

On this page