Fleet integrations
Fleet API reference
The endpoints your fleet calls on REMI.
https://api.remi.robot.com/api/v3Authentication
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
/fleetscope fleetHow your fleet is wired into REMI. Read it to confirm what REMI believes before you debug anything else.
Response 200
datarequired |
Errors
400PARTNER_NOT_FOUND | Your namespace has no partner record yet. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the fleet scope. |
404FLEET_NOT_CONFIGURED | No fleet configuration for your namespace yet. Create it with PATCH /fleet. |
curl -X GET 'https://api.remi.robot.com/api/v3/fleet' \
-H "Authorization: Bearer $REMI_API_KEY"{
"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
/fleetscope fleetThe first call creates the configuration; later calls change only the fields sent.
transport: "http"needs abase_urland a token on file.- Changing
base_urlneeds a newtokenin 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_urlstring | Required for http. An absolute https URL. REMI appends the Partner API paths to it. |
tokenstring | 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_ERROR | Empty body, unknown field, or a value of the wrong type. |
400INVALID_BASE_URL | base_url is not an absolute https URL. |
400TOKEN_TOO_SHORT | token has fewer than 32 characters. |
400TOKEN_REQUIRED_WITH_BASE_URL | base_url changes and no new token was sent. |
400INCOMPLETE_HTTP_CONFIG | transport is http and there is no base_url or no token on file. |
400PARTNER_NOT_FOUND | Your namespace has no partner record yet. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the fleet scope. |
409NAMESPACE_NOT_MQTT_SAFE | Your namespace is not [a-z0-9_]+. Ask Robot.com to change it first. |
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"}'{
"transport": "http",
"base_url": "https://fleet.example.com/v1",
"token": "k3VnQ8xLw2ZpR7tYb5MdC9sHf1GjA4uE"
}{
"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
/fleet/capabilitiesscope fleetReplaces 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_dooris false gets noset_door, and itsmanual_close_dooris turned on. REMI never turns it back off.
Body
supports_command_interruptrequiredboolean | Whether a navigate_to sent during another navigation is accepted and replaces it. Fleet-wide. Without a document this is false. |
defaultrequiredobject | Applies to every bot unless overridden. |
default.has_doorrequiredboolean | 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. |
overridesRecord<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_ERROR | A required field is missing, or a command type is unknown. |
400CAPABILITIES_MISSING_REQUIRED_COMMANDS | default.supported_commands lacks navigate_to or cancel_navigation. Nothing is stored. |
400PARTNER_NOT_FOUND | Your namespace has no partner record yet. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the fleet scope. |
404FLEET_NOT_CONFIGURED | No fleet configuration for your namespace yet. Create it with PATCH /fleet. |
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"]}}}'{
"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"
]
}
}
}{
"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
/fleet/capabilitiesscope fleetMerges 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_interruptboolean | |
defaultobject | |
default.has_doorrequiredboolean | 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. |
overridesRecord<string, { has_door?: boolean, supported_commands?: ('navigate_to' | 'cancel_navigation' | 'set_door')[] }> |
Response 200
datarequired |
Errors
400VALIDATION_ERROR | Empty body, unknown field, or an invalid value. |
400CAPABILITIES_MISSING_REQUIRED_COMMANDS | default.supported_commands lacks navigate_to or cancel_navigation. Nothing is stored. |
400PARTNER_NOT_FOUND | Your namespace has no partner record yet. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the fleet scope. |
404FLEET_NOT_CONFIGURED | No fleet configuration for your namespace yet. Create it with PATCH /fleet. |
404CAPABILITIES_NOT_SET | No document on file yet. |
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}'{
"supports_command_interrupt": false
}{
"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
/fleet/botsscope fleetWhat 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
limitinteger | Page size, 1 to 200. 1 to 200. Default 100. |
cursorstring | next_cursor of the previous page. Only valid with the same limit. |
Response 200
datarequired | |
next_cursorrequiredstring | null | Pass it as cursor for the next page. Null on the last page. |
Errors
400VALIDATION_ERROR | limit is not an integer from 1 to 200. |
400INVALID_CURSOR | The cursor is malformed or was issued for a different limit. |
400PARTNER_NOT_FOUND | Your namespace has no partner record yet. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the fleet scope. |
404FLEET_NOT_CONFIGURED | No fleet configuration for your namespace yet. Create it with PATCH /fleet. |
curl -X GET 'https://api.remi.robot.com/api/v3/fleet/bots' \
-H "Authorization: Bearer $REMI_API_KEY"{
"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
/fleet/botsscope fleetCall 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
PATCHto change a bot. - Registering a retired bot of yours again reactivates it, keeping its stored
fleet_serialunless you send one.
Body
bot_idrequiredstring | Your bot id prefix followed by [A-Za-z0-9_.-]+, at most 64 characters in total. |
fleet_serialstring | 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_doorboolean | True when the door must be closed by hand: REMI never sends set_door closed to this bot. Defaults to false. |
commercial_namestring | Display name shown to operators. Defaults to bot_id. |
console_urlstring | The robot's page in your own operator console. Operators open it from the bot's Console. |
tagsstring[] | 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_BODY | A required field is missing, or a field has the wrong type or length. |
400BOT_ID_NOT_NAMESPACED | bot_id does not start with your bot id prefix. |
400BOT_ID_NOT_MQTT_SAFE | bot_id is not the prefix followed by [A-Za-z0-9_.-]+, or is longer than 64 characters. |
400FLEET_SERIAL_REQUIRED | Your fleet has requires_fleet_serial: true and the bot would have no fleet_serial. |
400PARTNER_NOT_FOUND | Your namespace has no partner record yet. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the fleet scope. |
404FLEET_NOT_CONFIGURED | No fleet configuration for your namespace yet. Create it with PATCH /fleet. |
409BOT_ID_TAKEN | The id exists and is not a retired bot of yours. |
409FLEET_SERIAL_TAKEN | Another bot of yours in service already addresses that robot. Retire the other one first. |
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"]}'{
"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"
]
}{
"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
/fleet/bots/{bot_id}scope fleetChanges only the fields sent. bot_id, namespace and location_id cannot be changed.
tagsreplaces the whole list.- Changing
fleet_serialis refused while the bot holds a job, and takes the bot off duty until an operator puts it back.
Path parameters
bot_idrequiredstring | The bot id you registered. |
Body
fleet_serialstring | null | null removes the mapping. Refused while the bot holds a job. Up to 128 characters. |
manual_close_doorboolean | True when the door must be closed by hand. |
commercial_namestring | Display name shown to operators. |
console_urlstring | null | null removes it, and the bot's Console goes back to REMI's own. |
tagsstring[] | 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_FIELD | The body contains bot_id, namespace or location_id. |
400INVALID_BODY | A field has the wrong type or length, or is unknown. |
400FLEET_SERIAL_REQUIRED | Your fleet has requires_fleet_serial: true and the bot would have no fleet_serial. |
400PARTNER_NOT_FOUND | Your namespace has no partner record yet. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the fleet scope. |
404FLEET_NOT_CONFIGURED | No fleet configuration for your namespace yet. Create it with PATCH /fleet. |
404BOT_NOT_FOUND | Unknown bot, or one that belongs to another partner. |
409BOT_HOLDS_JOB | fleet_serial changes while the bot holds a job. |
409FLEET_SERIAL_TAKEN | Another bot of yours in service already addresses that robot. Retire the other one first. |
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}'{
"manual_close_door": false
}{
"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
/fleet/bots/{bot_id}scope fleetTakes 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_idrequiredstring | The bot id you registered. |
Response 200
datarequiredobject | |
data.bot_idrequiredstring | |
data.retired_atrequiredstring (date-time) | null | When the bot was retired. |
Errors
400PARTNER_NOT_FOUND | Your namespace has no partner record yet. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the fleet scope. |
404FLEET_NOT_CONFIGURED | No fleet configuration for your namespace yet. Create it with PATCH /fleet. |
404BOT_NOT_FOUND | Unknown bot, or one that belongs to another partner. |
409BOT_HOLDS_JOB | The bot is running a job. |
curl -X DELETE 'https://api.remi.robot.com/api/v3/fleet/bots/{bot_id}' \
-H "Authorization: Bearer $REMI_API_KEY"{
"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
/fleet/statescope fleetThe 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
botsrequired | Complete bot states, at most 200 per request. Up to 200 items. |
Response 202
datarequiredobject | |
data.acceptedrequirednumber | States forwarded to REMI. |
data.rejectedrequirednumber | States discarded because a newer one was already accepted for that bot. |
Errors
400INVALID_STATE | bots is not an array, or a state is missing a required field. |
400PARTNER_NOT_FOUND | Your namespace has no partner record yet. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the fleet scope. |
404FLEET_NOT_CONFIGURED | No fleet configuration for your namespace yet. Create it with PATCH /fleet. |
404BOT_NOT_FOUND | A bot_id is not a registered bot of yours, or is retired. |
413PAYLOAD_TOO_LARGE | More than 200 states. |
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"}}]}'{
"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"
}
}
]
}{
"data": {
"accepted": 1,
"rejected": 0
}
}Report a bot event
/fleet/eventsscope fleetEvents 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_idrequiredstring | |
typerequired'arrived' | 'blocked' | 'unblocked' | arrived: a navigation finished. blocked and unblocked open and close an operator task. |
command_idstring | Required for arrived: the id of the navigation command that just completed. |
occurred_atrequiredstring (date-time) | When it happened on your side, not when you sent it. |
detailRecord<string, unknown> | For blocked: { "reason": string, "message": string }. |
Response 202
datarequiredobject | |
data.acceptedrequiredtrue |
Errors
400INVALID_EVENT | Unknown type, or arrived without command_id. |
400PARTNER_NOT_FOUND | Your namespace has no partner record yet. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the fleet scope. |
404FLEET_NOT_CONFIGURED | No fleet configuration for your namespace yet. Create it with PATCH /fleet. |
404BOT_NOT_FOUND | bot_id is not a registered bot of yours, or is retired. |
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"}'{
"bot_id": "ACME-4T001",
"type": "arrived",
"command_id": "ES-5867/pickup",
"occurred_at": "2026-06-17T15:51:07.000Z"
}{
"data": {
"accepted": true
}
}Types
Problem
Fields
typerequiredstring | Always about:blank. |
titlerequiredstring | The HTTP status text. |
statusrequiredinteger | -9007199254740991 to 9007199254740991. |
detailrequiredstring | Human-readable. Do not parse it: branch on code. |
instancerequiredstring | The request path. |
codestring | Stable machine-readable error code, when the error has one. |
paramsRecord<string, unknown> | Values that explain the error, keyed by name. |
FleetConfig
Fields
namespacerequiredstring | Your partner namespace. Permanent. It is the segment in every MQTT topic and client id. |
bot_id_prefixrequiredstring | Every bot id must start with it. Defaults to your namespace in uppercase plus a hyphen. |
requires_fleet_serialrequiredboolean | Whether every bot you register needs fleet_serial. Set by Robot.com, read-only. |
transportrequired'mqtt' | 'http' | |
base_urlrequiredstring | null | Where REMI calls you in http mode. Null when none is set. |
token_setrequiredboolean | Whether a bearer token for calling you is on file. The token is never returned. |
poll_interval_active_msrequirednumber | How often REMI polls GET /bots while any of your bots holds a job. Set at onboarding. |
poll_interval_idle_msrequirednumber | How often REMI polls GET /bots while your fleet is idle. Set at onboarding. |
max_botsrequirednumber | The fleet size agreed at onboarding. At most 200. |
contract_versionrequiredstring | The contract version your fleet was onboarded against. |
capabilitiesrequired | Null until you set a document. |
FleetCapabilities
Fields
supports_command_interruptrequiredboolean | Whether a navigate_to sent during another navigation is accepted and replaces it. Fleet-wide. Without a document this is false. |
defaultrequiredobject | Applies to every bot unless overridden. |
default.has_doorrequiredboolean | 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. |
overridesrequiredRecord<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_idrequiredstring | |
namespacerequiredstring | |
location_idrequiredstring | null | The location the bot serves, set by Robot.com operations. Null until placed: a bot with no location is never assigned. |
fleet_serialrequiredstring | null | Null means the robot is bot_id minus your prefix. |
manual_close_doorrequiredboolean | |
commercial_namerequiredstring | |
console_urlrequiredstring | null | |
tagsrequiredstring[] | |
retired_atrequiredstring (date-time) | null | When the bot was retired. Null while in service. |
FleetBotListItem
Fields
bot_idrequiredstring | |
fleet_serialrequiredstring | null | |
location_idrequiredstring | null | Null until Robot.com operations places the bot. |
current_job_idrequiredstring | null | The job the bot holds, or null. |
assignablerequiredboolean | True when blocked_by is empty. |
blocked_byrequiredstring[] | Every reason the bot is not assigned, in this order: disconnected, unavailable, battery_below_minimum, no_position, no_location, state_stale, retired. |
state_age_msrequirednumber | null | Age of the latest state REMI holds. Null if none was received. Above 60000 the bot counts as stale. |
SetCapabilitiesRequest
Fields
supports_command_interruptrequiredboolean | Whether a navigate_to sent during another navigation is accepted and replaces it. Fleet-wide. Without a document this is false. |
defaultrequiredobject | Applies to every bot unless overridden. |
default.has_doorrequiredboolean | 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. |
overridesRecord<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_interruptboolean | |
defaultobject | |
default.has_doorrequiredboolean | 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. |
overridesRecord<string, { has_door?: boolean, supported_commands?: ('navigate_to' | 'cancel_navigation' | 'set_door')[] }> |
BotState
Fields
bot_idrequiredstring | |
seqinteger | 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. |
timestamprequiredstring (date-time) | When the state was measured on your side, not when it was sent. |
availablerequiredboolean | 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_serviceboolean | 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. |
connectedrequiredboolean | Whether you have a live link to the bot. In MQTT mode the broker connection decides instead. |
positionrequiredobject | |
position.latrequirednumber | Latitude in decimal degrees, WGS 84. -90 to 90. |
position.lngrequirednumber | Longitude in decimal degrees, WGS 84. -180 to 180. |
position.azimuthnumber | Compass bearing in degrees: 0 = North, clockwise, nominally [0, 360). |
batteryrequiredobject | |
battery.percentagerequiredinteger | State of charge, 0 to 100. Below 20 the bot gets no new jobs. 0 to 100. |
motionobject | |
motion.speed_mpsrequirednumber | Ground speed in meters per second. |
doorrequiredenum | 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_commandrequired | The latest command this bot accepted. REMI counts a command as delivered when its id appears here. Null if none yet. |
CommandStatus
Fields
idrequiredstring | 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_atstring (date-time) | Required unless state is rejected. |
rejected_atstring (date-time) | Required when state is rejected, absent otherwise. |
updated_atstring (date-time) | When state last changed. |
errorobject | Set when state is failed or rejected. On a rejection, code is one of the four rejection codes. |
error.coderequiredstring | |
error.messagerequiredstring | |
corrected_positionobject | Where the bot will really stop when you moved a navigate_to destination. Only while accepted or executing. |
corrected_position.latrequirednumber | Latitude in decimal degrees, WGS 84. -90 to 90. |
corrected_position.lngrequirednumber | Longitude in decimal degrees, WGS 84. -180 to 180. |
correction_distance_mnumber | Meters between the requested destination and corrected_position, or, on a DESTINATION_UNREACHABLE rejection, your network. |
BotEvent
Fields
bot_idrequiredstring | |
typerequired'arrived' | 'blocked' | 'unblocked' | arrived: a navigation finished. blocked and unblocked open and close an operator task. |
command_idstring | Required for arrived: the id of the navigation command that just completed. |
occurred_atrequiredstring (date-time) | When it happened on your side, not when you sent it. |
detailRecord<string, unknown> | For blocked: { "reason": string, "message": string }. |