Update agent session
PATCH/v2/agents/:agent_key/sessions/:session_key
Updates the configuration of an existing agent session. You can modify fields such as the name, description, or metadata.
Updated metadata immediately influences agent behavior. It becomes available to instructions and tools for the remainder of the session. For more details about configuring the agent session, see Create agent session.
Request
Responses
- 200
- 400
- 403
- 404
The updated agent session.
The request to update the session is malformed.
Permissions do not allow updating this agent session.
Agent or session not found.