Read raw thermal frames
const url = 'https://api.datacenter.butlr.io/v1/sensors/example/frames?from=1&to=1&limit=2000&compensate=0&include_raw=1';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.datacenter.butlr.io/v1/sensors/example/frames?from=1&to=1&limit=2000&compensate=0&include_raw=1' \ --header 'Authorization: Bearer <token>'Return archive-backed raw thermal matrices for one currently owned sensor.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Wireless MAC or wired serial discovered through GraphQL.
Query Parameters
Section titled “Query Parameters”Inclusive start time in Unix milliseconds.
End time in Unix milliseconds.
Maximum sampled frames. Default 2000; values above 5000 are clamped. Zero requests all frames within server bounds.
Optional hall context for hall-specific temperature compensation.
Set to 0 or false to return the raw device field without angle compensation.
With compensation active, set to 1 or true to include the original matrix as raw_data.
Responses
Section titled “Responses”Thermal frames in chronological order
object
object
Device timestamp in Unix milliseconds.
Row-major uint16 deciKelvin thermal matrix.
Uncompensated matrix when include_raw is enabled and compensation is applied.
Example
{ "kind": "wireless", "tier": "fine"}Invalid request
object
Example generated
{ "message": "example"}Missing, invalid, expired, or revoked token
object
Example generated
{ "message": "example"}Route, operation, or resource is outside the token’s read-only organization scope
object
Example generated
{ "message": "example"}Request rate exceeded; honor Retry-After
object
Example generated
{ "message": "example"}Archive read failed
object
Example generated
{ "message": "example"}Required backend or token store unavailable
object
Example generated
{ "message": "example"}