agent

Get an agent thread's run tree

Get the runs of a thread as a tree (via parent_run_id). Use it to detect branches (sibling runs from edit/regenerate) and pick a run to restore (restore via the run events endpoints).

Required scope: `inference:run`

get/agent/threads/{thread_id}

Path parameters

thread_idstring required

Query parameters

principal_idstring

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_idstring required

Changes

Changed in 1 of the 71 revisions of this API.1

Of the 71 revisions, 18 have no diff computed.