EUDR Risk Assesment

Get AI explanation of deforestation risk for a parcel

get

Generates a detailed explanation of the deforestation risk assessment using LLM. Optionally generates a PDF report with multi-language support. Use the 'format' parameter to control PDF generation, and 'lang' to specify translation language.

Path parameters
idstringRequired
Query parameters
formatstring · enumOptional

Output format. Use 'pdf' to generate a downloadable PDF report. If not specified, only the text explanation is returned without PDF generation. This significantly improves response time when PDF is not needed.

Possible values:
langstring · enumOptional

Language code for PDF translation. Only used when format=pdf. Supported languages: 'es' (Spanish), 'fr' (French), 'de' (German), 'it' (Italian), 'pt' (Portuguese), 'nl' (Dutch), 'pl' (Polish), 'ro' (Romanian), 'el' (Greek). Defaults to English if not specified.

Possible values:
parcel_idintegerRequired

ID of the parcel to explain

Responses
200

Successful response with AI explanation. The 'explanation' field contains the text content. The 'basic_report_pdf_url' field is only populated when format=pdf parameter is used.

application/json
get
/api/parcels/{id}/explain-deforestation/
GET /api/parcels/{id}/explain-deforestation/?parcel_id=1 HTTP/1.1
Host: 
Accept: */*
{
  "status": "text",
  "explanation": "text",
  "parcel_id": 1,
  "basic_report_pdf_url": "text"
}

Last updated