List agent run lanes (monitor snapshot)
const url = 'https://example.com/api/agents/runs?attention=1&state=queued';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/agents/runs?attention=1&state=queued' \ --header 'Authorization: Bearer <token>'Snapshot of run lanes across the caller’s accessible projects, newest first
(capped at 200). Live updates ride Supabase Realtime; this is the initial load.
Optional project_id, plan_id, and state filters. Rate limited (120/min/IP).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”‘1’ → only lanes flagged needs-attention (portal badges)
Filter by run state
Responses
Section titled “ Responses ”Run lanes (newest first)
object
object
Identity of the worker holding the claim (null until claimed).
Claim lease deadline; reclaimed if a heartbeat does not renew it.
object
Not authenticated
object
Human-readable error message
Stable machine-readable error code for client branching
First validation message per field path
object
Structured validation issues (Zod)
object
Seconds until rate limit resets (429 responses)
True if re-linking GitHub may fix the issue
Forbidden
object
Human-readable error message
Stable machine-readable error code for client branching
First validation message per field path
object
Structured validation issues (Zod)
object
Seconds until rate limit resets (429 responses)
Server error
object
Human-readable error message
Stable machine-readable error code for client branching
First validation message per field path
object
Structured validation issues (Zod)
object
Seconds until rate limit resets (429 responses)