{
  "components": {
    "schemas": {
      "google.protobuf.Duration": {
        "format": "duration",
        "type": "string"
      },
      "google.protobuf.Timestamp": {
        "example": "2023-01-15T01:30:15.01Z",
        "format": "date-time",
        "type": "string"
      },
      "google.rpc.Code": {
        "enum": [
          "OK",
          "CANCELLED",
          "UNKNOWN",
          "INVALID_ARGUMENT",
          "DEADLINE_EXCEEDED",
          "NOT_FOUND",
          "ALREADY_EXISTS",
          "PERMISSION_DENIED",
          "UNAUTHENTICATED",
          "RESOURCE_EXHAUSTED",
          "FAILED_PRECONDITION",
          "ABORTED",
          "OUT_OF_RANGE",
          "UNIMPLEMENTED",
          "INTERNAL",
          "UNAVAILABLE",
          "DATA_LOSS"
        ],
        "title": "Code",
        "type": "string"
      },
      "observatory.v1.AuditCoverage": {
        "additionalProperties": false,
        "properties": {
          "firstArchivedTime": {
            "$ref": "#/components/schemas/google.protobuf.Timestamp",
            "title": "first_archived_time"
          },
          "gaps": {
            "items": {
              "$ref": "#/components/schemas/observatory.v1.AuditCoverageGap"
            },
            "title": "gaps",
            "type": "array"
          },
          "measuredTime": {
            "$ref": "#/components/schemas/google.protobuf.Timestamp",
            "title": "measured_time"
          },
          "newestArchivedTime": {
            "$ref": "#/components/schemas/google.protobuf.Timestamp",
            "title": "newest_archived_time"
          },
          "settledTime": {
            "$ref": "#/components/schemas/google.protobuf.Timestamp",
            "title": "settled_time"
          },
          "verdict": {
            "$ref": "#/components/schemas/observatory.v1.AuditCoverageVerdict",
            "title": "verdict"
          }
        },
        "title": "AuditCoverage",
        "type": "object"
      },
      "observatory.v1.AuditCoverageGap": {
        "additionalProperties": false,
        "properties": {
          "end": {
            "$ref": "#/components/schemas/google.protobuf.Timestamp",
            "title": "end"
          },
          "start": {
            "$ref": "#/components/schemas/google.protobuf.Timestamp",
            "title": "start"
          }
        },
        "title": "AuditCoverageGap",
        "type": "object"
      },
      "observatory.v1.AuditCoverageVerdict": {
        "enum": [
          "AUDIT_COVERAGE_VERDICT_UNSPECIFIED",
          "AUDIT_COVERAGE_VERDICT_NO_KNOWN_GAPS",
          "AUDIT_COVERAGE_VERDICT_PARTIAL",
          "AUDIT_COVERAGE_VERDICT_NOT_SETTLED",
          "AUDIT_COVERAGE_VERDICT_NOT_ARCHIVED"
        ],
        "title": "AuditCoverageVerdict",
        "type": "string"
      },
      "observatory.v1.AuditOrder": {
        "enum": [
          "AUDIT_ORDER_UNSPECIFIED",
          "AUDIT_ORDER_ASCENDING",
          "AUDIT_ORDER_DESCENDING"
        ],
        "title": "AuditOrder",
        "type": "string"
      },
      "observatory.v1.AuditQueryError": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "$ref": "#/components/schemas/google.rpc.Code",
            "title": "code"
          },
          "message": {
            "title": "message",
            "type": "string"
          }
        },
        "title": "AuditQueryError",
        "type": "object"
      },
      "observatory.v1.AuditQueryState": {
        "enum": [
          "AUDIT_QUERY_STATE_UNSPECIFIED",
          "AUDIT_QUERY_STATE_QUEUED",
          "AUDIT_QUERY_STATE_RUNNING",
          "AUDIT_QUERY_STATE_SUCCEEDED",
          "AUDIT_QUERY_STATE_FAILED",
          "AUDIT_QUERY_STATE_CANCELLED"
        ],
        "title": "AuditQueryState",
        "type": "string"
      },
      "observatory.v1.AuditQueryStatistics": {
        "additionalProperties": false,
        "properties": {
          "bytesScanned": {
            "description": "Bytes of audit log the query scanned, as a decimal string.",
            "format": "int64",
            "title": "bytes_scanned",
            "type": "string"
          },
          "eventCount": {
            "description": "Events in the results. Set once the query has succeeded.",
            "format": "int32",
            "title": "event_count",
            "type": "integer"
          },
          "truncated": {
            "description": "True when more events matched than the results hold. Narrow the time window or the filters.",
            "title": "truncated",
            "type": "boolean"
          }
        },
        "title": "AuditQueryStatistics",
        "type": "object"
      },
      "observatory.v1.CancelAuditQueryResponse": {
        "additionalProperties": false,
        "properties": {
          "state": {
            "$ref": "#/components/schemas/observatory.v1.AuditQueryState",
            "title": "state"
          }
        },
        "title": "CancelAuditQueryResponse",
        "type": "object"
      },
      "observatory.v1.CreateAuditQueryResponse": {
        "additionalProperties": false,
        "properties": {
          "coverage": {
            "$ref": "#/components/schemas/observatory.v1.AuditCoverage",
            "title": "coverage"
          },
          "queryId": {
            "title": "query_id",
            "type": "string"
          },
          "state": {
            "$ref": "#/components/schemas/observatory.v1.AuditQueryState",
            "title": "state"
          }
        },
        "title": "CreateAuditQueryResponse",
        "type": "object"
      },
      "observatory.v1.GetAuditCoverageResponse": {
        "additionalProperties": false,
        "properties": {
          "coverage": {
            "$ref": "#/components/schemas/observatory.v1.AuditCoverage",
            "title": "coverage"
          }
        },
        "title": "GetAuditCoverageResponse",
        "type": "object"
      },
      "observatory.v1.GetAuditQueryResponse": {
        "additionalProperties": false,
        "properties": {
          "coverage": {
            "$ref": "#/components/schemas/observatory.v1.AuditCoverage",
            "title": "coverage"
          },
          "error": {
            "$ref": "#/components/schemas/observatory.v1.AuditQueryError",
            "title": "error"
          },
          "state": {
            "$ref": "#/components/schemas/observatory.v1.AuditQueryState",
            "title": "state"
          },
          "statistics": {
            "$ref": "#/components/schemas/observatory.v1.AuditQueryStatistics",
            "title": "statistics"
          }
        },
        "title": "GetAuditQueryResponse",
        "type": "object"
      },
      "observatory.v1.GetAuditQueryResultsResponse": {
        "additionalProperties": false,
        "properties": {
          "eventsJson": {
            "description": "Audit events, each the base64 of one audit.k8s.io/v1 Event exactly as recorded.",
            "items": {
              "format": "byte",
              "type": "string"
            },
            "title": "events_json",
            "type": "array"
          },
          "nextPageToken": {
            "description": "Pass as pageToken to read the next page. Empty on the last page.",
            "title": "next_page_token",
            "type": "string"
          },
          "truncated": {
            "title": "truncated",
            "type": "boolean"
          }
        },
        "title": "GetAuditQueryResultsResponse",
        "type": "object"
      },
      "observatory.v1.LogsQueryResponse": {
        "additionalProperties": false,
        "properties": {
          "linesJson": {
            "description": "The matching lines, each the base64 of one JSON log record.",
            "items": {
              "format": "byte",
              "type": "string"
            },
            "title": "lines_json",
            "type": "array"
          }
        },
        "title": "LogsQueryResponse",
        "type": "object"
      },
      "observatory.v1.MetricsResult": {
        "additionalProperties": false,
        "properties": {
          "resultJson": {
            "description": "Base64 of the Prometheus data.result JSON.",
            "format": "byte",
            "title": "result_json",
            "type": "string"
          },
          "resultType": {
            "description": "vector, matrix, scalar or string, as in Prometheus.",
            "title": "result_type",
            "type": "string"
          }
        },
        "title": "MetricsResult",
        "type": "object"
      },
      "observatory.v1.QueryRangeResponse": {
        "additionalProperties": false,
        "properties": {
          "result": {
            "$ref": "#/components/schemas/observatory.v1.MetricsResult",
            "title": "result"
          }
        },
        "title": "QueryRangeResponse",
        "type": "object"
      },
      "observatory.v1.QueryResponse": {
        "additionalProperties": false,
        "properties": {
          "result": {
            "$ref": "#/components/schemas/observatory.v1.MetricsResult",
            "title": "result"
          }
        },
        "title": "QueryResponse",
        "type": "object"
      },
      "observatory.v1.ResolveClustersResponse": {
        "additionalProperties": false,
        "properties": {
          "clusters": {
            "items": {
              "$ref": "#/components/schemas/observatory.v1.ResolvedCluster"
            },
            "title": "clusters",
            "type": "array"
          }
        },
        "title": "ResolveClustersResponse",
        "type": "object"
      },
      "observatory.v1.ResolvedCluster": {
        "additionalProperties": false,
        "properties": {
          "clusterId": {
            "title": "cluster_id",
            "type": "string"
          },
          "endpoint": {
            "description": "Base URL of that region's endpoint. Send this cluster's queries there.",
            "title": "endpoint",
            "type": "string"
          },
          "logsReady": {
            "description": "Whether the cluster's logs can be queried yet.",
            "title": "logs_ready",
            "type": "boolean"
          },
          "metricsReady": {
            "description": "Whether the cluster's metrics can be queried yet.",
            "title": "metrics_ready",
            "type": "boolean"
          },
          "site": {
            "description": "The region that serves the cluster's metrics and logs.",
            "title": "site",
            "type": "string"
          }
        },
        "title": "ResolvedCluster",
        "type": "object"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "bearerFormat": "JWT",
        "description": "Access token for the audience https://observatory.voltagepark.com.",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "Metrics, logs and Kubernetes audit queries over Voltage Park managed clusters. The org is the one on the access token.",
    "title": "Observatory API",
    "version": "v1"
  },
  "openapi": "3.0.3",
  "paths": {
    "/v1/clusters": {
      "get": {
        "description": "Lists the clusters your organization owns, the regional endpoint that serves each one, and whether its metrics and logs can be queried yet.",
        "operationId": "resolveClusters",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/observatory.v1.ResolveClustersResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List your clusters",
        "tags": [
          "Clusters"
        ],
        "x-vp-service": "observatory"
      }
    },
    "/v1/clusters/{cluster_id}/audit/coverage": {
      "get": {
        "description": "Reports the time span the cluster's Kubernetes audit log covers, and any known gaps in it.",
        "operationId": "getAuditCoverage",
        "parameters": [
          {
            "description": "A cluster your organization owns.",
            "in": "path",
            "name": "cluster_id",
            "required": true,
            "schema": {
              "title": "cluster_id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/observatory.v1.GetAuditCoverageResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Get audit log coverage",
        "tags": [
          "Kubernetes Audit"
        ],
        "x-vp-service": "observatory"
      }
    },
    "/v1/clusters/{cluster_id}/audit/queries": {
      "post": {
        "description": "Starts a query over the cluster's Kubernetes audit log. Queries run asynchronously: poll getAuditQuery until the query has finished, then page through its events with getAuditQueryResults. Sending the same requestId again returns the same query.",
        "operationId": "createAuditQuery",
        "parameters": [
          {
            "description": "A cluster your organization owns.",
            "in": "path",
            "name": "cluster_id",
            "required": true,
            "schema": {
              "title": "cluster_id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "apiGroups": {
                    "items": {
                      "type": "string"
                    },
                    "title": "api_groups",
                    "type": "array"
                  },
                  "auditIds": {
                    "items": {
                      "type": "string"
                    },
                    "title": "audit_ids",
                    "type": "array"
                  },
                  "end": {
                    "$ref": "#/components/schemas/google.protobuf.Timestamp",
                    "description": "End of the time window. Required.",
                    "title": "end"
                  },
                  "names": {
                    "description": "Keep only events on objects with one of these names.",
                    "items": {
                      "type": "string"
                    },
                    "title": "names",
                    "type": "array"
                  },
                  "namespaces": {
                    "description": "Keep only events in one of these namespaces.",
                    "items": {
                      "type": "string"
                    },
                    "title": "namespaces",
                    "type": "array"
                  },
                  "order": {
                    "$ref": "#/components/schemas/observatory.v1.AuditOrder",
                    "title": "order"
                  },
                  "requestId": {
                    "description": "Identifies this request. Retrying with the same requestId returns the same query rather than starting another. A new one is generated when omitted.",
                    "title": "request_id",
                    "type": "string"
                  },
                  "resources": {
                    "description": "Keep only events on one of these resources, for example \"deployments\".",
                    "items": {
                      "type": "string"
                    },
                    "title": "resources",
                    "type": "array"
                  },
                  "responseCodes": {
                    "items": {
                      "format": "int32",
                      "type": "integer"
                    },
                    "title": "response_codes",
                    "type": "array"
                  },
                  "sourceIps": {
                    "items": {
                      "type": "string"
                    },
                    "title": "source_ips",
                    "type": "array"
                  },
                  "stages": {
                    "items": {
                      "type": "string"
                    },
                    "title": "stages",
                    "type": "array"
                  },
                  "start": {
                    "$ref": "#/components/schemas/google.protobuf.Timestamp",
                    "description": "Start of the time window. Required.",
                    "title": "start"
                  },
                  "usernames": {
                    "description": "Keep only events by one of these users.",
                    "items": {
                      "type": "string"
                    },
                    "title": "usernames",
                    "type": "array"
                  },
                  "verbs": {
                    "description": "Keep only events with one of these verbs, for example \"delete\".",
                    "items": {
                      "type": "string"
                    },
                    "title": "verbs",
                    "type": "array"
                  }
                },
                "title": "CreateAuditQueryRequest",
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/observatory.v1.CreateAuditQueryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Start an audit log query",
        "tags": [
          "Kubernetes Audit"
        ],
        "x-vp-service": "observatory"
      }
    },
    "/v1/clusters/{cluster_id}/audit/queries/{query_id}": {
      "get": {
        "description": "Returns the query's state, statistics and coverage.",
        "operationId": "getAuditQuery",
        "parameters": [
          {
            "description": "A cluster your organization owns.",
            "in": "path",
            "name": "cluster_id",
            "required": true,
            "schema": {
              "title": "cluster_id",
              "type": "string"
            }
          },
          {
            "description": "The queryId that createAuditQuery returned.",
            "in": "path",
            "name": "query_id",
            "required": true,
            "schema": {
              "title": "query_id",
              "type": "string"
            }
          },
          {
            "description": "Seconds to wait for the query to change state before answering, up to 20.",
            "in": "query",
            "name": "waitSeconds",
            "schema": {
              "format": "int32",
              "title": "wait_seconds",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/observatory.v1.GetAuditQueryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Get an audit log query",
        "tags": [
          "Kubernetes Audit"
        ],
        "x-vp-service": "observatory"
      }
    },
    "/v1/clusters/{cluster_id}/audit/queries/{query_id}/cancel": {
      "post": {
        "description": "Stops a queued or running query.",
        "operationId": "cancelAuditQuery",
        "parameters": [
          {
            "description": "A cluster your organization owns.",
            "in": "path",
            "name": "cluster_id",
            "required": true,
            "schema": {
              "title": "cluster_id",
              "type": "string"
            }
          },
          {
            "description": "The queryId that createAuditQuery returned.",
            "in": "path",
            "name": "query_id",
            "required": true,
            "schema": {
              "title": "query_id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/observatory.v1.CancelAuditQueryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Cancel an audit log query",
        "tags": [
          "Kubernetes Audit"
        ],
        "x-vp-service": "observatory"
      }
    },
    "/v1/clusters/{cluster_id}/audit/queries/{query_id}/results": {
      "get": {
        "description": "Pages through the events of a query that has succeeded. Results stay readable for 24 hours.",
        "operationId": "getAuditQueryResults",
        "parameters": [
          {
            "description": "A cluster your organization owns.",
            "in": "path",
            "name": "cluster_id",
            "required": true,
            "schema": {
              "title": "cluster_id",
              "type": "string"
            }
          },
          {
            "description": "The queryId that createAuditQuery returned.",
            "in": "path",
            "name": "query_id",
            "required": true,
            "schema": {
              "title": "query_id",
              "type": "string"
            }
          },
          {
            "description": "Events per page, up to 1000. Defaults to 500.",
            "in": "query",
            "name": "pageSize",
            "schema": {
              "format": "int32",
              "title": "page_size",
              "type": "integer"
            }
          },
          {
            "description": "The nextPageToken of the previous page. Omit it for the first page.",
            "in": "query",
            "name": "pageToken",
            "schema": {
              "title": "page_token",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/observatory.v1.GetAuditQueryResultsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Read audit log query results",
        "tags": [
          "Kubernetes Audit"
        ],
        "x-vp-service": "observatory"
      }
    },
    "/v1/clusters/{cluster_id}/logs/query": {
      "post": {
        "description": "Runs a LogsQL query over one cluster's logs and returns the matching lines.",
        "operationId": "queryLogs",
        "parameters": [
          {
            "description": "A cluster your organization owns.",
            "in": "path",
            "name": "cluster_id",
            "required": true,
            "schema": {
              "title": "cluster_id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "end": {
                    "$ref": "#/components/schemas/google.protobuf.Timestamp",
                    "description": "End of the time range.",
                    "title": "end"
                  },
                  "limit": {
                    "description": "Maximum number of lines to return.",
                    "format": "int32",
                    "title": "limit",
                    "type": "integer"
                  },
                  "query": {
                    "description": "LogsQL, evaluated as sent.",
                    "title": "query",
                    "type": "string"
                  },
                  "start": {
                    "$ref": "#/components/schemas/google.protobuf.Timestamp",
                    "description": "Start of the time range.",
                    "title": "start"
                  }
                },
                "title": "LogsQueryRequest",
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/observatory.v1.LogsQueryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Query logs",
        "tags": [
          "Logs"
        ],
        "x-vp-service": "observatory"
      }
    },
    "/v1/clusters/{cluster_id}/query": {
      "post": {
        "description": "Evaluates a PromQL query over one cluster's metrics at a single point in time. The result is in Prometheus format.",
        "operationId": "queryMetrics",
        "parameters": [
          {
            "description": "A cluster your organization owns.",
            "in": "path",
            "name": "cluster_id",
            "required": true,
            "schema": {
              "title": "cluster_id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "query": {
                    "description": "PromQL, evaluated as sent.",
                    "title": "query",
                    "type": "string"
                  },
                  "time": {
                    "$ref": "#/components/schemas/google.protobuf.Timestamp",
                    "description": "Evaluation time. Defaults to now.",
                    "title": "time"
                  }
                },
                "title": "QueryRequest",
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/observatory.v1.QueryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Run an instant PromQL query",
        "tags": [
          "Metrics"
        ],
        "x-vp-service": "observatory"
      }
    },
    "/v1/clusters/{cluster_id}/query_range": {
      "post": {
        "description": "Evaluates a PromQL query over one cluster's metrics across a time range, at a fixed step. The result is in Prometheus format.",
        "operationId": "queryMetricsRange",
        "parameters": [
          {
            "description": "A cluster your organization owns.",
            "in": "path",
            "name": "cluster_id",
            "required": true,
            "schema": {
              "title": "cluster_id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "end": {
                    "$ref": "#/components/schemas/google.protobuf.Timestamp",
                    "description": "End of the range.",
                    "title": "end"
                  },
                  "query": {
                    "description": "PromQL, evaluated as sent.",
                    "title": "query",
                    "type": "string"
                  },
                  "start": {
                    "$ref": "#/components/schemas/google.protobuf.Timestamp",
                    "description": "Start of the range.",
                    "title": "start"
                  },
                  "step": {
                    "$ref": "#/components/schemas/google.protobuf.Duration",
                    "description": "Resolution step, for example \"60s\".",
                    "title": "step"
                  }
                },
                "title": "QueryRangeRequest",
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/observatory.v1.QueryRangeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Run a range PromQL query",
        "tags": [
          "Metrics"
        ],
        "x-vp-service": "observatory"
      }
    },
    "/v1/query": {
      "post": {
        "description": "Evaluates a PromQL query over all of your organization's metrics, including metrics not tied to a single cluster, at a single point in time. The result is in Prometheus format.",
        "operationId": "queryOrgMetrics",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "query": {
                    "description": "PromQL, evaluated as sent.",
                    "title": "query",
                    "type": "string"
                  },
                  "time": {
                    "$ref": "#/components/schemas/google.protobuf.Timestamp",
                    "description": "Evaluation time. Defaults to now.",
                    "title": "time"
                  }
                },
                "title": "QueryRequest",
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/observatory.v1.QueryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Run an instant PromQL query across your organization",
        "tags": [
          "Metrics"
        ],
        "x-vp-service": "observatory"
      }
    },
    "/v1/query_range": {
      "post": {
        "description": "Evaluates a PromQL query over all of your organization's metrics across a time range, at a fixed step. The result is in Prometheus format.",
        "operationId": "queryOrgMetricsRange",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "end": {
                    "$ref": "#/components/schemas/google.protobuf.Timestamp",
                    "description": "End of the range.",
                    "title": "end"
                  },
                  "query": {
                    "description": "PromQL, evaluated as sent.",
                    "title": "query",
                    "type": "string"
                  },
                  "start": {
                    "$ref": "#/components/schemas/google.protobuf.Timestamp",
                    "description": "Start of the range.",
                    "title": "start"
                  },
                  "step": {
                    "$ref": "#/components/schemas/google.protobuf.Duration",
                    "description": "Resolution step, for example \"60s\".",
                    "title": "step"
                  }
                },
                "title": "QueryRangeRequest",
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/observatory.v1.QueryRangeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Run a range PromQL query across your organization",
        "tags": [
          "Metrics"
        ],
        "x-vp-service": "observatory"
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "servers": [
    {
      "description": "Observatory gateway. A cluster's home regional gateway is reported by resolveClusters.",
      "url": "https://observatory.voltagepark.com"
    }
  ],
  "tags": [
    {
      "description": "Your organization's clusters, and the regional endpoint that serves each one.",
      "name": "Clusters"
    },
    {
      "description": "PromQL queries over a cluster's metrics.",
      "name": "Metrics"
    },
    {
      "description": "LogsQL queries over a cluster's logs.",
      "name": "Logs"
    },
    {
      "description": "Queries over a cluster's Kubernetes audit log.",
      "name": "Kubernetes Audit"
    }
  ]
}
