model_update
ManagementUpdate 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
| Name | Type | Required | Description |
|---|---|---|---|
| model_id | string | ✓ | Model ID. |
| data | unknown | — | Model 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_id | string | — | Team ID. Required if user belongs to multiple teams. |
| project_id | string | — | Project ID to scope the operation to. |
| response_format | enum(json | markdown) | json | Output format: 'json' for structured data, 'markdown' for human-readable text. |