GET /api/version
Retrieve the current version of the Ollama API Proxy. This endpoint is useful for health checks and version verification.Request
This endpoint accepts no parameters. Simply send a GET request:Response
The current version of the Ollama API Proxy.
Example
Version Format
The version string follows a semantic versioning format with an optional suffix:- Major.Minor.Patch: Standard semantic versioning (e.g.,
1.0.1) - Suffix: Optional letter suffix for extended releases (e.g.,
ein1.0.1e)
Use Cases
Health Check
Use this endpoint to verify that the proxy is running and responsive:Version Verification
Check the proxy version programmatically:Integration Testing
Verify the proxy is available before running tests:Implementation Details
The endpoint implementation (from src/index.js:493):This endpoint always returns a 200 status code with the version information. It does not check provider availability or authentication.
