Update every agent to the panel's release, a canary batch first; stops when a batch fails
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
POST
/api/v1/tenants/{tid}/agent-rollouts may answer 202Update every agent to the panel's release, a canary batch first; stops when a batch fails. NO_RELEASE, ROLLOUT_BUSY, ROLLOUT_NOTHING_TO_DO
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
X-CSRF-Token | header | string | optional | Required on unsafe requests authenticated by session cookie; API keys do not use it. |
Request body
required
Content type: application/json
object
canary_sizeinteger optionalbatch_sizeinteger optional
Example
{
"canary_size": 0,
"batch_size": 0
}Responses
202 Started
Content type: application/json
idstring 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
Example
{
"id": "string",
"state": "running",
"error_code": "string",
"version": "string",
"batches": 0,
"current_batch": 0,
"servers": [
{
"server_id": "string",
"name": "string",
"batch": 0,
"state": "pending",
"reason": "string"
}
],
"skipped": [
{
"server_id": "string",
"name": "string",
"reason": "string"
}
],
"already_current": 0,
"soak_until": "2026-01-01T00:00:00Z",
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required