Get an agent run
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Query parameters
How many seconds to hold the request open. Releases early the moment the run finishes or blocks on a person. Maximum 120; 0 returns immediately.
Response
Where the agent run is in its life.
completed, failed, cancelled and expired are terminal. A completed run that still had outstanding work also carries incomplete: true.
The run’s deadline: about seven days after it starts, an unfinished run parks itself for good and its status becomes expired. null once the run is finished. Files and anything the run already filed are never taken back.
What is blocking the run. Present while status is waiting.
Why the run parked. Present while status is paused. A paused run keeps everything it produced and can be started again.
Sign-offs the run is waiting on, oldest first.
Present and true on a completed run that still had outstanding work — read tasks[] to see what.
Why the run failed. Present whenever status is failed.