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
- The document declares no server URL.
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Changes
No recorded changes to this operation across all 1 revision of this API.