Health check
LLM Gateway health check endpoint to verify the API is reachable and returning a 200 response.
Health check endpoint.
Query Parameters
skip?string
Comma-separated list of health checks to skip. Options: redis, database
Response Body
application/json
application/json
curl -X GET "https://api.llmgateway.io"{
"message": "string",
"version": "string",
"health": {
"status": "string",
"redis": {
"connected": true,
"error": "string"
},
"database": {
"connected": true,
"error": "string"
}
}
}{
"message": "string",
"version": "string",
"health": {
"status": "string",
"redis": {
"connected": true,
"error": "string"
},
"database": {
"connected": true,
"error": "string"
}
}
}How is this guide?
Last updated on
Migrate from Vercel AI Gateway
Keep your Vercel AI SDK code, add response caching, detailed analytics, and smart routing. One provider for all models.
Chat Completions POST
Create OpenAI-compatible chat completions through LLM Gateway. Route requests to any supported model across OpenAI, Anthropic, Google, and 20+ providers.