Skip to main content
POST
/
prometheus
/
api
/
v1
/
query_range
Prometheus range query (POST)
curl --request POST \
  --url http://aris.local/prometheus/api/v1/query_range \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'query=<string>' \
  --data 'start=<string>' \
  --data 'end=<string>' \
  --data 'step=<string>'
{}

Authorizations

Authorization
string
header
required

API token only (for external integrations)

Body

application/x-www-form-urlencoded
query
string
start
string
end
string
step
string

Response

Query result

The response is of type object.