Python (SDK)
Agent Versions
Roll back an agent to a version
Restores the target version’s configuration as a new current version. History is preserved: the restore is appended as a new version rather than deleting later ones.
POST
Python (SDK)
Authorizations
Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.
Headers
Optional external end-user identifier forwarded by the API gateway.
Response
Agent restored to the target version's configuration.
Available options:
agent Example:
"functionary-pt"
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
Current configuration version. Incremented on every update or rollback.
Required range:
x >= 1