Skip to main content

V5

The API provides a flexible, and developer‑friendly interface for programmatically accessing environmental measurement and device data stored in ZENTRA Cloud 2.0

Travis Bates
Updated by Travis Bates

V5 will be available soon!

The API provides a flexible, and developer‑friendly interface for programmatically accessing environmental measurement and device data stored in ZENTRA Cloud 2.0. It enables integration with external tools, and custom applications for research, agriculture, environmental monitoring, and data science.

Parameters

device_id

string

(path)

The unique identifier of the device.

Example : z6-12345

direction

string

(query)

Order by which logs are retrieved and displayed by date. Available values: ascending, descending .

Default value: descending

start_datetime

(query)

An ISO datetime string. A start datetime without a timezone will be considered as having a UTC timezone.

Users should not input both datetimes and timestamps, only one or the other.

Example: 2025-10-20T17:15+00:00

or

Example: 1737367200000

end_datetime

(query)

An ISO datetime string. An end datetime without a timezone will be considered as having a UTC timezone.

Users should not input both datetimes and timestamps, only one or the other.

Example: 2025-10-20T17:15+00:00

or

Example: 1737367200000

start_timestamp

(query)

Unix timestamp representing seconds since Jan. 1, 1970 00:00 UTC.

Users should not input both datetimes and timestamps, just one or the other.

Example: 1763445086

end_timestamp

(query)

Unix timestamp representing seconds since Jan. 1, 1970 00:00 UTC.

Users should not input both datetimes and timestamps, just one or the other.

Example: 1763445086

next_token

(query)

The string needed to get the next pagination set.

limit

integer

(query)

maximum: 1000

Number of datapoints to return.

Default value: 1000

Example: 2

latest

boolean

(query)

Coming Soon!

Returns the latest datapoint, supersedes datetime and timestamp parameters.

Default value: false

Example: true

expand

(query)

Coming Soon!

Gives more information on the field passed.

Example: settings

units

string

(query)

The units that the data will return in. Available values: metric, imperial

Default value: metric

Example: imperial

How did we do?

Contact