v1

latestOpenAPI 3.1.02026-07-26142186376.1 KB
Sessions

Get Run by ID

Retrieve a specific run by its ID from a session. Response schema varies based on the run type (agent run, team run, or workflow run).

get/sessions/{session_id}/runs/{run_id}

Path parameters

session_idstring required

Session ID to get run from

Session ID to get run from

run_idstring required

Run ID to retrieve

Run ID to retrieve

Query parameters

type'agent' | 'team' | 'workflow'

Session type (agent, team, or workflow). If not provided, the run type is inferred from the run's own fields.

user_idstring nullable

User ID to query run from

User ID to query run from

db_idstring nullable

Database ID to query run from

Database ID to query run from

tablestring nullable

Table to query run from

Table to query run from

Response

Run retrieved successfully

OR
OR