List subagent turns
Changed onLists all turns of this subagent, including turns after a resume. See subagent workflows.
Request
- Base URLhttps://api.openai.com/v1
- URLhttps://api.openai.com/v1/agents/sessions/{session_id}/subagents/{subagent_id}/turns
- AuthHTTP bearer
Path parameters
The ID of the session.
The ID of the subagent in this session.
Query parameters
The maximum number of resources to return, between 1 and 100. Defaults to 20.
The order in which paginated resources are returned.
The order in which resources are returned. Defaults to desc.
Return resources after this resource ID in the selected order.
Response
The requested subagent history.
Changes
- warning
added the new
billing_not_activeenum value to the///////response property for the response status
- warning
- warning
added the new
organization_spend_limit_exceededenum value to the///////response property for the response status - warning
added the new
organization_usage_limit_exceededenum value to the///////response property for the response status - warning
added the new
project_spend_limit_exceededenum value to the///////response property for the response status
- warning