v1

latestSwagger 2.02026-07-176455196.1 KB
models

Update a model

Updates model fields and refreshes the live registry. Requires system admin.

patch/models/{model_id}

Path parameters

model_idstring required

Model ID

Request body

aliasesstring[]

Aliases, when non-nil, replaces the full set of aliases for the model. Pass an empty slice to remove all aliases.

api_keystring
azure_api_versionstring
azure_deploymentstring
base_urlstring
input_price_per_1mnumber
max_context_tokensinteger
namestring
output_price_per_1mnumber
providerstring

Response

OK

aliasesstring[]
azure_api_versionstring
azure_deploymentstring
base_urlstring
created_atstring
idstring
input_price_per_1mnumber
is_activeboolean
max_context_tokensinteger
namestring
output_price_per_1mnumber
providerstring
sourcestring
updated_atstring