Latest Records Metrics For Current Record

Step 7: Metrics For The Current Record

GET /ingestions/assets/latest?include=metrics.deforestation โ€” the latest deforestation metric for each row's location, batched rather than fetched per row.

Ask for the category you need

include=metrics attaches all four categories. That costs one statement per category per location type on the page, and four metric resources per row. The dotted form exists so a page that renders one number pays for one.

On this endpoint plot rows always fold, so bare metrics is 8 statements against 2 for a single category. On GET /ingestions/assets, where per-record plot rows exist as a third type, it is 12 against 3.

Two things are called deforestation

FieldWhat it is
relationships.metrics.deforestationThe measured metric โ€” areas, agreement, alert dates, confidence.
attributes.deforestation (?include=deforestation)The EUDR compliance roll-up โ€” plot counts and areas across the location's catchment.

They move together but they are not the same figure. That is why the link is links.metrics_deforestation and not links.deforestation. See Deforestation Methodology.

An unknown category is a 400 that tells you the allowed set

?include=metrics.carbon is rejected with a message naming every accepted value, so you do not have to come back to this page to find them.

Where next

This is the end of the workflow. For the concepts behind it โ€” the six-key precedence, the three audit routes, and the two limitations supersession does not fix โ€” see Record Supersession.