Agents
Update an agent session
Changed onUpdates session metadata, model, reasoning effort, or service tier. Model settings apply to subsequent turns. Omitted fields are unchanged. See managing sessions.
post/agents/sessions/{session_id}
Request
- Base URLhttps://api.openai.com/v1
- URLhttps://api.openai.com/v1/agents/sessions/{session_id}
- AuthHTTP bearer
Path parameters
session_idstring required
The ID of the session.
Request body
Response
The updated session.
Changes
- info
added the optional property
/to the response with the status
- info
- info
added the optional property
/to the response with the status
- info