---
search:
  tags:
    - metrics
    - POST
seo:
  description: >-
    Execute PromQL instant query. Reference for the POST /api/v1/promql/query
    endpoint in the TimescaleDB Enterprise API.
sidebar:
  label: Run a PromQL instant query
  badge: POST
title: Run a PromQL instant query
type: openapi-operation
---
Execute PromQL instant query.

`POST /api/v1/promql/query`

**Request body** (`application/json`, required)

- `query` (string, required)
- `time` (string)

Request body example:

```json
{
  "query": "string",
  "time": "string"
}
```

**Responses**

- `200` — OK
- `default` — Error
