AIAssistantsModelConfig

AIAssistantsModelConfig
AI Assistants Model Configuration

Configuration for a single model tier (embedding or reasoning). On write, supply model_id, api_url, and api_key (when required). On read, all fields except api_key are returned.

JSON Example
{
    "model_id": "string",
    "model_name": "string",
    "sdk_provider": "string",
    "api_url": "string",
    "api_key": "string"
}
string
model_id
Required  

Stable unique identifier for this model (e.g. openai_gpt-4.1). Not intended for display in the UI.

string
model_name
Read-Only  

Raw API model name submitted to the model provider's API (e.g. gpt-4.1). Resolved by the backend from model_id. Not accepted in write requests.

string
sdk_provider
Read-Only  

SDK provider identifier (e.g. google, openai). Resolved by the backend from model_id. Not accepted in write requests.

string
api_url
Required  

Endpoint URL for this model tier. Supplied by the operator.

string
api_key
Optional

Credential for authenticating to the model endpoint. Supplied by the operator. Required for non-GCP tiers. Optional for GCP-backed embedding tiers when GCP service-account authentication is used. Never returned in read responses.