Delivery API

Delivery API reference

Every endpoint of the Delivery API, with schemas, errors and examples.

Base URLhttps://api.remi.robot.com/api/v3
OpenAPI
Markdown

Authentication

An API key with the delivery scope, sent as Authorization: Bearer <key>. Ask your Robot.com representative for one.

Deliveries

Create, read, change and cancel deliveries.

List deliveries

GET/deliveryscope delivery

Newest first by default. Pass pagination.next_cursor as cursor to get the next page; it is null on the last page.

Query parameters

limit
integer
1 to 1000. Default 100.
cursor
string
active
'true' | 'false'
external_id
string
sort
'asc' | 'desc'
Default "desc".

Response 200

datarequired
paginationrequired
object
pagination.next_cursorrequired
string | null
pagination.limitrequired
number

Errors

400Invalid query, for example active other than true or false.
401Missing or invalid API key.
403The API key does not have the delivery scope.
Request
curl -X GET 'https://api.remi.robot.com/api/v3/delivery' \
  -H "Authorization: Bearer $REMI_API_KEY"

Create a delivery

POST/deliveryscope delivery

Creates the delivery and returns it. REMI assigns a bot and starts it.

  • A point is a registered id, your external_id, or lat + lng.
  • dropoff is required for standard and not allowed for pickup_only.
  • Any error means no delivery exists, so retrying is safe.

Body

name
string
Display name, for example the order number.
location_id
string
Optional when a point is a registered one.
draft
boolean | null
Create without starting it. Publish with PATCH and draft: false.
mode
'standard' | 'pickup_only' | null
Delivery mode. Defaults to standard (bot delivery).
tags
string[] | null
options
external_id
string | null
Your id. Unique among your active deliveries; use it with id_type=external.
pickuprequired
dropoffRequired for standard, not allowed for pickup_only.
return_pointWhere a canceled, loaded order goes back to. Turns the return on.
packages
deliver_by
string (date-time) | null
Deadline. Not with require_available_bot.
metadata
Record<string, unknown> | null
Free-form, returned as sent.

Response 201

datarequired

Errors

400Invalid body, an unresolvable point, or require_available_bot together with deliver_by.
400INVALID_BOTThe bot in options.bots does not exist for you.
400PICKUP_ONLY_CONTACT_REQUIREDPickup-only with tracking notifications but no pickup contact phone or email.
401Missing or invalid API key.
403The API key does not have the delivery scope.
409NO_AVAILABLE_BOTWith require_available_bot: no bot is free.
409BOT_UNAVAILABLEThe pinned bot is not connected or not available.
409BOT_BUSYThe pinned bot is on another delivery.
501More than one bot in options.bots.
Request
curl -X POST 'https://api.remi.robot.com/api/v3/delivery' \
  -H "Authorization: Bearer $REMI_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"name":"Order #4821","external_id":"order-4821","location_id":"7Nk2QhVpXrLmT4wZaBcDe","pickup":{"id":"V1StGXR8Z5jdHi6BmyT2q","contact":{"name":"Ana","phone":"+573001234567"}},"dropoff":{"lat":4.6602,"lng":-74.0521,"matching":{"mode":"snap","radius":25}},"packages":[{"reference":"burger-pkg","station":"Burger Shop","items":[{"name":"Cheeseburger","quantity":1}]}],"options":{"webhook_url":"https://example.com/hooks/remi"}}'
Example body
{
  "name": "Order #4821",
  "external_id": "order-4821",
  "location_id": "7Nk2QhVpXrLmT4wZaBcDe",
  "pickup": {
    "id": "V1StGXR8Z5jdHi6BmyT2q",
    "contact": {
      "name": "Ana",
      "phone": "+573001234567"
    }
  },
  "dropoff": {
    "lat": 4.6602,
    "lng": -74.0521,
    "matching": {
      "mode": "snap",
      "radius": 25
    }
  },
  "packages": [
    {
      "reference": "burger-pkg",
      "station": "Burger Shop",
      "items": [
        {
          "name": "Cheeseburger",
          "quantity": 1
        }
      ]
    }
  ],
  "options": {
    "webhook_url": "https://example.com/hooks/remi"
  }
}
Example response 201
{
  "data": {
    "id": "ES-5867",
    "name": "Order #4821",
    "draft": false,
    "mode": "standard",
    "state": "pending",
    "paused": false,
    "bot": null,
    "location_id": "7Nk2QhVpXrLmT4wZaBcDe",
    "arriving": false,
    "arriving_at": "2026-06-17T15:51:00.000Z",
    "options": {
      "bots": null,
      "bot_tags": null,
      "require_available_bot": false,
      "webhook_url": "https://example.com/hooks/remi",
      "webhook_headers": null,
      "return_enabled": false,
      "eta_updates": false
    },
    "external_id": "order-4821",
    "pickup": {
      "id": "V1StGXR8Z5jdHi6BmyT2q",
      "name": "Downtown Store",
      "lat": 4.6512,
      "lng": -74.0689,
      "azimuth": null,
      "contact": {
        "name": "Ana",
        "phone": "+573001234567",
        "email": null
      },
      "matching": null
    },
    "dropoff": {
      "id": null,
      "name": "dropoff",
      "lat": 4.6602,
      "lng": -74.0521,
      "azimuth": null,
      "contact": null,
      "matching": {
        "mode": "snap",
        "radius": 25
      }
    },
    "return_point": null,
    "packages": [
      {
        "reference": "burger-pkg",
        "items": [
          {
            "name": "Cheeseburger",
            "quantity": 1,
            "description": null,
            "picture_url": null,
            "metadata": null
          }
        ],
        "dimensions": null,
        "weight": null,
        "metadata": null,
        "station": "Burger Shop",
        "loaded": false
      }
    ],
    "deliver_by": null,
    "created_at": "2026-06-17T15:42:00.000Z",
    "metadata": null,
    "event_type": null,
    "estimates": {
      "distance": 2980,
      "duration": 2483000,
      "pickup": {
        "arrival_at": "2026-06-17T15:51:00.000Z",
        "completion_at": "2026-06-17T15:54:00.000Z",
        "source": "derived",
        "unknown_reason": null
      },
      "dropoff": {
        "arrival_at": "2026-06-17T16:12:00.000Z",
        "completion_at": "2026-06-17T16:14:00.000Z",
        "source": "derived",
        "unknown_reason": null
      },
      "scheduled_at": null,
      "target_completion_at": null
    },
    "tracker_url": "https://track.kiwibot.com/t/A1b2C3d4E5",
    "scheduled": false,
    "cancellation_reason": null,
    "incomplete_reason": null
  }
}

Estimate arrival times

POST/delivery/etascope delivery

Two modes:

  • pickup + dropoff: arrival of the nearest free bot, without creating anything. Travel time only.
  • delivery_id: the current estimate of an existing delivery, including load and unload time.

Body

delivery_id
string
An existing delivery. When set, the points are ignored.
id_type
'external'
Treat delivery_id as your external_id.
pickup
dropoff
location_id
string
Needed when neither point is a registered one.

Response 200

datarequired

Errors

400Neither delivery_id nor both points, or points with no resolvable location.
401Missing or invalid API key.
403The API key does not have the delivery scope.
403The location is not yours.
404No delivery with that delivery_id.
409NO_AVAILABLE_BOTNo connected, free bot with at least 20% battery.
422No route between the points.
Request
curl -X POST 'https://api.remi.robot.com/api/v3/delivery/eta' \
  -H "Authorization: Bearer $REMI_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"location_id":"7Nk2QhVpXrLmT4wZaBcDe","pickup":{"lat":4.6512,"lng":-74.0689},"dropoff":{"lat":4.6602,"lng":-74.0521}}'
Example body
{
  "location_id": "7Nk2QhVpXrLmT4wZaBcDe",
  "pickup": {
    "lat": 4.6512,
    "lng": -74.0689
  },
  "dropoff": {
    "lat": 4.6602,
    "lng": -74.0521
  }
}
Example response 200
{
  "data": {
    "bot_id": "4T001",
    "pickup_eta": "2026-06-17T15:51:00.000Z",
    "dropoff_eta": "2026-06-17T16:12:00.000Z"
  }
}

Get a delivery

GET/delivery/{id}scope delivery

Path parameters

idrequired
string
Delivery id, or your external_id with id_type=external.

Query parameters

id_type
'external'
Treat {id} as your external_id. Resolves only active deliveries.

Response 200

datarequired

Errors

401Missing or invalid API key.
403The API key does not have the delivery scope.
404No delivery with this id in your namespace (by external_id: no active one).
Request
curl -X GET 'https://api.remi.robot.com/api/v3/delivery/{id}' \
  -H "Authorization: Bearer $REMI_API_KEY"
Example response 200
{
  "data": {
    "id": "ES-5867",
    "name": "Order #4821",
    "draft": false,
    "mode": "standard",
    "state": "going_to_pickup",
    "paused": false,
    "bot": {
      "id": "4T001",
      "lat": 4.6498,
      "lng": -74.0712,
      "door_status": "closed",
      "control": null
    },
    "location_id": "7Nk2QhVpXrLmT4wZaBcDe",
    "arriving": false,
    "arriving_at": "2026-06-17T15:51:00.000Z",
    "options": {
      "bots": null,
      "bot_tags": null,
      "require_available_bot": false,
      "webhook_url": "https://example.com/hooks/remi",
      "webhook_headers": null,
      "return_enabled": false,
      "eta_updates": false
    },
    "external_id": "order-4821",
    "pickup": {
      "id": "V1StGXR8Z5jdHi6BmyT2q",
      "name": "Downtown Store",
      "lat": 4.6512,
      "lng": -74.0689,
      "azimuth": null,
      "contact": {
        "name": "Ana",
        "phone": "+573001234567",
        "email": null
      },
      "matching": null
    },
    "dropoff": {
      "id": null,
      "name": "dropoff",
      "lat": 4.6602,
      "lng": -74.0521,
      "azimuth": null,
      "contact": null,
      "matching": {
        "mode": "snap",
        "radius": 25
      }
    },
    "return_point": null,
    "packages": [
      {
        "reference": "burger-pkg",
        "items": [
          {
            "name": "Cheeseburger",
            "quantity": 1,
            "description": null,
            "picture_url": null,
            "metadata": null
          }
        ],
        "dimensions": null,
        "weight": null,
        "metadata": null,
        "station": "Burger Shop",
        "loaded": false
      }
    ],
    "deliver_by": null,
    "created_at": "2026-06-17T15:42:00.000Z",
    "metadata": null,
    "event_type": null,
    "estimates": {
      "distance": 2980,
      "duration": 2483000,
      "pickup": {
        "arrival_at": "2026-06-17T15:51:00.000Z",
        "completion_at": "2026-06-17T15:54:00.000Z",
        "source": "derived",
        "unknown_reason": null
      },
      "dropoff": {
        "arrival_at": "2026-06-17T16:12:00.000Z",
        "completion_at": "2026-06-17T16:14:00.000Z",
        "source": "derived",
        "unknown_reason": null
      },
      "scheduled_at": null,
      "target_completion_at": null
    },
    "tracker_url": "https://track.kiwibot.com/t/A1b2C3d4E5",
    "scheduled": false,
    "cancellation_reason": null,
    "incomplete_reason": null
  }
}

Update a delivery

PATCH/delivery/{id}scope delivery

Supported today: change external_id, and publish a draft with draft: false (add scheduled_at to schedule it). Other fields answer 501.

Path parameters

idrequired
string
Delivery id, or your external_id with id_type=external.

Query parameters

id_type
'external'
Treat {id} as your external_id. Resolves only active deliveries.

Body

name
string
draft
boolean | null
options
external_id
string | null
pickup
{ name?: string, lat?: number, lng?: number, azimuth?: integer | null, contact?: { name?: string | null, phone?: string | null, email?: string (email) | null } | null } | { id: string }
dropoff
{ name?: string, lat?: number, lng?: number, azimuth?: integer | null, contact?: { name?: string | null, phone?: string | null, email?: string (email) | null } | null } | { id: string }
return_point
{ name?: string, lat?: number, lng?: number, azimuth?: integer | null, contact?: { name?: string | null, phone?: string | null, email?: string (email) | null } | null } | { id: string } | null
packages
deliver_by
string (date-time) | null
scheduled_at
string (date-time) | null
metadata
Record<string, unknown> | null

Response 200

datarequired

Errors

400draft: false on a delivery that is not a draft, or a point that can no longer change.
401Missing or invalid API key.
403The API key does not have the delivery scope.
404No delivery with this id in your namespace (by external_id: no active one).
501The field cannot be updated yet.
Request
curl -X PATCH 'https://api.remi.robot.com/api/v3/delivery/{id}' \
  -H "Authorization: Bearer $REMI_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"draft":false,"scheduled_at":"2026-06-17T23:30:00.000Z"}'
Example body
{
  "draft": false,
  "scheduled_at": "2026-06-17T23:30:00.000Z"
}

Get the remaining route

GET/delivery/{id}/routescope delivery

The path the bot still has to drive, from its last position through the remaining stops. Before a bot starts, it begins at the pickup.

Poll it: nothing is pushed when the bot reroutes. A result can be up to 10 seconds old (computed_at).

Path parameters

idrequired
string
Delivery id, or your external_id with id_type=external.

Query parameters

id_type
'external'
Treat {id} as your external_id. Resolves only active deliveries.

Response 200

datarequired

Errors

401Missing or invalid API key.
403The API key does not have the delivery scope.
404No delivery with this id in your namespace (by external_id: no active one).
409PICKUP_ONLY_DELIVERYPickup-only deliveries have no bot.
409DELIVERY_FINALIZEDThe delivery is delivered, returned, canceled or failed.
409BOT_POSITION_UNKNOWNNo bot position from the last 30 minutes. Retry shortly.
Request
curl -X GET 'https://api.remi.robot.com/api/v3/delivery/{id}/route' \
  -H "Authorization: Bearer $REMI_API_KEY"
Example response 200
{
  "data": {
    "source": "estimated",
    "mapped": true,
    "computed_at": "2026-06-17T15:48:10.000Z",
    "position_recorded_at": "2026-06-17T15:48:08.000Z",
    "distance": 2980,
    "duration": 2483000,
    "points": [
      [
        4.6498,
        -74.0712
      ],
      [
        4.6512,
        -74.0689
      ],
      [
        4.6577,
        -74.0571
      ],
      [
        4.6602,
        -74.0521
      ]
    ],
    "stops": [
      {
        "name": "pickup",
        "lat": 4.6512,
        "lng": -74.0689,
        "point_index": 1
      },
      {
        "name": "dropoff",
        "lat": 4.6602,
        "lng": -74.0521,
        "point_index": 3
      }
    ]
  }
}

Cancel a delivery

POST/delivery/{id}/cancelscope delivery

With a return configured and the order already loaded, the bot brings it back and the delivery ends returned. Pickup-only: stations already handed over stay handed over.

Path parameters

idrequired
string
Delivery id, or your external_id with id_type=external.

Query parameters

id_type
'external'
Treat {id} as your external_id. Resolves only active deliveries.

Response 200

successrequired
true

Errors

401Missing or invalid API key.
403The API key does not have the delivery scope.
404No delivery with this id in your namespace (by external_id: no active one).
Request
curl -X POST 'https://api.remi.robot.com/api/v3/delivery/{id}/cancel' \
  -H "Authorization: Bearer $REMI_API_KEY"
Example response 200
{
  "success": true
}

Pause a delivery

POST/delivery/{id}/pausescope delivery

Stops the bot where it is and alerts our operations team. Not an emergency stop: for a physical emergency, call operations too. Pausing again is a no-op.

Path parameters

idrequired
string
Delivery id, or your external_id with id_type=external.

Query parameters

id_type
'external'
Treat {id} as your external_id. Resolves only active deliveries.

Body (optional)

reason
string
Shown to operations. Cut to 200 characters.

Response 200

datarequired

Errors

401Missing or invalid API key.
403The API key does not have the delivery scope.
404No delivery with this id in your namespace (by external_id: no active one).
409DELIVERY_NOT_IN_PROGRESSOnly a delivery in progress can be paused.
409STOP_NOT_SUPPORTEDThis bot or delivery cannot be stopped through the API. Call operations.
409OPERATOR_IN_CONTROLAn operator is driving the bot. Call operations.
Request
curl -X POST 'https://api.remi.robot.com/api/v3/delivery/{id}/pause' \
  -H "Authorization: Bearer $REMI_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"reason":"The robot is blocking a building entrance"}'
Example body
{
  "reason": "The robot is blocking a building entrance"
}

Resume a delivery

POST/delivery/{id}/resumescope delivery

Resumes a delivery you paused. A pause made by our operations team is theirs to resume.

Path parameters

idrequired
string
Delivery id, or your external_id with id_type=external.

Query parameters

id_type
'external'
Treat {id} as your external_id. Resolves only active deliveries.

Body (optional)

reason
string
Shown to operations. Cut to 200 characters.

Response 200

datarequired

Errors

400RESUME_JOB_NO_BOTThe delivery no longer has a bot. Call operations.
400RESUME_JOB_INVALID_STATEThe delivery changed at the same moment. Read it again.
401Missing or invalid API key.
403The API key does not have the delivery scope.
404No delivery with this id in your namespace (by external_id: no active one).
409DELIVERY_NOT_PAUSEDThe delivery is not paused.
409PAUSED_BY_OPERATIONSOur operations team paused it.
409OPERATOR_IN_CONTROLAn operator is driving the bot. Call operations.
Request
curl -X POST 'https://api.remi.robot.com/api/v3/delivery/{id}/resume' \
  -H "Authorization: Bearer $REMI_API_KEY"

Loading

Open the bot door and confirm loads and hand-offs.

Open the door to load

POST/delivery/{id}/load/startscope delivery

At at_pickup: opens the bot door. The state does not change.

Path parameters

idrequired
string
Delivery id, or your external_id with id_type=external.

Query parameters

id_type
'external'
Treat {id} as your external_id. Resolves only active deliveries.

Response 200

datarequired

Errors

400The delivery is not at_pickup, or has no bot.
401Missing or invalid API key.
403The API key does not have the delivery scope.
404No delivery in progress with this id.
Request
curl -X POST 'https://api.remi.robot.com/api/v3/delivery/{id}/load/start' \
  -H "Authorization: Bearer $REMI_API_KEY"

Finish loading

POST/delivery/{id}/load/finishscope delivery

Confirms the whole pickup is loaded: REMI closes the door and the delivery moves to going_to_dropoff. Takes no body. To finish one station or package, use the targeted route. On a bot whose lid a person closes (manual_close_door), this does nothing: the load completes when the lid closes.

Path parameters

idrequired
string
Delivery id, or your external_id with id_type=external.

Query parameters

id_type
'external'
Treat {id} as your external_id. Resolves only active deliveries.

Response 200

datarequired

Errors

400The delivery is not at_pickup (also when it already left), or has no bot.
401Missing or invalid API key.
403The API key does not have the delivery scope.
404No delivery in progress with this id.
Request
curl -X POST 'https://api.remi.robot.com/api/v3/delivery/{id}/load/finish' \
  -H "Authorization: Bearer $REMI_API_KEY"

Finish loading one station or package

POST/delivery/{id}/load/finish/targetscope delivery

Completes only the package or station you name. The bot leaves when every package is loaded. Repeating it is a no-op. On a 409, do not fall back to the untargeted finish: it would load everything.

Path parameters

idrequired
string
Delivery id, or your external_id with id_type=external.

Query parameters

id_type
'external'
Treat {id} as your external_id. Resolves only active deliveries.

Body

package
string
A package reference.
station
string
Every package of this station.

Response 200

datarequired

Errors

400The delivery is not at_pickup, or has no bot.
400LOAD_TARGET_AMBIGUOUSBoth package and station were sent.
400LOAD_TARGET_REQUIREDNo target, and the delivery has several load actions.
401Missing or invalid API key.
403The API key does not have the delivery scope.
404No delivery in progress with this id.
404LOAD_TARGET_NOT_FOUNDUnknown package or station.
409LOAD_TARGET_NOT_LOADABLEThe target is paused, failed, skipped or canceled. Nothing changed.
409LOAD_TARGET_NO_ACTIONSThe target has nothing to load. Nothing changed.
Request
curl -X POST 'https://api.remi.robot.com/api/v3/delivery/{id}/load/finish/target' \
  -H "Authorization: Bearer $REMI_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"station":"Burger Shop"}'
Example body
{
  "station": "Burger Shop"
}

Open the door to unload

POST/delivery/{id}/unload/startscope delivery

At at_dropoff: opens the bot door. The state does not change.

Path parameters

idrequired
string
Delivery id, or your external_id with id_type=external.

Query parameters

id_type
'external'
Treat {id} as your external_id. Resolves only active deliveries.

Response 200

datarequired

Errors

400The delivery is not at_dropoff, or has no bot.
401Missing or invalid API key.
403The API key does not have the delivery scope.
404No delivery in progress with this id.
Request
curl -X POST 'https://api.remi.robot.com/api/v3/delivery/{id}/unload/start' \
  -H "Authorization: Bearer $REMI_API_KEY"

Finish unloading

POST/delivery/{id}/unload/finishscope delivery

Confirms the hand-off: the delivery is delivered. On a bot whose lid a person closes (manual_close_door), this does nothing: the unload completes when the lid closes.

Path parameters

idrequired
string
Delivery id, or your external_id with id_type=external.

Query parameters

id_type
'external'
Treat {id} as your external_id. Resolves only active deliveries.

Response 200

datarequired

Errors

400The delivery is not at_dropoff, or has no bot.
401Missing or invalid API key.
403The API key does not have the delivery scope.
404No delivery in progress with this id.
Request
curl -X POST 'https://api.remi.robot.com/api/v3/delivery/{id}/unload/finish' \
  -H "Authorization: Bearer $REMI_API_KEY"

Pickup-only

Milestones of orders the customer collects, with no bot.

Start preparation

POST/delivery/{id}/preparation/startscope delivery

Pickup-only. Moves the delivery to preparing. Repeating it is a no-op.

Path parameters

idrequired
string
Delivery id, or your external_id with id_type=external.

Query parameters

id_type
'external'
Treat {id} as your external_id. Resolves only active deliveries.

Response 200

datarequired

Errors

400Not a pickup-only delivery.
401Missing or invalid API key.
403The API key does not have the delivery scope.
404No delivery with this id in your namespace (by external_id: no active one).
409MILESTONE_OUT_OF_ORDERThe delivery ended before this milestone.
Request
curl -X POST 'https://api.remi.robot.com/api/v3/delivery/{id}/preparation/start' \
  -H "Authorization: Bearer $REMI_API_KEY"

Finish preparation

POST/delivery/{id}/preparation/finishscope delivery

Pickup-only. Marks the order, or one station or package of it, ready. With several stations, send one call per station; the delivery is ready_for_pickup when all are ready. Repeating it is a no-op.

Path parameters

idrequired
string
Delivery id, or your external_id with id_type=external.

Query parameters

id_type
'external'
Treat {id} as your external_id. Resolves only active deliveries.

Body (optional)

package
string
A package reference.
station
string
Every package of this station.
all_stations
boolean
Accepted, but has no effect today.

Response 200

datarequired

Errors

400MILESTONE_TARGET_AMBIGUOUSBoth package and station were sent.
400MILESTONE_TARGET_REQUIREDThe order has several stations or packages and no target was sent.
401Missing or invalid API key.
403The API key does not have the delivery scope.
404No delivery with this id in your namespace (by external_id: no active one).
404MILESTONE_TARGET_NOT_FOUNDUnknown package or station.
409MILESTONE_OUT_OF_ORDERA previous milestone is missing, or the delivery ended without this one.
409MILESTONE_TARGET_NOT_LOADABLEThe target is paused, failed, skipped or canceled. Nothing changed.
Request
curl -X POST 'https://api.remi.robot.com/api/v3/delivery/{id}/preparation/finish' \
  -H "Authorization: Bearer $REMI_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"station":"Burger Shop"}'
Example body
{
  "station": "Burger Shop"
}

Confirm pickup

POST/delivery/{id}/pickup/confirmscope delivery

Pickup-only. The customer took the order, or one station or package of it. The delivery is picked_up when every station is. The customer can also confirm from the tracker page. Repeating it is a no-op.

Path parameters

idrequired
string
Delivery id, or your external_id with id_type=external.

Query parameters

id_type
'external'
Treat {id} as your external_id. Resolves only active deliveries.

Body (optional)

package
string
A package reference.
station
string
Every package of this station.
all_stations
boolean
Accepted, but has no effect today.

Response 200

datarequired

Errors

400MILESTONE_TARGET_AMBIGUOUSBoth package and station were sent.
400MILESTONE_TARGET_REQUIREDThe order has several stations or packages and no target was sent.
401Missing or invalid API key.
403The API key does not have the delivery scope.
404No delivery with this id in your namespace (by external_id: no active one).
404MILESTONE_TARGET_NOT_FOUNDUnknown package or station.
409MILESTONE_OUT_OF_ORDERA previous milestone is missing, or the delivery ended without this one.
409MILESTONE_TARGET_NOT_LOADABLEThe target is paused, failed, skipped or canceled. Nothing changed.
Request
curl -X POST 'https://api.remi.robot.com/api/v3/delivery/{id}/pickup/confirm' \
  -H "Authorization: Bearer $REMI_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"station":"Burger Shop"}'
Example body
{
  "station": "Burger Shop"
}

Kitchen availability

Whether a kitchen can take orders right now.

Check several kitchens

GET/delivery/points/availabilityscope delivery

Send exactly one of location_id (every pickup point there) or point_ids (up to 100). Unknown ids come back with reason: unknown_point.

Query parameters

location_id
string
point_ids
string
id_type
'external'

Response 200

Errors

400Both or neither filter, more than 100 ids, or id_type with location_id.
401Missing or invalid API key.
403The API key does not have the delivery scope.
Request
curl -X GET 'https://api.remi.robot.com/api/v3/delivery/points/availability' \
  -H "Authorization: Bearer $REMI_API_KEY"
Example response 200
{
  "data": [
    {
      "point_id": "V1StGXR8Z5jdHi6BmyT2q",
      "external_id": "kitchen-north",
      "name": "North Kitchen",
      "available": true,
      "last_seen_at": "2026-06-17T15:40:00.000Z",
      "reason": "ok"
    },
    {
      "point_id": "9QzXcV5bNm1LkJhGfDsAp",
      "external_id": "kitchen-south",
      "name": "South Kitchen",
      "available": false,
      "reason": "no_session"
    }
  ]
}

Check one kitchen

GET/delivery/points/{id}/availabilityscope delivery

Whether the kitchen at this pickup point can take orders now: its tablet session is live. Fails closed: when unsure, available is false. Always 200 for a known caller.

Path parameters

idrequired
string
Point id (ours, not external_id).

Query parameters

id_type
string

Response 200

datarequired

Errors

400id_type was sent. Use the batch endpoint to look up by external_id.
401Missing or invalid API key.
403The API key does not have the delivery scope.
Request
curl -X GET 'https://api.remi.robot.com/api/v3/delivery/points/{id}/availability' \
  -H "Authorization: Bearer $REMI_API_KEY"
Example response 200
{
  "data": {
    "available": true,
    "last_seen_at": "2026-06-17T15:40:00.000Z",
    "reason": "ok"
  }
}

Partner

Your partner account. Each API key has one, created once.

Get your partner

GET/partnersscope delivery

Response 200

datarequired

Errors

401Missing or invalid API key.
403The API key does not have the delivery scope.
404You have not created your partner yet. Create it with POST /partners.
Request
curl -X GET 'https://api.remi.robot.com/api/v3/partners' \
  -H "Authorization: Bearer $REMI_API_KEY"
Example response 200
{
  "data": {
    "id": "V1StGXR8Z5jdHi6BmyT2q",
    "external_id": "ext_8Fh2KpLm4NqRs7TvWxYz1",
    "namespace": "partner_acme",
    "name": "Acme Logistics",
    "enabled": true
  }
}

Create your partner

POST/partnersscope delivery

Creates the partner of your API key, which can have only one.

Body

namerequired
string
Display name. Must be unique.

Response 201

datarequired

Errors

400Invalid body, for example a missing name.
401Missing or invalid API key.
403The API key does not have the delivery scope.
409Your key already has a partner. Use GET or PATCH /partners.
409PARTNER_NAME_TAKENname is already used by another partner.
Request
curl -X POST 'https://api.remi.robot.com/api/v3/partners' \
  -H "Authorization: Bearer $REMI_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"name":"Acme Logistics"}'
Example body
{
  "name": "Acme Logistics"
}
Example response 201
{
  "data": {
    "id": "V1StGXR8Z5jdHi6BmyT2q",
    "external_id": "ext_8Fh2KpLm4NqRs7TvWxYz1",
    "namespace": "partner_acme",
    "name": "Acme Logistics",
    "enabled": true
  }
}

Update your partner

PATCH/partnersscope delivery

Body

namerequired
string
Display name. Must be unique.

Response 200

datarequired

Errors

400Invalid body, or no field to update.
401Missing or invalid API key.
403The API key does not have the delivery scope.
404You have not created your partner yet. Create it with POST /partners.
409PARTNER_NAME_TAKENname is already used by another partner.
Request
curl -X PATCH 'https://api.remi.robot.com/api/v3/partners' \
  -H "Authorization: Bearer $REMI_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"name":"Acme Logistics US"}'
Example body
{
  "name": "Acme Logistics US"
}
Example response 200
{
  "data": {
    "id": "V1StGXR8Z5jdHi6BmyT2q",
    "external_id": "ext_8Fh2KpLm4NqRs7TvWxYz1",
    "namespace": "partner_acme",
    "name": "Acme Logistics US",
    "enabled": true
  }
}

Locations

The operating areas of your partner, and the paths our bots can drive in them.

List locations

GET/locationsscope delivery

Response 200

datarequired

Errors

400Your partner does not exist yet. Create it with POST /partners.
401Missing or invalid API key.
403The API key does not have the delivery scope.
Request
curl -X GET 'https://api.remi.robot.com/api/v3/locations' \
  -H "Authorization: Bearer $REMI_API_KEY"
Example response 200
{
  "data": [
    {
      "id": "7Nk2QhVpXrLmT4wZaBcDe",
      "external_id": "ext_8Fh2KpLm4NqRs7TvWxYz1",
      "partner_id": "V1StGXR8Z5jdHi6BmyT2q",
      "full_name": "Downtown Campus",
      "short_name": "DTC",
      "country_code": "CO",
      "city_name": "Bogotá",
      "state_name": null,
      "time_zone": "America/Bogota",
      "enabled": true,
      "polygon": {
        "type": "Polygon",
        "coordinates": [
          [
            -74.0712,
            4.6498
          ],
          [
            -74.0521,
            4.6498
          ],
          [
            -74.0521,
            4.6602
          ],
          [
            -74.0712,
            4.6602
          ],
          [
            -74.0712,
            4.6498
          ]
        ]
      },
      "availability_intervals": null
    }
  ]
}

Create a location

POST/locationsscope delivery

Body

full_namerequired
string
Display name. Must be unique.
short_namerequired
string
Short code, 3 to 4 characters. Must be unique. Up to 4 characters.
country_coderequired
string
ISO 3166-1 alpha-2, for example US. Up to 2 characters.
city_name
string
state_name
string
time_zone
string
IANA time zone, for example America/Bogota. Defaults to America/Bogota.
polygonrequired
object
Operating area. coordinates is a flat list of [lng, lat] pairs, not the nested rings of standard GeoJSON.
polygon.typerequired
'Polygon'
polygon.coordinatesrequired
number[][]

Response 201

datarequired

Errors

400Invalid body, for example a short_name that is not 3 to 4 characters or a polygon with nested rings.
400Your partner does not exist yet. Create it with POST /partners.
401Missing or invalid API key.
403The API key does not have the delivery scope.
409LOCATION_NAME_TAKENfull_name or short_name is already used: names are unique across all partners. params.field says which.
Request
curl -X POST 'https://api.remi.robot.com/api/v3/locations' \
  -H "Authorization: Bearer $REMI_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"full_name":"Downtown Campus","short_name":"DTC","country_code":"CO","city_name":"Bogotá","polygon":{"type":"Polygon","coordinates":[[-74.0712,4.6498],[-74.0521,4.6498],[-74.0521,4.6602],[-74.0712,4.6602],[-74.0712,4.6498]]}}'
Example body
{
  "full_name": "Downtown Campus",
  "short_name": "DTC",
  "country_code": "CO",
  "city_name": "Bogotá",
  "polygon": {
    "type": "Polygon",
    "coordinates": [
      [
        -74.0712,
        4.6498
      ],
      [
        -74.0521,
        4.6498
      ],
      [
        -74.0521,
        4.6602
      ],
      [
        -74.0712,
        4.6602
      ],
      [
        -74.0712,
        4.6498
      ]
    ]
  }
}
Example response 201
{
  "data": {
    "id": "7Nk2QhVpXrLmT4wZaBcDe",
    "external_id": "ext_8Fh2KpLm4NqRs7TvWxYz1",
    "partner_id": "V1StGXR8Z5jdHi6BmyT2q",
    "full_name": "Downtown Campus",
    "short_name": "DTC",
    "country_code": "CO",
    "city_name": "Bogotá",
    "state_name": null,
    "time_zone": "America/Bogota",
    "enabled": true,
    "polygon": {
      "type": "Polygon",
      "coordinates": [
        [
          -74.0712,
          4.6498
        ],
        [
          -74.0521,
          4.6498
        ],
        [
          -74.0521,
          4.6602
        ],
        [
          -74.0712,
          4.6602
        ],
        [
          -74.0712,
          4.6498
        ]
      ]
    },
    "availability_intervals": null
  }
}

Get a location

GET/locations/{id}scope delivery

Path parameters

idrequired
string
Location id.

Response 200

datarequired

Errors

400Your partner does not exist yet. Create it with POST /partners.
401Missing or invalid API key.
403The API key does not have the delivery scope.
404No location with this id in your partner.
Request
curl -X GET 'https://api.remi.robot.com/api/v3/locations/{id}' \
  -H "Authorization: Bearer $REMI_API_KEY"
Example response 200
{
  "data": {
    "id": "7Nk2QhVpXrLmT4wZaBcDe",
    "external_id": "ext_8Fh2KpLm4NqRs7TvWxYz1",
    "partner_id": "V1StGXR8Z5jdHi6BmyT2q",
    "full_name": "Downtown Campus",
    "short_name": "DTC",
    "country_code": "CO",
    "city_name": "Bogotá",
    "state_name": null,
    "time_zone": "America/Bogota",
    "enabled": true,
    "polygon": {
      "type": "Polygon",
      "coordinates": [
        [
          -74.0712,
          4.6498
        ],
        [
          -74.0521,
          4.6498
        ],
        [
          -74.0521,
          4.6602
        ],
        [
          -74.0712,
          4.6602
        ],
        [
          -74.0712,
          4.6498
        ]
      ]
    },
    "availability_intervals": null
  }
}

Update a location

PATCH/locations/{id}scope delivery

Send only the fields you change.

Path parameters

idrequired
string
Location id.

Body

full_name
string
Display name. Must be unique.
short_name
string
Short code, 3 to 4 characters. Must be unique. Up to 4 characters.
country_code
string
ISO 3166-1 alpha-2, for example US. Up to 2 characters.
city_name
string
state_name
string
time_zone
string
IANA time zone, for example America/Bogota. Defaults to America/Bogota.
polygon
object
Operating area. coordinates is a flat list of [lng, lat] pairs, not the nested rings of standard GeoJSON.
polygon.typerequired
'Polygon'
polygon.coordinatesrequired
number[][]

Response 200

datarequired

Errors

400Invalid body, or no field to update.
400Your partner does not exist yet. Create it with POST /partners.
401Missing or invalid API key.
403The API key does not have the delivery scope.
404No location with this id in your partner.
409LOCATION_NAME_TAKENfull_name or short_name is already used: names are unique across all partners. params.field says which.
Request
curl -X PATCH 'https://api.remi.robot.com/api/v3/locations/{id}' \
  -H "Authorization: Bearer $REMI_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"city_name":"Bogotá D.C."}'
Example body
{
  "city_name": "Bogotá D.C."
}
Example response 200
{
  "data": {
    "id": "7Nk2QhVpXrLmT4wZaBcDe",
    "external_id": "ext_8Fh2KpLm4NqRs7TvWxYz1",
    "partner_id": "V1StGXR8Z5jdHi6BmyT2q",
    "full_name": "Downtown Campus",
    "short_name": "DTC",
    "country_code": "CO",
    "city_name": "Bogotá D.C.",
    "state_name": null,
    "time_zone": "America/Bogota",
    "enabled": true,
    "polygon": {
      "type": "Polygon",
      "coordinates": [
        [
          -74.0712,
          4.6498
        ],
        [
          -74.0521,
          4.6498
        ],
        [
          -74.0521,
          4.6602
        ],
        [
          -74.0712,
          4.6602
        ],
        [
          -74.0712,
          4.6498
        ]
      ]
    },
    "availability_intervals": null
  }
}

Get the paths of a location

GET/locations/{id}/pathsscope delivery

The paths our bots can drive at the location: sidewalks, crossings and driveways, as a GeoJSON FeatureCollection of LineStrings. A location with no map returns an empty collection. Not paginated; a change to the map can take up to 10 minutes to appear.

Path parameters

idrequired
string
Location id.

Response 200

datarequired

Errors

400Your partner does not exist yet. Create it with POST /partners.
401Missing or invalid API key.
403The API key does not have the delivery scope.
404No location with this id in your partner.
503The map service is temporarily unavailable. Retry later.
Request
curl -X GET 'https://api.remi.robot.com/api/v3/locations/{id}/paths' \
  -H "Authorization: Bearer $REMI_API_KEY"
Example response 200
{
  "data": {
    "type": "FeatureCollection",
    "features": [
      {
        "type": "Feature",
        "geometry": {
          "type": "LineString",
          "coordinates": [
            [
              -74.0712,
              4.6498
            ],
            [
              -74.0689,
              4.6512
            ],
            [
              -74.0671,
              4.6527
            ]
          ]
        },
        "properties": {
          "id": 1042,
          "kind": "sidewalk"
        }
      },
      {
        "type": "Feature",
        "geometry": {
          "type": "LineString",
          "coordinates": [
            [
              -74.0671,
              4.6527
            ],
            [
              -74.067,
              4.6531
            ]
          ]
        },
        "properties": {
          "id": 1043,
          "kind": "crossing"
        }
      }
    ]
  }
}

Points

Named coordinates inside a location, used as pickup and dropoff anchors.

List points

GET/pointsscope delivery

The points of one location.

Query parameters

location_idrequired
string
A location you own.

Response 200

datarequired

Errors

400location_id is missing.
400Your partner does not exist yet. Create it with POST /partners.
401Missing or invalid API key.
403The API key does not have the delivery scope.
404No location with this id in your partner.
Request
curl -X GET 'https://api.remi.robot.com/api/v3/points' \
  -H "Authorization: Bearer $REMI_API_KEY"
Example response 200
{
  "data": [
    {
      "id": "Qm3LxYtR9vBnKs2FdHjWp",
      "external_id": "kitchen-north",
      "location_id": "7Nk2QhVpXrLmT4wZaBcDe",
      "partner_id": "V1StGXR8Z5jdHi6BmyT2q",
      "name": "North Kitchen",
      "description": null,
      "lat": 4.6512,
      "lng": -74.0689,
      "azimuth": null,
      "tags": [
        "pickup"
      ]
    }
  ]
}

Create a point

POST/pointsscope delivery

Adds a point to one of your locations. A point without the pickup tag is never reported as available by the kitchen availability check (not_pickup).

Body

location_idrequired
string
A location you own.
latrequired
number
-90 to 90.
lngrequired
number
-180 to 180.
name
string
description
string
azimuth
integer
Approach heading in degrees, 0 to 360. 0 to 360.
external_id
string
Your own id for the point. Must be unique across your points. Generated when omitted.
tags
('pickup' | 'dropoff')[]
Roles of the point: pickup (kitchen, where orders start) and dropoff (delivery destination). Up to 20 items.

Response 201

datarequired

Errors

400Invalid body, for example a lat out of range or a tag other than pickup or dropoff.
400Your partner does not exist yet. Create it with POST /partners.
401Missing or invalid API key.
403The API key does not have the delivery scope.
404No location with this id in your partner.
409POINT_EXTERNAL_ID_TAKENexternal_id is already used by another of your points.
Request
curl -X POST 'https://api.remi.robot.com/api/v3/points' \
  -H "Authorization: Bearer $REMI_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"location_id":"7Nk2QhVpXrLmT4wZaBcDe","external_id":"kitchen-north","name":"North Kitchen","lat":4.6512,"lng":-74.0689,"tags":["pickup"]}'
Example body
{
  "location_id": "7Nk2QhVpXrLmT4wZaBcDe",
  "external_id": "kitchen-north",
  "name": "North Kitchen",
  "lat": 4.6512,
  "lng": -74.0689,
  "tags": [
    "pickup"
  ]
}
Example response 201
{
  "data": {
    "id": "Qm3LxYtR9vBnKs2FdHjWp",
    "external_id": "kitchen-north",
    "location_id": "7Nk2QhVpXrLmT4wZaBcDe",
    "partner_id": "V1StGXR8Z5jdHi6BmyT2q",
    "name": "North Kitchen",
    "description": null,
    "lat": 4.6512,
    "lng": -74.0689,
    "azimuth": null,
    "tags": [
      "pickup"
    ]
  }
}

Get a point

GET/points/{id}scope delivery

Path parameters

idrequired
string
Point id, or your external_id with id_type=external.

Query parameters

id_type
'external'
Treat {id} as your external_id.

Response 200

datarequired

Errors

400Your partner does not exist yet. Create it with POST /partners.
401Missing or invalid API key.
403The API key does not have the delivery scope.
404No point with this id in your partner (by external_id: no point with this value).
Request
curl -X GET 'https://api.remi.robot.com/api/v3/points/{id}' \
  -H "Authorization: Bearer $REMI_API_KEY"
Example response 200
{
  "data": {
    "id": "Qm3LxYtR9vBnKs2FdHjWp",
    "external_id": "kitchen-north",
    "location_id": "7Nk2QhVpXrLmT4wZaBcDe",
    "partner_id": "V1StGXR8Z5jdHi6BmyT2q",
    "name": "North Kitchen",
    "description": null,
    "lat": 4.6512,
    "lng": -74.0689,
    "azimuth": null,
    "tags": [
      "pickup"
    ]
  }
}

Update a point

PATCH/points/{id}scope delivery

Send only the fields you change. tags replaces the pickup and dropoff roles, so omit it to keep them. A point cannot move to another location.

Path parameters

idrequired
string
Point id, or your external_id with id_type=external.

Query parameters

id_type
'external'
Treat {id} as your external_id.

Body

lat
number
-90 to 90.
lng
number
-180 to 180.
name
string
description
string
azimuth
integer
Approach heading in degrees, 0 to 360. 0 to 360.
external_id
string
Your own id for the point. Must be unique across your points. Generated when omitted.
tags
('pickup' | 'dropoff')[]
The complete set of roles. It replaces the current pickup and dropoff roles, so send every role you want to keep. Up to 20 items.

Response 200

datarequired

Errors

400Invalid body: no field to update, an unknown field (such as location_id), or an empty tags.
400Your partner does not exist yet. Create it with POST /partners.
401Missing or invalid API key.
403The API key does not have the delivery scope.
404No point with this id in your partner (by external_id: no point with this value).
409POINT_EXTERNAL_ID_TAKENexternal_id is already used by another of your points.
Request
curl -X PATCH 'https://api.remi.robot.com/api/v3/points/{id}' \
  -H "Authorization: Bearer $REMI_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"tags":["pickup","dropoff"]}'
Example body
{
  "tags": [
    "pickup",
    "dropoff"
  ]
}
Example response 200
{
  "data": {
    "id": "Qm3LxYtR9vBnKs2FdHjWp",
    "external_id": "kitchen-north",
    "location_id": "7Nk2QhVpXrLmT4wZaBcDe",
    "partner_id": "V1StGXR8Z5jdHi6BmyT2q",
    "name": "North Kitchen",
    "description": null,
    "lat": 4.6512,
    "lng": -74.0689,
    "azimuth": null,
    "tags": [
      "dropoff",
      "pickup"
    ]
  }
}

Bots

Status, live telemetry, camera and remote stops of your bots.

List bots

GET/botsscope delivery

Your bots: assigned to your partner, or with no partner and at one of your locations. Connected bots come first. No telemetry or control.

Response 200

datarequired

Errors

400Your partner does not exist yet. Create it with POST /partners.
401Missing or invalid API key.
403The API key does not have the delivery scope.
Request
curl -X GET 'https://api.remi.robot.com/api/v3/bots' \
  -H "Authorization: Bearer $REMI_API_KEY"
Example response 200
{
  "data": [
    {
      "id": "4T001",
      "commercial_name": "Bot 12",
      "available": true,
      "can_take_delivery": true,
      "availability_status": "available",
      "connected": true,
      "operational": true,
      "autonomy_enabled": true,
      "manual_close_door": false,
      "location_id": "7Nk2QhVpXrLmT4wZaBcDe",
      "partner_id": "V1StGXR8Z5jdHi6BmyT2q",
      "current_action": null,
      "current_job_id": null,
      "reserved_job_id": null,
      "current_target_point_id": null,
      "last_connection_event_at": 1781710800000,
      "last_operational_event_at": 1781710200000
    }
  ]
}

Get a bot

GET/bots/{id}scope delivery

The bot with its last telemetry and who controls it. Check recorded_at and connected before trusting a position.

Path parameters

idrequired
string
Bot id, for example 4T001.

Response 200

datarequired

Errors

400Your partner does not exist yet. Create it with POST /partners.
401Missing or invalid API key.
403The API key does not have the delivery scope.
404No bot with this id among your bots.
Request
curl -X GET 'https://api.remi.robot.com/api/v3/bots/{id}' \
  -H "Authorization: Bearer $REMI_API_KEY"
Example response 200
{
  "data": {
    "id": "4T001",
    "commercial_name": "Bot 12",
    "available": true,
    "can_take_delivery": true,
    "availability_status": "available",
    "connected": true,
    "operational": true,
    "autonomy_enabled": true,
    "manual_close_door": false,
    "location_id": "7Nk2QhVpXrLmT4wZaBcDe",
    "partner_id": "V1StGXR8Z5jdHi6BmyT2q",
    "current_action": null,
    "current_job_id": null,
    "reserved_job_id": null,
    "current_target_point_id": null,
    "last_connection_event_at": 1781710800000,
    "last_operational_event_at": 1781710200000,
    "telemetry": {
      "position": {
        "lat": 4.6498,
        "lng": -74.0712,
        "heading": 87.5,
        "recorded_at": "2026-06-17T15:41:01.000Z"
      },
      "battery": {
        "percentage": 82,
        "charging": false,
        "recorded_at": "2026-06-17T15:40:52.000Z"
      },
      "speed": {
        "mps": 0.84,
        "recorded_at": "2026-06-17T15:41:00.500Z"
      },
      "door": {
        "status": "closed",
        "recorded_at": "2026-06-17T15:40:58.000Z"
      }
    },
    "control": {
      "mode": "autonomous",
      "since": null
    }
  }
}

Stop a bot

POST/bots/{id}/stopscope delivery

Asks a bot that is not on a delivery in progress to halt where it is. It does not hold the bot: its next delivery moves it. Not a hardware emergency stop.

Path parameters

idrequired
string
Bot id, for example 4T001.

Body (optional)

reason
string
Optional note. Cut to 200 characters.

Response 200

datarequired
object
data.bot_idrequired
string
data.stoppedrequired
true

Errors

400Your partner does not exist yet. Create it with POST /partners.
401Missing or invalid API key.
403The API key does not have the delivery scope.
404No bot with this id among your bots.
409BOT_OFFLINEThe bot is offline.
409STOP_NOT_SUPPORTEDThis robot cannot be stopped through the API.
409ACTIVE_DELIVERYThe bot is on a delivery in progress, and a stop would not hold. Pause the delivery instead. params.delivery_id names it when it is yours.
Request
curl -X POST 'https://api.remi.robot.com/api/v3/bots/{id}/stop' \
  -H "Authorization: Bearer $REMI_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"reason":"Blocking a door"}'
Example body
{
  "reason": "Blocking a door"
}
Example response 200
{
  "data": {
    "bot_id": "4T001",
    "stopped": true
  }
}

Hard stop a bot

POST/bots/{id}/hard_stopscope delivery

Sends the stop our teleoperators use: pressed, then released after one second. It works while the bot is on a delivery (operations is alerted) and does not pause the delivery. Not a hardware emergency stop: in an emergency call operations.

Path parameters

idrequired
string
Bot id, for example 4T001.

Body (optional)

reason
string
Why you stopped it. Operations sees it when the bot is on a delivery. Cut to 200 characters.

Response 200

datarequired
object
data.bot_idrequired
string
data.hard_stoppedrequired
true

Errors

400Your partner does not exist yet. Create it with POST /partners.
401Missing or invalid API key.
403The API key does not have the delivery scope.
404No bot with this id among your bots.
409BOT_OFFLINEThe bot is offline.
409STOP_NOT_SUPPORTEDThis robot cannot take a hard stop through the API.
Request
curl -X POST 'https://api.remi.robot.com/api/v3/bots/{id}/hard_stop' \
  -H "Authorization: Bearer $REMI_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"reason":"Person in the path"}'
Example body
{
  "reason": "Person in the path"
}
Example response 200
{
  "data": {
    "bot_id": "4T001",
    "hard_stopped": true
  }
}

Types

Problem

Fields

typerequired
string
Always about:blank.
titlerequired
string
The HTTP status text.
statusrequired
integer
-9007199254740991 to 9007199254740991.
detailrequired
string
Human-readable. Do not parse it: branch on code.
instancerequired
string
The request path.
code
string
Stable machine-readable error code, when the error has one.
params
Record<string, unknown>
Values that explain the error, keyed by name.

Delivery

Fields

idrequired
string
Delivery id, usually like ES-5867. Treat it as an opaque string.
namerequired
string | null
draftrequired
boolean
True while a draft. Publish with PATCH and draft: false.
moderequired
'standard' | 'pickup_only'
standard: a bot delivers. pickup_only: the customer picks up, no bot.
staterequired
pausedrequired
boolean
True while on hold. state keeps the leg it was on.
botrequired
object | null
The assigned bot. Null before assignment and for pickup-only.
bot.idrequired
string
bot.latrequired
number | null
bot.lngrequired
number | null
bot.door_statusrequired
string | null
bot.controlrequired
object | null
Who drives the bot. Set on webhooks only; null on reads.
bot.control.moderequired
'autonomous' | 'teleop_requested' | 'teleop'
autonomous: drives itself. teleop_requested: waiting for an operator. teleop: an operator is driving.
bot.control.sincerequired
number | null
Epoch milliseconds when the mode started. Null when autonomous.
location_idrequired
string
arrivingrequired
boolean | null
True while the bot approaches its current stop. Not the signal to load: wait for at_pickup.
arriving_atrequired
string (date-time) | null
Estimated arrival at the current stop.
optionsrequired
object
Stored options. tracking is not returned.
options.botsrequired
string[] | null
options.bot_tagsrequired
string[] | null
options.require_available_botrequired
boolean
options.webhook_urlrequired
string | null
options.webhook_headersrequired
Record<string, string> | null
options.return_enabledrequired
boolean
options.eta_updatesrequired
boolean
external_idrequired
string | null
pickuprequired
dropoffrequiredNull for pickup-only.
return_pointrequired
packagesrequired
deliver_byrequired
string (date-time) | null
created_atrequired
string (date-time)
metadatarequired
Record<string, unknown> | null
event_typerequired
string | null
On a webhook, the event that sent it. Null on reads.
estimatesrequired
object
estimates.distancerequired
number | null
Meters left.
estimates.durationrequired
number | null
Milliseconds of travel left.
estimates.pickuprequired
estimates.dropoffrequired
estimates.scheduled_atrequired
string (date-time) | null
estimates.target_completion_atrequired
string (date-time) | null
tracker_urlrequired
string | null
Tracking page for the recipient.
scheduledrequired
boolean
cancellation_reasonrequired
string | null
incomplete_reasonrequired
string | null

DeliveryState

Where the delivery is. Standard: pending → going_to_pickup → at_pickup → going_to_dropoff → at_dropoff → delivered, or going_to_return → at_return → returned. Pickup-only: pending → preparing → ready_for_pickup → picked_up. canceled means someone called it off; failed means it could not be completed.

DeliveryPoint

Fields

idrequired
string | null
Registered point id, or null when the point was sent as coordinates only.
namerequired
string
latrequired
number
lngrequired
number
azimuthrequired
number | null
Approach heading in degrees, 0 to 360.
contactrequired
object | null
contact.namerequired
string | null
contact.phonerequired
string | null
contact.emailrequired
string | null
matchingrequired
{ mode: 'exact', required?: boolean } | { mode: 'snap', radius: number, required?: boolean } | { mode: 'associate', radius: number, required?: boolean } | null
Link coordinates to a registered point. exact: a point within 5 m, use its coordinates. snap: the nearest point within radius meters, use its coordinates. associate: the nearest point within radius meters, keep your coordinates. required: true fails with 400 when none is found.

DeliveryPackage

Fields

referencerequired
string | null
Your reference, as sent.
itemsrequired
({ name: string, quantity: number, description: string | null, picture_url: string | null, metadata: Record<string, unknown> | null })[] | null
items[].namerequired
string
items[].quantityrequired
number
items[].descriptionrequired
string | null
items[].picture_urlrequired
string | null
items[].metadatarequired
Record<string, unknown> | null
dimensionsrequired
object | null
Always null today: dimensions are accepted on create but not stored.
dimensions.lengthrequired
number | null
dimensions.widthrequired
number | null
dimensions.heightrequired
number | null
weightrequired
number | null
Grams.
metadatarequired
Record<string, unknown> | null
stationrequired
string | null
Prep station, trimmed. Send this value back to target the station.
loadedrequired
boolean
True once this package's pickup load is complete.

DeliveryNodeEstimate

Fields

arrival_atrequired
string (date-time) | null
The real arrival once reached, else a projection. Null when unknown.
completion_atrequired
string (date-time) | null
When the stop finishes: real once done, else a projection.
sourcerequired
'actual' | 'derived' | null
actual: arrival_at already happened. derived: a projection.
unknown_reasonrequired
'no_route' | 'unpriced_leg' | 'not_departed' | null
Set whenever arrival_at is null. no_route: no bot yet. unpriced_leg: leg not priced yet. not_departed: not on its way yet.

DeliveryEta

Fields

bot_idrequired
string | null
The bot the estimate is for. Null until a bot is assigned.
pickup_etarequired
string (date-time) | null
dropoff_etarequired
string (date-time) | null

DeliveryRoute

Fields

sourcerequired
'estimated' | 'robot'
Always estimated today. Handle other values.
mappedrequired
boolean
False when at least one leg is a straight-line estimate.
computed_atrequired
string (date-time)
position_recorded_atrequired
string (date-time) | null
When the bot reported the start position. Null before a bot drives it.
distancerequired
number
Meters left, travel only.
durationrequired
number
Milliseconds left, travel only.
pointsrequired
[number, number][]
[lat, lng] pairs in driving order. Empty at the last stop.
stopsrequired
({ name: 'pickup' | 'dropoff' | 'return', lat: number, lng: number, point_index: number })[]
stops[].namerequired
'pickup' | 'dropoff' | 'return'
stops[].latrequired
number
stops[].lngrequired
number
stops[].point_indexrequired
number
Index into points of this stop.

PointAvailability

Fields

availablerequired
boolean
last_seen_at
string
Present only when available.
reasonrequired
enum
One of ok, no_session, no_kds_session, not_engine_mode, reporting_disabled, not_pickup, unknown_point.
pds
object
Kitchen-display locations only: the operator tablet.
pds.availablerequired
boolean
pds.last_seen_at
string
kds
object
Kitchen-display locations only: the kitchen board.
kds.availablerequired
boolean
kds.last_seen_at
string
point_idrequired
string | null
external_idrequired
string | null
namerequired
string | null

Availability

Fields

availablerequired
boolean
last_seen_at
string
Present only when available.
reasonrequired
enum
One of ok, no_session, no_kds_session, not_engine_mode, reporting_disabled, not_pickup, unknown_point.
pds
object
Kitchen-display locations only: the operator tablet.
pds.availablerequired
boolean
pds.last_seen_at
string
kds
object
Kitchen-display locations only: the kitchen board.
kds.availablerequired
boolean
kds.last_seen_at
string

PointInput

Fields

id
string
A registered point.
external_id
string
A registered point, by your id.
name
string
lat
number
lng
number
azimuth
integer | null
Approach heading in degrees. 0 to 360.
contact
object | null
Contact at this point. On the dropoff, the recipient of tracking messages.
contact.name
string | null
contact.phone
string | null
With country code. Needed for SMS tracking.
contact.email
string (email) | null
Needed for email tracking.
matching
{ mode: 'exact', required?: boolean } | { mode: 'snap', radius: number, required?: boolean } | { mode: 'associate', radius: number, required?: boolean } | null
Link coordinates to a registered point. exact: a point within 5 m, use its coordinates. snap: the nearest point within radius meters, use its coordinates. associate: the nearest point within radius meters, keep your coordinates. required: true fails with 400 when none is found.

PackageInput

Fields

description
string | null
picture_url
string | null
reference
string | null
Your reference. Target this package by it when loading.
items
({ name: string, quantity: integer, description?: string | null, picture_url?: string (uri) | null, metadata?: Record<string, unknown> | null })[] | null
items[].namerequired
string
items[].quantityrequired
integer
At most 9007199254740991.
items[].description
string | null
items[].picture_url
string (uri) | null
items[].metadata
Record<string, unknown> | null
dimensions
object | null
dimensions.lengthrequired
number
Length in millimeters
dimensions.widthrequired
number
Width in millimeters
dimensions.heightrequired
number
Height in millimeters
weight
number | null
Grams.
metadata
Record<string, unknown> | null
station
string | null
Prep station that owns this package (e.g. "Burger Shop"). Create one package per station to enable the PDS station filter. Trimmed; blank is treated as no station; max 50 characters.

DeliveryOptionsInput

Fields

bots
string[] | null
Pin the delivery to one bot id.
bot_tags
string[]
Only bots carrying every tag can take it. Up to 20 items.
require_available_bot
boolean | null
Fail with 409 NO_AVAILABLE_BOT instead of waiting when no bot is free. Not with deliver_by.
webhook_url
string (uri) | null
Where this delivery's webhooks go. No URL, no webhooks.
webhook_headers
Record<string, string> | null
Sent with every webhook, for example your auth header.
return_enabled
boolean | null
If canceled after loading, the bot brings the order back to return_point, else to the pickup.
eta_updates
boolean | null
Also send a node_eta_changed webhook when an arrival time moves.
tracking
object | null
Text or email the recipient at each step. Needs the matching contact detail.
tracking.notify
object | null
tracking.notify.sms
boolean | null
tracking.notify.email
boolean | null

Partner

Fields

idrequired
string
external_idrequired
string
Assigned by REMI, starting with ext_. You cannot set it.
namespacerequired
string
Taken from your API key.
namerequired
string
enabledrequired
boolean

PartnerResponse

Fields

datarequired

Location

Fields

idrequired
string
external_idrequired
string
Assigned by REMI, starting with ext_. You cannot set it.
partner_idrequired
string | null
full_namerequired
string
short_namerequired
string
country_coderequired
string
city_namerequired
string | null
state_namerequired
string | null
time_zonerequired
string | null
enabledrequired
boolean
polygonrequired
object
Operating area. coordinates is a flat list of [lng, lat] pairs, not the nested rings of standard GeoJSON.
polygon.typerequired
'Polygon'
polygon.coordinatesrequired
number[][]
availability_intervalsrequired
Record<string, { isOpen: boolean, openTime: string, closeTime: string }> | null
Opening hours, set by REMI. Null when none are configured.

LocationResponse

Fields

datarequired

LocationPaths

Fields

typerequired
'FeatureCollection'
featuresrequired
({ type: 'Feature', geometry: { type: 'LineString', coordinates: [number, number][] }, properties: { id: number | null, kind: 'sidewalk' | 'crossing' | 'driveway' } })[]
features[].typerequired
'Feature'
features[].geometryrequired
object
features[].geometry.typerequired
'LineString'
features[].geometry.coordinatesrequired
[number, number][]
[lng, lat] pairs in drive order.
features[].propertiesrequired
object
features[].properties.idrequired
number | null
Id of the way in our map. Null when the map has none.
features[].properties.kindrequired
'sidewalk' | 'crossing' | 'driveway'

Point

Fields

idrequired
string
external_idrequired
string
Your external_id, or ext_ followed by 21 characters when you did not set one.
location_idrequired
string
partner_idrequired
string | null
namerequired
string
descriptionrequired
string | null
latrequired
number
lngrequired
number
azimuthrequired
number | null
Approach heading in degrees, 0 to 360.
tagsrequired
('pickup' | 'dropoff')[]
Roles of the point, the same values PATCH accepts. REMI may set other roles that are not shown.

PointResponse

Fields

datarequired

Bot

Fields

idrequired
string
commercial_namerequired
string | null
availablerequired
boolean
In service. Stays true during a delivery: use can_take_delivery to know whether the bot is free.
can_take_deliveryrequired
boolean
True when the bot is in service, connected, and free or only on work that a new delivery replaces.
availability_statusrequired
enum | null
One of available, marketing, maintenance, mapping, off_duty, unknown.
connectedrequired
boolean
True while the bot is online.
operationalrequired
boolean
autonomy_enabledrequired
boolean
manual_close_doorrequired
boolean
location_idrequired
string | null
partner_idrequired
string | null
current_actionrequired
enum | null
Deprecated. Always null. One of move, load, activity, unload, finish, panic.
current_job_idrequired
string | null
The delivery the bot is serving. Null while it is free or only on work that a new delivery replaces.
reserved_job_idrequired
string | null
current_target_point_idrequired
string | null
Deprecated. Always null.
last_connection_event_atrequired
number | null
Epoch milliseconds.
last_operational_event_atrequired
number | null
Epoch milliseconds.

BotDetail

Fields

idrequired
string
commercial_namerequired
string | null
availablerequired
boolean
In service. Stays true during a delivery: use can_take_delivery to know whether the bot is free.
can_take_deliveryrequired
boolean
True when the bot is in service, connected, and free or only on work that a new delivery replaces.
availability_statusrequired
enum | null
One of available, marketing, maintenance, mapping, off_duty, unknown.
connectedrequired
boolean
True while the bot is online.
operationalrequired
boolean
autonomy_enabledrequired
boolean
manual_close_doorrequired
boolean
location_idrequired
string | null
partner_idrequired
string | null
current_actionrequired
enum | null
Deprecated. Always null. One of move, load, activity, unload, finish, panic.
current_job_idrequired
string | null
The delivery the bot is serving. Null while it is free or only on work that a new delivery replaces.
reserved_job_idrequired
string | null
current_target_point_idrequired
string | null
Deprecated. Always null.
last_connection_event_atrequired
number | null
Epoch milliseconds.
last_operational_event_atrequired
number | null
Epoch milliseconds.
telemetryrequiredThe last values the robot reported. A group is null when it has not reported it.
controlrequiredWho drives the bot. Null when it could not be read: retry.

BotTelemetry

Fields

positionrequired
object | null
position.latrequired
number
position.lngrequired
number
position.headingrequired
number | null
Compass bearing in degrees: 0 is north, 90 is east. Null when the robot reports none.
position.recorded_atrequired
string (date-time)
When the robot measured it, in UTC.
batteryrequired
object | null
battery.percentagerequired
number
battery.chargingrequired
boolean | null
True while the battery takes current (pad or cable) or a full bot rests on the pad. Null when the robot reports no battery current.
battery.recorded_atrequired
string (date-time)
When the robot measured it, in UTC.
speedrequired
object | null
Null while the bot is offline.
speed.mpsrequired
number
Meters per second, never negative.
speed.recorded_atrequired
string (date-time)
When the robot measured it, in UTC.
doorrequired
object | null
door.statusrequired
'opened' | 'closed' | 'opening' | 'closing' | 'stalled'
door.recorded_atrequired
string (date-time)
When the robot measured it, in UTC.

BotControl

Fields

moderequired
'autonomous' | 'teleop_requested' | 'teleop'
autonomous: drives itself. teleop_requested: waiting for an operator. teleop: an operator is driving.
sincerequired
number | null
Epoch milliseconds when the mode started. Null when autonomous.