LLM Gateway LLM Gateway API

The LLM Gateway API API from LLM Gateway — 1 operation(s) for llm gateway api.

Operations 1

GET / Health check #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/llmgateway-io:llmgateway-io-llm-gateway-api-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

llmgateway-io-llm-gateway-api-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.0
  title: LLM Gateway API
  description: 'OpenAI-compatible LLM gateway: chat completions, embeddings, images, audio, video, moderation, OCR, rerank, web search and typed decisions across providers with one API key.'
servers:
- url: https://api.llmgateway.io
- url: http://localhost:4001
tags:
- name: LLM Gateway API
paths:
  /:
    get:
      summary: Health check
      description: Health check endpoint.
      operationId: health
      parameters:
      - schema:
          type: string
          description: 'Comma-separated list of health checks to skip. Options: redis, database'
          example: redis,database
        required: false
        name: skip
        in: query
      responses:
        '200':
          description: Health check response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  version:
                    type: string
                  clientIp:
                    type:
                    - string
                    - 'null'
                  clientIpHeader:
                    type: string
                  health:
                    type: object
                    properties:
                      status:
                        type: string
                      redis:
                        type: object
                        properties:
                          connected:
                            type: boolean
                          error:
                            type: string
                        required:
                        - connected
                      database:
                        type: object
                        properties:
                          connected:
                            type: boolean
                          error:
                            type: string
                        required:
                        - connected
                    required:
                    - status
                    - redis
                    - database
                required:
                - message
                - version
                - clientIp
                - clientIpHeader
                - health
        '503':
          description: Service unavailable - Redis or database connection failed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  version:
                    type: string
                  clientIp:
                    type:
                    - string
                    - 'null'
                  clientIpHeader:
                    type: string
                  health:
                    type: object
                    properties:
                      status:
                        type: string
                      redis:
                        type: object
                        properties:
                          connected:
                            type: boolean
                          error:
                            type: string
                        required:
                        - connected
                      database:
                        type: object
                        properties:
                          connected:
                            type: boolean
                          error:
                            type: string
                        required:
                        - connected
                    required:
                    - status
                    - redis
                    - database
                required:
                - message
                - version
                - clientIp
                - clientIpHeader
                - health
      tags:
      - LLM Gateway API
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Bearer token authentication using API keys
externalDocs:
  url: https://docs.llmgateway.io
  description: LLMGateway Documentation