4c Get Deforestation Metrics

Step 4c: Get Deforestation Metrics

Retrieve deforestation metrics for all facilities in the task.

What this step does

It reads the computed deforestation metrics for the supply sheds of this task's facilities, scoped by filter[assets.task_id]=eq:{task-id}. Each row reports forest loss, non-compliance area, and agreement scores, keyed by facility_id so it can be joined back onto the facilities from Step 4a.

Why it's needed

Deforestation is one of the metrics you requested at upload in Step 1; this is where the processed results are read back. The location steps (4a/4b) prove the upload created records, but they carry no risk figures โ€” this call is what confirms the metrics actually computed and supplies the non-compliance and forest-area numbers the summary cards and map colouring depend on. Without it the confirmation would show shapes with no risk signal.

Request

GET /metrics/sheds/deforestation?filter[assets.task_id]=eq:{task-id}

Data Joining

  • Match attributes.facility_id to facility IDs from Step 4a
  • Metric ID format: {shed_id}:{monitoring_end_date}