CLISync
Sync
6 `hanzo` commands for Sync, each calling one operation on api.hanzo.ai.
Package sync is data sync: link two endpoints and keep them in step, on a webhook, on a schedule, or on demand.
6 commands · API reference →
| Command | Calls | What it does |
|---|---|---|
hanzo sync run <id> | POST /v1/sync/{id}/run | Run reconciles one sync now — the manual re-sync, and the initial import for a link created without run=true. |
hanzo sync get <id> | GET /v1/sync/{id} | Get returns one sync by id. |
hanzo sync update <id> | PATCH /v1/sync/{id} | Patch updates one sync's mutable policy — direction, trigger and actor — in place. |
hanzo sync rm <id> | DELETE /v1/sync/{id} | Delete removes one sync and tears down the outbound mirror it derived, answering 204. |
hanzo sync list | GET /v1/sync | List returns every sync link the caller's org has, each with its two endpoints, its direction and trigger policy, and… |
hanzo sync create | POST /v1/sync | Create declares a sync between two endpoints and returns it. |
How is this guide?