Vepathos Drivers API
Driver records with schedules, start and end points and work areas.
Driver records with schedules, start and end points and work areas.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/vepathos-com:vepathos-com-drivers-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Vepathos Com Drivers API
version: 0.26.0
license:
name: GNU Affero General Public License
url: https://www.gnu.org/licenses/agpl-3.0.html
description: 'Operations tagged drivers across 2 of this provider''s published API definitions: openapi.json, vepathos-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.vepathos.com
security:
- bearerJWT: []
tags:
- name: drivers
description: Driver records with schedules, start and end points and work areas.
paths:
/drivers:
get:
tags:
- drivers
summary: List drivers
operationId: fleets_get_drivers_get
responses:
'200':
description: All drivers in your account.
content:
application/json:
schema:
items:
$ref: '#/components/schemas/DriverResponse'
type: array
title: Response Fleets Get Drivers Get
'401':
$ref: '#/components/responses/Unauthorized'
security:
- APIKeyHeader: []
post:
tags:
- drivers
summary: Create driver
operationId: drivers_post_drivers_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/DriverCreate'
example:
first_name: Ana
last_name: García
work_schedules:
- 'DTSTART:20260105T080000Z
DURATION:PT8H
RRULE:FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR'
start_point: +40.4168-3.7038
end_point: +40.4168-3.7038
vehicles:
- id: '12'
qty: 1
required: true
responses:
'201':
description: The created driver.
content:
application/json:
schema:
$ref: '#/components/schemas/DriverResponse'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/PlanLimitExceeded'
'422':
description: The body or a parameter does not match the schema.
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
description: 'Driver schedules, start and end points and work areas are stored with the driver. The current optimizer plans from the fleet and does not apply them as routing constraints. Returns `403` with `reason: "max_drivers"` when the plan''s cap is reached.'
servers:
- url: https://api.vepathos.com
/drivers/{id}:
get:
tags:
- drivers
summary: Get driver
operationId: drivers_id_get_drivers__id__get
security:
- APIKeyHeader: []
parameters:
- name: id
in: path
required: true
schema:
type: integer
title: Id
responses:
'200':
description: The driver.
content:
application/json:
schema:
$ref: '#/components/schemas/DriverResponse'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'422':
description: The body or a parameter does not match the schema.
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
patch:
tags:
- drivers
summary: Update driver
operationId: drivers_id_patch_drivers__id__patch
security:
- APIKeyHeader: []
parameters:
- name: id
in: path
required: true
schema:
type: integer
title: Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DriverUpdate'
responses:
'200':
description: The updated driver.
content:
application/json:
schema:
$ref: '#/components/schemas/DriverResponse'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'422':
description: The body or a parameter does not match the schema.
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Send only the fields to change.
delete:
tags:
- drivers
summary: Delete driver
operationId: drivers_id_delete_drivers__id__delete
security:
- APIKeyHeader: []
parameters:
- name: id
in: path
required: true
schema:
type: integer
title: Id
responses:
'200':
description: The driver was deleted.
content:
application/json:
schema: {}
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'422':
description: The body or a parameter does not match the schema.
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
servers:
- url: https://api.vepathos.com
components:
schemas:
VehicleEngineType:
type: string
enum:
- GASOLINE
- DIESEL
- CNG
- ELECTRIC
- HYBRID
- MECHANIC
title: VehicleEngineType
VehicleCategoryType:
type: string
enum:
- TRUCK
- VAN
- PICKUP
- MOTORCYCLE
- BICYCLE
title: VehicleCategoryType
PlanLimitExceededError:
type: object
required:
- error
- reason
- detail
properties:
error:
type: string
const: plan_limit_exceeded
description: Gateway rejected the request because a plan quota or entitlement was exceeded.
reason:
type: string
enum:
- max_milestones
- max_vehicles
- max_fleets
- max_drivers
- max_fleet_units
- max_stops_per_request
- monthly_limit
- max_stops_per_route
- plan_feature_not_allowed
description: Machine-readable limit or entitlement that blocked the request.
detail:
type: string
description: Human-readable explanation and upgrade guidance.
feature:
type: string
description: 'Present when `reason` is `plan_feature_not_allowed`: the optimization option your plan does not include, for example `rebalance_by_volume`.'
title: PlanLimitExceededError
DriverResponse:
properties:
first_name:
type: string
title: First Name
last_name:
anyOf:
- type: string
- type: 'null'
title: Last Name
work_schedules:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Work Schedules
description: 'Working hours. RFC 5545 VEVENT: `DTSTART` plus `DTEND` or `DURATION`, optionally `RRULE`. Join lines with `\n`.'
start_point:
anyOf:
- type: string
- type: 'null'
title: Start Point
description: Where the driver starts the day. Coordinates in ISO 6709 decimal degrees, latitude then longitude with signs, e.g. `+40.7128-74.0060`.
end_point:
anyOf:
- type: string
- type: 'null'
title: End Point
description: Where the driver ends the day. Coordinates in ISO 6709 decimal degrees, latitude then longitude with signs, e.g. `+40.7128-74.0060`.
work_areas:
anyOf:
- items:
items:
type: string
type: array
type: array
- type: 'null'
title: Work Areas
description: Polygons, each an array of `geo_point` vertices.
id:
anyOf:
- type: string
- type: integer
title: Id
vehicles:
anyOf:
- items:
$ref: '#/components/schemas/DriverVehicleResponse'
type: array
- type: 'null'
title: Vehicles
description: Vehicle types the driver can operate.
type: object
required:
- first_name
- id
title: DriverResponse
VolumeUnit:
type: string
enum:
- CUBIC_CENTIMETER
- CUBIC_METER
- LITER
- CUBIC_INCH
- CUBIC_FEET
- GALLON
title: VolumeUnit
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
DriverCreate:
properties:
first_name:
type: string
title: First Name
last_name:
anyOf:
- type: string
- type: 'null'
title: Last Name
work_schedules:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Work Schedules
description: 'Working hours. RFC 5545 VEVENT: `DTSTART` plus `DTEND` or `DURATION`, optionally `RRULE`. Join lines with `\n`.'
start_point:
anyOf:
- type: string
- type: 'null'
title: Start Point
description: Where the driver starts the day. Coordinates in ISO 6709 decimal degrees, latitude then longitude with signs, e.g. `+40.7128-74.0060`.
end_point:
anyOf:
- type: string
- type: 'null'
title: End Point
description: Where the driver ends the day. Coordinates in ISO 6709 decimal degrees, latitude then longitude with signs, e.g. `+40.7128-74.0060`.
work_areas:
anyOf:
- items:
items:
type: string
type: array
type: array
- type: 'null'
title: Work Areas
description: Polygons, each an array of `geo_point` vertices.
vehicles:
anyOf:
- items:
$ref: '#/components/schemas/DriverVehicleCreate'
type: array
- type: 'null'
title: Vehicles
description: Vehicle types the driver can operate.
type: object
required:
- first_name
title: DriverCreate
Generic:
type: object
title: Generic
description: Status envelope used by the planning engine for acknowledgements and errors.
required:
- code
properties:
code:
type: integer
description: HTTP status code.
message:
type: string
description: Human-readable message.
VehicleConsumptionUnit:
type: string
enum:
- LITERS_PER_100KM
- KILOMETERS_PER_LITER
- MILES_PER_GALLON
- GALLONS_PER_MILE
title: VehicleConsumptionUnit
DriverUpdate:
properties:
first_name:
anyOf:
- type: string
- type: 'null'
title: First Name
last_name:
anyOf:
- type: string
- type: 'null'
title: Last Name
work_schedules:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Work Schedules
description: 'Working hours. RFC 5545 VEVENT: `DTSTART` plus `DTEND` or `DURATION`, optionally `RRULE`. Join lines with `\n`.'
start_point:
anyOf:
- type: string
- type: 'null'
title: Start Point
description: Where the driver starts the day. Coordinates in ISO 6709 decimal degrees, latitude then longitude with signs, e.g. `+40.7128-74.0060`.
end_point:
anyOf:
- type: string
- type: 'null'
title: End Point
description: Where the driver ends the day. Coordinates in ISO 6709 decimal degrees, latitude then longitude with signs, e.g. `+40.7128-74.0060`.
work_areas:
anyOf:
- items:
items:
type: string
type: array
type: array
- type: 'null'
title: Work Areas
description: Polygons, each an array of `geo_point` vertices.
vehicles:
anyOf:
- items:
$ref: '#/components/schemas/DriverVehicleCreate'
type: array
- type: 'null'
title: Vehicles
description: Vehicle types the driver can operate.
type: object
title: DriverUpdate
GatewayError:
type: object
title: GatewayError
description: Error returned by the Vepathos gateway before a request reaches the planning engine.
required:
- error
properties:
error:
type: string
description: Machine-readable code, such as `unauthorized` or `routehub_unreachable`.
detail:
type: string
description: Human-readable explanation.
WeightUnit:
type: string
enum:
- GRAMS
- KILOGRAMS
- OUNCES
- POUNDS
title: WeightUnit
DriverVehicleResponse:
properties:
name:
type: string
title: Name
volume:
anyOf:
- type: integer
- type: 'null'
title: Volume
volume_unit:
anyOf:
- $ref: '#/components/schemas/VolumeUnit'
- type: 'null'
weight:
anyOf:
- type: integer
- type: 'null'
title: Weight
weight_unit:
anyOf:
- $ref: '#/components/schemas/WeightUnit'
- type: 'null'
consumption:
anyOf:
- type: integer
- type: 'null'
title: Consumption
consumption_unit:
anyOf:
- $ref: '#/components/schemas/VehicleConsumptionUnit'
- type: 'null'
category_type:
anyOf:
- $ref: '#/components/schemas/VehicleCategoryType'
- type: 'null'
engine_type:
anyOf:
- $ref: '#/components/schemas/VehicleEngineType'
- type: 'null'
id:
anyOf:
- type: string
- type: integer
title: Id
qty:
type: integer
title: Qty
type: object
required:
- name
- id
- qty
title: DriverVehicleResponse
DriverVehicleCreate:
properties:
qty:
type: integer
title: Qty
id:
type: string
title: Id
type: object
required:
- qty
- id
title: DriverVehicleCreate
responses:
NotFound:
description: The resource does not exist in your account.
content:
application/json:
schema:
$ref: '#/components/schemas/Generic'
example:
code: 404
message: Delivery lot not found
Unauthorized:
description: Missing, expired or invalid access token.
content:
application/json:
schema:
$ref: '#/components/schemas/GatewayError'
example:
error: unauthorized
detail: Missing or invalid Bearer token.
PlanLimitExceeded:
description: A plan quota or optimization option blocks the request. `reason` names the limit. Nothing is reserved or charged.
headers:
X-RouteHub-Tenant-Id:
description: Workspace id of the authenticated account. Informational.
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/PlanLimitExceededError'
examples:
maxVehicles:
summary: Vehicle type catalog cap
value:
error: plan_limit_exceeded
reason: max_vehicles
detail: Your plan allows up to 15 vehicles. Remove one or upgrade to add more.
maxFleetUnits:
summary: Units per fleet cap
value:
error: plan_limit_exceeded
reason: max_fleet_units
detail: Your plan allows up to 100 vehicles per fleet (sum of qty). This fleet requests 125. Reduce quantities or upgrade to a higher plan.
stopsPerRequest:
summary: Stops per request
value:
error: plan_limit_exceeded
reason: max_stops_per_request
detail: This request exceeds your plan's per-request limit of 500 stops.
monthlyStops:
summary: Monthly stop allowance
value:
error: plan_limit_exceeded
reason: monthly_limit
detail: This run would exceed your monthly limit of 2,000 stops.
featureNotAllowed:
summary: Optimization option not in plan
value:
error: plan_limit_exceeded
reason: plan_feature_not_allowed
feature: rebalance_by_volume
detail: Volume adjustments across routes is not included in your current plan. Upgrade to unlock this option.
securitySchemes:
APIKeyHeader:
type: apiKey
in: header
name: Authorization
description: 'Access token from `POST /api/token`, sent as `Authorization: Bearer <access_token>`. Create the credential in Dashboard, Credentials.'
bearerJWT:
type: http
scheme: bearer
bearerFormat: JWT
description: 'Short-lived JWT, from `POST /api/token` or the signed-in web session, sent as `Authorization: Bearer <token>`.'
x-refined-from:
- openapi.json
- vepathos-com-openapi.json
x-provenance:
method: harvested
publisher: Vepathos
source: https://api.vepathos.com/openapi.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)