Test Llm Config
Run a one-shot test invocation against an LLM configuration and return the model's reply.
The call runs entirely server-side against the persisted config so the (write-only, redacted) api_key never leaves the server. An optional inline config override lets the UI test unsaved edits; a redacted override (api_key=None) reuses the stored secret, mirroring update_llm_config.
Provider/runtime failures are returned as HTTP 200 with success=False and a clean error message (rather than a 500), so the dashboard can render them inline.
Path parameters
Request body
Response
Successful Response
Changes
Changed in 4 of the 15 revisions of this API.2433
- ●
removed the request property
config/anyOf[subschema #1]/oneOf[subschema #10: Group of regular and backchanneling LLMs]/backchannel_llm_config/anyOf[subschema #1: Group of LLMs]/llms/items/oneOf[subschema #6: Custom LLM]/okta_authrequest-property-removed
- ●
removed the request property
config/anyOf[subschema #1]/oneOf[subschema #10: Group of regular and backchanneling LLMs]/main_llm_config/anyOf[subschema #1: Group of LLMs]/llms/items/oneOf[subschema #6: Custom LLM]/okta_authrequest-property-removed
- ●
removed the request property
config/anyOf[subschema #1]/oneOf[subschema #6: Custom LLM]/okta_authrequest-property-removed
- ●
removed the request property
config/anyOf[subschema #1]/oneOf[subschema #9: Group of LLMs]/llms/items/oneOf[subschema #6: Custom LLM]/okta_authrequest-property-removed
- ○
added the new optional request property
config/anyOf[subschema #1]/oneOf[subschema #10: Group of regular and backchanneling LLMs]/backchannel_llm_config/anyOf[subschema #1: Group of LLMs]/llms/items/oneOf[subschema #6: Custom LLM]/integration_authnew-optional-request-property
- ○
added the new optional request property
config/anyOf[subschema #1]/oneOf[subschema #10: Group of regular and backchanneling LLMs]/main_llm_config/anyOf[subschema #1: Group of LLMs]/llms/items/oneOf[subschema #6: Custom LLM]/integration_authnew-optional-request-property
- ○
added the new optional request property
config/anyOf[subschema #1]/oneOf[subschema #6: Custom LLM]/integration_authnew-optional-request-property
- ○
added the new optional request property
config/anyOf[subschema #1]/oneOf[subschema #9: Group of LLMs]/llms/items/oneOf[subschema #6: Custom LLM]/integration_authnew-optional-request-property
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ▲
removed
AzureOpenAILLMConfigOpenAILLMConfigGoogleLLMConfigAnthropicLLMConfigBedrockLLMConfigCustomLLMConfigWorkflowDefaultLLMConfigNoLLMConfigLLMGroupConfigLLMGroupWithBackchannelConfigfrom theconfig/anyOf[subschema #1]/request propertyoneOflistrequest-property-one-of-removed
- ○
mapped value for discriminator key
anthropic_llmchanged fromAnthropicLLMConfigtoAnthropicLLMConfig-Inputforconfig/anyOf[subschema #1]/request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
azure_openai_llmchanged fromAzureOpenAILLMConfigtoAzureOpenAILLMConfig-Inputforconfig/anyOf[subschema #1]/request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
bedrock_llmchanged fromBedrockLLMConfigtoBedrockLLMConfig-Inputforconfig/anyOf[subschema #1]/request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
custom_llmchanged fromCustomLLMConfigtoCustomLLMConfig-Inputforconfig/anyOf[subschema #1]/request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
global_default_llmchanged fromWorkflowDefaultLLMConfigtoWorkflowDefaultLLMConfig-Inputforconfig/anyOf[subschema #1]/request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
google_llmchanged fromGoogleLLMConfigtoGoogleLLMConfig-Inputforconfig/anyOf[subschema #1]/request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
llm_groupchanged fromLLMGroupConfigtoLLMGroupConfig-Inputforconfig/anyOf[subschema #1]/request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
llm_group_with_backchannelchanged fromLLMGroupWithBackchannelConfigtoLLMGroupWithBackchannelConfig-Inputforconfig/anyOf[subschema #1]/request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
no_llmchanged fromNoLLMConfigtoNoLLMConfig-Inputforconfig/anyOf[subschema #1]/request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
openai_llmchanged fromOpenAILLMConfigtoOpenAILLMConfig-Inputforconfig/anyOf[subschema #1]/request propertyrequest-property-discriminator-mapping-changed
- ○
added
AzureOpenAILLMConfig-InputOpenAILLMConfig-InputGoogleLLMConfig-InputAnthropicLLMConfig-InputBedrockLLMConfig-InputCustomLLMConfig-InputWorkflowDefaultLLMConfig-InputNoLLMConfig-InputLLMGroupConfig-InputLLMGroupWithBackchannelConfig-Inputto theconfig/anyOf[subschema #1]/request propertyoneOflistrequest-property-one-of-added
This revision also has 10 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added
bedrock_llmdiscriminator mapping keys to theconfig/anyOf[subschema #1]/request propertyrequest-property-discriminator-mapping-added
- ○
added
bedrock_llmdiscriminator mapping keys to theconfig/anyOf[subschema #1]/oneOf[subschema #8: Group of LLMs -> subschema #9: Group of LLMs]/llms/items/request propertyrequest-property-discriminator-mapping-added
- ○
added
bedrock_llmdiscriminator mapping keys to theconfig/anyOf[subschema #1]/oneOf[subschema #9: Group of regular and backchanneling LLMs -> subschema #10: Group of regular and backchanneling LLMs]/backchannel_llm_config/anyOf[subschema #1: Group of LLMs]/llms/items/request propertyrequest-property-discriminator-mapping-added
- ○
added
bedrock_llmdiscriminator mapping keys to theconfig/anyOf[subschema #1]/oneOf[subschema #9: Group of regular and backchanneling LLMs -> subschema #10: Group of regular and backchanneling LLMs]/main_llm_config/anyOf[subschema #1: Group of LLMs]/llms/items/request propertyrequest-property-discriminator-mapping-added
- ○
added
BedrockLLMConfigto theconfig/anyOf[subschema #1]/request propertyoneOflistrequest-property-one-of-added
- ○
added
BedrockLLMConfigto theconfig/anyOf[subschema #1]/oneOf[subschema #8: Group of LLMs -> subschema #9: Group of LLMs]/llms/items/request propertyoneOflistrequest-property-one-of-added
- ○
added
BedrockLLMConfigto theconfig/anyOf[subschema #1]/oneOf[subschema #9: Group of regular and backchanneling LLMs -> subschema #10: Group of regular and backchanneling LLMs]/backchannel_llm_config/anyOf[subschema #1: Group of LLMs]/llms/items/request propertyoneOflistrequest-property-one-of-added
- ○
added
BedrockLLMConfigto theconfig/anyOf[subschema #1]/oneOf[subschema #9: Group of regular and backchanneling LLMs -> subschema #10: Group of regular and backchanneling LLMs]/main_llm_config/anyOf[subschema #1: Group of LLMs]/llms/items/request propertyoneOflistrequest-property-one-of-added
- ○
- ▲
removed
AzureOpenAILLMConfig-InputOpenAILLMConfig-InputGoogleLLMConfig-InputAnthropicLLMConfig-InputCustomLLMConfig-InputWorkflowDefaultLLMConfig-InputNoLLMConfig-InputLLMGroupConfig-InputLLMGroupWithBackchannelConfig-Inputfrom theconfig/anyOf[subschema #1]/request propertyoneOflistrequest-property-one-of-removed
- ○
mapped value for discriminator key
anthropic_llmchanged fromAnthropicLLMConfig-InputtoAnthropicLLMConfigforconfig/anyOf[subschema #1]/request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
azure_openai_llmchanged fromAzureOpenAILLMConfig-InputtoAzureOpenAILLMConfigforconfig/anyOf[subschema #1]/request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
custom_llmchanged fromCustomLLMConfig-InputtoCustomLLMConfigforconfig/anyOf[subschema #1]/request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
global_default_llmchanged fromWorkflowDefaultLLMConfig-InputtoWorkflowDefaultLLMConfigforconfig/anyOf[subschema #1]/request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
google_llmchanged fromGoogleLLMConfig-InputtoGoogleLLMConfigforconfig/anyOf[subschema #1]/request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
llm_groupchanged fromLLMGroupConfig-InputtoLLMGroupConfigforconfig/anyOf[subschema #1]/request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
llm_group_with_backchannelchanged fromLLMGroupWithBackchannelConfig-InputtoLLMGroupWithBackchannelConfigforconfig/anyOf[subschema #1]/request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
no_llmchanged fromNoLLMConfig-InputtoNoLLMConfigforconfig/anyOf[subschema #1]/request propertyrequest-property-discriminator-mapping-changed
- ○
mapped value for discriminator key
openai_llmchanged fromOpenAILLMConfig-InputtoOpenAILLMConfigforconfig/anyOf[subschema #1]/request propertyrequest-property-discriminator-mapping-changed
- ○
added
AzureOpenAILLMConfigOpenAILLMConfigGoogleLLMConfigAnthropicLLMConfigCustomLLMConfigWorkflowDefaultLLMConfigNoLLMConfigLLMGroupConfigLLMGroupWithBackchannelConfigto theconfig/anyOf[subschema #1]/request propertyoneOflistrequest-property-one-of-added
This revision also has 18 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲