Run a PromQL instant query
- POST GET /_prometheus/{index}/api/v1/query
- POST GET /_prometheus/api/v1/query
Evaluate a PromQL expression at a single instant and return vector data.
The endpoint mirrors the Prometheus /api/v1/query endpoint.
POST requests carry the parameters as an application/x-www-form-urlencoded body and are accepted only on authenticated TLS connections.
Required privileges
Index
read
Responses
application/json