Polygons
Get Polygon Compliance Status | AgriBackup
Synchronously fetch the EUDR compliance status of a single polygon by ID before linking it to a shipment. Returns PENDING, COMPLIANT, or HIGH_RISK.
GET
Python
Synchronously retrieves the deterministic EUDR compliance status of a specific farm boundary polygon. Call this endpoint to confirm that a polygon has passed satellite deforestation screening and is in
COMPLIANT state before including it in a batch registration. A polygon in PENDING state is still being processed; HIGH_RISK polygons cannot be used in EUDR-compliant batches.
Request Headers
| Header | Required | Description |
|---|---|---|
X-API-Key | ✅ | Your live API key, e.g. sk_live_.... |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
polygonId | string | ✅ | The unique polygon identifier returned when the polygon was ingested. |
Response — 200 OK
| Field | Type | Description |
|---|---|---|
polygonId | string | Unique polygon identifier. |
commodity | string | Crop commodity produced on the plot (e.g. Coffee). |
eudrStatus | string | Compliance status: PENDING, COMPLIANT, or HIGH_RISK. |
areaHectares | number | Plot area in hectares. |
createdAt | string (ISO-8601) | Timestamp when the polygon was registered. |
Error Responses
| Status | Meaning |
|---|---|
401 | Missing or invalid X-API-Key. |
403 | Your API key does not have permission to access this polygon. |
404 | No polygon found with the given polygonId. |
Code Examples
Authorizations
Enterprise API Key provided via the AgriBackup developer console.
Path Parameters
Response
Polygon status retrieved successfully
Deterministic compliance status of a Polygon
Unique Polygon ID
Example:
"uuid-1234"
Crop commodity produced on the plot
Example:
"Coffee"
EUDR compliance status
Available options:
PENDING, COMPLIANT, HIGH_RISK Example:
"COMPLIANT"
Area of the plot in hectares
Example:
2.5
Creation timestamp