POST
/
add_model
curl --request POST \
  --url https://api.bolna.dev/add_model \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "custom_model_name": "Customer-care Model",
  "custom_model_url": "https://custom.llm.model/v1"
}'
{
  "message": "model added successfully",
  "status": "added"
}

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

Human readable name for your custom model

custom_model_url
string
required

URL endpoint for the custom LLM model

Response

200
application/json
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"