Sessions

Rename Session

Update the name of an existing session. Useful for organizing and categorizing sessions with meaningful names for better identification and management.

post/sessions/{session_id}/rename

Request

Path parameters

session_idstring required

Session ID to rename

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 to scope rename to

db_idstring nullable

Database ID to use for rename operation

tablestring nullable

Table to use for rename operation

Request body

session_namestring required

New name for the session

Response

Session renamed successfully

OR
OR

Changes

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