Query Project Metrics
Query Project Metrics
Query recent Prometheus-compatible metrics for a project. Results are project-scoped server-side. Raw PromQL is not accepted.
POST
Query Project Metrics
Authorizations
Use a JWT bearer token or a Veryfront API key in the Authorization header.
Path Parameters
Project slug or UUID. The resolved project is used to scope all metric reads server-side.
Body
application/json
Prometheus metric name. Raw PromQL is not accepted.
Required string length:
1 - 200Start time (ISO 8601). Defaults to 1 hour ago.
End time (ISO 8601). Defaults to now.
Prometheus query step, for example 60s.
Required string length:
1 - 20Aggregation to apply to the project-scoped metric selector.
Available options:
none, sum, avg, min, max, count Optional allowlisted label filters such as service_name or status_code.