Skip to main content
Choose which LLM model your workspace uses for each kind of work, and which model answers when that model’s provider is unavailable (the backup model). You can also register models from the supported providers and remove the ones you no longer use. These endpoints are not available as MCP tools.

Authentication

Reading requires an API key with the llm_models:read scope; changes require llm_models:write. These scopes can only be granted to API keys, not to OAuth connections.
See API Key Authentication for setup instructions.

Workspace models

Read the workspace models

Change the workspace models

The request replaces every field: send the current values of the fields you don’t want to change. An optional field you omit, including backup_model_id, is unset. default_model_id and fast_model_id are required.
The response has the same shape as 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

Returns the providers AGO supports, with suggested model ids for each. Models of the 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

Same fields as registration. The model keeps the endpoint and key AGO support configured for it, unless you change its provider.

Delete a model

A model still used by a workspace setting or an agent can’t be deleted: the 400 error lists where it is used.