Update agent session
PATCH/v2/agents/:agent_key/sessions/:session_key
Supported API Key Type:
Personal
Update the configuration of an existing agent session. This endpoint enables you to modify fields such as the name, description, or metadata.
Updated metadata immediately influences agent behavior and 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 agent session has been updated successfully.
Session update request was malformed.
Permissions do not allow updating this agent session.
Agent or session not found.