Sessions
Create a session
Creates a session (called a "notebook" in the product UI). Pass the returned id as sessionId to POST /api/chat, then poll GET /api/v1/quests/{id} for the reply. An API key needs notebooks:write for this call, so a chat round trip needs that scope as well as ai:chat. A key holding ai:generate without notebooks:write may create a bare session only (name, lastUsedModel, temperature, autoNamePlaceholder); any other field is a 403. Unknown body fields are ignored. Naming a data lake with dataLakeId (ids come from GET /api/v1/data-lakes) seeds the session with that lake's retrieval defaults and turns on forced retrieval.
post/api/v1/sessions
Request
- Base URL: https://your-deployment.example.com
- URL: https://your-deployment.example.com/api/v1/sessions
- Auth: one of:
- HTTP bearer
- API key in header x-api-key
Request body
Example request
{
"name": "Quarterly analysis"
}Response
The created session.
Changes
No recorded changes to this operation across all 1 revision of this API.