Telemetry

Get telemetry history

Retrieve OHLC telemetry history for sensors with configurable granularity.

Required scope: telemetry:read

get/api/v2/sensors/history

Request

  • Base URL: https://api.kiloiot.io
  • URL: https://api.kiloiot.io/api/v2/sensors/history
  • Auth: API key in header X-API-Key and API key in header X-Organization-Id

Query parameters

sensorIdsstring required

Comma-separated sensor IDs

organizationIdstring required

Organization ID

fromstring required

Start time (ISO8601, e.g. 2024-01-01T00:00:00Z)

tostring required

End time (ISO8601, e.g. 2024-01-02T00:00:00Z)

granularity'1m' | '5m' | '15m' | '30m' | '1h' | '4h' | '1d' | '1w' required

Aggregation granularity

sortstring

Sort order: ASC or DESC

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.