v1

latestOpenAPI 3.1.02026-07-26142186376.1 KB
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}

Path parameters

session_idstring required

Session ID to update

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

User ID

db_idstring nullable

Database ID to use for update operation

Database ID to use for update operation

tablestring nullable

Table to use for update operation

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