Authentication
All endpoints require a valid Bearer token in the Authorization header.Base URL
Endpoints
Add Model
Add a new language model configuration.POST /api/llm/add
Request Body:
Response:
List Models
Retrieve all language models configured for an organization.GET /api/llm/list
Query Parameters:
Error Responses
Implementation Notes
- The LLM Service supports multiple providers, including OpenAI and Anthropic
- Models can be enabled or disabled using the
is_activeflag - Custom configurations can be provided for each model
- Model configurations are organization-specific
- The service handles the underlying API integrations with model providers