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.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
Request body for POST /agents/{id}/config/rollback.
Response
Successful Response
pyflink, jar, agent_config, knowledge_base CREATED, DEPLOYING, RUNNING, CANCELLING, CANCELLED, FAILED, FINISHED CREATED, DEPLOYING, RUNNING, CANCELLING, CANCELLED, FAILED, FINISHED