Aerovy Platform logo

Get a thing's recent data

GEThttps://spectra.api.aerovy.com/v2/things/{thingId}/recent-data

Returns recent data points for a thing (unbounded lookback to an optional cutoff). Requires an API key with the read action scoped to the thing.

Loading code example
Loading code example

Authorizations

apiKeystringheaderrequired

API key passed in the header.

Path Parameters

thingIdstringrequired

The thing id.

Query Parameters

selectedFieldsarray<string>

Optional metric ids to restrict the result to.

dateTimeCutOffstring<date-time>

Optional upper bound (UTC).

Response

application/json

The recent data.