Fleet integrations

Fleet API reference

The endpoints your fleet calls on REMI.

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

Authentication

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

Fleet

How your fleet is wired into REMI.

Get fleet configuration

GET/fleetscope fleet

How your fleet is wired into REMI. Read it to confirm what REMI believes before you debug anything else.

Response 200

datarequired

Errors

400PARTNER_NOT_FOUNDYour namespace has no partner record yet.
401Missing or invalid API key.
403The API key does not have the fleet scope.
404FLEET_NOT_CONFIGUREDNo fleet configuration for your namespace yet. Create it with PATCH /fleet.
Request
curl -X GET 'https://api.remi.robot.com/api/v3/fleet' \
  -H "Authorization: Bearer $REMI_API_KEY"
Example response 200
{
  "data": {
    "namespace": "partner_acme",
    "bot_id_prefix": "ACME-",
    "requires_fleet_serial": false,
    "transport": "http",
    "base_url": "https://fleet.example.com/v1",
    "token_set": true,
    "poll_interval_active_ms": 2000,
    "poll_interval_idle_ms": 15000,
    "max_bots": 200,
    "contract_version": "2026-09",
    "capabilities": {
      "supports_command_interrupt": true,
      "default": {
        "has_door": true,
        "supported_commands": [
          "navigate_to",
          "cancel_navigation",
          "set_door"
        ]
      },
      "overrides": {
        "ACME-4T002": {
          "has_door": false,
          "supported_commands": [
            "navigate_to",
            "cancel_navigation"
          ]
        }
      }
    }
  }
}

Configure the fleet

PATCH/fleetscope fleet

The first call creates the configuration; later calls change only the fields sent.

  • transport: "http" needs a base_url and a token on file.
  • Changing base_url needs a new token in the same call. A stored token is never carried to a new endpoint.
  • Poll intervals, bot id prefix and namespace are set at onboarding and cannot be changed here.

Body

transport
'mqtt' | 'http'
How state and commands travel. http: REMI polls your GET /bots unless you push. mqtt: the MQTT topics.
base_url
string
Required for http. An absolute https URL. REMI appends the Partner API paths to it.
token
string
Required for http. A secret of your choosing, at least 32 characters, sent as Authorization: Bearer <token> on every call to you. Never returned.

Response 200

datarequired

Errors

400VALIDATION_ERROREmpty body, unknown field, or a value of the wrong type.
400INVALID_BASE_URLbase_url is not an absolute https URL.
400TOKEN_TOO_SHORTtoken has fewer than 32 characters.
400TOKEN_REQUIRED_WITH_BASE_URLbase_url changes and no new token was sent.
400INCOMPLETE_HTTP_CONFIGtransport is http and there is no base_url or no token on file.
400PARTNER_NOT_FOUNDYour namespace has no partner record yet.
401Missing or invalid API key.
403The API key does not have the fleet scope.
409NAMESPACE_NOT_MQTT_SAFEYour namespace is not [a-z0-9_]+. Ask Robot.com to change it first.
Request
curl -X PATCH 'https://api.remi.robot.com/api/v3/fleet' \
  -H "Authorization: Bearer $REMI_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"transport":"http","base_url":"https://fleet.example.com/v1","token":"k3VnQ8xLw2ZpR7tYb5MdC9sHf1GjA4uE"}'
Example body
{
  "transport": "http",
  "base_url": "https://fleet.example.com/v1",
  "token": "k3VnQ8xLw2ZpR7tYb5MdC9sHf1GjA4uE"
}
Example response 200
{
  "data": {
    "namespace": "partner_acme",
    "bot_id_prefix": "ACME-",
    "requires_fleet_serial": false,
    "transport": "http",
    "base_url": "https://fleet.example.com/v1",
    "token_set": true,
    "poll_interval_active_ms": 2000,
    "poll_interval_idle_ms": 15000,
    "max_bots": 200,
    "contract_version": "2026-09",
    "capabilities": {
      "supports_command_interrupt": true,
      "default": {
        "has_door": true,
        "supported_commands": [
          "navigate_to",
          "cancel_navigation",
          "set_door"
        ]
      },
      "overrides": {
        "ACME-4T002": {
          "has_door": false,
          "supported_commands": [
            "navigate_to",
            "cancel_navigation"
          ]
        }
      }
    }
  }
}

Capabilities

What your robots can do.

Set fleet capabilities

POST/fleet/capabilitiesscope fleet

Replaces the whole document. The document is optional: without one, REMI sends set_door to every bot and treats supports_command_interrupt as false.

  • It describes your hardware, not who is connected. Never send it from an empty or partial roster.
  • A bot whose effective has_door is false gets no set_door, and its manual_close_door is turned on. REMI never turns it back off.

Body

supports_command_interruptrequired
boolean
Whether a navigate_to sent during another navigation is accepted and replaces it. Fleet-wide. Without a document this is false.
defaultrequired
object
Applies to every bot unless overridden.
default.has_doorrequired
boolean
Whether the bot has a remotely controllable cargo door. False: set_door is never sent.
default.supported_commandsrequired
('navigate_to' | 'cancel_navigation' | 'set_door')[]
The command types this bot accepts.
overrides
Record<string, { has_door?: boolean, supported_commands?: ('navigate_to' | 'cancel_navigation' | 'set_door')[] }>
Keyed by bot id and merged over default, field by field. Default {}.

Response 200

datarequired

Errors

400VALIDATION_ERRORA required field is missing, or a command type is unknown.
400CAPABILITIES_MISSING_REQUIRED_COMMANDSdefault.supported_commands lacks navigate_to or cancel_navigation. Nothing is stored.
400PARTNER_NOT_FOUNDYour namespace has no partner record yet.
401Missing or invalid API key.
403The API key does not have the fleet scope.
404FLEET_NOT_CONFIGUREDNo fleet configuration for your namespace yet. Create it with PATCH /fleet.
Request
curl -X POST 'https://api.remi.robot.com/api/v3/fleet/capabilities' \
  -H "Authorization: Bearer $REMI_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"supports_command_interrupt":true,"default":{"has_door":true,"supported_commands":["navigate_to","cancel_navigation","set_door"]},"overrides":{"ACME-4T002":{"has_door":false,"supported_commands":["navigate_to","cancel_navigation"]}}}'
Example body
{
  "supports_command_interrupt": true,
  "default": {
    "has_door": true,
    "supported_commands": [
      "navigate_to",
      "cancel_navigation",
      "set_door"
    ]
  },
  "overrides": {
    "ACME-4T002": {
      "has_door": false,
      "supported_commands": [
        "navigate_to",
        "cancel_navigation"
      ]
    }
  }
}
Example response 200
{
  "data": {
    "supports_command_interrupt": true,
    "default": {
      "has_door": true,
      "supported_commands": [
        "navigate_to",
        "cancel_navigation",
        "set_door"
      ]
    },
    "overrides": {
      "ACME-4T002": {
        "has_door": false,
        "supported_commands": [
          "navigate_to",
          "cancel_navigation"
        ]
      }
    }
  }
}

Update fleet capabilities

PATCH/fleet/capabilitiesscope fleet

Merges into the stored document, which must exist: create it with POST first. default and overrides are replaced whole when sent, so to remove an override, send overrides without it.

Body

supports_command_interrupt
boolean
default
object
default.has_doorrequired
boolean
Whether the bot has a remotely controllable cargo door. False: set_door is never sent.
default.supported_commandsrequired
('navigate_to' | 'cancel_navigation' | 'set_door')[]
The command types this bot accepts.
overrides
Record<string, { has_door?: boolean, supported_commands?: ('navigate_to' | 'cancel_navigation' | 'set_door')[] }>

Response 200

datarequired

Errors

400VALIDATION_ERROREmpty body, unknown field, or an invalid value.
400CAPABILITIES_MISSING_REQUIRED_COMMANDSdefault.supported_commands lacks navigate_to or cancel_navigation. Nothing is stored.
400PARTNER_NOT_FOUNDYour namespace has no partner record yet.
401Missing or invalid API key.
403The API key does not have the fleet scope.
404FLEET_NOT_CONFIGUREDNo fleet configuration for your namespace yet. Create it with PATCH /fleet.
404CAPABILITIES_NOT_SETNo document on file yet.
Request
curl -X PATCH 'https://api.remi.robot.com/api/v3/fleet/capabilities' \
  -H "Authorization: Bearer $REMI_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"supports_command_interrupt":false}'
Example body
{
  "supports_command_interrupt": false
}
Example response 200
{
  "data": {
    "supports_command_interrupt": false,
    "default": {
      "has_door": true,
      "supported_commands": [
        "navigate_to",
        "cancel_navigation",
        "set_door"
      ]
    },
    "overrides": {
      "ACME-4T002": {
        "has_door": false,
        "supported_commands": [
          "navigate_to",
          "cancel_navigation"
        ]
      }
    }
  }
}

Bots

Register, update, retire and list your robots.

List bots

GET/fleet/botsscope fleet

What REMI sees of your fleet, to find out why a bot is not assigned. Ordered by bot_id, retired bots included (always with retired in blocked_by).

Query parameters

limit
integer
Page size, 1 to 200. 1 to 200. Default 100.
cursor
string
next_cursor of the previous page. Only valid with the same limit.

Response 200

datarequired
next_cursorrequired
string | null
Pass it as cursor for the next page. Null on the last page.

Errors

400VALIDATION_ERRORlimit is not an integer from 1 to 200.
400INVALID_CURSORThe cursor is malformed or was issued for a different limit.
400PARTNER_NOT_FOUNDYour namespace has no partner record yet.
401Missing or invalid API key.
403The API key does not have the fleet scope.
404FLEET_NOT_CONFIGUREDNo fleet configuration for your namespace yet. Create it with PATCH /fleet.
Request
curl -X GET 'https://api.remi.robot.com/api/v3/fleet/bots' \
  -H "Authorization: Bearer $REMI_API_KEY"
Example response 200
{
  "data": [
    {
      "bot_id": "ACME-4T001",
      "fleet_serial": "AC7F3K2",
      "location_id": "7Nk2QhVpXrLmT4wZaBcDe",
      "current_job_id": null,
      "assignable": true,
      "blocked_by": [],
      "state_age_ms": 1840
    },
    {
      "bot_id": "ACME-4T002",
      "fleet_serial": null,
      "location_id": "7Nk2QhVpXrLmT4wZaBcDe",
      "current_job_id": "ES-5867",
      "assignable": false,
      "blocked_by": [
        "battery_below_minimum"
      ],
      "state_age_ms": 2100
    }
  ],
  "next_cursor": null
}

Register a bot

POST/fleet/botsscope fleet

Call once per bot, when it enters service. The bot has no location until Robot.com operations places it, and is not assigned before.

  • An existing id is a conflict, not an overwrite: use PATCH to change a bot.
  • Registering a retired bot of yours again reactivates it, keeping its stored fleet_serial unless you send one.

Body

bot_idrequired
string
Your bot id prefix followed by [A-Za-z0-9_.-]+, at most 64 characters in total.
fleet_serial
string
The id your own system uses for the robot, when it differs from bot_id. At most 128 characters. Up to 128 characters.
manual_close_door
boolean
True when the door must be closed by hand: REMI never sends set_door closed to this bot. Defaults to false.
commercial_name
string
Display name shown to operators. Defaults to bot_id.
console_url
string
The robot's page in your own operator console. Operators open it from the bot's Console.
tags
string[]
Operational tags, up to 32 of at most 64 characters. Unknown tags are created. Jobs with options.bot_tags only go to bots carrying every tag. On update, replaces the whole list. Up to 32 items.

Response 201

datarequired

Errors

400INVALID_BODYA required field is missing, or a field has the wrong type or length.
400BOT_ID_NOT_NAMESPACEDbot_id does not start with your bot id prefix.
400BOT_ID_NOT_MQTT_SAFEbot_id is not the prefix followed by [A-Za-z0-9_.-]+, or is longer than 64 characters.
400FLEET_SERIAL_REQUIREDYour fleet has requires_fleet_serial: true and the bot would have no fleet_serial.
400PARTNER_NOT_FOUNDYour namespace has no partner record yet.
401Missing or invalid API key.
403The API key does not have the fleet scope.
404FLEET_NOT_CONFIGUREDNo fleet configuration for your namespace yet. Create it with PATCH /fleet.
409BOT_ID_TAKENThe id exists and is not a retired bot of yours.
409FLEET_SERIAL_TAKENAnother bot of yours in service already addresses that robot. Retire the other one first.
Request
curl -X POST 'https://api.remi.robot.com/api/v3/fleet/bots' \
  -H "Authorization: Bearer $REMI_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"bot_id":"ACME-4T001","fleet_serial":"AC7F3K2","manual_close_door":true,"commercial_name":"Acme 4T001","console_url":"https://console.example.com/robots/4T001","tags":["acme-fleet","lockable-door"]}'
Example body
{
  "bot_id": "ACME-4T001",
  "fleet_serial": "AC7F3K2",
  "manual_close_door": true,
  "commercial_name": "Acme 4T001",
  "console_url": "https://console.example.com/robots/4T001",
  "tags": [
    "acme-fleet",
    "lockable-door"
  ]
}
Example response 201
{
  "data": {
    "bot_id": "ACME-4T001",
    "namespace": "partner_acme",
    "location_id": null,
    "fleet_serial": "AC7F3K2",
    "manual_close_door": true,
    "commercial_name": "Acme 4T001",
    "console_url": "https://console.example.com/robots/4T001",
    "tags": [
      "acme-fleet",
      "lockable-door"
    ],
    "retired_at": null
  }
}

Update a bot

PATCH/fleet/bots/{bot_id}scope fleet

Changes only the fields sent. bot_id, namespace and location_id cannot be changed.

  • tags replaces the whole list.
  • Changing fleet_serial is refused while the bot holds a job, and takes the bot off duty until an operator puts it back.

Path parameters

bot_idrequired
string
The bot id you registered.

Body

fleet_serial
string | null
null removes the mapping. Refused while the bot holds a job. Up to 128 characters.
manual_close_door
boolean
True when the door must be closed by hand.
commercial_name
string
Display name shown to operators.
console_url
string | null
null removes it, and the bot's Console goes back to REMI's own.
tags
string[]
Operational tags, up to 32 of at most 64 characters. Unknown tags are created. Jobs with options.bot_tags only go to bots carrying every tag. On update, replaces the whole list. Up to 32 items.

Response 200

datarequired

Errors

400IMMUTABLE_FIELDThe body contains bot_id, namespace or location_id.
400INVALID_BODYA field has the wrong type or length, or is unknown.
400FLEET_SERIAL_REQUIREDYour fleet has requires_fleet_serial: true and the bot would have no fleet_serial.
400PARTNER_NOT_FOUNDYour namespace has no partner record yet.
401Missing or invalid API key.
403The API key does not have the fleet scope.
404FLEET_NOT_CONFIGUREDNo fleet configuration for your namespace yet. Create it with PATCH /fleet.
404BOT_NOT_FOUNDUnknown bot, or one that belongs to another partner.
409BOT_HOLDS_JOBfleet_serial changes while the bot holds a job.
409FLEET_SERIAL_TAKENAnother bot of yours in service already addresses that robot. Retire the other one first.
Request
curl -X PATCH 'https://api.remi.robot.com/api/v3/fleet/bots/{bot_id}' \
  -H "Authorization: Bearer $REMI_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"manual_close_door":false}'
Example body
{
  "manual_close_door": false
}
Example response 200
{
  "data": {
    "bot_id": "ACME-4T001",
    "namespace": "partner_acme",
    "location_id": "7Nk2QhVpXrLmT4wZaBcDe",
    "fleet_serial": "AC7F3K2",
    "manual_close_door": false,
    "commercial_name": "Acme 4T001",
    "console_url": "https://console.example.com/robots/4T001",
    "tags": [
      "acme-fleet",
      "lockable-door"
    ],
    "retired_at": null
  }
}

Retire a bot

DELETE/fleet/bots/{bot_id}scope fleet

Takes the bot out of service: it is no longer assigned, and its state and events are refused. History is kept, and registering the same id again reactivates it. Retiring twice is safe.

Path parameters

bot_idrequired
string
The bot id you registered.

Response 200

datarequired
object
data.bot_idrequired
string
data.retired_atrequired
string (date-time) | null
When the bot was retired.

Errors

400PARTNER_NOT_FOUNDYour namespace has no partner record yet.
401Missing or invalid API key.
403The API key does not have the fleet scope.
404FLEET_NOT_CONFIGUREDNo fleet configuration for your namespace yet. Create it with PATCH /fleet.
404BOT_NOT_FOUNDUnknown bot, or one that belongs to another partner.
409BOT_HOLDS_JOBThe bot is running a job.
Request
curl -X DELETE 'https://api.remi.robot.com/api/v3/fleet/bots/{bot_id}' \
  -H "Authorization: Bearer $REMI_API_KEY"
Example response 200
{
  "data": {
    "bot_id": "ACME-4T002",
    "retired_at": "2026-06-17T15:52:00.000Z"
  }
}

State and events

Push robot state and events instead of being polled or using MQTT.

Push bot state

POST/fleet/statescope fleet

The push alternative to being polled. While pushes keep arriving, REMI does not poll your GET /bots; it polls again after 60 seconds without one.

  • Up to 200 states per request. One invalid state, or one bot that is unknown or retired, rejects the whole request.
  • A state not newer than the last accepted for its bot is discarded and counted in rejected.

Body

botsrequiredComplete bot states, at most 200 per request. Up to 200 items.

Response 202

datarequired
object
data.acceptedrequired
number
States forwarded to REMI.
data.rejectedrequired
number
States discarded because a newer one was already accepted for that bot.

Errors

400INVALID_STATEbots is not an array, or a state is missing a required field.
400PARTNER_NOT_FOUNDYour namespace has no partner record yet.
401Missing or invalid API key.
403The API key does not have the fleet scope.
404FLEET_NOT_CONFIGUREDNo fleet configuration for your namespace yet. Create it with PATCH /fleet.
404BOT_NOT_FOUNDA bot_id is not a registered bot of yours, or is retired.
413PAYLOAD_TOO_LARGEMore than 200 states.
Request
curl -X POST 'https://api.remi.robot.com/api/v3/fleet/state' \
  -H "Authorization: Bearer $REMI_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"bots":[{"bot_id":"ACME-4T001","seq":88215,"timestamp":"2026-06-17T15:48:08.000Z","available":true,"connected":true,"position":{"lat":4.6498,"lng":-74.0712,"azimuth":90.3},"battery":{"percentage":74},"motion":{"speed_mps":1.4},"door":"closed","current_command":{"id":"ES-5867/pickup","state":"executing","accepted_at":"2026-06-17T15:46:31.220Z","updated_at":"2026-06-17T15:47:10.000Z"}}]}'
Example body
{
  "bots": [
    {
      "bot_id": "ACME-4T001",
      "seq": 88215,
      "timestamp": "2026-06-17T15:48:08.000Z",
      "available": true,
      "connected": true,
      "position": {
        "lat": 4.6498,
        "lng": -74.0712,
        "azimuth": 90.3
      },
      "battery": {
        "percentage": 74
      },
      "motion": {
        "speed_mps": 1.4
      },
      "door": "closed",
      "current_command": {
        "id": "ES-5867/pickup",
        "state": "executing",
        "accepted_at": "2026-06-17T15:46:31.220Z",
        "updated_at": "2026-06-17T15:47:10.000Z"
      }
    }
  ]
}
Example response 202
{
  "data": {
    "accepted": 1,
    "rejected": 0
  }
}

Report a bot event

POST/fleet/eventsscope fleet

Events are optional and safe to resend. arrived lets REMI react the moment a bot stops instead of on the next poll; the job still advances from current_command in the state. blocked opens an operator task that stays open until unblocked.

Body

bot_idrequired
string
typerequired
'arrived' | 'blocked' | 'unblocked'
arrived: a navigation finished. blocked and unblocked open and close an operator task.
command_id
string
Required for arrived: the id of the navigation command that just completed.
occurred_atrequired
string (date-time)
When it happened on your side, not when you sent it.
detail
Record<string, unknown>
For blocked: { "reason": string, "message": string }.

Response 202

datarequired
object
data.acceptedrequired
true

Errors

400INVALID_EVENTUnknown type, or arrived without command_id.
400PARTNER_NOT_FOUNDYour namespace has no partner record yet.
401Missing or invalid API key.
403The API key does not have the fleet scope.
404FLEET_NOT_CONFIGUREDNo fleet configuration for your namespace yet. Create it with PATCH /fleet.
404BOT_NOT_FOUNDbot_id is not a registered bot of yours, or is retired.
Request
curl -X POST 'https://api.remi.robot.com/api/v3/fleet/events' \
  -H "Authorization: Bearer $REMI_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"bot_id":"ACME-4T001","type":"arrived","command_id":"ES-5867/pickup","occurred_at":"2026-06-17T15:51:07.000Z"}'
Example body
{
  "bot_id": "ACME-4T001",
  "type": "arrived",
  "command_id": "ES-5867/pickup",
  "occurred_at": "2026-06-17T15:51:07.000Z"
}
Example response 202
{
  "data": {
    "accepted": true
  }
}

Types

Problem

Fields

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

FleetConfig

Fields

namespacerequired
string
Your partner namespace. Permanent. It is the segment in every MQTT topic and client id.
bot_id_prefixrequired
string
Every bot id must start with it. Defaults to your namespace in uppercase plus a hyphen.
requires_fleet_serialrequired
boolean
Whether every bot you register needs fleet_serial. Set by Robot.com, read-only.
transportrequired
'mqtt' | 'http'
base_urlrequired
string | null
Where REMI calls you in http mode. Null when none is set.
token_setrequired
boolean
Whether a bearer token for calling you is on file. The token is never returned.
poll_interval_active_msrequired
number
How often REMI polls GET /bots while any of your bots holds a job. Set at onboarding.
poll_interval_idle_msrequired
number
How often REMI polls GET /bots while your fleet is idle. Set at onboarding.
max_botsrequired
number
The fleet size agreed at onboarding. At most 200.
contract_versionrequired
string
The contract version your fleet was onboarded against.
capabilitiesrequiredNull until you set a document.

FleetCapabilities

Fields

supports_command_interruptrequired
boolean
Whether a navigate_to sent during another navigation is accepted and replaces it. Fleet-wide. Without a document this is false.
defaultrequired
object
Applies to every bot unless overridden.
default.has_doorrequired
boolean
Whether the bot has a remotely controllable cargo door. False: set_door is never sent.
default.supported_commandsrequired
('navigate_to' | 'cancel_navigation' | 'set_door')[]
The command types this bot accepts.
overridesrequired
Record<string, { has_door?: boolean, supported_commands?: ('navigate_to' | 'cancel_navigation' | 'set_door')[] }>
Keyed by bot id and merged over default, field by field.

FleetBot

Fields

bot_idrequired
string
namespacerequired
string
location_idrequired
string | null
The location the bot serves, set by Robot.com operations. Null until placed: a bot with no location is never assigned.
fleet_serialrequired
string | null
Null means the robot is bot_id minus your prefix.
manual_close_doorrequired
boolean
commercial_namerequired
string
console_urlrequired
string | null
tagsrequired
string[]
retired_atrequired
string (date-time) | null
When the bot was retired. Null while in service.

FleetBotListItem

Fields

bot_idrequired
string
fleet_serialrequired
string | null
location_idrequired
string | null
Null until Robot.com operations places the bot.
current_job_idrequired
string | null
The job the bot holds, or null.
assignablerequired
boolean
True when blocked_by is empty.
blocked_byrequired
string[]
Every reason the bot is not assigned, in this order: disconnected, unavailable, battery_below_minimum, no_position, no_location, state_stale, retired.
state_age_msrequired
number | null
Age of the latest state REMI holds. Null if none was received. Above 60000 the bot counts as stale.

SetCapabilitiesRequest

Fields

supports_command_interruptrequired
boolean
Whether a navigate_to sent during another navigation is accepted and replaces it. Fleet-wide. Without a document this is false.
defaultrequired
object
Applies to every bot unless overridden.
default.has_doorrequired
boolean
Whether the bot has a remotely controllable cargo door. False: set_door is never sent.
default.supported_commandsrequired
('navigate_to' | 'cancel_navigation' | 'set_door')[]
The command types this bot accepts.
overrides
Record<string, { has_door?: boolean, supported_commands?: ('navigate_to' | 'cancel_navigation' | 'set_door')[] }>
Keyed by bot id and merged over default, field by field. Default {}.

PatchCapabilitiesRequest

Fields

supports_command_interrupt
boolean
default
object
default.has_doorrequired
boolean
Whether the bot has a remotely controllable cargo door. False: set_door is never sent.
default.supported_commandsrequired
('navigate_to' | 'cancel_navigation' | 'set_door')[]
The command types this bot accepts.
overrides
Record<string, { has_door?: boolean, supported_commands?: ('navigate_to' | 'cancel_navigation' | 'set_door')[] }>

BotState

Fields

bot_idrequired
string
seq
integer
Increasing per bot. A state is kept only if its timestamp is later than the last accepted one, or equal with a higher seq. Without it, states are not ordered. 0 to 9007199254740991.
timestamprequired
string (date-time)
When the state was measured on your side, not when it was sent.
availablerequired
boolean
Whether the bot can take new work right now, by your own verdict. Do not fold in connectivity, staleness or out of service.
out_of_service
boolean
True when you took the bot out of service. Operators are alerted while it holds a job, and new navigate_to commands are held back. Absent means false.
connectedrequired
boolean
Whether you have a live link to the bot. In MQTT mode the broker connection decides instead.
positionrequired
object
position.latrequired
number
Latitude in decimal degrees, WGS 84. -90 to 90.
position.lngrequired
number
Longitude in decimal degrees, WGS 84. -180 to 180.
position.azimuth
number
Compass bearing in degrees: 0 = North, clockwise, nominally [0, 360).
batteryrequired
object
battery.percentagerequired
integer
State of charge, 0 to 100. Below 20 the bot gets no new jobs. 0 to 100.
motion
object
motion.speed_mpsrequired
number
Ground speed in meters per second.
doorrequired
enum
Cargo door state. Send unknown when you cannot read it and unsupported when the bot has no controllable door, never closed. One of opened, closed, opening, closing, stalled, unknown, unsupported.
current_commandrequiredThe latest command this bot accepted. REMI counts a command as delivered when its id appears here. Null if none yet.

CommandStatus

Fields

idrequired
string
The command id REMI sent.
staterequired
'accepted' | 'executing' | 'succeeded' | 'failed' | 'rejected'
accepted: queued. executing: in progress. succeeded, failed and rejected are terminal. failed: accepted but cannot finish. rejected: you will not take it, with error.code and rejected_at.
accepted_at
string (date-time)
Required unless state is rejected.
rejected_at
string (date-time)
Required when state is rejected, absent otherwise.
updated_at
string (date-time)
When state last changed.
error
object
Set when state is failed or rejected. On a rejection, code is one of the four rejection codes.
error.coderequired
string
error.messagerequired
string
corrected_position
object
Where the bot will really stop when you moved a navigate_to destination. Only while accepted or executing.
corrected_position.latrequired
number
Latitude in decimal degrees, WGS 84. -90 to 90.
corrected_position.lngrequired
number
Longitude in decimal degrees, WGS 84. -180 to 180.
correction_distance_m
number
Meters between the requested destination and corrected_position, or, on a DESTINATION_UNREACHABLE rejection, your network.

BotEvent

Fields

bot_idrequired
string
typerequired
'arrived' | 'blocked' | 'unblocked'
arrived: a navigation finished. blocked and unblocked open and close an operator task.
command_id
string
Required for arrived: the id of the navigation command that just completed.
occurred_atrequired
string (date-time)
When it happened on your side, not when you sent it.
detail
Record<string, unknown>
For blocked: { "reason": string, "message": string }.