List metric measures

Returns all measures of a single metric from a battery over a period of time.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

This endpoint receives a metric and some time ranges and grouping, and returns a list of aggregated data points. This allows for the creation of charts, as well as obtaining the historical data for analytical purposes.

6 months of data for the core temperature of a single battery

Query Params
string
required

ID of battery to return

enum
required

Battery metric to return

Allowed:
date-time

Start date time of the history (format ISO 8601)

date-time

Last date time of the history (format ISO 8601). Defaults to today.

int64

Number of past days to return, only used if fromDate and toDate are not provided

string
enum

Binning of the data. It affects how the data will be grouped when returned. Defaults to DAY.

Allowed:
Responses

400

Invalid ID supplied

404

Battery not found

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json