Browse documentation

Maintenance

2 endpoints.

Paths are relative to the base URL for your environment. Unless marked otherwise, every request needs an Authorization: Bearer header.

POST/fleet/maintenance

Create Maintenance Log

Request body

json
{
  "truck_id": "{{truck_id}}",
  "type": "oil_change",
  "description": "Regular maintenance",
  "cost": 250,
  "date": "2026-07-10"
}

Response fields

Asserted by the API’s own test suite.

log
GET/fleet/maintenance

Get Maintenance Logs

Response fields

Asserted by the API’s own test suite.

logs