latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-16234465.0 KB

c47be4a3f07e

sessions

Patch Session

Update the title or status of a session within the authenticated user's workspace.

Parameters: body (SessionPatchRequest): Fields to update; at least one field is required.

Returns: SessionDetailResponse: The updated session details.

Raises: HTTPException: If no fields are provided, the title is blank, the status is invalid, or the session cannot be updated.

patch/api/sessions/{session_id}

Path parameters

session_idstring uuid required

Request body

titlestring nullable
status'active' | 'archived' nullable

Response

Successful Response

idstring uuid required
titlestring required
status'active' | 'archived' required
checkpoint_versioninteger required
created_atstring nullable
updated_atstring nullable