Engine API
Engine API reference
Every endpoint of the Engine API.
https://api.remi.robot.com/api/v3Authentication
An API key with the engine scope, sent as Authorization: Bearer <key>. Ask your Robot.com representative for one.
- POST
/engine/jobs/{id}/startStart a job - POST
/engine/jobs/{id}/pausePause a job - POST
/engine/jobs/{id}/resumeResume a paused job - POST
/engine/jobs/{id}/cancelCancel a job - POST
/engine/jobs/{id}/completeComplete a job early - POST
/engine/jobs/{id}/failFail a job - POST
/engine/jobs/{id}/activateActivate a draft job - POST
/engine/jobs/{id}/scheduleSchedule a job - POST
/engine/jobs/{id}/assign-botAssign a bot - POST
/engine/jobs/{id}/unassign-botUnassign the bot - POST
/engine/jobs/swap-botsSwap the bots of two jobs - POST
/engine/jobs/transfer-botMove a bot to another job - POST
/engine/jobs/{id}/jump-toJump to a node
- POST
/engine/jobs/{jobId}/nodesAdd a node - PATCH
/engine/jobs/{jobId}/nodes/{nodeName}Update a node - DELETE
/engine/jobs/{jobId}/nodes/{nodeName}Delete a node - POST
/engine/jobs/{jobId}/nodes/{nodeName}/releaseRelease a held node - POST
/engine/jobs/{jobId}/nodes/{nodeName}/arriveMark a node as arrived - POST
/engine/jobs/{jobId}/nodes/{nodeName}/update-estimationsUpdate travel estimates
- POST
/engine/jobs/{jobId}/nodes/{nodeName}/actionsAdd an action - PATCH
/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}Update an action - DELETE
/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}Delete an action - POST
/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}/completeComplete an action - POST
/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}/failFail an action - POST
/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}/skipSkip an action - POST
/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}/cancelCancel an action - POST
/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}/loadConfirm a package is loaded - POST
/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}/unloadConfirm a package is unloaded
- POST
/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}/doorOpen or close the door during an action - POST
/engine/bots/{botId}/actions/doorOpen or close a bot door - POST
/engine/bots/{botId}/actions/animationPlay a screen animation - POST
/engine/jobs/{jobId}/bot/actions/doorOpen or close the door of a job bot
Jobs
Create, read, edit and delete jobs: a sequence of stops (nodes) for a bot, each with actions.
Count jobs by state
/engine/jobs/overviewscope engineTotals for your namespace. completedLast24h and failedLast24h count jobs that reached that state in the last 24 hours.
Query parameters
locationsstring | Comma-separated location ids. Only jobs at these locations. |
Response 200
datarequired |
Errors
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
curl -X GET 'https://api.remi.robot.com/api/v3/engine/jobs/overview' \
-H "Authorization: Bearer $REMI_API_KEY"{
"data": {
"total": 1280,
"active": 12,
"draft": 1,
"scheduled": 2,
"pending": 3,
"in_progress": 5,
"paused": 1,
"completed": 1240,
"failed": 9,
"canceled": 19,
"completedLast24h": 87,
"failedLast24h": 1
}
}List jobs
/engine/jobsscope engineNewest first by default. Send next_cursor.id as cursor_id and next_cursor.createdAt as cursor_created_at to get the next page. next_cursor is null on the last page.
Query parameters
locationsstring | Comma-separated location ids. Only jobs at these locations. |
active'true' | 'false' | true: draft, scheduled, pending, in progress and paused jobs. false: completed, failed and canceled jobs. |
limitinteger | Page size, 1 to 1000. Default 100. 1 to 1000. Default 100. |
cursor_idstring | next_cursor.id of the previous page. Send it with cursor_created_at. |
cursor_created_atstring | next_cursor.createdAt of the previous page. Send it with cursor_id. |
order'asc' | 'desc' | By creation time. Default desc. Default "desc". |
Response 200
datarequired | |
paginationrequiredobject | |
pagination.next_cursorrequiredobject | null | |
pagination.next_cursor.idrequiredstring | |
pagination.next_cursor.createdAtrequiredstring | |
pagination.limitrequirednumber |
Errors
| 400 | Invalid query, for example limit above 1000. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
curl -X GET 'https://api.remi.robot.com/api/v3/engine/jobs' \
-H "Authorization: Bearer $REMI_API_KEY"{
"data": [
{
"id": "ES-5867",
"namespace": "partner_example",
"externalId": "order-4821",
"locationId": "7Nk2QhVpXrLmT4wZaBcDe",
"version": 4,
"name": "Order #4821",
"description": null,
"pictureURL": null,
"assignation": "auto",
"start": "auto",
"state": "in_progress",
"currentNodeIndex": 0,
"priority": 0,
"expendable": false,
"createdManually": false,
"scheduledAt": null,
"targetCompletionAt": null,
"startedAt": "2026-06-17T15:43:10.000Z",
"finalizedAt": null,
"botId": "4T001",
"requiresBot": true,
"requiredBotTags": null,
"createdAt": "2026-06-17T15:42:00.000Z",
"updatedAt": "2026-06-17T15:43:10.000Z",
"tags": null,
"metadata": null,
"nodes": [
{
"jobId": "ES-5867",
"name": "pickup",
"description": null,
"pictureURL": null,
"index": 0,
"pointId": "V1StGXR8Z5jdHi6BmyT2q",
"lat": 4.6512,
"lng": -74.0689,
"azimuth": null,
"positionIndex": 0,
"hasPositionDefined": true,
"distance": 1240,
"travelDuration": 480000,
"actionsDuration": 120000,
"totalDuration": 600000,
"estimatedArrivalAt": "2026-06-17T15:51:00.000Z",
"startedAt": "2026-06-17T15:43:10.000Z",
"departedAt": "2026-06-17T15:43:10.000Z",
"arrivedAt": null,
"finalizedAt": null,
"state": "in_progress",
"transitState": "in_transit",
"allowFailure": false,
"expendable": false,
"tags": null,
"released": true,
"metadata": null,
"actions": [
{
"jobId": "ES-5867",
"nodeName": "pickup",
"name": "load",
"index": 0,
"type": "load",
"blockingType": "hard",
"state": "pending",
"allowFailure": false,
"packageName": "pkg-1",
"bundleName": null,
"metadata": null,
"startedAt": null,
"finalizedAt": null,
"duration": 120000,
"createdAt": "2026-06-17T15:42:00.000Z",
"updatedAt": null
}
]
},
{
"jobId": "ES-5867",
"name": "dropoff",
"description": null,
"pictureURL": null,
"index": 1,
"pointId": null,
"lat": 4.6602,
"lng": -74.0521,
"azimuth": null,
"positionIndex": 1,
"hasPositionDefined": true,
"distance": 0,
"travelDuration": 1500000,
"actionsDuration": 60000,
"totalDuration": 1560000,
"estimatedArrivalAt": "2026-06-17T16:12:00.000Z",
"startedAt": null,
"departedAt": null,
"arrivedAt": null,
"finalizedAt": null,
"state": "pending",
"transitState": null,
"allowFailure": false,
"expendable": false,
"tags": null,
"released": true,
"metadata": null,
"actions": [
{
"jobId": "ES-5867",
"nodeName": "dropoff",
"name": "unload",
"index": 0,
"type": "unload",
"blockingType": "hard",
"state": "pending",
"allowFailure": false,
"packageName": "pkg-1",
"bundleName": null,
"metadata": null,
"startedAt": null,
"finalizedAt": null,
"duration": 60000,
"createdAt": "2026-06-17T15:42:00.000Z",
"updatedAt": null
}
]
}
],
"packages": [
{
"jobId": "ES-5867",
"name": "pkg-1",
"bundleName": null,
"description": null,
"pictureURL": null,
"items": [
{
"name": "Cheeseburger",
"quantity": 1
}
],
"metadata": null,
"station": "Burger Shop",
"createdAt": "2026-06-17T15:42:00.000Z"
}
]
}
],
"pagination": {
"next_cursor": {
"id": "ES-5867",
"createdAt": "2026-06-17T15:42:00.000Z"
},
"limit": 1
}
}Create a job
/engine/jobsscope engineCreates the job with its nodes, actions, packages and hooks in one call.
namespacemust be your key namespace.- The response may come before the travel estimates of the nodes are calculated. Get the job again to read them.
- To schedule it, send
state: scheduledwithscheduledAt.
Body
namespacerequiredstring | The namespace the job belongs to. Must be your API key's namespace. Up to 255 characters. |
externalIdstring | null | Your own reference for the job. Unique among the active jobs of the namespace. Up to 255 characters. |
locationIdrequiredstring | The location the job is associated with. Up to 255 characters. |
namerequiredstring | The name of the job Up to 255 characters. |
descriptionstring | null | A description in markdown format. Up to 1024 characters. |
pictureURLstring (uri) | null | URL of a picture of the job. |
prioritynumber | The priority of the job from 0 (lowest) to 100 (highest). 0 to 100. |
expendableboolean | If true, the job can be ended early to free its bot without counting as failed. |
botIdstring | null | The bot for the job, for example 4T001. It must be at the job's location and connected. |
requireAvailableBotboolean | When true and no specific bot is pinned, reject creation (NO_AVAILABLE_BOT) unless at least one bot is available for the location/namespace. Ignored for draft/scheduled jobs. |
requiresBotboolean | When false, the job runs without a bot: it can start and progress with no bot assigned, bots cannot be assigned to it, and it must use manual assignation. Defaults to true. |
requiredBotTagsstring[] | null | Only bots carrying EVERY one of these bot tags are candidates. Empty or null means any bot. |
assignation'auto' | 'manual' | auto (default): a bot is assigned for you. manual: you assign it. |
start'auto' | 'manual' | auto (default): the job starts once a bot is assigned and free. manual: it waits for the start route. |
state'draft' | 'scheduled' | 'pending' | 'in_progress' | Initial state. Defaults to pending. scheduled needs scheduledAt. |
tagsstring[] | null | Labels for searching and filtering. |
metadataRecord<string, unknown> | null | A record of key-value pairs containing additional metadata about the entity. |
nodes | The stops of the job, in visiting order. |
hooks | |
packages | |
scheduledAtstring (date-time) | null | When the job should reach its first node. Required with state: scheduled. |
targetCompletionAtstring (date-time) | null | When the job is expected to finish. |
Response 201
datarequired |
Errors
| 400 | Invalid body. |
400HOOK_ACTION_NOT_ALLOWED | action is not call_webhook, or target is not an http(s) URL. |
400POINT_NOT_FOUND | A node pointId is not a point of the job location. |
400BOTLESS_JOB_CANNOT_HAVE_BOT | requiresBot is false together with botId or requireAvailableBot. |
400BOTLESS_JOB_MUST_BE_MANUAL_ASSIGNATION | requiresBot is false and assignation is not manual. |
400STATIONED_PACKAGES_REQUIRE_PER_PACKAGE_LOAD | A load action without packageName covers packages of more than one station. |
400INVALID_BOT | botId does not exist or is at another location. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 403 | namespace is not your key namespace. |
409NO_AVAILABLE_BOT | With requireAvailableBot and no botId: no bot is available. |
409BOT_UNAVAILABLE | botId is retired, off duty, not connected, or belongs to another partner. |
409BOT_BUSY | state is in_progress and botId is on another job. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"namespace":"partner_example","externalId":"order-4821","locationId":"7Nk2QhVpXrLmT4wZaBcDe","name":"Order #4821","nodes":[{"name":"pickup","pointId":"V1StGXR8Z5jdHi6BmyT2q","actions":[{"name":"load","type":"load","packageName":"pkg-1"}]},{"name":"dropoff","lat":4.6602,"lng":-74.0521,"actions":[{"name":"unload","type":"unload","packageName":"pkg-1"}]}],"packages":[{"name":"pkg-1","station":"Burger Shop","items":[{"name":"Cheeseburger","quantity":1}]}]}'{
"namespace": "partner_example",
"externalId": "order-4821",
"locationId": "7Nk2QhVpXrLmT4wZaBcDe",
"name": "Order #4821",
"nodes": [
{
"name": "pickup",
"pointId": "V1StGXR8Z5jdHi6BmyT2q",
"actions": [
{
"name": "load",
"type": "load",
"packageName": "pkg-1"
}
]
},
{
"name": "dropoff",
"lat": 4.6602,
"lng": -74.0521,
"actions": [
{
"name": "unload",
"type": "unload",
"packageName": "pkg-1"
}
]
}
],
"packages": [
{
"name": "pkg-1",
"station": "Burger Shop",
"items": [
{
"name": "Cheeseburger",
"quantity": 1
}
]
}
]
}{
"data": {
"id": "ES-5867",
"namespace": "partner_example",
"externalId": "order-4821",
"locationId": "7Nk2QhVpXrLmT4wZaBcDe",
"version": 1,
"name": "Order #4821",
"description": null,
"pictureURL": null,
"assignation": "auto",
"start": "auto",
"state": "pending",
"currentNodeIndex": null,
"priority": 0,
"expendable": false,
"createdManually": false,
"scheduledAt": null,
"targetCompletionAt": null,
"startedAt": null,
"finalizedAt": null,
"botId": null,
"requiresBot": true,
"requiredBotTags": null,
"createdAt": "2026-06-17T15:42:00.000Z",
"updatedAt": null,
"tags": null,
"metadata": null,
"nodes": [
{
"jobId": "ES-5867",
"name": "pickup",
"description": null,
"pictureURL": null,
"index": 0,
"pointId": "V1StGXR8Z5jdHi6BmyT2q",
"lat": 4.6512,
"lng": -74.0689,
"azimuth": null,
"positionIndex": 0,
"hasPositionDefined": true,
"distance": 1240,
"travelDuration": 480000,
"actionsDuration": 120000,
"totalDuration": 600000,
"estimatedArrivalAt": "2026-06-17T15:51:00.000Z",
"startedAt": null,
"departedAt": null,
"arrivedAt": null,
"finalizedAt": null,
"state": "pending",
"transitState": null,
"allowFailure": false,
"expendable": false,
"tags": null,
"released": true,
"metadata": null,
"actions": [
{
"jobId": "ES-5867",
"nodeName": "pickup",
"name": "load",
"index": 0,
"type": "load",
"blockingType": "hard",
"state": "pending",
"allowFailure": false,
"packageName": "pkg-1",
"bundleName": null,
"metadata": null,
"startedAt": null,
"finalizedAt": null,
"duration": 120000,
"createdAt": "2026-06-17T15:42:00.000Z",
"updatedAt": null
}
]
},
{
"jobId": "ES-5867",
"name": "dropoff",
"description": null,
"pictureURL": null,
"index": 1,
"pointId": null,
"lat": 4.6602,
"lng": -74.0521,
"azimuth": null,
"positionIndex": 1,
"hasPositionDefined": true,
"distance": 0,
"travelDuration": 1500000,
"actionsDuration": 60000,
"totalDuration": 1560000,
"estimatedArrivalAt": "2026-06-17T16:12:00.000Z",
"startedAt": null,
"departedAt": null,
"arrivedAt": null,
"finalizedAt": null,
"state": "pending",
"transitState": null,
"allowFailure": false,
"expendable": false,
"tags": null,
"released": true,
"metadata": null,
"actions": [
{
"jobId": "ES-5867",
"nodeName": "dropoff",
"name": "unload",
"index": 0,
"type": "unload",
"blockingType": "hard",
"state": "pending",
"allowFailure": false,
"packageName": "pkg-1",
"bundleName": null,
"metadata": null,
"startedAt": null,
"finalizedAt": null,
"duration": 60000,
"createdAt": "2026-06-17T15:42:00.000Z",
"updatedAt": null
}
]
}
],
"packages": [
{
"jobId": "ES-5867",
"name": "pkg-1",
"bundleName": null,
"description": null,
"pictureURL": null,
"items": [
{
"name": "Cheeseburger",
"quantity": 1
}
],
"metadata": null,
"station": "Burger Shop",
"createdAt": "2026-06-17T15:42:00.000Z"
}
]
}
}Get the active job of a bot
/engine/jobs/by-bot/{botId}scope engineThe in-progress or paused job of the bot. data is null when the bot has none.
Path parameters
botIdrequiredstring | Bot id, for example 4T001. |
Query parameters
include_hooks'true' | 'false' | true to include the job hooks. |
include_events'true' | 'false' | true to include the job events. |
include_alerts'true' | 'false' | true to include the job alerts. |
Response 200
datarequired |
Errors
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
curl -X GET 'https://api.remi.robot.com/api/v3/engine/jobs/by-bot/{botId}' \
-H "Authorization: Bearer $REMI_API_KEY"{
"data": {
"id": "ES-5867",
"namespace": "partner_example",
"externalId": "order-4821",
"locationId": "7Nk2QhVpXrLmT4wZaBcDe",
"version": 4,
"name": "Order #4821",
"description": null,
"pictureURL": null,
"assignation": "auto",
"start": "auto",
"state": "in_progress",
"currentNodeIndex": 0,
"priority": 0,
"expendable": false,
"createdManually": false,
"scheduledAt": null,
"targetCompletionAt": null,
"startedAt": "2026-06-17T15:43:10.000Z",
"finalizedAt": null,
"botId": "4T001",
"requiresBot": true,
"requiredBotTags": null,
"createdAt": "2026-06-17T15:42:00.000Z",
"updatedAt": "2026-06-17T15:43:10.000Z",
"tags": null,
"metadata": null,
"nodes": [
{
"jobId": "ES-5867",
"name": "pickup",
"description": null,
"pictureURL": null,
"index": 0,
"pointId": "V1StGXR8Z5jdHi6BmyT2q",
"lat": 4.6512,
"lng": -74.0689,
"azimuth": null,
"positionIndex": 0,
"hasPositionDefined": true,
"distance": 1240,
"travelDuration": 480000,
"actionsDuration": 120000,
"totalDuration": 600000,
"estimatedArrivalAt": "2026-06-17T15:51:00.000Z",
"startedAt": "2026-06-17T15:43:10.000Z",
"departedAt": "2026-06-17T15:43:10.000Z",
"arrivedAt": null,
"finalizedAt": null,
"state": "in_progress",
"transitState": "in_transit",
"allowFailure": false,
"expendable": false,
"tags": null,
"released": true,
"metadata": null,
"actions": [
{
"jobId": "ES-5867",
"nodeName": "pickup",
"name": "load",
"index": 0,
"type": "load",
"blockingType": "hard",
"state": "pending",
"allowFailure": false,
"packageName": "pkg-1",
"bundleName": null,
"metadata": null,
"startedAt": null,
"finalizedAt": null,
"duration": 120000,
"createdAt": "2026-06-17T15:42:00.000Z",
"updatedAt": null
}
]
},
{
"jobId": "ES-5867",
"name": "dropoff",
"description": null,
"pictureURL": null,
"index": 1,
"pointId": null,
"lat": 4.6602,
"lng": -74.0521,
"azimuth": null,
"positionIndex": 1,
"hasPositionDefined": true,
"distance": 0,
"travelDuration": 1500000,
"actionsDuration": 60000,
"totalDuration": 1560000,
"estimatedArrivalAt": "2026-06-17T16:12:00.000Z",
"startedAt": null,
"departedAt": null,
"arrivedAt": null,
"finalizedAt": null,
"state": "pending",
"transitState": null,
"allowFailure": false,
"expendable": false,
"tags": null,
"released": true,
"metadata": null,
"actions": [
{
"jobId": "ES-5867",
"nodeName": "dropoff",
"name": "unload",
"index": 0,
"type": "unload",
"blockingType": "hard",
"state": "pending",
"allowFailure": false,
"packageName": "pkg-1",
"bundleName": null,
"metadata": null,
"startedAt": null,
"finalizedAt": null,
"duration": 60000,
"createdAt": "2026-06-17T15:42:00.000Z",
"updatedAt": null
}
]
}
],
"packages": [
{
"jobId": "ES-5867",
"name": "pkg-1",
"bundleName": null,
"description": null,
"pictureURL": null,
"items": [
{
"name": "Cheeseburger",
"quantity": 1
}
],
"metadata": null,
"station": "Burger Shop",
"createdAt": "2026-06-17T15:42:00.000Z"
}
]
}
}Get a job
/engine/jobs/{id}scope engineIncludes nodes, actions and packages.
Path parameters
idrequiredstring | Job id. |
Query parameters
include_hooks'true' | 'false' | true to include the job hooks. |
include_events'true' | 'false' | true to include the job events. |
include_alerts'true' | 'false' | true to include the job alerts. |
Response 200
datarequired |
Errors
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
curl -X GET 'https://api.remi.robot.com/api/v3/engine/jobs/{id}' \
-H "Authorization: Bearer $REMI_API_KEY"{
"data": {
"id": "ES-5867",
"namespace": "partner_example",
"externalId": "order-4821",
"locationId": "7Nk2QhVpXrLmT4wZaBcDe",
"version": 4,
"name": "Order #4821",
"description": null,
"pictureURL": null,
"assignation": "auto",
"start": "auto",
"state": "in_progress",
"currentNodeIndex": 0,
"priority": 0,
"expendable": false,
"createdManually": false,
"scheduledAt": null,
"targetCompletionAt": null,
"startedAt": "2026-06-17T15:43:10.000Z",
"finalizedAt": null,
"botId": "4T001",
"requiresBot": true,
"requiredBotTags": null,
"createdAt": "2026-06-17T15:42:00.000Z",
"updatedAt": "2026-06-17T15:43:10.000Z",
"tags": null,
"metadata": null,
"nodes": [
{
"jobId": "ES-5867",
"name": "pickup",
"description": null,
"pictureURL": null,
"index": 0,
"pointId": "V1StGXR8Z5jdHi6BmyT2q",
"lat": 4.6512,
"lng": -74.0689,
"azimuth": null,
"positionIndex": 0,
"hasPositionDefined": true,
"distance": 1240,
"travelDuration": 480000,
"actionsDuration": 120000,
"totalDuration": 600000,
"estimatedArrivalAt": "2026-06-17T15:51:00.000Z",
"startedAt": "2026-06-17T15:43:10.000Z",
"departedAt": "2026-06-17T15:43:10.000Z",
"arrivedAt": null,
"finalizedAt": null,
"state": "in_progress",
"transitState": "in_transit",
"allowFailure": false,
"expendable": false,
"tags": null,
"released": true,
"metadata": null,
"actions": [
{
"jobId": "ES-5867",
"nodeName": "pickup",
"name": "load",
"index": 0,
"type": "load",
"blockingType": "hard",
"state": "pending",
"allowFailure": false,
"packageName": "pkg-1",
"bundleName": null,
"metadata": null,
"startedAt": null,
"finalizedAt": null,
"duration": 120000,
"createdAt": "2026-06-17T15:42:00.000Z",
"updatedAt": null
}
]
},
{
"jobId": "ES-5867",
"name": "dropoff",
"description": null,
"pictureURL": null,
"index": 1,
"pointId": null,
"lat": 4.6602,
"lng": -74.0521,
"azimuth": null,
"positionIndex": 1,
"hasPositionDefined": true,
"distance": 0,
"travelDuration": 1500000,
"actionsDuration": 60000,
"totalDuration": 1560000,
"estimatedArrivalAt": "2026-06-17T16:12:00.000Z",
"startedAt": null,
"departedAt": null,
"arrivedAt": null,
"finalizedAt": null,
"state": "pending",
"transitState": null,
"allowFailure": false,
"expendable": false,
"tags": null,
"released": true,
"metadata": null,
"actions": [
{
"jobId": "ES-5867",
"nodeName": "dropoff",
"name": "unload",
"index": 0,
"type": "unload",
"blockingType": "hard",
"state": "pending",
"allowFailure": false,
"packageName": "pkg-1",
"bundleName": null,
"metadata": null,
"startedAt": null,
"finalizedAt": null,
"duration": 60000,
"createdAt": "2026-06-17T15:42:00.000Z",
"updatedAt": null
}
]
}
],
"packages": [
{
"jobId": "ES-5867",
"name": "pkg-1",
"bundleName": null,
"description": null,
"pictureURL": null,
"items": [
{
"name": "Cheeseburger",
"quantity": 1
}
],
"metadata": null,
"station": "Burger Shop",
"createdAt": "2026-06-17T15:42:00.000Z"
}
]
}
}Update a job
/engine/jobs/{id}scope engineSend only what changes. state moves the job like the lifecycle routes, and botId assigns the bot (null unassigns it).
Path parameters
idrequiredstring | Job id. |
Body
externalIdstring | null | Your own reference for the job. Unique among the active jobs of the namespace. Up to 255 characters. |
namestring | The name of the job Up to 255 characters. |
descriptionstring | null | A description in markdown format. Up to 1024 characters. |
pictureURLstring (uri) | null | URL of a picture of the job. |
prioritynumber | The priority of the job from 0 (lowest) to 100 (highest). 0 to 100. |
expendableboolean | If true, the job can be ended early to free its bot without counting as failed. |
botIdstring | null | The bot for the job, for example 4T001. It must be at the job's location and connected. |
requiredBotTagsstring[] | null | Only bots carrying EVERY one of these bot tags are candidates. Empty or null means any bot. |
stateenum | Move the job to this state. One of draft, scheduled, pending, in_progress, paused, canceled, completed, failed. |
tagsstring[] | null | Labels for searching and filtering. |
metadataRecord<string, unknown> | null | A record of key-value pairs containing additional metadata about the entity. |
versionnumber | The version of the job. Must match the next version of the job to update it. |
scheduledAtstring (date-time) | null | When the job should reach its first node. Required with state: scheduled. |
targetCompletionAtstring (date-time) | null | When the job is expected to finish. |
Response 200
datarequired |
Errors
| 400 | Invalid body. |
| 400 | The new state is not allowed from the current one. The code is the one of the matching lifecycle route, for example CANCEL_JOB_ALREADY_FINALIZED. |
400CANNOT_START_JOB_NO_BOT | state is in_progress and the job has no bot. |
400ASSIGN_BOT_JOB_DOES_NOT_REQUIRE_BOT | botId is set on a job with requiresBot false. |
400ASSIGN_BOT_JOB_FINALIZED | botId is set on a finished job. |
400UNASSIGN_BOT_JOB_IN_PROGRESS | botId is null on an in-progress job. |
400JOB_SCHEDULED_AT_REQUIRED | state is scheduled. Use the schedule route instead. |
400INVALID_BOT | The bot does not exist or is at another location. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
409JOB_VERSION_MISMATCH | version is not the current version plus one. |
409BOT_UNAVAILABLE | The bot is retired, off duty, not connected, or belongs to another partner. |
409BOT_BUSY | The job is in progress and the bot is on another job. |
curl -X PATCH 'https://api.remi.robot.com/api/v3/engine/jobs/{id}' \
-H "Authorization: Bearer $REMI_API_KEY"Delete a draft job
/engine/jobs/{id}scope engineOnly drafts can be deleted. Cancel any other job.
Path parameters
idrequiredstring | Job id. |
Response 200
datarequiredobject | |
data.deletedrequiredtrue | |
data.idrequiredstring |
Errors
| 400 | The job is not a draft. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
curl -X DELETE 'https://api.remi.robot.com/api/v3/engine/jobs/{id}' \
-H "Authorization: Bearer $REMI_API_KEY"{
"data": {
"deleted": true,
"id": "ES-5868"
}
}Job lifecycle
Move a job through its states and decide which bot works on it.
Start a job
/engine/jobs/{id}/startscope engineMoves a pending or scheduled job to in_progress. It needs a bot unless requiresBot is false.
Path parameters
idrequiredstring | Job id. |
Body (optional)
nextVersionnumber | Expected job version after this change: the current version plus one. If the job changed meanwhile the call fails with JOB_VERSION_MISMATCH. |
Response 200
datarequired |
Errors
400CANNOT_START_JOB_NO_BOT | The job has no bot and needs one. |
400START_JOB_INVALID_STATE | The job is not pending or scheduled. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
409JOB_VERSION_MISMATCH | nextVersion is not the current version plus one. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{id}/start' \
-H "Authorization: Bearer $REMI_API_KEY"Pause a job
/engine/jobs/{id}/pausescope engineStops the bot and pauses the running actions.
Path parameters
idrequiredstring | Job id. |
Body (optional)
nextVersionnumber | Expected job version after this change: the current version plus one. If the job changed meanwhile the call fails with JOB_VERSION_MISMATCH. |
Response 200
datarequired |
Errors
400PAUSE_JOB_INVALID_STATE | The job is not in progress. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
409JOB_VERSION_MISMATCH | nextVersion is not the current version plus one. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{id}/pause' \
-H "Authorization: Bearer $REMI_API_KEY"Resume a paused job
/engine/jobs/{id}/resumescope enginePath parameters
idrequiredstring | Job id. |
Body (optional)
nextVersionnumber | Expected job version after this change: the current version plus one. If the job changed meanwhile the call fails with JOB_VERSION_MISMATCH. |
Response 200
datarequired |
Errors
400RESUME_JOB_INVALID_STATE | The job is not paused. |
400RESUME_JOB_NO_BOT | The job has no bot and needs one. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
409JOB_VERSION_MISMATCH | nextVersion is not the current version plus one. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{id}/resume' \
-H "Authorization: Bearer $REMI_API_KEY"Cancel a job
/engine/jobs/{id}/cancelscope engineStops the bot, cancels the unfinished actions and frees the bot. A canceled job cannot be resumed.
Path parameters
idrequiredstring | Job id. |
Body (optional)
reasonstring | Why. Stored in the job metadata.finalizationReason unless one is already set. |
nextVersionnumber | Expected job version after this change: the current version plus one. If the job changed meanwhile the call fails with JOB_VERSION_MISMATCH. |
Response 200
datarequired |
Errors
| 400 | Invalid body. |
400CANCEL_JOB_ALREADY_FINALIZED | The job is already completed, failed or canceled. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
409JOB_VERSION_MISMATCH | nextVersion is not the current version plus one. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{id}/cancel' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"reason":"Customer canceled the order"}'{
"reason": "Customer canceled the order"
}{
"data": {
"id": "ES-5867",
"namespace": "partner_example",
"externalId": "order-4821",
"locationId": "7Nk2QhVpXrLmT4wZaBcDe",
"version": 5,
"name": "Order #4821",
"description": null,
"pictureURL": null,
"assignation": "auto",
"start": "auto",
"state": "canceled",
"currentNodeIndex": 0,
"priority": 0,
"expendable": false,
"createdManually": false,
"scheduledAt": null,
"targetCompletionAt": null,
"startedAt": "2026-06-17T15:43:10.000Z",
"finalizedAt": "2026-06-17T15:45:00.000Z",
"botId": "4T001",
"requiresBot": true,
"requiredBotTags": null,
"createdAt": "2026-06-17T15:42:00.000Z",
"updatedAt": "2026-06-17T15:45:00.000Z",
"tags": null,
"metadata": {
"finalizationReason": "Customer canceled the order"
},
"nodes": [
{
"jobId": "ES-5867",
"name": "pickup",
"description": null,
"pictureURL": null,
"index": 0,
"pointId": "V1StGXR8Z5jdHi6BmyT2q",
"lat": 4.6512,
"lng": -74.0689,
"azimuth": null,
"positionIndex": 0,
"hasPositionDefined": true,
"distance": 1240,
"travelDuration": 480000,
"actionsDuration": 120000,
"totalDuration": 600000,
"estimatedArrivalAt": "2026-06-17T15:51:00.000Z",
"startedAt": "2026-06-17T15:43:10.000Z",
"departedAt": "2026-06-17T15:43:10.000Z",
"arrivedAt": null,
"finalizedAt": null,
"state": "in_progress",
"transitState": "interrupted",
"allowFailure": false,
"expendable": false,
"tags": null,
"released": true,
"metadata": null,
"actions": [
{
"jobId": "ES-5867",
"nodeName": "pickup",
"name": "load",
"index": 0,
"type": "load",
"blockingType": "hard",
"state": "canceled",
"allowFailure": false,
"packageName": "pkg-1",
"bundleName": null,
"metadata": null,
"startedAt": null,
"finalizedAt": "2026-06-17T15:45:00.000Z",
"duration": 120000,
"createdAt": "2026-06-17T15:42:00.000Z",
"updatedAt": null
}
]
},
{
"jobId": "ES-5867",
"name": "dropoff",
"description": null,
"pictureURL": null,
"index": 1,
"pointId": null,
"lat": 4.6602,
"lng": -74.0521,
"azimuth": null,
"positionIndex": 1,
"hasPositionDefined": true,
"distance": 0,
"travelDuration": 1500000,
"actionsDuration": 60000,
"totalDuration": 1560000,
"estimatedArrivalAt": "2026-06-17T16:12:00.000Z",
"startedAt": null,
"departedAt": null,
"arrivedAt": null,
"finalizedAt": null,
"state": "pending",
"transitState": null,
"allowFailure": false,
"expendable": false,
"tags": null,
"released": true,
"metadata": null,
"actions": [
{
"jobId": "ES-5867",
"nodeName": "dropoff",
"name": "unload",
"index": 0,
"type": "unload",
"blockingType": "hard",
"state": "canceled",
"allowFailure": false,
"packageName": "pkg-1",
"bundleName": null,
"metadata": null,
"startedAt": null,
"finalizedAt": "2026-06-17T15:45:00.000Z",
"duration": 60000,
"createdAt": "2026-06-17T15:42:00.000Z",
"updatedAt": null
}
]
}
],
"packages": [
{
"jobId": "ES-5867",
"name": "pkg-1",
"bundleName": null,
"description": null,
"pictureURL": null,
"items": [
{
"name": "Cheeseburger",
"quantity": 1
}
],
"metadata": null,
"station": "Burger Shop",
"createdAt": "2026-06-17T15:42:00.000Z"
}
]
}
}Complete a job early
/engine/jobs/{id}/completescope engineOnly for an in-progress job that is expendable, or whose current node is. Cancels the unfinished actions and frees the bot.
Path parameters
idrequiredstring | Job id. |
Body (optional)
nextVersionnumber | Expected job version after this change: the current version plus one. If the job changed meanwhile the call fails with JOB_VERSION_MISMATCH. |
Response 200
datarequired |
Errors
400COMPLETE_JOB_INVALID_STATE | The job is not in progress. |
400COMPLETE_JOB_NOT_EXPENDABLE | Neither the job nor its current node is expendable. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
409JOB_VERSION_MISMATCH | nextVersion is not the current version plus one. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{id}/complete' \
-H "Authorization: Bearer $REMI_API_KEY"Fail a job
/engine/jobs/{id}/failscope engineStops the bot, cancels the unfinished actions and frees the bot.
Path parameters
idrequiredstring | Job id. |
Body (optional)
reasonstring | Why. Stored in the job metadata.finalizationReason unless one is already set. |
nextVersionnumber | Expected job version after this change: the current version plus one. If the job changed meanwhile the call fails with JOB_VERSION_MISMATCH. |
Response 200
datarequired |
Errors
| 400 | Invalid body. |
400FAIL_JOB_ALREADY_FINALIZED | The job is already completed, failed or canceled. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
409JOB_VERSION_MISMATCH | nextVersion is not the current version plus one. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{id}/fail' \
-H "Authorization: Bearer $REMI_API_KEY"Activate a draft job
/engine/jobs/{id}/activatescope engineMoves a draft to pending. The job needs at least one node, and unique node, action and package names.
Path parameters
idrequiredstring | Job id. |
Body (optional)
nextVersionnumber | Expected job version after this change: the current version plus one. If the job changed meanwhile the call fails with JOB_VERSION_MISMATCH. |
Response 200
datarequired |
Errors
400ACTIVATE_JOB_INVALID_STATE | The job is not a draft. |
400VALIDATE_JOB_NO_NODES | The job has no nodes. |
400VALIDATE_JOB_DUPLICATE_NODE | Two nodes share a name. |
400VALIDATE_JOB_DUPLICATE_ACTION | Two actions of a node share a name. |
400VALIDATE_JOB_DUPLICATE_PACKAGE | Two packages share a name. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
409JOB_VERSION_MISMATCH | nextVersion is not the current version plus one. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{id}/activate' \
-H "Authorization: Bearer $REMI_API_KEY"Schedule a job
/engine/jobs/{id}/schedulescope engineMoves a draft, or an already scheduled job, to scheduled for the given time.
Path parameters
idrequiredstring | Job id. |
Body
scheduledAtrequiredstring (date-time) | When the job should reach its first node, as an ISO 8601 timestamp. |
nextVersionnumber | Expected job version after this change: the current version plus one. If the job changed meanwhile the call fails with JOB_VERSION_MISMATCH. |
Response 200
datarequired |
Errors
| 400 | Invalid body. |
400SCHEDULE_JOB_INVALID_STATE | The job is not a draft or scheduled. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
409JOB_VERSION_MISMATCH | nextVersion is not the current version plus one. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{id}/schedule' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"scheduledAt":"2026-06-17T18:00:00.000Z"}'{
"scheduledAt": "2026-06-17T18:00:00.000Z"
}Assign a bot
/engine/jobs/{id}/assign-botscope engineReplaces the current bot, if any. On a pending job with start set to auto, the job starts when the bot is free. On an in-progress job the bot takes over where the job is.
Path parameters
idrequiredstring | Job id. |
Body
botIdrequiredstring | The bot to assign, for example 4T001. |
nextVersionnumber | Expected job version after this change: the current version plus one. If the job changed meanwhile the call fails with JOB_VERSION_MISMATCH. |
Response 200
datarequired |
Errors
| 400 | Invalid body. |
400ASSIGN_BOT_JOB_DOES_NOT_REQUIRE_BOT | The job has requiresBot false. |
400ASSIGN_BOT_JOB_FINALIZED | The job is completed, failed or canceled. |
400INVALID_BOT | The bot does not exist or is at another location. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
409JOB_VERSION_MISMATCH | nextVersion is not the current version plus one. |
409BOT_UNAVAILABLE | The bot is retired, off duty, not connected, or belongs to another partner. |
409BOT_BUSY | The job is in progress and the bot is on another job. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{id}/assign-bot' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"botId":"4T001"}'{
"botId": "4T001"
}Unassign the bot
/engine/jobs/{id}/unassign-botscope enginePath parameters
idrequiredstring | Job id. |
Body (optional)
nextVersionnumber | Expected job version after this change: the current version plus one. If the job changed meanwhile the call fails with JOB_VERSION_MISMATCH. |
Response 200
datarequired |
Errors
400UNASSIGN_BOT_JOB_IN_PROGRESS | The job is in progress. Pause it or assign another bot. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
409JOB_VERSION_MISMATCH | nextVersion is not the current version plus one. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{id}/unassign-bot' \
-H "Authorization: Bearer $REMI_API_KEY"Swap the bots of two jobs
/engine/jobs/swap-botsscope engineBoth jobs need a bot, must be at the same location, and must not be finished. The swap is atomic.
Body
jobId1requiredstring | |
jobId2requiredstring | |
nextVersion1number | Expected version of jobId1 after the swap: its current version plus one. |
nextVersion2number | Expected version of jobId2 after the swap: its current version plus one. |
Errors
| 400 | Invalid body. |
400CANNOT_SWAP_SAME_JOB | jobId1 and jobId2 are the same. |
400NO_BOTS_TO_SWAP | A job has no bot. |
400UPDATE_JOB_LOCATION_NOT_DRAFT | The jobs are at different locations. |
400INVALID_BOT | A bot is not valid for the other job. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
409JOB_VERSION_MISMATCH | nextVersion is not the current version plus one. |
409CANNOT_SWAP_FINALIZED_JOB | A job is completed, failed or canceled. |
409SAME_BOT_ASSIGNED | Both jobs already have the same bot. |
409BOT_UNAVAILABLE | A bot is busy with a third job and the other job is in progress. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/swap-bots' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"jobId1":"ES-5867","jobId2":"ES-5870"}'{
"jobId1": "ES-5867",
"jobId2": "ES-5870"
}Move a bot to another job
/engine/jobs/transfer-botscope engineThe source job loses its bot and the target job gets it. Both jobs must be at the same location and not be finished.
Body
sourceJobIdrequiredstring | The job that gives up its bot. |
targetJobIdrequiredstring | The job that receives the bot. |
nextVersionSourcenumber | Expected version of the source job after the transfer: its current version plus one. |
nextVersionTargetnumber | Expected version of the target job after the transfer: its current version plus one. |
Errors
| 400 | Invalid body. |
400CANNOT_SWAP_SAME_JOB | sourceJobId and targetJobId are the same. |
400NO_BOT_ASSIGNED | The source job has no bot. |
400UPDATE_JOB_LOCATION_NOT_DRAFT | The jobs are at different locations. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
409JOB_VERSION_MISMATCH | nextVersion is not the current version plus one. |
409CANNOT_SWAP_FINALIZED_JOB | A job is completed, failed or canceled. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/transfer-bot' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"sourceJobId":"ES-5867","targetJobId":"ES-5870"}'{
"sourceJobId": "ES-5867",
"targetJobId": "ES-5870"
}Jump to a node
/engine/jobs/{id}/jump-toscope engineSends an in-progress job straight to a later node, skipping the ones in between.
Path parameters
idrequiredstring | Job id. |
Body
nodeNamerequiredstring | The node to go to. It must come after the current one and not be finished. |
nextVersionnumber | Expected job version after this change: the current version plus one. If the job changed meanwhile the call fails with JOB_VERSION_MISMATCH. |
Response 200
datarequired |
Errors
| 400 | Invalid body. |
400JUMP_TO_NODE_INVALID_STATE | The job is not in progress. |
400JUMP_TO_NODE_NOT_FOUND | The job has no node with this name. |
400JUMP_TO_NODE_NOT_AFTER_CURRENT | The node is not after the current one. |
400JUMP_TO_NODE_ALREADY_FINALIZED | The node is already completed or failed. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
409JOB_VERSION_MISMATCH | nextVersion is not the current version plus one. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{id}/jump-to' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"nodeName":"dropoff"}'{
"nodeName": "dropoff"
}Nodes
The stops of a job.
Add a node
/engine/jobs/{jobId}/nodesscope engineAdds a stop to the job, with its actions. On an active job it cannot go before or at the current node.
Path parameters
jobIdrequiredstring | Job id. |
Body
noderequired | |
atIndexnumber | Position to insert the node at. Default: the end. |
jumpToImmediatelyboolean | On an in-progress job, send the bot to the new node right away, skipping the nodes in between. |
Response 201
datarequired |
Errors
| 400 | Invalid body. |
400ADD_NODE_NAME_DUPLICATE | The job already has a node with this name. |
400ADD_NODE_INDEX_OUT_OF_BOUNDS | atIndex is outside the job nodes. |
400ADD_NODE_BEFORE_CURRENT | The job is active and atIndex is at or before the current node. |
400POINT_NOT_FOUND | pointId is not a point of the job location. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/nodes' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"node":{"name":"return","lat":4.6498,"lng":-74.0712}}'{
"node": {
"name": "return",
"lat": 4.6498,
"lng": -74.0712
}
}Update a node
/engine/jobs/{jobId}/nodes/{nodeName}scope engineSend pointId, or lat with lng, to move the node. A node can be renamed only while pending, and moved only before the bot arrives.
Path parameters
jobIdrequiredstring | Job id. |
nodeNamerequiredstring | Node name. |
Body
namestring | The name of the entity. Must only contain alphanumeric characters, underscores, and hyphens. Up to 255 characters. |
pointIdstring | Move the node to this point of the job location. |
latnumber | null | -90 to 90. |
lngnumber | null | -180 to 180. |
azimuthnumber | null | |
releasedboolean | |
expendableboolean | |
allowFailureboolean | |
metadataRecord<string, unknown> | null | A record of key-value pairs containing additional metadata about the entity. |
descriptionstring | null | Up to 1024 characters. |
pictureURLstring (uri) | null |
Response 200
datarequired |
Errors
| 400 | Invalid body. |
400GET_NODE_NOT_FOUND | The job has no node with this name. |
400UPDATE_NODE_NAME_NOT_PENDING | Renaming a node that is not pending. |
400UPDATE_NODE_NAME_DUPLICATE | The new name is taken by another node. |
400UPDATE_NODE_POSITION_NOT_PENDING | Moving a node that is neither pending nor the current one. |
400UPDATE_NODE_POSITION_ARRIVED | Moving a node the bot already arrived at. |
400POINT_NOT_FOUND | pointId is not a point of the job location. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
curl -X PATCH 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/nodes/{nodeName}' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"lat":4.6605,"lng":-74.0525}'{
"lat": 4.6605,
"lng": -74.0525
}Delete a node
/engine/jobs/{jobId}/nodes/{nodeName}scope engineOn an active job, only a pending node can be deleted.
Path parameters
jobIdrequiredstring | Job id. |
nodeNamerequiredstring | Node name. |
Response 200
datarequired |
Errors
400GET_NODE_NOT_FOUND | The job has no node with this name. |
400DELETE_NODE_NOT_PENDING | The job is active and the node is not pending. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
curl -X DELETE 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/nodes/{nodeName}' \
-H "Authorization: Bearer $REMI_API_KEY"Release a held node
/engine/jobs/{jobId}/nodes/{nodeName}/releasescope engineLets the job move on from a node created with released false.
Path parameters
jobIdrequiredstring | Job id. |
nodeNamerequiredstring | Node name. |
Response 200
datarequired |
Errors
400GET_NODE_NOT_FOUND | The job has no node with this name. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/nodes/{nodeName}/release' \
-H "Authorization: Bearer $REMI_API_KEY"Mark a node as arrived
/engine/jobs/{jobId}/nodes/{nodeName}/arrivescope engineRecords that the bot reached the node. The node must be in progress and have coordinates.
Path parameters
jobIdrequiredstring | Job id. |
nodeNamerequiredstring | Node name. |
Response 200
datarequired |
Errors
400GET_NODE_NOT_FOUND | The job has no node with this name. |
400ARRIVE_NODE_NOT_IN_PROGRESS | The node is not in progress. |
400ARRIVE_NODE_ALREADY_ARRIVED | The node already has an arrival. |
400ARRIVE_NODE_NO_POSITION | The node has no coordinates. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/nodes/{nodeName}/arrive' \
-H "Authorization: Bearer $REMI_API_KEY"Update travel estimates
/engine/jobs/{jobId}/nodes/{nodeName}/update-estimationsscope engineSets the travel time to a node the bot is driving to. The node must be in progress, departed and not yet arrived.
Path parameters
jobIdrequiredstring | Job id. |
nodeNamerequiredstring | Node name. |
Body
newTravelDurationrequirednumber | New estimated travel time to the node, in milliseconds. |
arrivingrequiredboolean | True when the bot is about to arrive. The node then becomes arriving. |
Response 200
datarequiredobject | |
data.arrivingrequiredboolean | True when this call moved the node to arriving. |
Errors
| 400 | Invalid body. |
400GET_NODE_NOT_FOUND | The job has no node with this name. |
400UPDATE_NODE_ESTIMATIONS_INVALID_STATE | The node is not in progress, has not departed, or already arrived. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/nodes/{nodeName}/update-estimations' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"newTravelDuration":45000,"arriving":true}'{
"newTravelDuration": 45000,
"arriving": true
}{
"data": {
"arriving": true
}
}Actions
What happens at a node, such as loading or unloading a package.
Add an action
/engine/jobs/{jobId}/nodes/{nodeName}/actionsscope engineAdds an action to a node, not before the actions that already started.
Path parameters
jobIdrequiredstring | Job id. |
nodeNamerequiredstring | Node name. |
Body
actionrequired | |
atIndexnumber | Position to insert the action at. Default: the end. |
Response 201
datarequired |
Errors
| 400 | Invalid body. |
400GET_NODE_NOT_FOUND | The job has no node with this name. |
400ADD_ACTION_NAME_DUPLICATE | The node already has an action with this name. |
400ADD_ACTION_INDEX_OUT_OF_BOUNDS | atIndex is outside the node actions. |
400ADD_ACTION_NODE_IN_PAST | The node is before the current one. |
400ADD_ACTION_BEFORE_CURRENT | atIndex is before an action that already started. |
400ADD_ACTION_PACKAGE_NOT_FOUND | packageName is not a package of the job. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/nodes/{nodeName}/actions' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"action":{"name":"unload-2","type":"unload","packageName":"pkg-2"}}'{
"action": {
"name": "unload-2",
"type": "unload",
"packageName": "pkg-2"
}
}Update an action
/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}scope engineAn action can be renamed only while pending.
Path parameters
jobIdrequiredstring | Job id. |
nodeNamerequiredstring | Node name. |
actionNamerequiredstring | Action name. |
Body
namestring | The name of the entity. Must only contain alphanumeric characters, underscores, and hyphens. Up to 255 characters. |
typestring | Up to 255 characters. |
packageNamestring | null | |
bundleNamestring | null | The name of the entity. Must only contain alphanumeric characters, underscores, and hyphens. Up to 255 characters. |
blockingType'soft' | 'hard' | |
allowFailureboolean | |
metadataRecord<string, unknown> | null | A record of key-value pairs containing additional metadata about the entity. |
Response 200
datarequired |
Errors
| 400 | Invalid body. |
400GET_NODE_NOT_FOUND | The job has no node with this name. |
400GET_ACTION_NOT_FOUND | The node has no action with this name. |
400UPDATE_ACTION_NAME_NOT_PENDING | Renaming an action that is not pending. |
400UPDATE_ACTION_NAME_DUPLICATE | The new name is taken by another action of the node. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
curl -X PATCH 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}' \
-H "Authorization: Bearer $REMI_API_KEY"Delete an action
/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}scope engineOn an active job, only a pending action can be deleted.
Path parameters
jobIdrequiredstring | Job id. |
nodeNamerequiredstring | Node name. |
actionNamerequiredstring | Action name. |
Response 200
datarequired |
Errors
400GET_NODE_NOT_FOUND | The job has no node with this name. |
400GET_ACTION_NOT_FOUND | The node has no action with this name. |
400DELETE_ACTION_NOT_PENDING | The job is active and the action is not pending. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
curl -X DELETE 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}' \
-H "Authorization: Bearer $REMI_API_KEY"Complete an action
/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}/completescope engineThe action must be in progress. When it was the last one of the node, the job moves on.
Path parameters
jobIdrequiredstring | Job id. |
nodeNamerequiredstring | Node name. |
actionNamerequiredstring | Action name. |
Response 200
datarequired |
Errors
400GET_NODE_NOT_FOUND | The job has no node with this name. |
400GET_ACTION_NOT_FOUND | The node has no action with this name. |
400COMPLETE_ACTION_NOT_IN_PROGRESS | The action is not in progress. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}/complete' \
-H "Authorization: Bearer $REMI_API_KEY"Fail an action
/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}/failscope engineThe action must be in progress.
Path parameters
jobIdrequiredstring | Job id. |
nodeNamerequiredstring | Node name. |
actionNamerequiredstring | Action name. |
Body (optional)
reasonstring | Why. Stored in the action metadata.finalizationReason unless one is already set. |
Response 200
datarequired |
Errors
| 400 | Invalid body. |
400GET_NODE_NOT_FOUND | The job has no node with this name. |
400GET_ACTION_NOT_FOUND | The node has no action with this name. |
400FAIL_ACTION_NOT_IN_PROGRESS | The action is not in progress. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}/fail' \
-H "Authorization: Bearer $REMI_API_KEY"Skip an action
/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}/skipscope engineThe action must be pending or in progress.
Path parameters
jobIdrequiredstring | Job id. |
nodeNamerequiredstring | Node name. |
actionNamerequiredstring | Action name. |
Body (optional)
reasonstring | Why. Stored in the action metadata.finalizationReason unless one is already set. |
Response 200
datarequired |
Errors
| 400 | Invalid body. |
400GET_NODE_NOT_FOUND | The job has no node with this name. |
400GET_ACTION_NOT_FOUND | The node has no action with this name. |
400SKIP_ACTION_INVALID_STATE | The action is neither pending nor in progress. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}/skip' \
-H "Authorization: Bearer $REMI_API_KEY"Cancel an action
/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}/cancelscope engineThe action must be pending, in progress or paused.
Path parameters
jobIdrequiredstring | Job id. |
nodeNamerequiredstring | Node name. |
actionNamerequiredstring | Action name. |
Body (optional)
reasonstring | Why. Stored in the action metadata.finalizationReason unless one is already set. |
Response 200
datarequired |
Errors
| 400 | Invalid body. |
400GET_NODE_NOT_FOUND | The job has no node with this name. |
400GET_ACTION_NOT_FOUND | The node has no action with this name. |
400CANCEL_ACTION_INVALID_STATE | The action is already finished. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}/cancel' \
-H "Authorization: Bearer $REMI_API_KEY"Confirm a package is loaded
/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}/loadscope engineCloses the bot door, optionally verifies the package is inside, then completes the load action. Call it after the package is in the bot. The action must be in progress.
Path parameters
jobIdrequiredstring | Job id. |
nodeNamerequiredstring | Node name. |
actionNamerequiredstring | Action name. |
Body (optional)
skipCloseDoorboolean | Do not close the door first. |
allowDoorClosingFailureboolean | Go on when the door cannot be closed. The result tells whether it failed. |
verification'vri' | null | vri: check with the bot first that the package is inside (load) or gone (unload). If the check fails, the action stays in progress. |
Response 200
datarequired |
Errors
| 400 | Invalid body. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
404NODE_NOT_FOUND | The job has no node with this name. |
404ACTION_NOT_FOUND | The node has no action with this name. |
409CANNOT_LOAD_ACTION_NOT_IN_PROGRESS | The action is not in progress. |
409CANNOT_LOAD_ACTION_NOT_LOAD_OR_UNLOAD | The action type is not load or unload. |
409NO_BOT_ASSIGNED | The job has no bot. |
409CANNOT_CLOSE_DOOR | The door did not close and allowDoorClosingFailure is not set. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}/load' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"verification":"vri"}'{
"verification": "vri"
}{
"data": {
"success": true,
"doorClosedFailed": false,
"botId": "4T001",
"verificationResult": "success"
}
}Confirm a package is unloaded
/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}/unloadscope engineCloses the bot door, optionally verifies the package is gone, then completes the unload action. Call it after the package is out of the bot. The action must be in progress.
Path parameters
jobIdrequiredstring | Job id. |
nodeNamerequiredstring | Node name. |
actionNamerequiredstring | Action name. |
Body (optional)
skipCloseDoorboolean | Do not close the door first. |
allowDoorClosingFailureboolean | Go on when the door cannot be closed. The result tells whether it failed. |
verification'vri' | null | vri: check with the bot first that the package is inside (load) or gone (unload). If the check fails, the action stays in progress. |
Response 200
datarequired |
Errors
| 400 | Invalid body. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
404NODE_NOT_FOUND | The job has no node with this name. |
404ACTION_NOT_FOUND | The node has no action with this name. |
409CANNOT_LOAD_ACTION_NOT_IN_PROGRESS | The action is not in progress. |
409CANNOT_LOAD_ACTION_NOT_LOAD_OR_UNLOAD | The action type is not load or unload. |
409NO_BOT_ASSIGNED | The job has no bot. |
409CANNOT_CLOSE_DOOR | The door did not close and allowDoorClosingFailure is not set. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}/unload' \
-H "Authorization: Bearer $REMI_API_KEY"Packages
The packages a job carries.
Add a package
/engine/jobs/{jobId}/packagesscope enginePath parameters
jobIdrequiredstring | Job id. |
Body
namerequiredstring | The name of the package. Must be unique per job. Up to 255 characters. |
bundleNamestring | null | Group identifier for the package. Up to 255 characters. |
descriptionstring | null | A description in markdown format. Up to 1024 characters. |
pictureURLstring (uri) | null | URL of a picture of the package. |
items{ name: string, quantity: number } & Record<string, unknown>[] | null | What is inside. Each item needs name and quantity (at least 1); other fields are kept. |
metadataRecord<string, unknown> | null | A record of key-value pairs containing additional metadata about the entity. |
stationstring | null | Prep station that owns this package (e.g. "Burger Shop"). Trimmed; blank becomes null. |
Response 201
datarequired |
Errors
| 400 | Invalid body. |
400ADD_PACKAGE_NAME_DUPLICATE | The job already has a package with this name. |
400STATIONED_PACKAGES_REQUIRE_PER_PACKAGE_LOAD | A load action without packageName would cover packages of more than one station. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/packages' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"name":"pkg-2","station":"Drinks","items":[{"name":"Lemonade","quantity":2}]}'{
"name": "pkg-2",
"station": "Drinks",
"items": [
{
"name": "Lemonade",
"quantity": 2
}
]
}Update a package
/engine/jobs/{jobId}/packages/{packageName}scope engineA package can be renamed only while none of its actions started.
Path parameters
jobIdrequiredstring | Job id. |
packageNamerequiredstring | Package name. |
Body
namestring | The name of the entity. Must only contain alphanumeric characters, underscores, and hyphens. Up to 255 characters. |
bundleNamestring | null | The name of the entity. Must only contain alphanumeric characters, underscores, and hyphens. Up to 255 characters. |
descriptionstring | null | Up to 1024 characters. |
pictureURLstring (uri) | null | |
items{ name: string, quantity: number } & Record<string, unknown>[] | null | |
metadataRecord<string, unknown> | null | A record of key-value pairs containing additional metadata about the entity. |
stationstring | null | Prep station that owns this package. Trimmed; blank becomes null. |
Response 200
datarequired |
Errors
| 400 | Invalid body. |
400GET_PACKAGE_NOT_FOUND | The job has no package with this name. |
400UPDATE_PACKAGE_NAME_DUPLICATE | The new name is taken by another package. |
400UPDATE_PACKAGE_NAME_IN_USE | Renaming a package whose actions already started. |
400STATIONED_PACKAGES_REQUIRE_PER_PACKAGE_LOAD | A load action without packageName would cover packages of more than one station. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
curl -X PATCH 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/packages/{packageName}' \
-H "Authorization: Bearer $REMI_API_KEY"Delete a package
/engine/jobs/{jobId}/packages/{packageName}scope enginePath parameters
jobIdrequiredstring | Job id. |
packageNamerequiredstring | Package name. |
Response 200
datarequired |
Errors
400GET_PACKAGE_NOT_FOUND | The job has no package with this name. |
400DELETE_PACKAGE_IN_USE | An action that uses the package already started. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
curl -X DELETE 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/packages/{packageName}' \
-H "Authorization: Bearer $REMI_API_KEY"Hooks
Calls a webhook, or runs another action, when job events match its filters.
Add a hook
/engine/jobs/{jobId}/hooksscope engineThe hook fires on every event that matches its filters. A filter you leave out matches everything.
Path parameters
jobIdrequiredstring | Job id. |
Body
namerequiredstring | The name of the hook. Must be unique per job. Up to 255 characters. |
eventTypeenum[] | null | Fire only for these event types. Omit for all. |
nodeNamestring[] | null | Filter events to specific nodes by their names. |
actionNamestring[] | null | Filter events to specific actions by their names. |
packageNamestring[] | null | Filter events to specific packages by their names. |
jobStateenum[] | null | Fire only while the job is in one of these states. Omit for all. |
action'call_webhook' | Only call_webhook. Inferred from an https:// or http:// target when omitted. |
targetstring | The URL to call. |
queueNamestring | null | Serialization queue for this hook, scoped to the job. Hooks of the same job sharing a queue name execute one at a time in event order, and a failing hook retries to its limit before the next one runs. Omit for the default concurrent dispatch. Up to 255 characters. |
metadataRecord<string, unknown> | null | Extra settings for the action. For call_webhook: { "webhook": { "method": "POST", "headers": { "X-Key": "value" } } }. method is POST, GET, PATCH or PUT; send both method and headers, or the defaults apply (POST, no extra headers). |
Response 201
datarequired |
Errors
| 400 | Invalid body. |
400HOOK_ACTION_AND_TARGET_UNDEFINED | No action, and target has no recognizable scheme. |
400HOOK_ACTION_NOT_ALLOWED | action is not call_webhook, or target is not an http(s) URL. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
409DUPLICATE_HOOK_NAME | The job already has a hook with this name. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/hooks' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"name":"notify-partner","target":"https://example.com/hooks/engine","eventType":["job_started","job_finalized"]}'{
"name": "notify-partner",
"target": "https://example.com/hooks/engine",
"eventType": [
"job_started",
"job_finalized"
]
}{
"data": {
"jobId": "ES-5867",
"name": "notify-partner",
"eventType": [
"job_started",
"job_finalized"
],
"nodeName": null,
"actionName": null,
"actionType": null,
"packageName": null,
"jobState": null,
"action": "call_webhook",
"target": "https://example.com/hooks/engine",
"queueName": null,
"metadata": null
}
}Update a hook
/engine/jobs/{jobId}/hooks/{hookName}scope engineSend only what changes. The name cannot change.
Path parameters
jobIdrequiredstring | Job id. |
hookNamerequiredstring | Hook name. |
Body
eventTypeenum[] | null | Fire only for these event types. Omit for all. |
nodeNamestring[] | null | Filter events to specific nodes by their names. |
actionNamestring[] | null | Filter events to specific actions by their names. |
packageNamestring[] | null | Filter events to specific packages by their names. |
jobStateenum[] | null | Fire only while the job is in one of these states. Omit for all. |
action'call_webhook' | Only call_webhook. Inferred from an https:// or http:// target when omitted. |
targetstring | The URL to call. |
queueNamestring | null | Serialization queue for this hook, scoped to the job. Hooks of the same job sharing a queue name execute one at a time in event order, and a failing hook retries to its limit before the next one runs. Omit for the default concurrent dispatch. Up to 255 characters. |
metadataRecord<string, unknown> | null | Extra settings for the action. For call_webhook: { "webhook": { "method": "POST", "headers": { "X-Key": "value" } } }. method is POST, GET, PATCH or PUT; send both method and headers, or the defaults apply (POST, no extra headers). |
Response 200
datarequired |
Errors
| 400 | Invalid body. |
400HOOK_ACTION_NOT_ALLOWED | action is not call_webhook, or target is not an http(s) URL. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
404HOOK_NOT_FOUND | The job has no hook with this name. |
curl -X PATCH 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/hooks/{hookName}' \
-H "Authorization: Bearer $REMI_API_KEY"Delete a hook
/engine/jobs/{jobId}/hooks/{hookName}scope enginePath parameters
jobIdrequiredstring | Job id. |
hookNamerequiredstring | Hook name. |
Response 200
datarequiredobject | |
data.deletedrequiredboolean |
Errors
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
404HOOK_NOT_FOUND | The job has no hook with this name. |
curl -X DELETE 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/hooks/{hookName}' \
-H "Authorization: Bearer $REMI_API_KEY"{
"data": {
"deleted": true
}
}Events
The history of what happened to a job.
List the events of a job
/engine/jobs/{jobId}/eventsscope engineOldest first. Pass pagination.next_cursor as cursor to get the next page; it is null on the last page.
Path parameters
jobIdrequiredstring | Job id. |
Query parameters
limitinteger | Page size, 1 to 50. Default 50. 1 to 50. Default 50. |
cursorstring | next_cursor of the previous page. |
Response 200
datarequired | |
paginationrequiredobject | |
pagination.next_cursorrequiredstring | null | |
pagination.limitrequirednumber |
Errors
| 400 | Invalid query, for example limit above 50. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
curl -X GET 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/events' \
-H "Authorization: Bearer $REMI_API_KEY"{
"data": [
{
"id": "019ed63f-1940-7c1a-9d3e-5b8f2a6e4c10",
"jobId": "ES-5867",
"namespace": "partner_example",
"locationId": "7Nk2QhVpXrLmT4wZaBcDe",
"jobVersion": 1,
"sequence": 0,
"jobState": "pending",
"botId": null,
"nodeName": null,
"actionName": null,
"packageName": null,
"eventType": "job_created",
"path": "jobs.partner_example.ES-5867.created",
"operation": "create_job",
"user": null,
"metadata": {
"job": {
"id": "ES-5867",
"namespace": "partner_example",
"locationId": "7Nk2QhVpXrLmT4wZaBcDe",
"state": "pending",
"botId": null,
"requiresBot": true,
"version": 1
}
},
"exportedAt": null,
"createdAt": "2026-06-17T15:42:00.000Z"
}
],
"pagination": {
"next_cursor": null,
"limit": 50
}
}Alerts
Problems raised on a job.
List the alerts of a job
/engine/jobs/{jobId}/alertsscope engineOldest first. Pass pagination.next_cursor as cursor to get the next page; it is null on the last page.
Path parameters
jobIdrequiredstring | Job id. |
Query parameters
limitinteger | Page size, 1 to 100. Default 50. 1 to 100. Default 50. |
cursorstring | next_cursor of the previous page. |
namestring | Only alerts with this name. |
Response 200
datarequired | |
paginationrequiredobject | |
pagination.next_cursorrequiredstring | null | |
pagination.limitrequirednumber |
Errors
| 400 | Invalid query, for example limit above 100. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
curl -X GET 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/alerts' \
-H "Authorization: Bearer $REMI_API_KEY"Raise an alert on a job
/engine/jobs/{jobId}/alertsscope engineThe location, bot and job version are filled in from the job.
Path parameters
jobIdrequiredstring | Job id. |
Body
namerequiredstring | Category of the alert. |
descriptionrequiredstring | Markdown. |
priorityinteger | From 0 (lowest) to 100 (highest). Default 0. 0 to 100. Default 0. |
metadataRecord<string, unknown> | null |
Response 201
datarequired |
Errors
| 400 | Invalid body. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/alerts' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"name":"pickup-delay","description":"The kitchen is 10 minutes late.","priority":50}'{
"name": "pickup-delay",
"description": "The kitchen is 10 minutes late.",
"priority": 50
}{
"data": {
"id": "019ed641-6330-7e2f-b5a1-3c7d9e0f4a68",
"jobId": "ES-5867",
"locationId": "7Nk2QhVpXrLmT4wZaBcDe",
"namespace": "partner_example",
"botId": "4T001",
"jobVersion": 4,
"name": "pickup-delay",
"description": "The kitchen is 10 minutes late.",
"priority": 50,
"eventType": null,
"eventPath": null,
"eventId": null,
"eventData": null,
"createdAt": "2026-06-17T15:44:30.000Z",
"metadata": null
}
}List alerts across jobs
/engine/alertsscope engineNewest first by default. Send next_cursor.id as cursor_id and next_cursor.created_at as cursor_created_at to get the next page. next_cursor is null on the last page.
Query parameters
limitinteger | Page size, 1 to 100. Default 50. 1 to 100. Default 50. |
cursor_idstring | next_cursor.id of the previous page. Send it with cursor_created_at. |
cursor_created_atstring | next_cursor.created_at of the previous page. Send it with cursor_id. |
order'asc' | 'desc' | By creation time. Default desc. Default "desc". |
locationsstring | Comma-separated location ids. Only jobs at these locations. |
namestring | Only alerts with this name. |
Response 200
datarequired | |
paginationrequiredobject | |
pagination.next_cursorrequiredobject | null | |
pagination.next_cursor.idrequiredstring | |
pagination.next_cursor.created_atrequiredstring | |
pagination.limitrequirednumber |
Errors
| 400 | Invalid query, for example limit above 100. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
curl -X GET 'https://api.remi.robot.com/api/v3/engine/alerts' \
-H "Authorization: Bearer $REMI_API_KEY"{
"data": [
{
"id": "019ed641-6330-7e2f-b5a1-3c7d9e0f4a68",
"jobId": "ES-5867",
"locationId": "7Nk2QhVpXrLmT4wZaBcDe",
"namespace": "partner_example",
"botId": "4T001",
"jobVersion": 4,
"name": "pickup-delay",
"description": "The kitchen is 10 minutes late.",
"priority": 50,
"eventType": null,
"eventPath": null,
"eventId": null,
"eventData": null,
"createdAt": "2026-06-17T15:44:30.000Z",
"metadata": null
}
],
"pagination": {
"next_cursor": {
"id": "019ed641-6330-7e2f-b5a1-3c7d9e0f4a68",
"created_at": "2026-06-17T15:44:30.000Z"
},
"limit": 1
}
}Bots
Control a bot directly: its door and its screen.
Open or close the door during an action
/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}/doorscope engineMoves the door of the job bot. The job must be active with a bot, and the action in progress.
Waits for the door to reach the requested state, up to 25 seconds per attempt, with two attempts. A door that does not move is still a 200: read success and failureReason.
Path parameters
jobIdrequiredstring | Job id. |
nodeNamerequiredstring | Node name. |
actionNamerequiredstring | Action name. |
Body
staterequired'open' | 'closed' | The door state to reach. |
Response 200
datarequired |
Errors
| 400 | Invalid body. |
| 400 | The job is not in progress or paused, has no bot, or the action is not in progress. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
| 404 | The node has no action with this name. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}/door' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"state":"open"}'{
"state": "open"
}{
"data": {
"success": true,
"missionCreated": false,
"failureReason": null,
"lastDoorState": "opened"
}
}Open or close a bot door
/engine/bots/{botId}/actions/doorscope engineWaits for the door to reach the requested state, up to 25 seconds per attempt, with two attempts. A door that does not move is still a 200: read success and failureReason.
Path parameters
botIdrequiredstring | Bot id, for example 4T001. |
Body
staterequired'open' | 'closed' | The door state to reach. |
Response 200
datarequired |
Errors
| 400 | Invalid body. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 403 | The bot is not one of yours and has no active job of yours. |
| 404 | No bot with this id. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/bots/{botId}/actions/door' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"state":"closed"}'{
"state": "closed"
}{
"data": {
"success": false,
"missionCreated": false,
"failureReason": "timeout",
"lastDoorState": "closing"
}
}Play a screen animation
/engine/bots/{botId}/actions/animationscope engineSent to the bot without waiting for it to play.
Path parameters
botIdrequiredstring | Bot id, for example 4T001. |
Body
animationIdrequiredinteger | Screen animation id. Known: 2 to 14 (dark background) and 15 to 27 (white background). 0 to 9007199254740991. |
keepFixedboolean | Keep the animation on the screen. Default true. Default true. |
Response 200
datarequiredobject | |
data.successrequiredboolean | |
data.botIdrequiredstring | |
data.actionrequiredstring |
Errors
| 400 | Invalid body. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 403 | The bot is not one of yours and has no active job of yours. |
| 404 | No bot with this id. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/bots/{botId}/actions/animation' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"animationId":5,"keepFixed":true}'{
"animationId": 5,
"keepFixed": true
}{
"data": {
"success": true,
"botId": "4T001",
"action": "animation"
}
}Open or close the door of a job bot
/engine/jobs/{jobId}/bot/actions/doorscope engineThe job must be in progress or paused, with a bot.
Waits for the door to reach the requested state, up to 25 seconds per attempt, with two attempts. A door that does not move is still a 200: read success and failureReason.
Path parameters
jobIdrequiredstring | Job id. |
Body
staterequired'open' | 'closed' | The door state to reach. |
Response 200
datarequired |
Errors
| 400 | Invalid body. |
| 400 | The job is not in progress or paused, or has no bot. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the engine scope. |
| 404 | No job with this id in your namespace. |
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/bot/actions/door' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"state":"open"}'{
"state": "open"
}Types
Problem
Fields
typerequiredstring | Always about:blank. |
titlerequiredstring | The HTTP status text. |
statusrequiredinteger | -9007199254740991 to 9007199254740991. |
detailrequiredstring | Human-readable. Do not parse it: branch on code. |
instancerequiredstring | The request path. |
codestring | Stable machine-readable error code, when the error has one. |
paramsRecord<string, unknown> | Values that explain the error, keyed by name. |
Job
Fields
idrequiredstring | Job id, usually like ES-5867. Treat it as an opaque string. |
namespacerequiredstring | The namespace that owns the job. |
externalIdrequiredstring | null | Your own reference. Unique among your active jobs. |
locationIdrequiredstring | |
versionrequirednumber | Increases by one on every change. Send the current value plus one as nextVersion to reject concurrent edits. |
namerequiredstring | |
descriptionrequiredstring | null | Markdown. |
pictureURLrequiredstring | null | |
assignationrequired'auto' | 'manual' | auto: a bot is assigned for you. manual: you assign it. |
startrequired'auto' | 'manual' | auto: starts once a bot is assigned and free. manual: waits for the start route. |
staterequired | |
currentNodeIndexrequirednumber | null | index of the node in progress. Null until the job starts. |
priorityrequirednumber | From 0 (lowest) to 100 (highest). |
expendablerequiredboolean | True if the job can be ended early to free its bot without counting as failed. |
createdManuallyrequiredboolean | True when a person created the job in the REMI app, false when it came from the API. |
scheduledAtrequiredstring (date-time) | null | When the job should reach its first node. |
targetCompletionAtrequiredstring (date-time) | null | When the job is expected to finish. |
startedAtrequiredstring (date-time) | null | |
finalizedAtrequiredstring (date-time) | null | When the job reached a final state. |
botIdrequiredstring | null | The assigned bot, for example 4T001. |
requiresBotrequiredboolean | False for a job that runs without a bot. |
requiredBotTagsrequiredstring[] | null | Only bots with every one of these tags can take the job. Null or empty: any bot. |
createdAtrequiredstring (date-time) | |
updatedAtrequiredstring (date-time) | null | |
tagsrequiredstring[] | null | |
metadatarequiredunknown | Free-form JSON object, or null. |
nodesrequired | In visiting order. |
hooks | Only with include_hooks=true. |
alerts | Only with include_alerts=true. |
packagesrequired | |
events | Only with include_events=true. |
JobState
draft: being prepared, never auto-assigned or started. scheduled: waits for its time. pending: ready to be assigned and started. in_progress: a bot is working on it. paused: on hold. completed, failed and canceled are final.
Node
Fields
jobIdrequiredstring | |
namerequiredstring | Unique within the job. |
descriptionrequiredstring | null | Markdown. |
pictureURLrequiredstring | null | |
indexrequirednumber | Position in the job, from 0. |
pointIdrequiredstring | null | The registered point this node was created from, if any. |
latrequirednumber | null | |
lngrequirednumber | null | |
azimuthrequirednumber | null | |
positionIndexrequirednumber | null | Position among the nodes that have coordinates. |
hasPositionDefinedrequiredboolean | True when lat and lng are set. |
distancerequirednumber | Estimated distance to the next node. |
travelDurationrequirednumber | Estimated travel time to this node, in milliseconds. |
actionsDurationrequirednumber | Estimated time of the actions at this node, in milliseconds. |
totalDurationrequirednumber | Estimated time at this node in milliseconds: travel plus the actions that cannot run in parallel. |
estimatedArrivalAtrequiredstring (date-time) | null | Estimated arrival, or the real one once the bot arrived. It can be stale between updates. |
startedAtrequiredstring (date-time) | null | |
departedAtrequiredstring (date-time) | null | When the bot left for this node. |
arrivedAtrequiredstring (date-time) | null | When the bot arrived at this node. |
finalizedAtrequiredstring (date-time) | null | |
staterequired | |
transitStaterequired'in_transit' | 'arriving' | 'interrupted' | null | in_transit: the bot is driving here. arriving: it is close. interrupted: the leg was abandoned. |
allowFailurerequiredboolean | The job continues if this node fails. |
expendablerequiredboolean | The job can be ended early at this node without counting as failed. |
tagsrequiredstring[] | null | |
releasedrequiredboolean | If false, the node waits for the release route before the job moves on. |
metadatarequiredunknown | Free-form JSON object, or null. |
actionsrequired | In execution order. |
NodeState
Action
Fields
jobIdrequiredstring | |
nodeNamerequiredstring | |
namerequiredstring | Unique within the node. |
indexrequirednumber | Position in the node, from 0. |
typerequiredstring | What the action does. load and unload are handled by the engine; other values are free-form. |
blockingTyperequired'hard' | 'soft' | hard blocks the movement and the other actions. soft blocks only the movement. |
staterequired | |
allowFailurerequiredboolean | The job continues if this action fails. |
packageNamerequiredstring | null | For load and unload: the package it handles. |
bundleNamerequiredstring | null | For load and unload: handles every package of this bundle instead of one package. |
metadatarequiredunknown | Free-form JSON object, or null. |
startedAtrequiredstring (date-time) | null | |
finalizedAtrequiredstring (date-time) | null | |
durationrequirednumber | Estimated duration in milliseconds. |
createdAtrequiredstring (date-time) | |
updatedAtrequiredstring (date-time) | null |
ActionState
Package
Fields
jobIdrequiredstring | |
namerequiredstring | Unique within the job. |
bundleNamerequiredstring | null | Group identifier. |
descriptionrequiredstring | null | Markdown. |
pictureURLrequiredstring | null | |
itemsrequired{ name: string, quantity: number }[] | null | |
items[].namerequiredstring | |
items[].quantityrequirednumber | |
metadatarequiredRecord<string, unknown> | null | |
stationrequiredstring | null | Prep station that owns the package. |
createdAtrequiredstring (date-time) |
Hook
Fields
jobIdrequiredstring | |
namerequiredstring | Unique within the job. |
eventTyperequiredenum[] | null | Fires only for these event types. Null: all. |
nodeNamerequiredstring[] | null | Fires only for these nodes. Null: all. |
actionNamerequiredstring[] | null | Fires only for these actions. Null: all. |
actionTyperequiredstring[] | null | Fires only for these action types. Null: all. |
packageNamerequiredstring[] | null | Fires only for these packages. Null: all. |
jobStaterequiredstring[] | null | Fires only while the job is in one of these states. Null: all. |
actionrequiredstring | What the hook does, for example call_webhook. |
targetrequiredstring | null | Where the action delivers, for example a URL. |
queueNamerequiredstring | null | Hooks of the same job that share a queue name run one at a time, in event order. Null: they run concurrently. |
metadatarequiredunknown | Settings for the action, or null. |
Event
Fields
idrequiredstring (uuid) | Time-ordered: events sort by id. |
jobIdrequiredstring | null | |
namespacerequiredstring | null | |
locationIdrequiredstring | null | |
jobVersionrequirednumber | null | The job version when the event happened. |
sequencerequirednumber | Orders events that share a timestamp and a job version. |
jobStaterequiredstring | null | |
botIdrequiredstring | null | |
nodeNamerequiredstring | null | |
actionNamerequiredstring | null | |
packageNamerequiredstring | null | |
eventTyperequiredenum | One of job_created, job_updated, job_deleted, job_bot_assigned, job_bot_unassigned, job_scheduled, job_pending, job_started, job_paused, job_resumed, job_finalized, job_canceled, job_failed, job_completed, job_state_changed, bot_set_goal_failed, bot_taken, bot_released, bot_stopped, bot_goal_set, bot_goal_registered, bot_teleop_mission_created, door_opened, door_closed, door_state_change_failed, door_stalled, door_blocked_charging, node_added, node_updated, node_deleted, node_state_changed, node_started, node_departed, node_arriving, node_eta_changed, node_arrived, node_arrived_far, node_released, node_completed, node_phase_completed, node_failed, action_added, action_updated, action_deleted, action_started, action_paused, action_resumed, action_completed, action_failed, action_skipped, action_canceled, alert_created, alert_updated, alert_deleted, hook_added, hook_updated, hook_deleted, hook_triggered, package_added, package_updated, package_deleted, package_loaded, package_unloaded, package_loaded_failed, package_unloaded_failed, refund_recorded, custom_event, assigner_executed. |
pathrequiredstring | Where the event happened, as a dotted path. |
operationrequiredstring | null | The operation that caused it, for example create_job. |
userrequiredstring | null | Who triggered the operation. |
metadatarequiredunknown | Details of the event. Their shape depends on eventType. |
exportedAtrequiredstring (date-time) | null | Deprecated. Null on current events. |
createdAtrequiredstring (date-time) |
Alert
Fields
idrequiredstring (uuid) | |
jobIdrequiredstring | |
locationIdrequiredstring | |
namespacerequiredstring | |
botIdrequiredstring | null | |
jobVersionrequirednumber | The job version when the alert was raised. |
namerequiredstring | Category of the alert. |
descriptionrequiredstring | Markdown. |
priorityrequirednumber | From 0 (lowest) to 100 (highest). |
eventTyperequiredenum | null | The event that raised the alert, if one did. One of job_created, job_updated, job_deleted, job_bot_assigned, job_bot_unassigned, job_scheduled, job_pending, job_started, job_paused, job_resumed, job_finalized, job_canceled, job_failed, job_completed, job_state_changed, bot_set_goal_failed, bot_taken, bot_released, bot_stopped, bot_goal_set, bot_goal_registered, bot_teleop_mission_created, door_opened, door_closed, door_state_change_failed, door_stalled, door_blocked_charging, node_added, node_updated, node_deleted, node_state_changed, node_started, node_departed, node_arriving, node_eta_changed, node_arrived, node_arrived_far, node_released, node_completed, node_phase_completed, node_failed, action_added, action_updated, action_deleted, action_started, action_paused, action_resumed, action_completed, action_failed, action_skipped, action_canceled, alert_created, alert_updated, alert_deleted, hook_added, hook_updated, hook_deleted, hook_triggered, package_added, package_updated, package_deleted, package_loaded, package_unloaded, package_loaded_failed, package_unloaded_failed, refund_recorded, custom_event, assigner_executed. |
eventPathrequiredstring | null | |
eventIdrequiredstring | null | |
eventDatarequiredunknown | Data of the event that raised the alert, or null. |
createdAtrequiredstring (date-time) | |
metadatarequiredunknown | Free-form JSON object, or null. |
JobOverview
Fields
totalrequirednumber | |
activerequirednumber | Draft, scheduled, pending, in progress and paused. |
draftrequirednumber | |
scheduledrequirednumber | |
pendingrequirednumber | |
in_progressrequirednumber | |
pausedrequirednumber | |
completedrequirednumber | |
failedrequirednumber | |
canceledrequirednumber | |
completedLast24hrequirednumber | |
failedLast24hrequirednumber |
DoorResult
Fields
successrequiredboolean | True when the door reached the requested state. |
missionCreatedrequiredboolean | Always false from this API. |
failureReasonrequired'stalled' | 'timeout' | 'wrong_state' | 'charging' | null | Null on success. stalled: the door is stuck. timeout: no answer in time. wrong_state: it ended in the opposite state. charging: the bot is on its charger. |
lastDoorStaterequiredstring | The last door state the bot reported. |
LoadUnloadResult
Fields
successrequiredboolean | False when the vri check failed. The action stays in progress then. |
doorClosedFailedrequiredboolean | True when the door could not be closed and allowDoorClosingFailure let the call go on. |
botIdrequiredstring | |
verificationResultrequired'success' | 'failed' | null | Null when no verification was requested. |
NewNode
Fields
namestring | The name of the node. Must be unique per job. Up to 255 characters. |
descriptionstring | null | A description in markdown format. Up to 1024 characters. |
pictureURLstring (uri) | null | URL of a picture of the stop. |
pointIdstring | null | A registered point of the job's location. The node takes its coordinates. An unknown point answers POINT_NOT_FOUND. |
latnumber | null | Latitude of the node. -90 to 90. |
lngnumber | null | Longitude of the node. -180 to 180. |
azimuthnumber | null | Azimuth of the node. |
expendableboolean | Whether the job is expendable in this node. |
allowFailureboolean | Whether failure of this node is allowed. |
travelDurationnumber | Estimated travel time to this node, in milliseconds. |
releasedboolean | If false, the node requires manual confirmation to move forward. |
metadataRecord<string, unknown> | null | A record of key-value pairs containing additional metadata about the entity. |
actions | Actions to run at the node, in order. |
NewAction
Fields
namerequiredstring | The name of the action. Must be unique per node. Up to 255 characters. |
typerequiredstring | What the action does. load and unload are handled by the engine (see the load and unload routes); other values are free-form. Up to 255 characters. |
durationnumber | Estimated time to complete the action, in milliseconds. |
packageNamestring | null | The name of the package associated with the action. |
bundleNamestring | null | The bundle name associated with the action. Up to 255 characters. |
blockingType'soft' | 'hard' | hard (default) blocks the movement and the other actions. soft blocks only the movement. |
allowFailureboolean | If true, the job continues when this action fails. |
metadataRecord<string, unknown> | null | Metadata and params for the action. |
NewPackage
Fields
namerequiredstring | The name of the package. Must be unique per job. Up to 255 characters. |
bundleNamestring | null | Group identifier for the package. Up to 255 characters. |
descriptionstring | null | A description in markdown format. Up to 1024 characters. |
pictureURLstring (uri) | null | URL of a picture of the package. |
items{ name: string, quantity: number } & Record<string, unknown>[] | null | What is inside. Each item needs name and quantity (at least 1); other fields are kept. |
metadataRecord<string, unknown> | null | A record of key-value pairs containing additional metadata about the entity. |
stationstring | null | Prep station that owns this package (e.g. "Burger Shop"). Trimmed; blank becomes null. |
NewHook
Fields
namerequiredstring | The name of the hook. Must be unique per job. Up to 255 characters. |
eventTypeenum[] | null | Fire only for these event types. Omit for all. |
nodeNamestring[] | null | Filter events to specific nodes by their names. |
actionNamestring[] | null | Filter events to specific actions by their names. |
packageNamestring[] | null | Filter events to specific packages by their names. |
jobStateenum[] | null | Fire only while the job is in one of these states. Omit for all. |
action'call_webhook' | Only call_webhook. Inferred from an https:// or http:// target when omitted. |
targetstring | The URL to call. |
queueNamestring | null | Serialization queue for this hook, scoped to the job. Hooks of the same job sharing a queue name execute one at a time in event order, and a failing hook retries to its limit before the next one runs. Omit for the default concurrent dispatch. Up to 255 characters. |
metadataRecord<string, unknown> | null | Extra settings for the action. For call_webhook: { "webhook": { "method": "POST", "headers": { "X-Key": "value" } } }. method is POST, GET, PATCH or PUT; send both method and headers, or the defaults apply (POST, no extra headers). |