Get Session
Get a specific chat session with all messages.
session_id is typed :class:~uuid.UUID so FastAPI answers 422 at the boundary. A raw string such as e2e-session would otherwise reach a Postgres uuid comparison and surface as a driver conversion 500 (PYTHON-1YS7).
Args: request: FastAPI request used by the rate-limiter. session_id: Chat session primary key. auth: Authenticated caller (read-only). service: Chat-session service.
Returns: ChatSessionWithMessages for the owned session.
Raises: HTTPException: 404 when the session is missing or not owned.
Path parameters
Response
Successful Response
Changes
Changed in 2 of the 3 revisions of this API.12
- ▲
for the
pathrequest parametersession_id, the type/format was changed fromstring/tostring/uuidrequest-parameter-type-changed
This revision also has 23 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the optional property
active_turn_started_atto the response with the200statusresponse-optional-property-added
- ○
added the optional property
is_turn_activeto the response with the200statusresponse-optional-property-added
- ○