Create model provider connection

Create a new model provider connection.

Headers

AuthorizationstringRequired

Header authentication of the form Token <token>

Request

This endpoint expects an object.
providerenumRequired
api_keystringOptional
deployment_namestringOptional
endpointstringOptional
scopeenumOptional
Allowed values:
organizationinteger or map from strings to anyOptional
created_byinteger or map from strings to anyOptional
created_atdatetimeOptional
updated_atdatetimeOptional
is_internalbooleanOptionalDefaults to false

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

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

Allowed values:
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

Response

providerenum
api_keystringOptional
deployment_namestringOptional
endpointstringOptional
scopeenumOptional
Allowed values:
organizationinteger or map from strings to anyOptional
created_byinteger or map from strings to anyOptional
created_atdatetimeOptional
updated_atdatetimeOptional
is_internalbooleanOptionalDefaults to false

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

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

Allowed values:
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