Skip to content

Get Vehicles

Retrieve all vehicles from Last Mile Intelligence.

getVehicle

vehicle

ParameterTypeRequiredDefaultDescription
Vehicle IDstringNo-Leave empty to retrieve all vehicles
[
{
"id": "veh_truck001",
"name": "Truck 001",
"licensePlate": "ABC-1234",
"status": "available",
"isActive": true
},
{
"id": "veh_truck002",
"name": "Truck 002",
"licensePlate": "XYZ-5678",
"status": "in_use",
"isActive": true
}
]
{
"success": false,
"error": "Failed to retrieve vehicles"
}
  • Missing API Token: LMI credential is missing API token
  • Permission Denied: API token lacks permission for this operation