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. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: AI Gateway MCP Server Metrics API
description: Universal MCP Gateway with OAuth integration - Modern Architecture
version: 2.0.3290
tags:
- name: Metrics
paths:
/metrics:
get:
summary: Get Prometheus Metrics
description: 'FastAPI endpoint to serve Prometheus metrics.
SECURITY: when ``METRICS_BEARER_TOKEN`` is configured, requests must
present a matching ``Authorization: Bearer `` header to read
the metrics. Operators who scrape from a trusted internal network
(the Phase-6 default) can leave the env unset and the endpoint
stays open as before — but any internet-reachable deployment should
set it to defeat unauthenticated reconnaissance (the metrics expose
per-endpoint latency, error rates, build version, and
connected-service counters, all of which are reconnaissance fodder
for a targeted attack).'
operationId: get_prometheus_metrics_metrics_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Metrics