Agents
Rollback Agent Config
Changed onRoll 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 entry, and redeploys the agent. History is never rewritten or deleted. If the current validation rules reject the historical config (they have tightened since), returns 422 with the validation errors identifying the offending fields.
post/agents/{job_id}/config/rollback
Request
- Base URLhttps://api.streamkap.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
job_idstring required
Request body
Response
Successful Response
Changes
- info
endpoint added
- info