Run an agent
Changed onTriggers a run of the agent immediately, regardless of its cadence or active flag. The run is created pending and executed asynchronously — poll GET /agents/{id}/runs/{run_id} for status, summary, and output files. Unlike the rest of the agent-management surface, this endpoint also accepts a run's session key, letting one agent kick off another (triggered_by: agent); those requests are refused with 422 when they would loop — the target agent already ran in the trigger chain — or chain more than 5 runs deep.
Request
- Base URLhttps://api.endclose.com/v1
- AuthAPI key in header X-API-KEY
Path parameters
The unique identifier of the agent
Response
Run created and queued
Changes
- warning
added the new
waitingenum value to theresponse property for the response status
- warning
- warning
added the new
agentenum value to theresponse property for the response status - info
added the non-success response with the status
- info
removed the non-success response with the status
- info
added the optional property
to the response with the status
- warning