Skip to content
Wazapin
Esc
navigateopen⌘Jpreview

Rollback to previous Playbook Release

POST/v1/ai/agents/{agentID}/playbook-releases/rollback
Authorization
sessionsessionrequired
Path parameters
agentIDstringrequired
Request body
requiredapplication/json
environmentstringrequired
Responses
200OK
activated_atstring
agent_idstringrequired
created_atstringrequired
created_bystring
environmentstringrequired
idstringrequired
itemsReleaseItem[] | null
Show properties
Array of ReleaseItem
enabledbooleanrequired
fallback_kindstringrequired
idstringrequired
playbook_idstringrequired
playbook_version_idstringrequired
priorityinteger<int64>required
release_idstringrequired
rollout_percentinteger<int64>required
notesstring
organization_idstringrequired
previous_release_idstring
statusstringrequired
400Bad Request
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
401Unauthorized
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
403Forbidden
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
404Not Found
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
409Conflict
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
422Unprocessable Entity
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
500Internal Server Error
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
Request
curl -X POST "/v1/ai/agents/string/playbook-releases/rollback" \
  -H "Content-Type: application/json" \
  -d '{
  "environment": "string"
}'
Response
{
  "activated_at": "string",
  "agent_id": "string",
  "created_at": "string",
  "created_by": "string",
  "environment": "string",
  "id": "string",
  "items": [
    {
      "enabled": true,
      "fallback_kind": "string",
      "id": "string",
      "playbook_id": "string",
      "playbook_version_id": "string",
      "priority": 0,
      "release_id": "string",
      "rollout_percent": 0
    }
  ],
  "notes": "string",
  "organization_id": "string",
  "previous_release_id": "string",
  "status": "string"
}