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}

Request

Path parameters

session_idstring required

Session ID to get run from

run_idstring required

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

db_idstring nullable

Database ID to query run from

tablestring nullable

Table to query run from

Response

Run retrieved successfully

OR
OR

Changes

No recorded changes to this operation across all 1 revision of this API.