Skip to main content
POST
Test Llm Config

Authorizations

Authorization
string
header
required

Retrieve your API Key from Dashboard API Keys Section.

Path Parameters

llm_config_id
string
required

Body

application/json
system_prompt
string
required

Required, non-empty system prompt.

Minimum string length: 1
messages
LLMTestMessage · object[]

Optional ordered conversation history to send to the model.

config
Azure OpenAI · object

Optional inline config override so the UI can test unsaved edits. When omitted, the persisted config is used. A redacted (api_key=None) override reuses the stored secret. Group configurations are accepted for validation but cannot be exercised by this single-LLM test endpoint.

Response

Successful Response

success
boolean
required
response
string | null

Concatenated model output text on success.

error
string | null

Clean error message when success is False.

provider
string | null
model
string | null
prompt_tokens
integer | null
completion_tokens
integer | null
total_tokens
integer | null
latency_ms
integer | null
winning_member
LLMTestMemberInfo · object | null

Which group member produced the main response.

backchannel_response
string | null

Backchannel text emitted before the main response, if any.

backchannel_member
LLMTestMemberInfo · object | null

Producer of the backchannel response (null for a static backchannel).

backchannel_prompt_tokens
integer | null
backchannel_completion_tokens
integer | null
backchannel_total_tokens
integer | null