Agents
Update an agent session
Changed onUpdates session tools, 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 new optional request property
/
- info
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info