Prometheus API
Evaluates and returns a formatted version of the query
post
/api/prometheus/api/v1/format_querybash
Sample request123456curl --request POST 'https://api.eu-west-1.aws.dash0.com/api/prometheus/api/v1/format_query' \--header "Authorization: Bearer ${DASH0_AUTH_TOKEN}" \--header 'Content-Type: application/json' \--data-raw '{"query": "up"}'
Request body required
References PrometheusFormatQueryRequest
stringrequired
Responses
Evaluated and formatted query.
References PrometheusFormatQueryResponse
stringrequired
string
string[]