{
  "opencollection": "1.0.0",
  "info": {
    "name": "Thanos Compact API",
    "version": "0.35.0"
  },
  "items": [
    {
      "info": {
        "name": "Health",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Thanos Liveness Check",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:10902/-/healthy"
          },
          "docs": "Returns HTTP 200 if the Compactor process is alive and running. Used as a liveness probe in Kubernetes deployments."
        },
        {
          "info": {
            "name": "Thanos Readiness Check",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:10902/-/ready"
          },
          "docs": "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."
        }
      ]
    },
    {
      "info": {
        "name": "Metrics",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Thanos Prometheus Metrics",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:10902/metrics"
          },
          "docs": "Exposes internal Compactor metrics in Prometheus text exposition format. Includes metrics for compaction duration, block counts by resolution, retention enforcement operations, downsampling progress, and object storage operation rates."
        }
      ]
    },
    {
      "info": {
        "name": "Blocks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Thanos List Blocks in Object Storage",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:10902/api/v1/blocks",
            "params": [
              {
                "name": "view",
                "value": "",
                "type": "query",
                "description": "Specifies which blocks to include in the response. Use 'all' to see all tracked blocks, or filter by compaction state."
              }
            ]
          },
          "docs": "Returns metadata for all TSDB blocks in the configured object storage bucket as seen by the Compactor. Useful for monitoring compaction progress, checking downsampling status, and verifying retention policy enforcement."
        }
      ]
    }
  ],
  "bundled": true
}