testAiConfiguration
testAiConfiguration
testAiConfiguration (input: TestAiConfigurationInput!) → TestAiConfigurationResult!
Test an AI provider configuration by making a minimal live call through the same SDK path Guardrails uses at runtime. Validates the provider, model, API key and (when set) that a custom endpoint is reachable from the Guardrails backend. Leave apiKey blank to reuse the saved secret.