Roll the draft back to a retained published revision and republish it
Rolls the agent back to an earlier PUBLISHED revision from history (targetRevision, see the history field on GET .../draft) and deploys it to the provider right away - it's a publish, not just an overwritten draft. expectedRevision guards against a concurrent edit the same way PUT .../draft does. Unlike .../draft/publish, WITHOUT Idempotency-Key - repeating the same body is safe on its own.
post/v1/agents/{id}/draft/rollback
Request
- Base URL: https://volai.cz
- URL: https://volai.cz/v1/agents/{id}/draft/rollback
- Auth: HTTP bearer
Path parameters
idstring required
Request body
Response
Rolled back
Changes
No recorded changes to this operation across all 1 revision of this API.