Skip to main content
Version: 2.0

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

The updated agent session.