Skip to main content
Version: 2.0

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

The agent session has been updated successfully.