Facility Metrics
Metrics computed for facilities. Facility values are rolled up from the sheds and plots associated with the facility, giving you a site-level view of deforestation, emissions, biodiversity, and water stress across everything that facility sources.
Each metric family โ Deforestation, Emissions, Biodiversity, Water Stress โ is available under /metrics/facilities/<metric>:
| Endpoint | Returns |
|---|---|
GET /metrics/facilities/<metric> | Latest value per facility (one row per facility). |
GET /metrics/facilities/<metric>/history | All historical results across facilities. |
GET /metrics/facilities/:id/<metric>/history | History for a single facility. |
GET /metrics/facilities/<metric> (single-location) | Latest value filtered to one facility. |
| By commodity | The same metric scoped to a single commodity. |
Facility deforestation is EUDR-anchored and additionally supports sorting by compliance ranking (e.g. ?sort=-noncompliance_plot_count for most-deforested facilities first). Supports filtering, pagination, and JSON / GeoJSON / streaming formats. For the underlying values, see Shed Metrics and Plot Metrics; for methodology, see Metric Methodology.
Required scope:
metrics:read