Sessions group conversations and ingested documents together. Every chat message and ingested document belongs to a session.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/drona-gyawali/Quark/llms.txt
Use this file to discover all available pages before exploring further.
All session endpoints require authentication.
List sessions
GET /api/v1/session/
Returns all sessions belonging to the authenticated user.
Response
200 OK
Array of session objects for the current user.
Example
Response
Create session
POST /api/v1/session/
Creates a new session for the authenticated user.
Request body
A human-readable name for the session (e.g.
"Q3 Analysis").Response
201 Created
The newly created session object.
500 Internal Server Error
Always
false.Always
"Internal Server Error".Machine-readable error code.
Example
Response
Rename session
PATCH /api/v1/session/:sessionId
Updates the label of an existing session.
Path parameters
The ID of the session to rename.
Request body
The new label for the session.
Response
200 OK
The updated session object.
Example
Response
Delete session
DELETE /api/v1/session/:sessionId
Deletes a session by ID.
Path parameters
The ID of the session to delete.