Skip to content

Create a new LLM model

POST
/api/v1/provider/models/llm

Create and configure a new LLM model

Authorizations

ApiKeyAuth

API Key authentication using X-API-Key header.
Example: X-API-Key: lbk_your_api_key_here

TypeAPI Key (header: X-API-Key)
or
BearerAuth

Bearer token authentication. Can be either a user JWT token or an API key.
Example: Authorization: Bearer <token_or_key>

TypeHTTP (bearer)

Request Body

application/json
JSON
{
"name": "string",
"description": "string",
"requester": "string",
"requester_config": {
},
"api_keys": [
{
}
],
"abilities": [
"string"
],
"extra_args": {
}
}

Responses

Model created successfully

application/json
JSON
{
"code": 0,
"msg": "ok",
"data": {
"uuid": "550e8400-e29b-41d4-a716-446655440000"
}
}

Playground

Server
Authorization
Body

Samples

Powered by VitePress OpenAPI