List sessions for an agent
Lists agent sessions for one agent. Agent managers can see all sessions; other callers only see sessions they can access through their own chats or readable tasks.
GET
/agents/{id}/runsAuthorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:reador
AuthorizationBearer token (JWT) · headerrequiredPath parameters
idstringrequiredQuery parameters
targetTypestringAllowed:
tasktaskCommentappChatslackThreadeditorSessionautomationRunstatusstringAllowed:
queuedrunningwaitingInputwaitingApprovaldonefailedcanceledminestringWhen true, return only sessions owned by the current user. Non-admin callers are always limited to their accessible sessions.
fromstringISO date lower bound for run creation time.
tostringISO date upper bound for run creation time.
limitstringMaximum sessions to return, capped at 100.
Responses
200
401
Unauthorized - Invalid or missing authentication token
403
Forbidden - Insufficient API scopes or permissions