AgentRollout
AgentRollout objectidstring requiredstatestring requiredAllowed values:"running""stopped""done""cancelled"error_codestring requiredversionstring requiredbatchesinteger requiredcurrent_batchinteger requiredserversarray<object> requiredserver_idstring requirednamestring requiredbatchinteger requiredstatestring requiredAllowed values:"pending""waiting""healthy""failed"reasonstring required
skippedarray<object> requiredserver_idstring requirednamestring requiredreasonstring required
already_currentinteger requiredsoak_untilstring (date-time) | null requiredcreated_atstring (date-time) requiredupdated_atstring (date-time) required
Used by
| GET | /api/v1/tenants/{tid}/agent-rollouts | Agent updates in batches (ADR 0098); needs server.read |
| POST | /api/v1/tenants/{tid}/agent-rollouts 202 | Update every agent to the panel's release, a canary batch first; stops when a batch fails. NO_RELEASE, ROLLOUT_BUSY, ROLLOUT_NOTHING_TO_DO |
| GET | /api/v1/tenants/{tid}/agent-rollouts/{rid} | One rollout |
| POST | /api/v1/tenants/{tid}/agent-rollouts/{rid}/actions/{action} 202 | resume a stopped rollout (its failed servers get the update again) or cancel |