Update Model

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
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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

Path Params
string
required
Body Params
length between 1 and 100
Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json