Fleet integrations
Report bot state
Tell REMI where each bot is and what it is doing.
REMI knows your bots only through the state you report. A state is complete: every field, every time.
JSON
{
"bot_id": "ACME-4T001",
"seq": 88214,
"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": 0 },
"door": "closed",
"current_command": { "id": "ES-5867/pickup", "state": "succeeded", "accepted_at": "2026-06-17T15:46:31.220Z", "updated_at": "2026-06-17T15:48:05.400Z" }
}All fields: BotState.
The fields that matter most
timestampis when you measured it, not when you sent it. Withseq, it decides which state is newer: an older one is discarded.availableis your verdict: can the bot take new work now? Do not fold connectivity into it.door: sendunknownwhen you cannot read it andunsupportedwhen there is no door. Neverclosedby default.current_commandis the latest command the bot accepted. REMI counts a command as received when itsidappears here, and follows it tosucceeded,failedorrejected.- Report
positionandmotion.speed_mpsall the time: REMI also sees arrival from the bot stopping at the destination.
How REMI gets it
| Transport | How |
|---|---|
| HTTP, polled | REMI calls your GET /bots and expects every bot, within 5 seconds. |
| HTTP, pushed | You call POST /fleet/state, up to 200 states at once. While pushes arrive, REMI does not poll. |
| MQTT | You publish on fleet/{namespace}/bot/{bot_id}/state, retained. See MQTT mode. |
Connected and disconnected
Over HTTP, a bot is disconnected after 3 failed or missing polls in a row, or when its state is 60 seconds old. It reconnects after 2 good polls in a row. Over MQTT, the bot's broker connection decides.
Events
POST /fleet/events is optional: arrived lets REMI react the moment a bot stops, and blocked opens a task for an operator until you send unblocked.