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 Alerts API

Endpoints for querying currently active alerts.

Thanos Alerts 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 Alerts. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, and 2 JSON Schemas.

This API exposes 1 operation across 1 path, and defines 2 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.

1 operations 1 paths 2 schemas 1 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 1

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

Alerts 1

Endpoints for querying currently active alerts.

GET
/api/v1/alerts
Thanos List Active Alerts
getRulerAlerts → 200

Schemas 2

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

AlertsResponse
object
Response containing currently active alerts.
2 properties
Alert
object
An active alert instance produced by an alerting rule.
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

thanos-alerts-api-openapi.yml Raw ↑

Other APIs Thanos publishes across the network.

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