Ollama
Check Connection
Verifies connectivity to the Ollama server and checks if it’s running
GET
Query Parameters
string
Optional Ollama server URL to check (defaults to http://localhost:11434)
string
Optional API key for authentication (if Ollama server requires it)
Response
boolean
Indicates if the connection check was successful
boolean
Whether connection to Ollama was successful
string
Ollama version if connected
Notes
Use this endpoint to verify Ollama is running before attempting other operations.
- Returns
connected: trueonly if Ollama is running and reachable - The
versionfield shows the Ollama server version - Useful for health checks and setup validation
- Default Ollama URL is
http://localhost:11434

