Test AI provider connection
AI
Test AI provider connection
Validates the connection to an AI provider by sending a simple test prompt. Requires the provider type, model name, API key, and an optional base URL. Supported providers: OpenAI, Anthropic, Google Gemini, Ollama, OpenRouter, and Vercel AI Gateway. Requires authentication.
POST
Test AI provider connection
Authorizations
The API key to authenticate requests.
Body
application/json
Response
The AI provider connection was successful.
The response is of type any.