Skip to main content
POST
cURL
This request specifies how to add your own Custom LLM Models and use it with Bolna Voice AI agents. Please read about it more from using-custom-llm

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Add a custom LLM Model

custom_model_name
string
required

The model id your endpoint serves, passed through unchanged

custom_model_url
string<uri>
required

OpenAI-compatible base URL, including the version segment

custom_model_key
string
required

Bearer token sent to your endpoint. Stored encrypted

custom_model_family
string
required

Model family, for example qwen, llama or mistral

custom_model_languages
string

Comma separated language codes. Defaults to en

Response

agent status response

message
string

Success message for adding the custom model

Example:

"model added successfully"

status
enum<string>

status for the model sent in the request to be added

Available options:
added
Example:

"added"