Vepathos Milestones API
Depots, warehouses and the other fixed places routes start from.
Depots, warehouses and the other fixed places routes start from.
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-milestones-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 Milestones 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 milestones 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: Milestones
description: Depots, warehouses and the other fixed places routes start from.
paths:
/milestones:
get:
tags:
- Milestones
summary: List milestones
operationId: milestones_get_milestones_get
responses:
'200':
description: All milestones in your account.
content:
application/json:
schema:
items:
$ref: '#/components/schemas/MilestoneResponse'
type: array
title: Response Milestones Get Milestones Get
'401':
$ref: '#/components/responses/Unauthorized'
security:
- APIKeyHeader: []
post:
tags:
- Milestones
summary: Create milestone
operationId: milestones_post_milestones_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/MilestoneCreate'
example:
name: Brooklyn depot
location: +40.6782-73.9442
category: DEPOT
required: true
responses:
'201':
description: The created milestone.
content:
application/json:
schema:
$ref: '#/components/schemas/MilestoneResponse'
'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: 'Returns `403` with `reason: "max_milestones"` when the plan''s cap is reached.'
servers:
- url: https://api.vepathos.com
/milestones/{id}:
get:
tags:
- Milestones
summary: Get milestone
operationId: milestones_id_get_milestones__id__get
security:
- APIKeyHeader: []
parameters:
- name: id
in: path
required: true
schema:
type: integer
title: Id
responses:
'200':
description: The milestone.
content:
application/json:
schema:
$ref: '#/components/schemas/MilestoneResponse'
'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:
- Milestones
summary: Update milestone
operationId: milestones_id_patch_milestones__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/MilestoneUpdate'
responses:
'200':
description: The updated milestone.
content:
application/json:
schema:
$ref: '#/components/schemas/MilestoneResponse'
'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:
- Milestones
summary: Delete milestone
operationId: milestones_id_delete_milestones__id__delete
security:
- APIKeyHeader: []
parameters:
- name: id
in: path
required: true
schema:
type: integer
title: Id
responses:
'200':
description: The milestone 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:
MilestoneUpdate:
properties:
name:
anyOf:
- type: string
- type: 'null'
title: Name
description: Display name.
location:
anyOf:
- type: string
- type: 'null'
title: Location
description: Coordinates in ISO 6709 decimal degrees, latitude then longitude with signs, e.g. `+40.7128-74.0060`.
category:
anyOf:
- $ref: '#/components/schemas/MilestoneCategory'
- type: 'null'
description: Kind of location.
type: object
title: MilestoneUpdate
MilestoneCreate:
properties:
name:
type: string
title: Name
description: Display name.
location:
type: string
title: Location
description: Coordinates in ISO 6709 decimal degrees, latitude then longitude with signs, e.g. `+40.7128-74.0060`.
category:
anyOf:
- $ref: '#/components/schemas/MilestoneCategory'
- type: 'null'
description: Kind of location.
type: object
required:
- name
- location
title: MilestoneCreate
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
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
MilestoneCategory:
type: string
enum:
- DEPOT
- DISTRIBUTION_CENTER
- LOADING_POINT
- WAREHOUSE
- TRANSFER_POINT
title: MilestoneCategory
MilestoneResponse:
properties:
name:
type: string
title: Name
description: Display name.
location:
type: string
title: Location
description: Coordinates in ISO 6709 decimal degrees, latitude then longitude with signs, e.g. `+40.7128-74.0060`.
category:
anyOf:
- $ref: '#/components/schemas/MilestoneCategory'
- type: 'null'
description: Kind of location.
id:
anyOf:
- type: string
- type: integer
title: Id
type: object
required:
- name
- location
- id
title: MilestoneResponse
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.
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.
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)