model_update

Management

Update Model

Update an existing model's metadata. Args: - model_id: required - data: fields to update. Common fields: name, shortDescription, tags, thumbnail, privacy. Less-common training/parameter fields pass through unchanged. Note: data.tags REPLACES the entire tag set. Use model_add_tags / model_remove_tags for diff-style changes against the existing tags. - team_id, project_id: required for OAuth callers Returns: the updated model record. Example: "Rename this model" -> model_id="model_xxx", data={"name": "new-name"}
open-world

Parameters

NameTypeRequiredDescription
model_idstringModel ID.
dataunknownModel data for update. Common fields above; less-common training/parameter fields (concepts, epoch, parameters, negativePromptEmbedding, etc.) pass through unchanged via `.passthrough()`. See ModelUpdateParams in the SDK for the full surface.
team_idstringTeam ID. Required if user belongs to multiple teams.
project_idstringProject ID to scope the operation to.
response_formatenum(json | markdown)jsonOutput format: 'json' for structured data, 'markdown' for human-readable text.