Sessions

Update Session

Update session properties such as session_name, session_state, metadata, or summary. Use this endpoint to modify the session name, update state, add metadata, or update the session summary.

patch/sessions/{session_id}

Request

Path parameters

session_idstring required

Session ID to update

Query parameters

type'agent' | 'team' | 'workflow'

Session type (agent, team, or workflow). If not provided, auto-detected from session data.

user_idstring nullable

User ID

db_idstring nullable

Database ID to use for update operation

tablestring nullable

Table to use for update operation

Request body

session_namestring nullable

Updated session name

session_stateobject nullable

Updated session state

metadataobject nullable

Updated metadata

summaryobject nullable

Session summary

Response

Session updated successfully

OR
OR

Changes

No recorded changes to this operation across all 1 revision of this API.