Skip to main content
POST
List Sessions
Retrieve conversation sessions for a specific Guru. This endpoint supports pagination and search functionality, returning sessions grouped by time periods.

Path Parameters

string
required
The slug of the Guru to retrieve sessions for

Headers

string
required
Your API key for authentication. You can obtain your API key from the Gurubase dashboard.

Body Parameters

integer
default:1
The page number for pagination. Must be a positive integer.
string
default:""
Search query to filter sessions. Searches across question text, user questions, and session slugs.
string
Filter sessions by external user ID. When provided, only returns sessions associated with this external user ID.

Response

array
Sessions from today
array
Sessions from the last 7 days (excluding today)
array
Sessions older than 7 days
boolean
Whether there are more sessions available beyond the current page