Get a site's metric timeseries
GET
Returns the binned time-series for specific metrics across a site (max 20 metrics). Requires an API key with the read action scoped to the site.
Loading code example
Loading code example
Authorizations
apiKeystringheaderrequired
API key passed in the header.
Path Parameters
placeIdstringrequired
The site id.
Query Parameters
metricIdsarray<string>
The metric ids (1–20).
startTimestring<date-time>
Inclusive start (UTC).
endTimestring<date-time>
Exclusive end (UTC).
binUnitstringdefault: h
Bin unit (default h).
Default:
"h"binValueinteger | string<int32>default: 1
Bin size (default 1).
Pattern:
^-?(?:0|[1-9]\d*)$Default:
1Response
application/json
The binned points.