Get an agent thread's run tree
Changed onGet 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`
Request
- Base URLhttps://developer.qaip.com/api/v1
- URLhttps://developer.qaip.com/api/v1/agent/threads/{thread_id}
- AuthAPI key in header x-api-key
Path parameters
Query parameters
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
Changes
- info
added the non-success response with the status
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info
- warning
added the new
CANCELLEDenum value to the//response property for the response status - warning
added the new
CANCELLINGenum value to the//response property for the response status - warning
added the new
FAILEDenum value to the//response property for the response status - warning
added the new
QUEUEDenum value to the//response property for the response status - warning
added the new
RUNNINGenum value to the//response property for the response status - warning
added the new
SUCCEEDEDenum value to the//response property for the response status
- warning