Early Access - The Dcycle CLI is currently available for enterprise customers.
Contact us to learn more about access.
Overview
The logistics commands are designed for fleet operators and transport companies with high-volume data:- Requests (Viajes): Individual transport trips with origin, destination, and cargo
- Recharges (Consumos): Vehicle fuel consumption records
- Upload: Bulk CSV upload for both data types
- Status: Quick summary of all logistics data
Summary Status
Get a quick overview of your logistics data:JSON Response
Transport Requests
Transport requests represent individual trips or routes with emissions calculations.List Requests
JSON Response Fields
Show Request Details
Delete Requests
Delete by File
Delete all requests that were uploaded from a specific file:Delete All
Delete ALL requests for the organization:--yes):
Fuel Recharges
Track fuel consumption for your fleet.Delete Recharges
Remove all recharges for the organization:To view recharges data, use
dcy logistics status for counts. Recharges don’t have a list command — use the Dcycle web interface or API for detailed views.Bulk CSV Upload
The most efficient way to upload large amounts of logistics data.Generate Templates
The CLI generates ready-to-fill CSV templates with correct column headers and example data:Upload Data
Upload JSON Response
Template: Requests (Viajes)
The requests template has 13 columns:logistics_viajes_template.csv
Template: Recharges (Consumos)
The recharges template has 6 columns:logistics_consumos_template.csv
Reference Data
List Clients
Browse available logistics clients for your organization:--client filters.
List Types of Cargo (TOCs)
Upload Workflow
1
Generate Template
Download the CSV template with correct columns:This creates
logistics_viajes_template.csv in the current directory.2
Prepare Data
Fill the template with your data using Excel, LibreOffice, or any CSV editor.
- Use consistent date format:
YYYY-MM-DD - Match vehicle plates exactly as registered in
dcy vehicle list - Use hub names from
dcy hub listfor origin/destination - Use TOC codes from
dcy logistics tocs
3
Upload
Upload the completed CSV:
4
Verify
Confirm the data was imported:
Typical Workflows
Daily TMS Integration
Automate daily data uploads from your Transport Management System:Replace Stale Data
Delete old file data and re-upload corrected CSV:Emissions Analysis
Bulk Reset All Data
Aliases
Thelist subcommand supports ls as a short alias:
Next Steps
Vehicles
Manage fleet vehicles, fuel types, and CSV uploads
Transport Routes
Track upstream and downstream transport emissions
Data Imports
Alternative import pipeline with guided mapping
Examples
Complete workflow examples
MCP Tools
Query logistics data from AI assistants via MCP