Agents
List subagent items
Changed onLists this subagent's own items across all of its turns. See subagent workflows.
get/agents/sessions/{session_id}/subagents/{subagent_id}/items
Request
- Base URLhttps://api.openai.com/v1
- URLhttps://api.openai.com/v1/agents/sessions/{session_id}/subagents/{subagent_id}/items
- AuthHTTP bearer
Path parameters
session_idstring required
The ID of the session.
subagent_idstring required
The ID of the subagent in this session.
Query parameters
limitinteger
The maximum number of resources to return, between 1 and 100. Defaults to 20.
order'asc' | 'desc'
The order in which paginated resources are returned.
The order in which resources are returned. Defaults to desc.
afterstring
Return resources after this resource ID in the selected order.
Response
The requested subagent history.
Changes
- info
endpoint added
- info