patch
https://api.superwise.ai/v1/models/
Update a Model by id
- model_id (str): Required. The id of the model to be updated.
- payload (ModelUpdate): Required. The payload that includes:
- name (str): Name of the model, min_length=1, max_length=100.
- description (str or None): A description about the model.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Updates a model's name or description and returns the updated model.
When to use it
Use it to rename a model or change its description.
Required parameters
model_id(path): the ID of the model.
Optional body fields: id, name, description.
Response
A successful call returns 200 OK with the ModelResponse object: id, name, description, created_by, and timestamps.
Related: Get a model, Delete a model, Create a model