API reference · Models
Validate an API key
GET
https://api.stav.ai/v1/auth/validateEchoes back the workspace, key name, environment and scopes attached to the calling key. No model is invoked and nothing is billed — the cheapest possible check that a deployment's credential is wired up.
Errors
| Status | When |
|---|---|
| 401 | Missing or invalid API key. |
Every error code, what it means and what to do: Errors.