Get model provider connection

GET

Get a model provider connection by ID.

Path parameters

pkintegerRequired

Model Provider Connection ID

Response

This endpoint returns an object.
providerenum
Allowed values: OpenAIAzureOpenAICustom
api_keystringOptional
deployment_namestringOptional
endpointstringOptional
scopeenumOptional
Allowed values: OrganizationUserModel
organizationinteger or map from strings to anyOptional
created_byinteger or map from strings to anyOptional
created_atdatetimeOptional
updated_atdatetimeOptional
is_internalbooleanOptional

Whether the model provider connection is internal, not visible to the user.

budget_limitdoubleOptional

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

budget_last_reset_datedatetimeOptional

Date and time the budget was last reset

budget_reset_periodenumOptionalDefaults to None
Allowed values: MonthlyYearlyNone

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

budget_total_spentdoubleOptional

Tracked total budget spent for the given provider connection within the current budget period

budget_alert_thresholddoubleOptional

Budget alert threshold for the given provider connection