v3
latestOpenAPI 3.1.0Proprietary2026-08-07266348629.6 KBAgents
Rollback Agent Config
Roll a config-based agent back to a historical version.
Writes a new version N+1 whose config equals the target's stored snapshot, records change_kind='rollback' + rollback_source_version on the new history row, and redeploys the agent. Never a pointer swap, never destructive. If current validators reject the historical config (validator tightening between then and now), returns 422 with Pydantic's error text so the FE can highlight the offending fields.
post/agents/{job_id}/config/rollback
Path parameters
job_idstring required
Request body
Response
Successful Response