List the provider endpoints that can serve a model
https://api.stav.ai/v1/models/{model_id}/endpointsEvery Inference Provider endpoint that can serve the model for this
key, in the order Stav tries them, each with its own context window,
max output tokens and quantization. Same shape and field names as
OpenRouter's /api/v1/models/{author}/{slug}/endpoints.
Only endpoints a request could actually reach are listed: your
workspace's policy (sovereignty floor, compute region, ZDR, blocked
providers) applies. Send an entry's id as model to pin that
endpoint.
For a Router (or auto, your workspace's default Router), the list
is every endpoint of every model the Router can pick, under the
Router's own rules as well, best model first. Each entry's
model_id names its model, and data.stav_router is true. The
models are paged with page and page_size (at most 100);
data.stav_total_models is the whole pool.
Stiparametere
model_idstringpåkrevdAnything you can send as
model: a catalogue slug (openai/gpt-oss-120b), a bare name with one match, a Router (@your-workspace/router) orauto.
Spørreparametere
pageintegerRouter or
autoonly. The page of the Router's models.page_sizeintegerRouter or
autoonly. Models per page.
Feil
| Status | Når |
|---|---|
| 401 | Missing or invalid API key. |
| 404 | Model id is not in the catalogue, or the caller's key doesn't have access to it. |
Alle feilkoder, hva de betyr og hva du gjør: Feil.