Restore an agent to a previously-deployed config version (greeting / voice / prompt+model only, never secrets), then record a new active version whose rolled_back_from_version_id points at the version that was live before. Scoped via agent_assignments; requires agents:write.

post/v1/agents/rollback

Request

  • Base URL: https://www.kaicalls.com/api
  • URL: https://www.kaicalls.com/api/v1/agents/rollback
  • Auth: HTTP bearer

Request body

agent_idstring required
version_numberinteger

Target version number (one of version_number / version_id required).

version_idstring

Target version id (one of version_number / version_id required).

reasonstring

Response

Rollback applied; returns the new active config version.

Changes

No recorded changes to this operation across all 1 revision of this API.