List Transport Routes
List Transport Routes
Retrieve a paginated list of transport routes with optional filtering, search, and sorting
GET
List Transport Routes
List Transport Routes
Retrieve all transport routes for your organization. Supports full-text search, date range filters, status filters, and sorting. The response includes afilter_hash you can pass to the bulk-delete-by-filters endpoint to delete all matching records at once.
Request
Authentication
Supports both authentication methods:Your API key (use this or
Authorization)Example: sk_live_1234567890abcdefBearer JWT token (use this or
x-api-key)Example: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...Headers
Your organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faQuery Parameters
Free-text search across route names, suppliers, and addresses. Minimum 1 character, maximum 255 characters.
Filter routes with
transport_date on or after this date (YYYY-MM-DD)Filter routes with
transport_date on or before this date (YYYY-MM-DD)Filter by route status. Allowed values:
pending, active, error. Pass multiple values to include more than one status.Filter by direction:
downstream (outbound — goods sent to customers) or upstream (inbound — goods received from suppliers)Filter by the uploaded file(s) that created these routes. Pass multiple UUIDs to include routes from several files.
Filter routes created on or after this timestamp (ISO 8601)
Filter routes created on or before this timestamp (ISO 8601)
Filter by emission calculation state:
calculated (co2e is present) or not_calculated (co2e is null)Sort fields. Prefix with
- for descending order. Allowed fields: name, start_date, quantity_transported, created_at.Example: -created_at (newest first), start_date (oldest first)Page number (1-based)
Number of results per page
Response
List of transport routes on this page. See Route Fields below.
Total number of routes matching the current filters (across all pages)
Current page number
Number of items per page
Opaque hash representing the current filter state. Pass this value to the bulk-delete-by-filters endpoint to delete all routes matching the current query without specifying IDs individually.
Route Fields
Unique identifier (UUID)
Optional route name
Date of transport (YYYY-MM-DD).
null if not set.Amount transported (max 10 digits, 3 decimal places)
Optional supplier name
downstream (outbound — goods sent to customers) or upstream (inbound — goods received from suppliers)Recurrence:
once, weekly, monthlyMeasurement unit for the quantity transported
Total CO2-equivalent emissions in kg across all sections.
null if no impacts have been calculated yet.Route-level emissions summary:
[{"value": 245.67, "gas": "co2e", "unit_name": "kgCO2e"}]Route status:
pending (awaiting calculation), active (calculated), error (calculation failed)ID of the uploaded file if this route was created via bulk upload
Name of the uploaded file if this route was created via bulk upload
List of transport sections (legs) for this route. See Section Fields below.
User who uploaded this route
ISO 8601 creation timestamp
ISO 8601 last-update timestamp
Section Fields
Section UUID
Sequence number within the route (1-based)
road, air, maritime, rail, or do_not_knowSub-type for road transport:
car, truck, motorbike, bicycle, electric_kick_scooterWhether the vehicle is electric
Whether the cargo is refrigerated
Additional detail used for emission factor selection (e.g. distance band or weight class)
Origin location address
Destination location address
Calculated or user-provided distance in kilometers
Distance override provided by the user (max 7 digits, 2 decimal places). Present when
distance_manual is true.true when the distance was provided manually via kms_manual instead of being auto-calculatedMethod used to compute the distance. See the Transport Overview for all values.
Section status:
pending, active, errorCurrent processing step:
geocoding, impact_calculation, completedList of error messages when
status is errorCO2e emissions for this section:
[{"value": 12.34, "gas": "co2e", "unit_name": "kgCO2e"}]Example
Successful Response
Common Errors
401 Unauthorized
Cause: Missing or invalid API key / JWT token403 Forbidden
Cause: The authenticated user is not a member of the organization422 Unprocessable Entity
Cause: Invalid query parameter value (e.g. unrecognized status or direction)Related Endpoints
Get Transport Route
Retrieve a single transport route by ID
Create Transport Route
Create a new transport route with sections
Update Transport Route
Modify a transport route and its sections
Transport Overview
Full data model and distance calculation reference

