Authentication
Reading requires an API key with thellm_models:read scope; changes require llm_models:write. These scopes can only be granted to API keys, not to OAuth connections.
Workspace models
Read the workspace models
Change the workspace models
backup_model_id, is unset. default_model_id and fast_model_id are required.
GET. An unknown model id returns 400 and changes nothing.
Choose a backup model from another provider than your other models: a backup from the same provider is usually down at the same time. Your conversation and ticket content is sent to the backup model’s provider when it answers.
Models
List models
used_by lists the workspace settings and agents that use the model. API keys stored on a model are never returned.
Read a model
List providers
openai_compatible provider can’t be registered through the API (see below).
Register a model
Returns
201 with the model. For Azure OpenAI, model_name is your deployment name, and the model uses your workspace’s Azure OpenAI connection.
Models of the openai_compatible provider (your own endpoint or gateway) can’t be registered through the API. Contact AGO support to add one.
Update a model
Delete a model
400 error lists where it is used.
Related
- Agents - How the backup model takes over
- API Key Authentication - Create a key with the
llm_modelsscopes
