AI API π‘ BETA
The LLM family holds the routes mounted for chat, models and model accounts.
Endpoints
Exact lines from the Generated api-llm reference; the generated page is the full table.
| Method | Path |
|---|---|
| DELETE | /api/llm/accounts |
| GET | /api/llm/accounts |
| POST | /api/llm/accounts |
| PUT | /api/llm/accounts |
| DELETE | /api/llm/accounts/:param |
| DELETE | /api/llm/accounts/models |
| POST | /api/llm/accounts/models |
| GET | /api/llm/config |
Example
Minimal HTTP exchange for the first verified route (schemas are not modeled in the generated reference).
DELETE /api/llm/accounts HTTP/1.1
Host: localhost:8080
Authorization: Bearer <token>
HTTP/1.1 200 OK
What it does
| Capability | Verified endpoint | Registered in |
|---|---|---|
| Llm accounts | DELETE /api/llm/accounts |
botserver/crates/botsettings/src/model_config/accounts.rs |
| Llm accounts | GET /api/llm/accounts |
botserver/crates/botsettings/src/model_config/accounts.rs |
| Llm accounts | POST /api/llm/accounts |
botserver/crates/botsettings/src/model_config/accounts.rs |
| Llm accounts | PUT /api/llm/accounts |
botserver/crates/botsettings/src/model_config/accounts.rs |
| Llm accounts | DELETE /api/llm/accounts/:param |
botserver/crates/botsettings/src/model_config/accounts.rs |
| Accounts models | DELETE /api/llm/accounts/models |
botserver/crates/botsettings/src/model_config/accounts.rs |
| Accounts models | POST /api/llm/accounts/models |
botserver/crates/botsettings/src/model_config/accounts.rs |
| Llm config | GET /api/llm/config |
botserver/crates/botsettings/src/model_config/mod.rs |
Limits
- The Generated api-llm reference is authoritative: no endpoint outside its table is inferred here.
- Routes require an authenticated session unless listed in the anonymous allowlist in
botsecurity-auth/src/auth_api/public_routes.rs. - The generated table does not model request or response fields; consult the mounted handler for them.
Related
- Generated api-llm reference - Full verified route table.
- Chapter overview