v1
latestSwagger 2.02026-08-04232286653.5 KBObservability
Query timeseries by passing various metric parameters.
get/projects/{project_id}/metrics/timeseries/query-parameters
Path parameters
project_idstring required
Query parameters
metricstring required
Name of the metric to query.
labelstring[]
Labels to filter the metric by. Multiple labels can be provided as comma-separated key=value pairs.
functionstring
Function to use (e.g., rate, avg). Multiple functions are separated by comma and applied in that order
rangestring
Range to use with some functions (e.g., rate).
startstring required
Start timestamp, inclusive.
endstring required
End timestamp, inclusive.
stepstring
Query resolution step width in duration format or float number of seconds.
Response
Example response
{
"data": "{}",
"error": "???",
"errorType": "???",
"status": "success"
}