Skip to main content

Register an LLM

POST 

/llms

Registers a connection to a model server that exposes an OpenAI-compatible API. Foundation4 does not contact the model server during registration, so an incorrect endpoint or API key appears only when the LLM is first used. Foundation4 encrypts the API key before storage, and no response returns the key.

Permissions. Write on the LLM object type (llms).

LLMs describes the fields of a registration and the requirements on the model server.

Request​

Responses​

The LLM was registered. The body is the new LLM registration, without the API key.