Base URLs
The values for your account are under Access management, on the Endpoints tab.
Authentication
Send a Sensei key in one of these headers. Keys start withamfs_.
Endpoints
Model names
For a project with a live version of its model,
Sensei is that version. You do not name versions in a request.
Request features
A conversation that approaches the context window is compacted automatically. One that still does not fit returns
400 with the code context_too_long.
Request headers
All of these are optional.Response headers
Rate limits
Each key has a limit in requests per minute. Keys created on the dashboard start at 120. Over the limit, the endpoint answers429 with a retry-after header.
