capabilities.work

Format a PromQL query (POST)

One step with Dash0. We can help you get access.

Look something up

Format a PromQL query (POST)

Works with AI assistants

Use Dash0: its Dash0 Prometheus API lets you format a PromQL query (POST) in a single step (POST /api/prometheus/api/v1/format_query). Dash0 also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • Can I send a PromQL expression in a POST body to get it formatted?
  • What does the POST version of PromQL formatting return?
Say it to your AI assistant
  • POST the PromQL query {query} and return its formatted version.
  • Format the PromQL expression in this POST body.
For your developer

POST /api/prometheus/api/v1/format_query in Dash0 Prometheus API. Full spec on APIs.io.