Models

Update custom model

Changed on

Updates a custom model. Only fields present in the request body are modified, except for metadata and parameters, which are fully replaced when present.

patch/v2/models/{id}

Request

  • Base URL
    https://my.orq.ai
  • URL
    https://my.orq.ai/v2/models/{id}
  • Auth
    HTTP bearer

Path parameters

idstring required

The ID of the model

Request body

benchmark_modelstring
display_namestring
has_functionsboolean
input_costnumber double
model_idstring

Immutable private-model slug.

model_typestring
output_costnumber double

Response

Model updated successfully

createdstring required
descriptionstring nullable required
display_namestring required
docs_urlstring nullable required
enabledboolean required
enabled_for_endpointsboolean required
enabled_for_playgroundboolean required
has_cpu_pricingboolean required
has_functionsboolean required
idstring required
input_costnumber double nullable required
input_currencystring required
is_activeboolean required
legacy_uuidstring
model_developerstring
model_familystring
model_idstring required
model_typestring required
output_costnumber double nullable required
output_currencystring required
ownerstring required
pricing_urlstring nullable required
providerstring required
refIdstring required
updatedstring required

Changes

    • info

      added the new optional request property /

    • info

      added the optional property / to the response with the status

    • warning

      removed the request property /

    • warning

      removed the optional property / from the response with the status