Skip to main content
GET
Get Devices Battery Telemetry Current

Authorizations

x-api-key
string
header
required

API Key authentication. Enter your API key in the format: YOUR_API_KEY

Query Parameters

limit
integer
default:1000

The maximum number of items to return per page of results.

This should be used together with the next_token parameter, or the offset parameter where the endpoint offers it, to paginate through results.

Read the pagination parameter documentation for more details.

Required range: 1 <= x <= 1000
next_token
string | null

The next_token is a token used to retrieve the next page of results when there are more results than can fit in a single page(=API response).

By default, the API will return a next_token of the first page if no token was given as a parameter.

If the token is null you have reached the end of the results.

This should be used together with the limit parameter to paginate through results.

To get all results of your call, you can keep calling the same API call with the previously returned next_token until it returns null.

Pass the next_token back unchanged. A token that was altered or not issued by the API returns 400.

offset
integer | null

The number of items to skip before the first item of the page. Defaults to 0.

Use it together with the limit parameter to fetch a specific page, for example limit=100&offset=200 returns items 201 to 300.

Use either offset or next_token, not both. Sending both returns 400.

Required range: x >= 0
device_id
string | null

Battery device ID to get data of. If None, all batteries are included.

Response

Successful response

data
BatteryTelemetryCurrent · object[] | null

List of battery telemetry

meta
BatteryTelemetryCurrentMeta · object | null

Response metadata