Get model provider connection

Retrieve a specific model provider connection.

Path parameters

idstringRequired

Headers

AuthorizationstringRequired

Header authentication of the form Token <token>

Response

idinteger
created_byobject
A ModelSerializer that takes additional arguments for "fields", "omit" and "expand" in order to control which fields are displayed, and whether to replace simple values with complex, nested serializations
model_paramsstring
JSON schema for the model parameters available for the provider
created_atdatetime
updated_atdatetime
providerenum or null
  • OpenAI - OpenAI
  • AzureOpenAI - AzureOpenAI
  • AzureAIFoundry - AzureAIFoundry
  • VertexAI - VertexAI
  • Gemini - Gemini
  • Anthropic - Anthropic
  • Custom - Custom
deployment_namestring or null<=512 characters
Azure OpenAI deployment name
endpointstring or null<=512 characters
Azure OpenAI endpoint
google_project_idstring or null<=255 characters
Google project ID
google_locationstring or null<=255 characters
Google project location
cached_available_modelsstring or null<=4096 characters
List of available models from the provider
scopeenum or null
  • Organization - Organization
  • User - User
  • Model - Model
Allowed values:
is_internalboolean or null
Whether the model provider connection is internal, not visible to the user
budget_limitdouble or null

Budget limit for the model provider connection (null if unlimited)

budget_last_reset_datedatetime or null
Date and time the budget was last reset
budget_reset_periodenum or string or null

Budget reset period for the model provider connection (null if not reset)

  • Monthly - Monthly
  • Yearly - Yearly
budget_total_spentdouble or null
Tracked total budget spent for the given provider connection within the current budget period
budget_alert_thresholddouble or null
Budget alert threshold for the given provider connection
organizationinteger or null