{"openapi":"3.1.0","info":{"title":"Fleetio (BYOK) API","version":"0.1.0","description":"Fleetio (BYOK) lets an AI assistant read your own Fleetio data through the Fleetio API with a key you supply (Fleetio API key (the Account Token is entered as the second key)). Read-only: 11 tools (list_vehicles, get_vehicle, list_equipment, list_service_entries, list_work_orders, list_issues, list_fuel_entries, list_service_reminders, list_meter_entries, list_parts, list_groups). The BYOK key...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-fleetio.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-fleetio/docs"},"termsOfService":"https://connectorbay.com/byok-fleetio/terms"},"servers":[{"url":"https://byok-fleetio.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-fleetio/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/list_vehicles":{"post":{"operationId":"list_vehicles","summary":"List vehicles with name, VIN, plate, make, model, year, type, status, group, fuel type, current meter reading and owners","description":"List vehicles with name, VIN, plate, make, model, year, type, status, group, fuel type, current meter reading and ownership. Page-numbered, up to 100 per page; archived vehicles are left out unless asked for. Use for \"Which vehicles are in my Fleetio account\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"include_archived":{"anyOf":[{"const":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Set to 1 to include archived vehicles.","title":"Include Archived"},"name_contains":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only vehicles whose name contains this text (case-insensitive substring).","title":"Name Contains"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"per":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"Items per page (1 to 100, default 100).","title":"Per"}},"title":"list_vehiclesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_vehicle":{"post":{"operationId":"get_vehicle","summary":"Get one vehicle by its Fleetio id (a VIN or plate also works): identity, status, group, meter, counts of issues, work or","description":"Get one vehicle by its Fleetio id (a VIN or plate also works): identity, status, group, meter, counts of issues, work orders and reminders, and body specs. Use for \"Show me the details of Fleetio vehicle 1234\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"id":{"description":"Fleetio vehicle id, or the vehicle's VIN or license plate.","maxLength":40,"title":"Id","type":"string"}},"required":["id"],"title":"get_vehicleArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_equipment":{"post":{"operationId":"list_equipment","summary":"List non-vehicle equipment with name, brand, model, serial number, type, status, group, purchase date and warranty expir","description":"List non-vehicle equipment with name, brand, model, serial number, type, status, group, purchase date and warranty expiry. Use for \"What equipment is tracked in Fleetio\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"include_archived":{"anyOf":[{"const":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Set to 1 to include archived equipment.","title":"Include Archived"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"per":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"Items per page (1 to 100, default 100).","title":"Per"}},"title":"list_equipmentArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_service_entries":{"post":{"operationId":"list_service_entries","summary":"List service entries (completed or pending maintenance records) with vehicle, vendor, dates, status, labor time, subtota","description":"List service entries (completed or pending maintenance records) with vehicle, vendor, dates, status, labor time, subtotals and total cost. Use for \"What service has been done on Fleetio vehicle 1234 recently\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"vehicle_id":{"anyOf":[{"maximum":1000000000000,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Only entries of this vehicle id (a number from list_vehicles).","title":"Vehicle Id"},"completed_since":{"anyOf":[{"maxLength":25,"type":"string"},{"type":"null"}],"default":null,"description":"Only entries completed on or after this date (YYYY-MM-DD).","title":"Completed Since"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"per":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"Items per page (1 to 100, default 100).","title":"Per"}},"title":"list_service_entriesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_work_orders":{"post":{"operationId":"list_work_orders","summary":"List work orders with number, vehicle, vendor, status, state, issued, scheduled and completed dates, subtotals and total","description":"List work orders with number, vehicle, vendor, status, state, issued, scheduled and completed dates, subtotals and total. Use for \"Which Fleetio work orders are still active\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"state":{"anyOf":[{"enum":["active","completed"],"type":"string"},{"type":"null"}],"default":null,"description":"Only work orders in this state: active or completed.","title":"State"},"vehicle_id":{"anyOf":[{"maximum":1000000000000,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Only entries of this vehicle id (a number from list_vehicles).","title":"Vehicle Id"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"per":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"Items per page (1 to 100, default 100).","title":"Per"}},"title":"list_work_ordersArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_issues":{"post":{"operationId":"list_issues","summary":"List reported vehicle issues with number, name, summary, state, vehicle, reporter name, reported and due dates and wheth","description":"List reported vehicle issues with number, name, summary, state, vehicle, reporter name, reported and due dates and whether overdue. Use for \"What open issues do my Fleetio vehicles have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"state":{"anyOf":[{"enum":["Open","Closed","Resolved"],"type":"string"},{"type":"null"}],"default":null,"description":"Only issues in this state: Open, Closed or Resolved (capitalized).","title":"State"},"vehicle_id":{"anyOf":[{"maximum":1000000000000,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Only entries of this vehicle id (a number from list_vehicles).","title":"Vehicle Id"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"per":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"Items per page (1 to 100, default 100).","title":"Per"}},"title":"list_issuesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_fuel_entries":{"post":{"operationId":"list_fuel_entries","summary":"List fuel-ups with vehicle, date, vendor, US gallons, price per unit, total cost and mileage figures (mpg, cost per mile","description":"List fuel-ups with vehicle, date, vendor, US gallons, price per unit, total cost and mileage figures (mpg, cost per mile). Use for \"How much fuel did Fleetio vehicle 1234 use last month and what did it cost\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"vehicle_id":{"anyOf":[{"maximum":1000000000000,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Only entries of this vehicle id (a number from list_vehicles).","title":"Vehicle Id"},"date_from":{"anyOf":[{"maxLength":25,"type":"string"},{"type":"null"}],"default":null,"description":"Only fuel entries on or after this date (YYYY-MM-DD).","title":"Date From"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"per":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"Items per page (1 to 100, default 100).","title":"Per"}},"title":"list_fuel_entriesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_service_reminders":{"post":{"operationId":"list_service_reminders","summary":"List service reminders with vehicle, task name, active flag, next due date and meter value, due-soon thresholds and mete","description":"List service reminders with vehicle, task name, active flag, next due date and meter value, due-soon thresholds and meter remaining. Use for \"Which Fleetio vehicles have service coming due\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"vehicle_id":{"anyOf":[{"maximum":1000000000000,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Only entries of this vehicle id (a number from list_vehicles).","title":"Vehicle Id"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"per":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"Items per page (1 to 100, default 100).","title":"Per"}},"title":"list_service_remindersArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_meter_entries":{"post":{"operationId":"list_meter_entries","summary":"List odometer or hour-meter readings with vehicle, date, value, category (starting, ending, nightly, manual) and whether","description":"List odometer or hour-meter readings with vehicle, date, value, category (starting, ending, nightly, manual) and whether voided. Use for \"What are the latest odometer readings for Fleetio vehicle 1234\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"vehicle_id":{"anyOf":[{"maximum":1000000000000,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Only entries of this vehicle id (a number from list_vehicles).","title":"Vehicle Id"},"date_from":{"anyOf":[{"maxLength":25,"type":"string"},{"type":"null"}],"default":null,"description":"Only readings on or after this date (YYYY-MM-DD).","title":"Date From"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"per":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"Items per page (1 to 100, default 100).","title":"Per"}},"title":"list_meter_entriesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_parts":{"post":{"operationId":"list_parts","summary":"List inventory parts with number, description, manufacturer, category, total quantity, unit cost and whether it is an in","description":"List inventory parts with number, description, manufacturer, category, total quantity, unit cost and whether it is an inventory item. Use for \"Which parts are in my Fleetio inventory and how many are on hand\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"description_contains":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only parts whose description contains this text.","title":"Description Contains"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"per":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"Items per page (1 to 100, default 100).","title":"Per"}},"title":"list_partsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_groups":{"post":{"operationId":"list_groups","summary":"List vehicle groups (depots, divisions) with name, parent group and whether default. Use for \"What vehicle groups exist ","description":"List vehicle groups (depots, divisions) with name, parent group and whether default. Use for \"What vehicle groups exist in Fleetio\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"per":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"Items per page (1 to 100, default 100).","title":"Per"}},"title":"list_groupsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}