Engine API

Engine API reference

Every endpoint of the Engine API.

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

Authentication

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

Jobs

Create, read, edit and delete jobs: a sequence of stops (nodes) for a bot, each with actions.

Count jobs by state

GET/engine/jobs/overviewscope engine

Totals for your namespace. completedLast24h and failedLast24h count jobs that reached that state in the last 24 hours.

Query parameters

locations
string
Comma-separated location ids. Only jobs at these locations.

Response 200

datarequired

Errors

401Missing or invalid API key.
403The API key does not have the engine scope.
Request
curl -X GET 'https://api.remi.robot.com/api/v3/engine/jobs/overview' \
  -H "Authorization: Bearer $REMI_API_KEY"
Example response 200
{
  "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

GET/engine/jobsscope engine

Newest 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

locations
string
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.
limit
integer
Page size, 1 to 1000. Default 100. 1 to 1000. Default 100.
cursor_id
string
next_cursor.id of the previous page. Send it with cursor_created_at.
cursor_created_at
string
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
paginationrequired
object
pagination.next_cursorrequired
object | null
pagination.next_cursor.idrequired
string
pagination.next_cursor.createdAtrequired
string
pagination.limitrequired
number

Errors

400Invalid query, for example limit above 1000.
401Missing or invalid API key.
403The API key does not have the engine scope.
Request
curl -X GET 'https://api.remi.robot.com/api/v3/engine/jobs' \
  -H "Authorization: Bearer $REMI_API_KEY"
Example response 200
{
  "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

POST/engine/jobsscope engine

Creates the job with its nodes, actions, packages and hooks in one call.

  • namespace must 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: scheduled with scheduledAt.

Body

namespacerequired
string
The namespace the job belongs to. Must be your API key's namespace. Up to 255 characters.
externalId
string | null
Your own reference for the job. Unique among the active jobs of the namespace. Up to 255 characters.
locationIdrequired
string
The location the job is associated with. Up to 255 characters.
namerequired
string
The name of the job Up to 255 characters.
description
string | null
A description in markdown format. Up to 1024 characters.
pictureURL
string (uri) | null
URL of a picture of the job.
priority
number
The priority of the job from 0 (lowest) to 100 (highest). 0 to 100.
expendable
boolean
If true, the job can be ended early to free its bot without counting as failed.
botId
string | null
The bot for the job, for example 4T001. It must be at the job's location and connected.
requireAvailableBot
boolean
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.
requiresBot
boolean
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.
requiredBotTags
string[] | 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.
tags
string[] | null
Labels for searching and filtering.
metadata
Record<string, unknown> | null
A record of key-value pairs containing additional metadata about the entity.
nodesThe stops of the job, in visiting order.
hooks
packages
scheduledAt
string (date-time) | null
When the job should reach its first node. Required with state: scheduled.
targetCompletionAt
string (date-time) | null
When the job is expected to finish.

Response 201

datarequired

Errors

400Invalid body.
400HOOK_ACTION_NOT_ALLOWEDaction is not call_webhook, or target is not an http(s) URL.
400POINT_NOT_FOUNDA node pointId is not a point of the job location.
400BOTLESS_JOB_CANNOT_HAVE_BOTrequiresBot is false together with botId or requireAvailableBot.
400BOTLESS_JOB_MUST_BE_MANUAL_ASSIGNATIONrequiresBot is false and assignation is not manual.
400STATIONED_PACKAGES_REQUIRE_PER_PACKAGE_LOADA load action without packageName covers packages of more than one station.
400INVALID_BOTbotId does not exist or is at another location.
401Missing or invalid API key.
403The API key does not have the engine scope.
403namespace is not your key namespace.
409NO_AVAILABLE_BOTWith requireAvailableBot and no botId: no bot is available.
409BOT_UNAVAILABLEbotId is retired, off duty, not connected, or belongs to another partner.
409BOT_BUSYstate is in_progress and botId is on another job.
Request
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}]}]}'
Example body
{
  "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
        }
      ]
    }
  ]
}
Example response 201
{
  "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

GET/engine/jobs/by-bot/{botId}scope engine

The in-progress or paused job of the bot. data is null when the bot has none.

Path parameters

botIdrequired
string
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

401Missing or invalid API key.
403The API key does not have the engine scope.
Request
curl -X GET 'https://api.remi.robot.com/api/v3/engine/jobs/by-bot/{botId}' \
  -H "Authorization: Bearer $REMI_API_KEY"
Example response 200
{
  "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

GET/engine/jobs/{id}scope engine

Includes nodes, actions and packages.

Path parameters

idrequired
string
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

401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
Request
curl -X GET 'https://api.remi.robot.com/api/v3/engine/jobs/{id}' \
  -H "Authorization: Bearer $REMI_API_KEY"
Example response 200
{
  "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

PATCH/engine/jobs/{id}scope engine

Send only what changes. state moves the job like the lifecycle routes, and botId assigns the bot (null unassigns it).

Path parameters

idrequired
string
Job id.

Body

externalId
string | null
Your own reference for the job. Unique among the active jobs of the namespace. Up to 255 characters.
name
string
The name of the job Up to 255 characters.
description
string | null
A description in markdown format. Up to 1024 characters.
pictureURL
string (uri) | null
URL of a picture of the job.
priority
number
The priority of the job from 0 (lowest) to 100 (highest). 0 to 100.
expendable
boolean
If true, the job can be ended early to free its bot without counting as failed.
botId
string | null
The bot for the job, for example 4T001. It must be at the job's location and connected.
requiredBotTags
string[] | null
Only bots carrying EVERY one of these bot tags are candidates. Empty or null means any bot.
state
enum
Move the job to this state. One of draft, scheduled, pending, in_progress, paused, canceled, completed, failed.
tags
string[] | null
Labels for searching and filtering.
metadata
Record<string, unknown> | null
A record of key-value pairs containing additional metadata about the entity.
version
number
The version of the job. Must match the next version of the job to update it.
scheduledAt
string (date-time) | null
When the job should reach its first node. Required with state: scheduled.
targetCompletionAt
string (date-time) | null
When the job is expected to finish.

Response 200

datarequired

Errors

400Invalid body.
400The 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_BOTstate is in_progress and the job has no bot.
400ASSIGN_BOT_JOB_DOES_NOT_REQUIRE_BOTbotId is set on a job with requiresBot false.
400ASSIGN_BOT_JOB_FINALIZEDbotId is set on a finished job.
400UNASSIGN_BOT_JOB_IN_PROGRESSbotId is null on an in-progress job.
400JOB_SCHEDULED_AT_REQUIREDstate is scheduled. Use the schedule route instead.
400INVALID_BOTThe bot does not exist or is at another location.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
409JOB_VERSION_MISMATCHversion is not the current version plus one.
409BOT_UNAVAILABLEThe bot is retired, off duty, not connected, or belongs to another partner.
409BOT_BUSYThe job is in progress and the bot is on another job.
Request
curl -X PATCH 'https://api.remi.robot.com/api/v3/engine/jobs/{id}' \
  -H "Authorization: Bearer $REMI_API_KEY"

Delete a draft job

DELETE/engine/jobs/{id}scope engine

Only drafts can be deleted. Cancel any other job.

Path parameters

idrequired
string
Job id.

Response 200

datarequired
object
data.deletedrequired
true
data.idrequired
string

Errors

400The job is not a draft.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
Request
curl -X DELETE 'https://api.remi.robot.com/api/v3/engine/jobs/{id}' \
  -H "Authorization: Bearer $REMI_API_KEY"
Example response 200
{
  "data": {
    "deleted": true,
    "id": "ES-5868"
  }
}

Job lifecycle

Move a job through its states and decide which bot works on it.

Start a job

POST/engine/jobs/{id}/startscope engine

Moves a pending or scheduled job to in_progress. It needs a bot unless requiresBot is false.

Path parameters

idrequired
string
Job id.

Body (optional)

nextVersion
number
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_BOTThe job has no bot and needs one.
400START_JOB_INVALID_STATEThe job is not pending or scheduled.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
409JOB_VERSION_MISMATCHnextVersion is not the current version plus one.
Request
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{id}/start' \
  -H "Authorization: Bearer $REMI_API_KEY"

Pause a job

POST/engine/jobs/{id}/pausescope engine

Stops the bot and pauses the running actions.

Path parameters

idrequired
string
Job id.

Body (optional)

nextVersion
number
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_STATEThe job is not in progress.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
409JOB_VERSION_MISMATCHnextVersion is not the current version plus one.
Request
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{id}/pause' \
  -H "Authorization: Bearer $REMI_API_KEY"

Resume a paused job

POST/engine/jobs/{id}/resumescope engine

Path parameters

idrequired
string
Job id.

Body (optional)

nextVersion
number
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_STATEThe job is not paused.
400RESUME_JOB_NO_BOTThe job has no bot and needs one.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
409JOB_VERSION_MISMATCHnextVersion is not the current version plus one.
Request
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{id}/resume' \
  -H "Authorization: Bearer $REMI_API_KEY"

Cancel a job

POST/engine/jobs/{id}/cancelscope engine

Stops the bot, cancels the unfinished actions and frees the bot. A canceled job cannot be resumed.

Path parameters

idrequired
string
Job id.

Body (optional)

reason
string
Why. Stored in the job metadata.finalizationReason unless one is already set.
nextVersion
number
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

400Invalid body.
400CANCEL_JOB_ALREADY_FINALIZEDThe job is already completed, failed or canceled.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
409JOB_VERSION_MISMATCHnextVersion is not the current version plus one.
Request
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"}'
Example body
{
  "reason": "Customer canceled the order"
}
Example response 200
{
  "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

POST/engine/jobs/{id}/completescope engine

Only for an in-progress job that is expendable, or whose current node is. Cancels the unfinished actions and frees the bot.

Path parameters

idrequired
string
Job id.

Body (optional)

nextVersion
number
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_STATEThe job is not in progress.
400COMPLETE_JOB_NOT_EXPENDABLENeither the job nor its current node is expendable.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
409JOB_VERSION_MISMATCHnextVersion is not the current version plus one.
Request
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{id}/complete' \
  -H "Authorization: Bearer $REMI_API_KEY"

Fail a job

POST/engine/jobs/{id}/failscope engine

Stops the bot, cancels the unfinished actions and frees the bot.

Path parameters

idrequired
string
Job id.

Body (optional)

reason
string
Why. Stored in the job metadata.finalizationReason unless one is already set.
nextVersion
number
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

400Invalid body.
400FAIL_JOB_ALREADY_FINALIZEDThe job is already completed, failed or canceled.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
409JOB_VERSION_MISMATCHnextVersion is not the current version plus one.
Request
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{id}/fail' \
  -H "Authorization: Bearer $REMI_API_KEY"

Activate a draft job

POST/engine/jobs/{id}/activatescope engine

Moves a draft to pending. The job needs at least one node, and unique node, action and package names.

Path parameters

idrequired
string
Job id.

Body (optional)

nextVersion
number
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_STATEThe job is not a draft.
400VALIDATE_JOB_NO_NODESThe job has no nodes.
400VALIDATE_JOB_DUPLICATE_NODETwo nodes share a name.
400VALIDATE_JOB_DUPLICATE_ACTIONTwo actions of a node share a name.
400VALIDATE_JOB_DUPLICATE_PACKAGETwo packages share a name.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
409JOB_VERSION_MISMATCHnextVersion is not the current version plus one.
Request
curl -X POST 'https://api.remi.robot.com/api/v3/engine/jobs/{id}/activate' \
  -H "Authorization: Bearer $REMI_API_KEY"

Schedule a job

POST/engine/jobs/{id}/schedulescope engine

Moves a draft, or an already scheduled job, to scheduled for the given time.

Path parameters

idrequired
string
Job id.

Body

scheduledAtrequired
string (date-time)
When the job should reach its first node, as an ISO 8601 timestamp.
nextVersion
number
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

400Invalid body.
400SCHEDULE_JOB_INVALID_STATEThe job is not a draft or scheduled.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
409JOB_VERSION_MISMATCHnextVersion is not the current version plus one.
Request
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"}'
Example body
{
  "scheduledAt": "2026-06-17T18:00:00.000Z"
}

Assign a bot

POST/engine/jobs/{id}/assign-botscope engine

Replaces 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

idrequired
string
Job id.

Body

botIdrequired
string
The bot to assign, for example 4T001.
nextVersion
number
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

400Invalid body.
400ASSIGN_BOT_JOB_DOES_NOT_REQUIRE_BOTThe job has requiresBot false.
400ASSIGN_BOT_JOB_FINALIZEDThe job is completed, failed or canceled.
400INVALID_BOTThe bot does not exist or is at another location.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
409JOB_VERSION_MISMATCHnextVersion is not the current version plus one.
409BOT_UNAVAILABLEThe bot is retired, off duty, not connected, or belongs to another partner.
409BOT_BUSYThe job is in progress and the bot is on another job.
Request
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"}'
Example body
{
  "botId": "4T001"
}

Unassign the bot

POST/engine/jobs/{id}/unassign-botscope engine

Path parameters

idrequired
string
Job id.

Body (optional)

nextVersion
number
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_PROGRESSThe job is in progress. Pause it or assign another bot.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
409JOB_VERSION_MISMATCHnextVersion is not the current version plus one.
Request
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

POST/engine/jobs/swap-botsscope engine

Both jobs need a bot, must be at the same location, and must not be finished. The swap is atomic.

Body

jobId1required
string
jobId2required
string
nextVersion1
number
Expected version of jobId1 after the swap: its current version plus one.
nextVersion2
number
Expected version of jobId2 after the swap: its current version plus one.

Response 200

datarequired
object
data.job1required
data.job2required

Errors

400Invalid body.
400CANNOT_SWAP_SAME_JOBjobId1 and jobId2 are the same.
400NO_BOTS_TO_SWAPA job has no bot.
400UPDATE_JOB_LOCATION_NOT_DRAFTThe jobs are at different locations.
400INVALID_BOTA bot is not valid for the other job.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
409JOB_VERSION_MISMATCHnextVersion is not the current version plus one.
409CANNOT_SWAP_FINALIZED_JOBA job is completed, failed or canceled.
409SAME_BOT_ASSIGNEDBoth jobs already have the same bot.
409BOT_UNAVAILABLEA bot is busy with a third job and the other job is in progress.
Request
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"}'
Example body
{
  "jobId1": "ES-5867",
  "jobId2": "ES-5870"
}

Move a bot to another job

POST/engine/jobs/transfer-botscope engine

The source job loses its bot and the target job gets it. Both jobs must be at the same location and not be finished.

Body

sourceJobIdrequired
string
The job that gives up its bot.
targetJobIdrequired
string
The job that receives the bot.
nextVersionSource
number
Expected version of the source job after the transfer: its current version plus one.
nextVersionTarget
number
Expected version of the target job after the transfer: its current version plus one.

Response 200

datarequired
object
data.sourceJobrequired
data.targetJobrequired

Errors

400Invalid body.
400CANNOT_SWAP_SAME_JOBsourceJobId and targetJobId are the same.
400NO_BOT_ASSIGNEDThe source job has no bot.
400UPDATE_JOB_LOCATION_NOT_DRAFTThe jobs are at different locations.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
409JOB_VERSION_MISMATCHnextVersion is not the current version plus one.
409CANNOT_SWAP_FINALIZED_JOBA job is completed, failed or canceled.
Request
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"}'
Example body
{
  "sourceJobId": "ES-5867",
  "targetJobId": "ES-5870"
}

Jump to a node

POST/engine/jobs/{id}/jump-toscope engine

Sends an in-progress job straight to a later node, skipping the ones in between.

Path parameters

idrequired
string
Job id.

Body

nodeNamerequired
string
The node to go to. It must come after the current one and not be finished.
nextVersion
number
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

400Invalid body.
400JUMP_TO_NODE_INVALID_STATEThe job is not in progress.
400JUMP_TO_NODE_NOT_FOUNDThe job has no node with this name.
400JUMP_TO_NODE_NOT_AFTER_CURRENTThe node is not after the current one.
400JUMP_TO_NODE_ALREADY_FINALIZEDThe node is already completed or failed.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
409JOB_VERSION_MISMATCHnextVersion is not the current version plus one.
Request
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"}'
Example body
{
  "nodeName": "dropoff"
}

Nodes

The stops of a job.

Add a node

POST/engine/jobs/{jobId}/nodesscope engine

Adds a stop to the job, with its actions. On an active job it cannot go before or at the current node.

Path parameters

jobIdrequired
string
Job id.

Body

noderequired
atIndex
number
Position to insert the node at. Default: the end.
jumpToImmediately
boolean
On an in-progress job, send the bot to the new node right away, skipping the nodes in between.

Response 201

datarequired

Errors

400Invalid body.
400ADD_NODE_NAME_DUPLICATEThe job already has a node with this name.
400ADD_NODE_INDEX_OUT_OF_BOUNDSatIndex is outside the job nodes.
400ADD_NODE_BEFORE_CURRENTThe job is active and atIndex is at or before the current node.
400POINT_NOT_FOUNDpointId is not a point of the job location.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
Request
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}}'
Example body
{
  "node": {
    "name": "return",
    "lat": 4.6498,
    "lng": -74.0712
  }
}

Update a node

PATCH/engine/jobs/{jobId}/nodes/{nodeName}scope engine

Send 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

jobIdrequired
string
Job id.
nodeNamerequired
string
Node name.

Body

name
string
The name of the entity. Must only contain alphanumeric characters, underscores, and hyphens. Up to 255 characters.
pointId
string
Move the node to this point of the job location.
lat
number | null
-90 to 90.
lng
number | null
-180 to 180.
azimuth
number | null
released
boolean
expendable
boolean
allowFailure
boolean
metadata
Record<string, unknown> | null
A record of key-value pairs containing additional metadata about the entity.
description
string | null
Up to 1024 characters.
pictureURL
string (uri) | null

Response 200

datarequired

Errors

400Invalid body.
400GET_NODE_NOT_FOUNDThe job has no node with this name.
400UPDATE_NODE_NAME_NOT_PENDINGRenaming a node that is not pending.
400UPDATE_NODE_NAME_DUPLICATEThe new name is taken by another node.
400UPDATE_NODE_POSITION_NOT_PENDINGMoving a node that is neither pending nor the current one.
400UPDATE_NODE_POSITION_ARRIVEDMoving a node the bot already arrived at.
400POINT_NOT_FOUNDpointId is not a point of the job location.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
Request
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}'
Example body
{
  "lat": 4.6605,
  "lng": -74.0525
}

Delete a node

DELETE/engine/jobs/{jobId}/nodes/{nodeName}scope engine

On an active job, only a pending node can be deleted.

Path parameters

jobIdrequired
string
Job id.
nodeNamerequired
string
Node name.

Response 200

datarequired

Errors

400GET_NODE_NOT_FOUNDThe job has no node with this name.
400DELETE_NODE_NOT_PENDINGThe job is active and the node is not pending.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
Request
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

POST/engine/jobs/{jobId}/nodes/{nodeName}/releasescope engine

Lets the job move on from a node created with released false.

Path parameters

jobIdrequired
string
Job id.
nodeNamerequired
string
Node name.

Response 200

datarequired

Errors

400GET_NODE_NOT_FOUNDThe job has no node with this name.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
Request
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

POST/engine/jobs/{jobId}/nodes/{nodeName}/arrivescope engine

Records that the bot reached the node. The node must be in progress and have coordinates.

Path parameters

jobIdrequired
string
Job id.
nodeNamerequired
string
Node name.

Response 200

datarequired

Errors

400GET_NODE_NOT_FOUNDThe job has no node with this name.
400ARRIVE_NODE_NOT_IN_PROGRESSThe node is not in progress.
400ARRIVE_NODE_ALREADY_ARRIVEDThe node already has an arrival.
400ARRIVE_NODE_NO_POSITIONThe node has no coordinates.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
Request
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

POST/engine/jobs/{jobId}/nodes/{nodeName}/update-estimationsscope engine

Sets the travel time to a node the bot is driving to. The node must be in progress, departed and not yet arrived.

Path parameters

jobIdrequired
string
Job id.
nodeNamerequired
string
Node name.

Body

newTravelDurationrequired
number
New estimated travel time to the node, in milliseconds.
arrivingrequired
boolean
True when the bot is about to arrive. The node then becomes arriving.

Response 200

datarequired
object
data.arrivingrequired
boolean
True when this call moved the node to arriving.

Errors

400Invalid body.
400GET_NODE_NOT_FOUNDThe job has no node with this name.
400UPDATE_NODE_ESTIMATIONS_INVALID_STATEThe node is not in progress, has not departed, or already arrived.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
Request
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}'
Example body
{
  "newTravelDuration": 45000,
  "arriving": true
}
Example response 200
{
  "data": {
    "arriving": true
  }
}

Actions

What happens at a node, such as loading or unloading a package.

Add an action

POST/engine/jobs/{jobId}/nodes/{nodeName}/actionsscope engine

Adds an action to a node, not before the actions that already started.

Path parameters

jobIdrequired
string
Job id.
nodeNamerequired
string
Node name.

Body

actionrequired
atIndex
number
Position to insert the action at. Default: the end.

Response 201

datarequired

Errors

400Invalid body.
400GET_NODE_NOT_FOUNDThe job has no node with this name.
400ADD_ACTION_NAME_DUPLICATEThe node already has an action with this name.
400ADD_ACTION_INDEX_OUT_OF_BOUNDSatIndex is outside the node actions.
400ADD_ACTION_NODE_IN_PASTThe node is before the current one.
400ADD_ACTION_BEFORE_CURRENTatIndex is before an action that already started.
400ADD_ACTION_PACKAGE_NOT_FOUNDpackageName is not a package of the job.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
Request
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"}}'
Example body
{
  "action": {
    "name": "unload-2",
    "type": "unload",
    "packageName": "pkg-2"
  }
}

Update an action

PATCH/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}scope engine

An action can be renamed only while pending.

Path parameters

jobIdrequired
string
Job id.
nodeNamerequired
string
Node name.
actionNamerequired
string
Action name.

Body

name
string
The name of the entity. Must only contain alphanumeric characters, underscores, and hyphens. Up to 255 characters.
type
string
Up to 255 characters.
packageName
string | null
bundleName
string | null
The name of the entity. Must only contain alphanumeric characters, underscores, and hyphens. Up to 255 characters.
blockingType
'soft' | 'hard'
allowFailure
boolean
metadata
Record<string, unknown> | null
A record of key-value pairs containing additional metadata about the entity.

Response 200

datarequired

Errors

400Invalid body.
400GET_NODE_NOT_FOUNDThe job has no node with this name.
400GET_ACTION_NOT_FOUNDThe node has no action with this name.
400UPDATE_ACTION_NAME_NOT_PENDINGRenaming an action that is not pending.
400UPDATE_ACTION_NAME_DUPLICATEThe new name is taken by another action of the node.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
Request
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

DELETE/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}scope engine

On an active job, only a pending action can be deleted.

Path parameters

jobIdrequired
string
Job id.
nodeNamerequired
string
Node name.
actionNamerequired
string
Action name.

Response 200

datarequired

Errors

400GET_NODE_NOT_FOUNDThe job has no node with this name.
400GET_ACTION_NOT_FOUNDThe node has no action with this name.
400DELETE_ACTION_NOT_PENDINGThe job is active and the action is not pending.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
Request
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

POST/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}/completescope engine

The action must be in progress. When it was the last one of the node, the job moves on.

Path parameters

jobIdrequired
string
Job id.
nodeNamerequired
string
Node name.
actionNamerequired
string
Action name.

Response 200

datarequired

Errors

400GET_NODE_NOT_FOUNDThe job has no node with this name.
400GET_ACTION_NOT_FOUNDThe node has no action with this name.
400COMPLETE_ACTION_NOT_IN_PROGRESSThe action is not in progress.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
Request
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

POST/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}/failscope engine

The action must be in progress.

Path parameters

jobIdrequired
string
Job id.
nodeNamerequired
string
Node name.
actionNamerequired
string
Action name.

Body (optional)

reason
string
Why. Stored in the action metadata.finalizationReason unless one is already set.

Response 200

datarequired

Errors

400Invalid body.
400GET_NODE_NOT_FOUNDThe job has no node with this name.
400GET_ACTION_NOT_FOUNDThe node has no action with this name.
400FAIL_ACTION_NOT_IN_PROGRESSThe action is not in progress.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
Request
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

POST/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}/skipscope engine

The action must be pending or in progress.

Path parameters

jobIdrequired
string
Job id.
nodeNamerequired
string
Node name.
actionNamerequired
string
Action name.

Body (optional)

reason
string
Why. Stored in the action metadata.finalizationReason unless one is already set.

Response 200

datarequired

Errors

400Invalid body.
400GET_NODE_NOT_FOUNDThe job has no node with this name.
400GET_ACTION_NOT_FOUNDThe node has no action with this name.
400SKIP_ACTION_INVALID_STATEThe action is neither pending nor in progress.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
Request
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

POST/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}/cancelscope engine

The action must be pending, in progress or paused.

Path parameters

jobIdrequired
string
Job id.
nodeNamerequired
string
Node name.
actionNamerequired
string
Action name.

Body (optional)

reason
string
Why. Stored in the action metadata.finalizationReason unless one is already set.

Response 200

datarequired

Errors

400Invalid body.
400GET_NODE_NOT_FOUNDThe job has no node with this name.
400GET_ACTION_NOT_FOUNDThe node has no action with this name.
400CANCEL_ACTION_INVALID_STATEThe action is already finished.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
Request
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

POST/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}/loadscope engine

Closes 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

jobIdrequired
string
Job id.
nodeNamerequired
string
Node name.
actionNamerequired
string
Action name.

Body (optional)

skipCloseDoor
boolean
Do not close the door first.
allowDoorClosingFailure
boolean
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

400Invalid body.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
404NODE_NOT_FOUNDThe job has no node with this name.
404ACTION_NOT_FOUNDThe node has no action with this name.
409CANNOT_LOAD_ACTION_NOT_IN_PROGRESSThe action is not in progress.
409CANNOT_LOAD_ACTION_NOT_LOAD_OR_UNLOADThe action type is not load or unload.
409NO_BOT_ASSIGNEDThe job has no bot.
409CANNOT_CLOSE_DOORThe door did not close and allowDoorClosingFailure is not set.
Request
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"}'
Example body
{
  "verification": "vri"
}
Example response 200
{
  "data": {
    "success": true,
    "doorClosedFailed": false,
    "botId": "4T001",
    "verificationResult": "success"
  }
}

Confirm a package is unloaded

POST/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}/unloadscope engine

Closes 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

jobIdrequired
string
Job id.
nodeNamerequired
string
Node name.
actionNamerequired
string
Action name.

Body (optional)

skipCloseDoor
boolean
Do not close the door first.
allowDoorClosingFailure
boolean
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

400Invalid body.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
404NODE_NOT_FOUNDThe job has no node with this name.
404ACTION_NOT_FOUNDThe node has no action with this name.
409CANNOT_LOAD_ACTION_NOT_IN_PROGRESSThe action is not in progress.
409CANNOT_LOAD_ACTION_NOT_LOAD_OR_UNLOADThe action type is not load or unload.
409NO_BOT_ASSIGNEDThe job has no bot.
409CANNOT_CLOSE_DOORThe door did not close and allowDoorClosingFailure is not set.
Request
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

POST/engine/jobs/{jobId}/packagesscope engine

Path parameters

jobIdrequired
string
Job id.

Body

namerequired
string
The name of the package. Must be unique per job. Up to 255 characters.
bundleName
string | null
Group identifier for the package. Up to 255 characters.
description
string | null
A description in markdown format. Up to 1024 characters.
pictureURL
string (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.
metadata
Record<string, unknown> | null
A record of key-value pairs containing additional metadata about the entity.
station
string | null
Prep station that owns this package (e.g. "Burger Shop"). Trimmed; blank becomes null.

Response 201

datarequired

Errors

400Invalid body.
400ADD_PACKAGE_NAME_DUPLICATEThe job already has a package with this name.
400STATIONED_PACKAGES_REQUIRE_PER_PACKAGE_LOADA load action without packageName would cover packages of more than one station.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
Request
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}]}'
Example body
{
  "name": "pkg-2",
  "station": "Drinks",
  "items": [
    {
      "name": "Lemonade",
      "quantity": 2
    }
  ]
}

Update a package

PATCH/engine/jobs/{jobId}/packages/{packageName}scope engine

A package can be renamed only while none of its actions started.

Path parameters

jobIdrequired
string
Job id.
packageNamerequired
string
Package name.

Body

name
string
The name of the entity. Must only contain alphanumeric characters, underscores, and hyphens. Up to 255 characters.
bundleName
string | null
The name of the entity. Must only contain alphanumeric characters, underscores, and hyphens. Up to 255 characters.
description
string | null
Up to 1024 characters.
pictureURL
string (uri) | null
items
{ name: string, quantity: number } & Record<string, unknown>[] | null
metadata
Record<string, unknown> | null
A record of key-value pairs containing additional metadata about the entity.
station
string | null
Prep station that owns this package. Trimmed; blank becomes null.

Response 200

datarequired

Errors

400Invalid body.
400GET_PACKAGE_NOT_FOUNDThe job has no package with this name.
400UPDATE_PACKAGE_NAME_DUPLICATEThe new name is taken by another package.
400UPDATE_PACKAGE_NAME_IN_USERenaming a package whose actions already started.
400STATIONED_PACKAGES_REQUIRE_PER_PACKAGE_LOADA load action without packageName would cover packages of more than one station.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
Request
curl -X PATCH 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/packages/{packageName}' \
  -H "Authorization: Bearer $REMI_API_KEY"

Delete a package

DELETE/engine/jobs/{jobId}/packages/{packageName}scope engine

Path parameters

jobIdrequired
string
Job id.
packageNamerequired
string
Package name.

Response 200

datarequired

Errors

400GET_PACKAGE_NOT_FOUNDThe job has no package with this name.
400DELETE_PACKAGE_IN_USEAn action that uses the package already started.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
Request
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

POST/engine/jobs/{jobId}/hooksscope engine

The hook fires on every event that matches its filters. A filter you leave out matches everything.

Path parameters

jobIdrequired
string
Job id.

Body

namerequired
string
The name of the hook. Must be unique per job. Up to 255 characters.
eventType
enum[] | null
Fire only for these event types. Omit for all.
nodeName
string[] | null
Filter events to specific nodes by their names.
actionName
string[] | null
Filter events to specific actions by their names.
packageName
string[] | null
Filter events to specific packages by their names.
jobState
enum[] | 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.
target
string
The URL to call.
queueName
string | 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.
metadata
Record<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

400Invalid body.
400HOOK_ACTION_AND_TARGET_UNDEFINEDNo action, and target has no recognizable scheme.
400HOOK_ACTION_NOT_ALLOWEDaction is not call_webhook, or target is not an http(s) URL.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
409DUPLICATE_HOOK_NAMEThe job already has a hook with this name.
Request
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"]}'
Example body
{
  "name": "notify-partner",
  "target": "https://example.com/hooks/engine",
  "eventType": [
    "job_started",
    "job_finalized"
  ]
}
Example response 201
{
  "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

PATCH/engine/jobs/{jobId}/hooks/{hookName}scope engine

Send only what changes. The name cannot change.

Path parameters

jobIdrequired
string
Job id.
hookNamerequired
string
Hook name.

Body

eventType
enum[] | null
Fire only for these event types. Omit for all.
nodeName
string[] | null
Filter events to specific nodes by their names.
actionName
string[] | null
Filter events to specific actions by their names.
packageName
string[] | null
Filter events to specific packages by their names.
jobState
enum[] | 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.
target
string
The URL to call.
queueName
string | 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.
metadata
Record<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

400Invalid body.
400HOOK_ACTION_NOT_ALLOWEDaction is not call_webhook, or target is not an http(s) URL.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
404HOOK_NOT_FOUNDThe job has no hook with this name.
Request
curl -X PATCH 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/hooks/{hookName}' \
  -H "Authorization: Bearer $REMI_API_KEY"

Delete a hook

DELETE/engine/jobs/{jobId}/hooks/{hookName}scope engine

Path parameters

jobIdrequired
string
Job id.
hookNamerequired
string
Hook name.

Response 200

datarequired
object
data.deletedrequired
boolean

Errors

401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
404HOOK_NOT_FOUNDThe job has no hook with this name.
Request
curl -X DELETE 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/hooks/{hookName}' \
  -H "Authorization: Bearer $REMI_API_KEY"
Example response 200
{
  "data": {
    "deleted": true
  }
}

Events

The history of what happened to a job.

List the events of a job

GET/engine/jobs/{jobId}/eventsscope engine

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

Path parameters

jobIdrequired
string
Job id.

Query parameters

limit
integer
Page size, 1 to 50. Default 50. 1 to 50. Default 50.
cursor
string
next_cursor of the previous page.

Response 200

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

Errors

400Invalid query, for example limit above 50.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
Request
curl -X GET 'https://api.remi.robot.com/api/v3/engine/jobs/{jobId}/events' \
  -H "Authorization: Bearer $REMI_API_KEY"
Example response 200
{
  "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

GET/engine/jobs/{jobId}/alertsscope engine

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

Path parameters

jobIdrequired
string
Job id.

Query parameters

limit
integer
Page size, 1 to 100. Default 50. 1 to 100. Default 50.
cursor
string
next_cursor of the previous page.
name
string
Only alerts with this name.

Response 200

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

Errors

400Invalid query, for example limit above 100.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
Request
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

POST/engine/jobs/{jobId}/alertsscope engine

The location, bot and job version are filled in from the job.

Path parameters

jobIdrequired
string
Job id.

Body

namerequired
string
Category of the alert.
descriptionrequired
string
Markdown.
priority
integer
From 0 (lowest) to 100 (highest). Default 0. 0 to 100. Default 0.
metadata
Record<string, unknown> | null

Response 201

datarequired

Errors

400Invalid body.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
Request
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}'
Example body
{
  "name": "pickup-delay",
  "description": "The kitchen is 10 minutes late.",
  "priority": 50
}
Example response 201
{
  "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

GET/engine/alertsscope engine

Newest 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

limit
integer
Page size, 1 to 100. Default 50. 1 to 100. Default 50.
cursor_id
string
next_cursor.id of the previous page. Send it with cursor_created_at.
cursor_created_at
string
next_cursor.created_at of the previous page. Send it with cursor_id.
order
'asc' | 'desc'
By creation time. Default desc. Default "desc".
locations
string
Comma-separated location ids. Only jobs at these locations.
name
string
Only alerts with this name.

Response 200

datarequired
paginationrequired
object
pagination.next_cursorrequired
object | null
pagination.next_cursor.idrequired
string
pagination.next_cursor.created_atrequired
string
pagination.limitrequired
number

Errors

400Invalid query, for example limit above 100.
401Missing or invalid API key.
403The API key does not have the engine scope.
Request
curl -X GET 'https://api.remi.robot.com/api/v3/engine/alerts' \
  -H "Authorization: Bearer $REMI_API_KEY"
Example response 200
{
  "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

POST/engine/jobs/{jobId}/nodes/{nodeName}/actions/{actionName}/doorscope engine

Moves 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

jobIdrequired
string
Job id.
nodeNamerequired
string
Node name.
actionNamerequired
string
Action name.

Body

staterequired
'open' | 'closed'
The door state to reach.

Response 200

datarequired

Errors

400Invalid body.
400The job is not in progress or paused, has no bot, or the action is not in progress.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
404The node has no action with this name.
Request
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"}'
Example body
{
  "state": "open"
}
Example response 200
{
  "data": {
    "success": true,
    "missionCreated": false,
    "failureReason": null,
    "lastDoorState": "opened"
  }
}

Open or close a bot door

POST/engine/bots/{botId}/actions/doorscope engine

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

botIdrequired
string
Bot id, for example 4T001.

Body

staterequired
'open' | 'closed'
The door state to reach.

Response 200

datarequired

Errors

400Invalid body.
401Missing or invalid API key.
403The API key does not have the engine scope.
403The bot is not one of yours and has no active job of yours.
404No bot with this id.
Request
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"}'
Example body
{
  "state": "closed"
}
Example response 200
{
  "data": {
    "success": false,
    "missionCreated": false,
    "failureReason": "timeout",
    "lastDoorState": "closing"
  }
}

Play a screen animation

POST/engine/bots/{botId}/actions/animationscope engine

Sent to the bot without waiting for it to play.

Path parameters

botIdrequired
string
Bot id, for example 4T001.

Body

animationIdrequired
integer
Screen animation id. Known: 2 to 14 (dark background) and 15 to 27 (white background). 0 to 9007199254740991.
keepFixed
boolean
Keep the animation on the screen. Default true. Default true.

Response 200

datarequired
object
data.successrequired
boolean
data.botIdrequired
string
data.actionrequired
string

Errors

400Invalid body.
401Missing or invalid API key.
403The API key does not have the engine scope.
403The bot is not one of yours and has no active job of yours.
404No bot with this id.
Request
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}'
Example body
{
  "animationId": 5,
  "keepFixed": true
}
Example response 200
{
  "data": {
    "success": true,
    "botId": "4T001",
    "action": "animation"
  }
}

Open or close the door of a job bot

POST/engine/jobs/{jobId}/bot/actions/doorscope engine

The 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

jobIdrequired
string
Job id.

Body

staterequired
'open' | 'closed'
The door state to reach.

Response 200

datarequired

Errors

400Invalid body.
400The job is not in progress or paused, or has no bot.
401Missing or invalid API key.
403The API key does not have the engine scope.
404No job with this id in your namespace.
Request
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"}'
Example body
{
  "state": "open"
}

Types

Problem

Fields

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

Job

Fields

idrequired
string
Job id, usually like ES-5867. Treat it as an opaque string.
namespacerequired
string
The namespace that owns the job.
externalIdrequired
string | null
Your own reference. Unique among your active jobs.
locationIdrequired
string
versionrequired
number
Increases by one on every change. Send the current value plus one as nextVersion to reject concurrent edits.
namerequired
string
descriptionrequired
string | null
Markdown.
pictureURLrequired
string | 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
currentNodeIndexrequired
number | null
index of the node in progress. Null until the job starts.
priorityrequired
number
From 0 (lowest) to 100 (highest).
expendablerequired
boolean
True if the job can be ended early to free its bot without counting as failed.
createdManuallyrequired
boolean
True when a person created the job in the REMI app, false when it came from the API.
scheduledAtrequired
string (date-time) | null
When the job should reach its first node.
targetCompletionAtrequired
string (date-time) | null
When the job is expected to finish.
startedAtrequired
string (date-time) | null
finalizedAtrequired
string (date-time) | null
When the job reached a final state.
botIdrequired
string | null
The assigned bot, for example 4T001.
requiresBotrequired
boolean
False for a job that runs without a bot.
requiredBotTagsrequired
string[] | null
Only bots with every one of these tags can take the job. Null or empty: any bot.
createdAtrequired
string (date-time)
updatedAtrequired
string (date-time) | null
tagsrequired
string[] | null
metadatarequired
unknown
Free-form JSON object, or null.
nodesrequiredIn visiting order.
hooksOnly with include_hooks=true.
alertsOnly with include_alerts=true.
packagesrequired
eventsOnly 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

jobIdrequired
string
namerequired
string
Unique within the job.
descriptionrequired
string | null
Markdown.
pictureURLrequired
string | null
indexrequired
number
Position in the job, from 0.
pointIdrequired
string | null
The registered point this node was created from, if any.
latrequired
number | null
lngrequired
number | null
azimuthrequired
number | null
positionIndexrequired
number | null
Position among the nodes that have coordinates.
hasPositionDefinedrequired
boolean
True when lat and lng are set.
distancerequired
number
Estimated distance to the next node.
travelDurationrequired
number
Estimated travel time to this node, in milliseconds.
actionsDurationrequired
number
Estimated time of the actions at this node, in milliseconds.
totalDurationrequired
number
Estimated time at this node in milliseconds: travel plus the actions that cannot run in parallel.
estimatedArrivalAtrequired
string (date-time) | null
Estimated arrival, or the real one once the bot arrived. It can be stale between updates.
startedAtrequired
string (date-time) | null
departedAtrequired
string (date-time) | null
When the bot left for this node.
arrivedAtrequired
string (date-time) | null
When the bot arrived at this node.
finalizedAtrequired
string (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.
allowFailurerequired
boolean
The job continues if this node fails.
expendablerequired
boolean
The job can be ended early at this node without counting as failed.
tagsrequired
string[] | null
releasedrequired
boolean
If false, the node waits for the release route before the job moves on.
metadatarequired
unknown
Free-form JSON object, or null.
actionsrequiredIn execution order.

NodeState

Action

Fields

jobIdrequired
string
nodeNamerequired
string
namerequired
string
Unique within the node.
indexrequired
number
Position in the node, from 0.
typerequired
string
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
allowFailurerequired
boolean
The job continues if this action fails.
packageNamerequired
string | null
For load and unload: the package it handles.
bundleNamerequired
string | null
For load and unload: handles every package of this bundle instead of one package.
metadatarequired
unknown
Free-form JSON object, or null.
startedAtrequired
string (date-time) | null
finalizedAtrequired
string (date-time) | null
durationrequired
number
Estimated duration in milliseconds.
createdAtrequired
string (date-time)
updatedAtrequired
string (date-time) | null

ActionState

Package

Fields

jobIdrequired
string
namerequired
string
Unique within the job.
bundleNamerequired
string | null
Group identifier.
descriptionrequired
string | null
Markdown.
pictureURLrequired
string | null
itemsrequired
{ name: string, quantity: number }[] | null
items[].namerequired
string
items[].quantityrequired
number
metadatarequired
Record<string, unknown> | null
stationrequired
string | null
Prep station that owns the package.
createdAtrequired
string (date-time)

Hook

Fields

jobIdrequired
string
namerequired
string
Unique within the job.
eventTyperequired
enum[] | null
Fires only for these event types. Null: all.
nodeNamerequired
string[] | null
Fires only for these nodes. Null: all.
actionNamerequired
string[] | null
Fires only for these actions. Null: all.
actionTyperequired
string[] | null
Fires only for these action types. Null: all.
packageNamerequired
string[] | null
Fires only for these packages. Null: all.
jobStaterequired
string[] | null
Fires only while the job is in one of these states. Null: all.
actionrequired
string
What the hook does, for example call_webhook.
targetrequired
string | null
Where the action delivers, for example a URL.
queueNamerequired
string | null
Hooks of the same job that share a queue name run one at a time, in event order. Null: they run concurrently.
metadatarequired
unknown
Settings for the action, or null.

Event

Fields

idrequired
string (uuid)
Time-ordered: events sort by id.
jobIdrequired
string | null
namespacerequired
string | null
locationIdrequired
string | null
jobVersionrequired
number | null
The job version when the event happened.
sequencerequired
number
Orders events that share a timestamp and a job version.
jobStaterequired
string | null
botIdrequired
string | null
nodeNamerequired
string | null
actionNamerequired
string | null
packageNamerequired
string | null
eventTyperequired
enum
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.
pathrequired
string
Where the event happened, as a dotted path.
operationrequired
string | null
The operation that caused it, for example create_job.
userrequired
string | null
Who triggered the operation.
metadatarequired
unknown
Details of the event. Their shape depends on eventType.
exportedAtrequired
string (date-time) | null
Deprecated. Null on current events.
createdAtrequired
string (date-time)

Alert

Fields

idrequired
string (uuid)
jobIdrequired
string
locationIdrequired
string
namespacerequired
string
botIdrequired
string | null
jobVersionrequired
number
The job version when the alert was raised.
namerequired
string
Category of the alert.
descriptionrequired
string
Markdown.
priorityrequired
number
From 0 (lowest) to 100 (highest).
eventTyperequired
enum | 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.
eventPathrequired
string | null
eventIdrequired
string | null
eventDatarequired
unknown
Data of the event that raised the alert, or null.
createdAtrequired
string (date-time)
metadatarequired
unknown
Free-form JSON object, or null.

JobOverview

Fields

totalrequired
number
activerequired
number
Draft, scheduled, pending, in progress and paused.
draftrequired
number
scheduledrequired
number
pendingrequired
number
in_progressrequired
number
pausedrequired
number
completedrequired
number
failedrequired
number
canceledrequired
number
completedLast24hrequired
number
failedLast24hrequired
number

DoorResult

Fields

successrequired
boolean
True when the door reached the requested state.
missionCreatedrequired
boolean
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.
lastDoorStaterequired
string
The last door state the bot reported.

LoadUnloadResult

Fields

successrequired
boolean
False when the vri check failed. The action stays in progress then.
doorClosedFailedrequired
boolean
True when the door could not be closed and allowDoorClosingFailure let the call go on.
botIdrequired
string
verificationResultrequired
'success' | 'failed' | null
Null when no verification was requested.

NewNode

Fields

name
string
The name of the node. Must be unique per job. Up to 255 characters.
description
string | null
A description in markdown format. Up to 1024 characters.
pictureURL
string (uri) | null
URL of a picture of the stop.
pointId
string | null
A registered point of the job's location. The node takes its coordinates. An unknown point answers POINT_NOT_FOUND.
lat
number | null
Latitude of the node. -90 to 90.
lng
number | null
Longitude of the node. -180 to 180.
azimuth
number | null
Azimuth of the node.
expendable
boolean
Whether the job is expendable in this node.
allowFailure
boolean
Whether failure of this node is allowed.
travelDuration
number
Estimated travel time to this node, in milliseconds.
released
boolean
If false, the node requires manual confirmation to move forward.
metadata
Record<string, unknown> | null
A record of key-value pairs containing additional metadata about the entity.
actionsActions to run at the node, in order.

NewAction

Fields

namerequired
string
The name of the action. Must be unique per node. Up to 255 characters.
typerequired
string
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.
duration
number
Estimated time to complete the action, in milliseconds.
packageName
string | null
The name of the package associated with the action.
bundleName
string | 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.
allowFailure
boolean
If true, the job continues when this action fails.
metadata
Record<string, unknown> | null
Metadata and params for the action.

NewPackage

Fields

namerequired
string
The name of the package. Must be unique per job. Up to 255 characters.
bundleName
string | null
Group identifier for the package. Up to 255 characters.
description
string | null
A description in markdown format. Up to 1024 characters.
pictureURL
string (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.
metadata
Record<string, unknown> | null
A record of key-value pairs containing additional metadata about the entity.
station
string | null
Prep station that owns this package (e.g. "Burger Shop"). Trimmed; blank becomes null.

NewHook

Fields

namerequired
string
The name of the hook. Must be unique per job. Up to 255 characters.
eventType
enum[] | null
Fire only for these event types. Omit for all.
nodeName
string[] | null
Filter events to specific nodes by their names.
actionName
string[] | null
Filter events to specific actions by their names.
packageName
string[] | null
Filter events to specific packages by their names.
jobState
enum[] | 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.
target
string
The URL to call.
queueName
string | 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.
metadata
Record<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).