dots.v2.genAi.custom_models.byUuid().metadata.patch()
Generated on 5 Nov 2026
from DoTs version
v1.23.0
Usage
client.v2.genAi.custom_models.byUuid(uuid).metadata.patch(body: ApiUpdateCustomModelMetadataInputPublic, requestConfiguration?: RequestConfiguration<object>): Promise<undefined | ApiUpdateCustomModelMetadataOutputPublic>Description
To update custom model metadata, send a PATCH request to /v2/gen-ai/custom_models/{uuid}/metadata.
Parameters
Path Parameters
uuidstring requiredExample:
"123e4567-e89b-12d3-a456-426614174000"UUID of the custom model to update
Request Body
descriptionstring optionalExample:
example stringinputModalitiesarray of strings optionalExample:
["example string"]Optional new input modalities for the model (replaces existing list when non-empty).
Spaces-imported models only.licensestring optionalExample:
example stringnamestring optionalExample:
example nameoutputModalitiesarray of strings optionalExample:
["example string"]Optional new output modalities for the model (replaces existing list when non-empty).
Spaces-imported models only.parametersstring optionalExample:
12345tagsobject optionalUser-defined tags for organizing models
Show child properties
tagsarray of strings optionalExample:
["example string"]List of tag strings
uuidstring optionalExample:
a1b2c3d4-...UUID of the custom model to update
Request Sample
Response Example
More Information
See /v2/gen-ai/custom_models/{uuid}/metadata in the API reference for additional detail on responses, headers, parameters, and more.