API
Metrics
Retrieve metrics data for specified or all accessible stations and optional filters
AuthorizationBearer <token>
In: header
Query Parameters
station_ids?string
Comma-separated list of station IDs
to?string
Default
"2026-01-31T01:03:09.261Z"Format
date-timefrom?string
Default
"2026-01-30T01:03:09.262Z"Format
date-timenames?array<string>
The names of the metrics to filter by
Default
[]Response Body
curl -X GET "https://api.autumnlabs.io/metrics?station_ids=string&to=2026-01-31T01%3A03%3A09.261Z&from=2026-01-30T01%3A03%3A09.262Z&names=temperature%2Chumidity"{
"data": [
{
"station_id": "string",
"slot": "string",
"unit_serial": "string",
"time_created": "string",
"tz": "string",
"mode": "string",
"tags": [
"string"
],
"name": "string",
"value": "string",
"unit": "string",
"type": "string",
"limit_upper": "string",
"limit_lower": "string"
}
],
"message": "string",
"meta": {
"timestamp": "2019-08-24T14:15:22Z",
"request_id": "string",
"query_duration_ms": 0
}
}{
"error": {
"code": "string",
"message": "string",
"details": null
}
}{
"error": {
"code": "string",
"message": "string",
"details": null
}
}{
"error": {
"code": "string",
"message": "string",
"details": null
}
}{
"error": {
"code": "string",
"message": "string",
"details": null
}
}