Update an LLM
PATCH/llms/:llm_id
Changes the fields of an LLM registration that the request names, and keeps the stored value of every omitted field. A null value clears description or api_key, and a new api_key value replaces the stored key. Foundation4 does not contact the model server during the update.
Permissions. Write on the LLM.
LLMs describes the fields of a registration.
Request
Responses
- 200
- 401
- 403
- 404
- 409
The LLM was updated. The body is the updated LLM registration, without the API key.
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 LLM with this identifier exists, or the key lacks write permission on the LLM (LLM with id <id> not found).
Another LLM already has the requested name (Conflict unique error).