v3

OpenAPI 3.1.0MIT2026-07-31192456807.8 KB
VolumeService

Update a model

Updates mutable model metadata such as its inference name, description, base model, or visibility.

patch/projects/{projectId}/models/{id}

Path parameters

projectIdstring required

Project identifier.

idstring required

Model identifier.

Query parameters

updateMaskstring field-mask

Fields to update. If omitted, all mutable fields are overwritten.

Request body

namestring

Updated inference-addressable model name.

descriptionstring

Updated user-facing model description.

visibility'VISIBILITY_PRIVATE' | 'VISIBILITY_INTERNAL'

Who can discover the model. VISIBILITY_PRIVATE restricts it to the project; VISIBILITY_INTERNAL shares it with the organization.

Response

OK

idstring required

Unique model identifier.

projectIdstring required

ID of the project that owns the model.

organizationIdstring required

ID of the organization that owns the model's project.

namestring required

Project-qualified model name in the form <project_slug>/<model_name>. Create and update requests may use the bare or qualified form.

descriptionstring

Human-readable description of the model and its intended use.

baseModelIdstring

ID of the supported or custom base model from which this model was derived.

baseModelstring

Resource name of the base model, using projects/{baseProject}/models/{baseModelId}; empty when the model has no base.

visibility'VISIBILITY_PRIVATE' | 'VISIBILITY_INTERNAL' required

Who can discover the model. VISIBILITY_PRIVATE restricts it to the project; VISIBILITY_INTERNAL shares it with the organization.