Skip to main content
Endpoint: GET /v1/sessions/{session_id}/history Retrieve the chat history for a specific session. This endpoint provides details on all interactions between the user and the assistant during the session.

Path Parameters

string
required
The unique ID of the session.

Query String Parameters

boolean
Optional, filter results by Unix timestamp if needed.

Response Parameters

string
Role of the participant (user or assistant).
string
The content of the message exchanged.
string
Timestamp of when the message was created.