---
title: "POST /v1/metrics/query"
method: POST
path: "/v1/metrics/query"
tags: ["Status Metrics"]
---

# POST /v1/metrics/query

`POST /v1/metrics/query`

## Request

- Base URL: `https://docs.grepr.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.grepr.ai/v1/metrics/query`
- Auth: one of:
  - API key in header `GREPR-API-KEY`
  - OpenID Connect (`https://grepr-prod.us.auth0.com/.well-known/openid-configuration`)

## Request body `application/x-www-form-urlencoded`

- object
  - `query` string
  - `time` number, double
  - `timeout` string

## Response `default`

default response

- QueryResult
  - `data` Data
    - `resultType` string, required
  - `error` string
  - `errorType` string
  - `status` string

---

[API](https://skmtc.dev/grepr/apis/grepr-api.md) - [All operations](https://skmtc.dev/grepr/apis/grepr-api/llms.txt) - [OpenAPI document](https://skmtc.dev/grepr/apis/grepr-api/revisions/2a5ce03a0bf0?raw)
