403 Forbidden response.
All available scopes
How scope enforcement works
Every public API endpoint declares one or more required scopes. When a request arrives, the authorizer:- Validates the API key from the
X-API-Keyheader - Loads the key’s assigned scopes from the database
- Checks if the key has at least one of the endpoint’s required scopes
- If the key lacks the required scope, the request is rejected before the handler runs
403 Forbidden response
When a key does not have the required scope, the API returns:required_scopes array in details tells you exactly which scope(s) you need. Add the scope to your API key in the Hrizn Dashboard, or create a new key with the correct scopes.
Presets
When creating an API key in the dashboard, you can use presets to quickly assign common scope combinations:Endpoints that do not require a specific scope
The following endpoints require a valid API key but are accessible with any scope:
The health check endpoint does not require an API key at all:
