Refresh agent
POST/api/agents/:agent_id/refresh
Re-reads the agent's ref from its repo and re-validates it, moving the agent to the ref's current commit. A failure is recorded on the agent as resolve_error and returned as a 422 while the last good version keeps running; a registry agent returns 409, since it is pinned to its registry version.
Request
Responses
- 200
- 422
OK
Unprocessable content