Observability
Query timeseries over a time range via PromQL.
get/projects/{project_id}/metrics/timeseries/api/v1/query-range
Request
- Base URLhttps://api.cloud.crusoe.ai/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
project_idstring required
Query parameters
querystring required
Prometheus expression query string.
startstring required
Start timestamp, inclusive.
endstring required
End timestamp, inclusive.
stepstring required
Query resolution step width in duration format or float number of seconds.
timeoutstring
Evaluation timeout. Defaults to and is capped by the value of the -query.timeout flag.
limitstring
Maximum number of returned series. 0 means disabled.
Response
Example response
{
"data": "{}",
"error": "???",
"errorType": "???",
"status": "success"
}Changes
No recorded changes to this operation across all 1 revision of this API.