Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Envoy Statistics API

Statistics, metrics, and Prometheus endpoints

Envoy Statistics API is one of 15 APIs that Envoy publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Statistics. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, a GitHub repository, and a changelog.

This API exposes 4 operations across 4 paths, and defines 2 schemas. It is described by OpenAPI 3.1.0, at version 1.31.0.

Requests are made against a single base URL, http://localhost:9901.

4 operations 4 paths 2 schemas 3 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.31.0
Server
http://localhost:9901
Terms of Service
Resource Areas
1

Paths & Operations 4

Across 4 paths, the API surfaces 4 operations — 3 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Statistics 4

Statistics, metrics, and Prometheus endpoints

GET
/stats
Get Envoy statistics
getStats 4 params → 200
GET
/stats/prometheus
Envoy Get statistics in Prometheus format
getStatsPrometheus 2 params → 200
GET
/stats/recentlookups
Envoy Get recently looked-up stat names
getRecentLookups → 200
POST
/reset_counters
Envoy Reset all statistics counters
resetCounters → 200

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are StatsResponse_2 (1 property), StatsResponse (1 property). Each schema is shown below with its type and property counts.

StatsResponse
object
Envoy statistics as structured JSON
1 property
StatsResponse_2
object
Envoy statistics
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

envoy-statistics-api-openapi.yml Raw ↑

Other APIs Envoy publishes across the network.

Envoy xDS APIs
Envoy API V3
Envoy Gateway API
Envoy Certificates API
Envoy Chat API
Envoy Clusters API
Envoy Configuration API
Envoy Health API
Envoy Listeners API
Envoy Logging API
Envoy Models API
Envoy Runtime API