Models API
The Platform Models API lists the models your deployment configures for you, and which Platform endpoints accept each one.
Use Cases
Model Discovery
List the models available to the caller before choosing one for a request.
Endpoint Compatibility
Check which Platform endpoints accept each model, through its endpoints field.
API Endpoints
| Method | Endpoint | Purpose |
|---|---|---|
| GET | /api/modelsBeta | List models |
The Chat API rejects a model whose endpoints field doesn't include chat.
This endpoint is in beta. Send X-Glean-Include-Experimental: true on each request, or it is not exposed.
For error responses, see Platform API Errors for the shared ProblemDetail code reference and remediation guidance.