How it works
Each key has two optional fields:allowedModels— if non-empty, only these models are usableblockedModels— always rejected; takes precedence over allowed
Set via dashboard
dolphy.chat/settings/api-keys → Manage on the key → enter comma-separated model ids.Set via API
null or [] to clear either list.
Common patterns
”Only the cheap models on the dev key”
”Restrict to a curated set for a customer-facing app”
allowedModels will be accepted by this key. Anything else returns 403.
”Just chat for the AI agent”
When a request hits a blocked model
403. The customer should either change the model in their
request or update the key’s permissions.
Listing model ids
GET /v1/models returns all available model ids with their pricing and
capabilities. Use this to populate a model picker in your client.