{
  "opencollection": "1.0.0",
  "info": {
    "name": "Thanos Compact Alerts Query API",
    "version": "0.35.0"
  },
  "items": [
    {
      "info": {
        "name": "Query",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Evaluate an Instant Query",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:10902/api/v1/query",
            "params": [
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "PromQL query expression"
              },
              {
                "name": "time",
                "value": "",
                "type": "query",
                "description": "Evaluation timestamp in RFC3339 or Unix timestamp format. Defaults to current server time."
              },
              {
                "name": "timeout",
                "value": "",
                "type": "query",
                "description": "Evaluation timeout. Defaults to server-configured timeout."
              },
              {
                "name": "dedup",
                "value": "",
                "type": "query",
                "description": "If true, enables deduplication of time series from replicated Prometheus instances. Defaults to true."
              },
              {
                "name": "partial_response",
                "value": "",
                "type": "query",
                "description": "If true, enables partial response. If a store is unavailable, partial data will be returned with a warning instead of failing the query."
              },
              {
                "name": "max_source_resolution",
                "value": "",
                "type": "query",
                "description": "Maximum source resolution to use for the query. Can be 0s, 5m, or 1h. Selects the appropriate downsampled data when available."
              },
              {
                "name": "engine",
                "value": "",
                "type": "query",
                "description": "Query engine to use. Thanos supports the default Prometheus engine and the Thanos engine for distributed execution."
              }
            ]
          },
          "docs": "Evaluates a PromQL expression at a single point in time. Supports deduplication and partial response controls specific to Thanos."
        },
        {
          "info": {
            "name": "Evaluate an Instant Query (POST)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:10902/api/v1/query",
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "query",
                  "value": ""
                },
                {
                  "name": "time",
                  "value": ""
                },
                {
                  "name": "timeout",
                  "value": ""
                },
                {
                  "name": "dedup",
                  "value": ""
                },
                {
                  "name": "partial_response",
                  "value": ""
                },
                {
                  "name": "max_source_resolution",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Evaluates a PromQL expression at a single point in time using POST body encoding for large queries."
        },
        {
          "info": {
            "name": "Evaluate a Range Query",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:10902/api/v1/query_range",
            "params": [
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "PromQL query expression"
              },
              {
                "name": "start",
                "value": "",
                "type": "query",
                "description": "Start timestamp in RFC3339 or Unix timestamp format"
              },
              {
                "name": "end",
                "value": "",
                "type": "query",
                "description": "End timestamp in RFC3339 or Unix timestamp format"
              },
              {
                "name": "step",
                "value": "",
                "type": "query",
                "description": "Query resolution step width as duration or float seconds"
              },
              {
                "name": "timeout",
                "value": "",
                "type": "query",
                "description": "Evaluation timeout"
              },
              {
                "name": "dedup",
                "value": "",
                "type": "query",
                "description": "If true, enables deduplication of time series from replicated Prometheus instances. Defaults to true."
              },
              {
                "name": "partial_response",
                "value": "",
                "type": "query",
                "description": "If true, enables partial response. If a store is unavailable, partial data will be returned with a warning instead of failing the query."
              },
              {
                "name": "max_source_resolution",
                "value": "",
                "type": "query",
                "description": "Maximum source resolution to use for the query. Can be 0s, 5m, or 1h. Selects the appropriate downsampled data when available."
              },
              {
                "name": "engine",
                "value": "",
                "type": "query",
                "description": "Query engine to use. Thanos supports the default Prometheus engine and the Thanos engine for distributed execution."
              }
            ]
          },
          "docs": "Evaluates a PromQL expression over a range of time with a specified step interval. Returns a matrix of time series values."
        },
        {
          "info": {
            "name": "Evaluate a Range Query (POST)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:10902/api/v1/query_range",
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "query",
                  "value": ""
                },
                {
                  "name": "start",
                  "value": ""
                },
                {
                  "name": "end",
                  "value": ""
                },
                {
                  "name": "step",
                  "value": ""
                },
                {
                  "name": "timeout",
                  "value": ""
                },
                {
                  "name": "dedup",
                  "value": ""
                },
                {
                  "name": "partial_response",
                  "value": ""
                },
                {
                  "name": "max_source_resolution",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Evaluates a PromQL range query using POST body encoding for large queries."
        }
      ]
    }
  ],
  "bundled": true
}