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

Thanos Metadata API

The Metadata API from Thanos — 3 operation(s) for metadata.

Thanos Metadata API is one of 10 APIs that Thanos publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Metadata. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, and 2 JSON Schemas.

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

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

3 operations 3 paths 4 schemas 3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
0.35.0
Base URL
http://localhost:9090
License
Resource Areas
1

Paths & Operations 3

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

Metadata 3
GET
/api/v1/series
Find Series by Label Matchers
getSeries 5 params → 200400
GET
/api/v1/labels
Get Label Names
getLabels 4 params → 200400
GET
/api/v1/label/{label_name}/values
Get Label Values
getLabelValues 5 params → 200400

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are ErrorResponse (4 properties), LabelValuesResponse (3 properties), LabelsResponse (3 properties), SeriesResponse (3 properties). Each schema is shown below with its type and property counts.

SeriesResponse
object
3 properties 2 required
ErrorResponse
object
4 properties 3 required
LabelsResponse
object
3 properties 2 required
LabelValuesResponse
object
3 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

thanos-metadata-api-openapi.yml Raw ↑

Other APIs Thanos publishes across the network.

Thanos Alerts API
Thanos Blocks API
Thanos Health API
Thanos Metrics API
Thanos Query API
Thanos Remote Write API
Thanos Rules API
Thanos Stores API
Thanos Targets API