Thanos Health API

Liveness and readiness probes for the Compactor.

Operations 2

GET /-/healthy Thanos Liveness Check #
GET /-/ready Thanos Readiness 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/thanos-health-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

thanos-health-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Thanos Health API
  version: 0.35.0
  contact:
    name: Thanos Community
    url: https://thanos.io/
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  description: 'Operations tagged Health across 3 of this provider''s published API definitions: thanos-compact-openapi.yml, thanos-receive-openapi.yml, thanos-ruler-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:10902
  description: Default Thanos Compact HTTP endpoint
tags:
- name: Health
  description: Liveness and readiness probes for the Compactor.
paths:
  /-/healthy:
    get:
      operationId: getCompactHealthy
      summary: Thanos Liveness Check
      description: Returns HTTP 200 if the Compactor process is alive and running. Used as a liveness probe in Kubernetes deployments.
      tags:
      - Health
      responses:
        '200':
          description: Compactor is healthy
          content:
            text/plain:
              schema:
                type: string
                example: Thanos Compact is Healthy.
    servers:
    - url: http://localhost:10902
      description: Default Thanos Compact HTTP endpoint
  /-/ready:
    get:
      operationId: getCompactReady
      summary: Thanos Readiness Check
      description: Returns HTTP 200 when the Compactor is ready. The Compactor runs as a long-lived process and this endpoint signals it has started and is actively compacting blocks.
      tags:
      - Health
      responses:
        '200':
          description: Compactor is ready
          content:
            text/plain:
              schema:
                type: string
                example: Thanos Compact is Ready.
        '503':
          description: Compactor is not yet ready
          content:
            text/plain:
              schema:
                type: string
    servers:
    - url: http://localhost:10902
      description: Default Thanos Compact HTTP endpoint
x-refined-from:
- thanos-compact-openapi.yml
- thanos-receive-openapi.yml
- thanos-ruler-openapi.yml