Update an embedding model
PATCH/embedding-models/:embedding_model_id
Changes the name or the description of an embedding model. Fields that the request omits keep their values, and "description": null removes the description. The provider, model name, size and parameters cannot change, and a request that names any other field is refused with HTTP 422. A different model or different parameters require a new embedding model.
Permissions. Write on the embedding model.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 422
The embedding model was updated. The body is the updated embedding model.
The body is not valid JSON.
The authentication headers are missing or invalid, or the API key is inactive or expired. Errors lists the messages.
The license is not valid (Invalid license: <reason>).
No embedding model with this identifier exists, or the key lacks write permission on the embedding model (Embedding Model not found, with the identifier in details.id).
Another embedding model already uses the new name (Conflict unique error).
The body names a field other than name and description, or a value has the wrong type.