pydo.genai.update_custom_model_metadata()
Generated on 3 Aug 2026
from pydo version
v0.40.0
Usage
client.genai.update_custom_model_metadata(
uuid="\"123e4567-e89b-12d3-a456-426614174000\"",
body={
"description": "example string",
"input_modalities": [...],
"license": "example string",
...,
},
)Description
To update custom model metadata, send a PATCH request to /v2/gen-ai/custom_models/{uuid}/metadata.
Parameters
uuidstring requiredUUID of the custom model to update
descriptionstring optionalExample:
example stringinput_modalitiesarray 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 nameoutput_modalitiesarray 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.