EUDR Risk Assesment
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.
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.
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.
ID of the parcel to explain
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.
Bad Request - Error during explanation generation
Not Found - Parcel or audit data not found
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