user_sessions

Update User Session

Update a user session (e.g., rename).

Returns 404 if the session is not found or has been deleted.

patch/api/v1/user-sessions/{user_session_id}

Request

  • Base URL
    https://docs.omnara.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

user_session_id, string required

Request body

UpdateUserSessionRequest required

Payload for updating a user session.

name, string nullable

New name for the session

session_settings, SessionSettingsInput nullable

Per-session settings for a user session.

Response

Successful Response

UserSessionDescriptor required

Representation of a user-owned conversation container.

kind, 'user_session'

Descriptor type discriminator

session_id, string uuid required

Unique session identifier

user_id, string uuid required

Owner user identifier

status, 'ACTIVE' | 'COMPLETED' | 'DELETED' required

Current session status

created_at, string date-time required

Timestamp when the session was created

name, string nullable

Optional user-defined session name

metadata, object nullable

Arbitrary session metadata

settings, SessionSettingsOutput nullable

Per-session settings for a user session.

worktree_id, string uuid nullable

Associated worktree identifier

worktree_name, string nullable

Name of the associated worktree

worktree_type, 'LOCAL' | 'REMOTE' nullable

Whether a worktree runs on a user's local machine or a managed remote machine.

Changes

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