Models

Create Vertex AI custom model

Changed on

Registers a Google Vertex AI model as a custom model for the workspace. The service account credentials are probed against Vertex AI with a minimal GenerateContent call before persisting.

post/v2/models/vertex

Request

  • Base URL
    https://my.orq.ai
  • URL
    https://my.orq.ai/v2/models/vertex
  • Auth
    HTTP bearer

Request body

benchmark_modelstring
display_namestring required
model_idstring

Immutable private-model slug; defaults to display_name.

Response

Vertex AI model created 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 optional property / to the response with the status

    • warning

      removed the optional property / from the response with the status