Skip to content

Plant data

Four endpoints return data for one plant. All four require a Bearer token and a Plant or Device subscription. See Authentication and access. You can try them in the Swagger reference.

MethodEndpointReturns
GET/data/plant/listPlants your account can query, with metadata
POST/data/plant/dailySelected KPIs for one day
POST/data/plant/historicalSelected KPIs over a day range
POST/data/plant/last_24_hour_update_statusData-freshness status for each day, for about the last 30 days

GET /data/plant/list takes no parameters. It returns every plant visible to your account:

[
{
"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"name": "DEMO-P001-Plant-1",
"label": "DEMO-P001-Plant-1",
"tz_offset": "+07:00",
"country": "Vietnam",
"plant_biz_model": "PPA Rooftop Zero Export",
"plant_type": null,
"string_count_per_scb": null,
"ava_commission_ts": 1685577600000
}
]

Use id as the plant_id in the other requests. Attributes not configured for a plant are null. The list refreshes daily. A plant added to your account today might not appear until the next refresh.

ava_commission_ts is the commissioning timestamp in Unix milliseconds, or null when unavailable. An older cached plant list may not include this field until the list refreshes.

POST /data/plant/daily returns current-day values. For a specific day, pass date as YYYY-MM-DD.

{
"plant_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"kpis": ["real_time_plant_active_power", "real_time_plant_daily_yield"],
"date": "2025-03-17"
}

These KPIs are available, up to 5 in each request:

  • real_time_plant_active_power
  • real_time_plant_daily_yield
  • real_time_plant_total_yield
  • real_time_plant_irradiation
  • real_time_plant_irradiance
  • real_time_plant_daily_effective_pr
  • real_time_plant_overspill_energy
  • real_time_plant_overspill_power
  • real_time_plant_expected_power
  • real_time_plant_cell_temperature
  • real_time_plant_meter_yield

The response has one entry for each plant and one series for each requested KPI:

[
{
"plant_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"date": "2025-03-17",
"tz_offset": "+07:00",
"data": {
"real_time_plant_active_power": [
{ "ts": "1742976300000", "value": "57.753" }
],
"real_time_plant_daily_yield": [
{ "ts": "1742974200000", "value": "936.61" }
]
}
}
]

POST /data/plant/historical returns one value for each day and KPI, for days days that end at date.

{
"plant_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"kpis": ["historical_plant_daily_yield", "historical_plant_cell_temperature"],
"date": "2025-03-17",
"days": 7
}

These KPIs are available, up to 10 in each request:

  • historical_plant_daily_yield
  • historical_plant_irradiation
  • historical_plant_daily_effective_pr
  • historical_plant_overspill_energy
  • historical_plant_cell_temperature
  • historical_plant_meter_yield
  • historical_plant_total_yield
  • historical_plant_effective_availability

The response envelope matches the daily endpoint. Each KPI has one {ts, value} point for each day in the range.

POST /data/plant/last_24_hour_update_status takes the body {"plant_id": "..."}. For about the last 30 days, it reports whether the plant delivered data within 24 hours of each day:

[
{
"plant_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"tz_offset": "+07:00",
"data": [
{
"date": "2025-03-26",
"last_data_update": "2025-03-26T13:34:26+0700",
"update_status": "Update"
},
{
"date": "2025-03-23",
"last_data_update": null,
"update_status": "No Update"
}
]
}
]

Use this endpoint to find stale plants before you read KPI values. Data freshness and corrections explains how freshness affects the numbers.

  • Time zone: the day window is the local day of the plant, from tz_offset. ts is an epoch-millisecond day key derived from the date field. It is not the measurement timestamp. Group and label points by date and tz_offset.
  • Missing data: a KPI with no data for a day is an empty list. An offline plant returns empty lists for all requested KPIs. Missing values inside a series are null.
  • Strings: ts and value are strings. Parse them as numbers in your code.
  • Unknown KPI names: the API ignores them and does not reject them. A typo gives a response without that key, not an error.