create
POST /v1/deployments. Requires agent_id, cron, input_template, and budget_micro_usd (the per-run budget in micro-USD; 0 runs each fire on the agent’s own budget.max_task_micro_usd); the rest of the deployment config is optional. agent_version pins the exact version this cron fires; timezone reads the cron expression. A cron that fires more often than every 5 minutes is refused. A refused body names every invalid field in the error message, not only the first.
list
GET /v1/deployments, cursor-paginated.
get
GET /v1/deployments/{id}.
update
PATCH /v1/deployments/{id}. DeploymentPatch is every config field optional except agent_id, which cannot be changed — repoint by creating a new deployment.
run
POST /v1/deployments/{id}/run. Fire once, now — the “run it and see” verb. Does not touch the schedule.
runs
GET /v1/deployments/{id}/runs — the history, each run pointing at the session it started.
pause / resume
POST /v1/deployments/{id}/pause and POST /v1/deployments/{id}/resume. Pausing stops the schedule; run still works while paused.
delete
DELETE /v1/deployments/{id}. Past runs and their sessions remain readable.