Location History

All emissions processing runs for a specific plot location.

Unlike GET /metrics/plots/:id/emissions (which returns the latest per commodity), this endpoint returns every processing run, paginated.

Request

Method & Path

GET /metrics/plots/:id/emissions/history

Path parameters

  • id (uuid, required) โ€” The location ID.

Query parameters

  • page โ€” Page number (default: 1).
  • page_size โ€” Results per page (default: 20, max: 1000).

Response

  • 200 โ€” Paginated list of all emissions metrics for this location.
  • 404 โ€” Location not found or not accessible.

Geometry

Geometry is opt-in โ€” pass ?include_geometries=true to include the geo attribute (the location's geometry) on JSON / NDJSON responses (GeoJSON formats always include it). See Query Parameters โ†’ Geometry.

Required scope: metrics:read