Ollama
Test connection to Ollama instance
Validates that the provided Ollama URL is reachable. URL may be provided with or without /v1 suffix (e.g., http://localhost:11434 or http://localhost:11434/v1). The /v1 suffix will be automatically removed for connection testing. For inference, use the URL with /v1 suffix.
post/v1/private/ollama/test-connection
Request
- Base URLhttp://localhost:5173/api
- URLhttp://localhost:5173/api/v1/private/ollama/test-connection
- Authnone declared
Request body
Example request
{
"base_url": "http://localhost:11434/v1"
}Response
Connection test successful
Changes
No recorded changes to this operation across all 82 revisions of this API.