Skip to main content
GET
Get an agent thread's run tree

Authorizations

x-api-key
string
header
required

API key for authentication

Path Parameters

thread_id
string
required

Query Parameters

principal_id
string

Scope by principal. If omitted, only a thread with no principal (principal_id is null) is returned; a thread whose principal differs yields 404.

Response

Agent thread run tree

thread_id
string
required
runs
object[]
required

All runs in the thread as a tree (via parent_run_id).