Skip to main content
GET
Export Detailed Report

Export Detailed Report

Queue an asynchronous logistics export with two datasets. Unlike GET /report, which returns an aggregated ISO 14083 summary inline, this endpoint streams the full detail and is built to scale to organizations with millions of requests. It returns 202 immediately; a background worker generates the file and emails a download link (valid 7 days) when ready.
  • requests: one row per request leg — company name, movement/leg/package IDs, origin/destination, distance, load, tkm, toc, applied rate and kgCO2e. Subcontracted legs use the TOC’s wtw; own-fleet legs use a rate derived from the org’s actual fuel recharges for the same toc/year. Each row also carries data_status/data_status_detail, flagging legs the basis can’t cover yet (no recharges uploaded, unresolved TOC, electric TOC).
  • recharges: the own-fleet fuel burn that rate is allocated from, with the co2e split into TTW (scope 1), WTT (scope 3) and WTW (total).

Request

Headers

string
required
Your API key for authenticationExample: sk_live_1234567890abcdef
string
required
Your organization UUIDExample: a8315ef3-dd50-43f8-b7ce-d839e68d51fa

Query Parameters

string
required
Period start date as a Unix timestamp (seconds)Example: 1735689600
string
required
Period end date as a Unix timestamp (seconds). Must be after start_date. Multi-year ranges are allowed.Example: 1767139200
string[]
Client name(s) to include in the requests dataset. Omit to export the whole organization (all clients). Recharges have no client and are always included in full.
boolean
default:"false"
If true, generate one requests file per client (selected, or all), plus one shared recharges file, all bundled into a single ZIP.
string
default:"csv"
Output file format: excel, csv, or json. csv always arrives inside a .zip (one member per dataset); json is a single {"requests": [...], "recharges": [...]} object, zipped above ~1M rows; excel is one workbook (data_N + recharges sheets), refused above ~5M request rows — use csv for very large windows.
string
default:"es"
Language for the column headers: es or en.
uuid
Filter the export by project UUID

Response (202 Accepted)

string
UUID of the processing job for tracking progress
string
Confirmation message

Example

Successful Response

Common Errors

401 Unauthorized

Cause: Missing or invalid API key

404 Not Found

Cause: Organization not found

422 Unprocessable Entity

Cause: Invalid or inverted date range
Solution: Pass start_date/end_date as Unix timestamps in seconds, with end_date after start_date.

Generate Report

Get the aggregated ISO 14083 summary inline

List Clients

Get available clients for filtering