Command lifecycle
Every action becomes a command with its own status. Your agent decides what to tell the user from status and next_action, never from timing.
On this page
Verification levels
Each action declares the level it needs to count as succeeded. We never lower it.
| level | Meaning | Example |
|---|---|---|
| none | Nothing confirmed yet | Just queued |
| provider_ack | Manufacturer accepted the request | Cloud returned 200 |
| provider_completed | Manufacturer reported the command finished | Horn & lights (no lasting state) |
| state_observed | Device state now matches the target | Setpoint reads 22°C |
- none
- MeaningNothing confirmed yet
- ExampleJust queued
- provider_ack
- MeaningManufacturer accepted the request
- ExampleCloud returned 200
- provider_completed
- MeaningManufacturer reported the command finished
- ExampleHorn & lights (no lasting state)
- state_observed
- MeaningDevice state now matches the target
- ExampleSetpoint reads 22°C
next_action
| type | Your agent should |
|---|---|
| poll_command_status | Wait next_poll_after_ms, then call get_command_status |
| open_approval_url | Show the user approval.url and keep polling |
| show_result | Report the final outcome |
| show_unknown | Tell the user it may or may not have happened. Do not resend. |
- poll_command_status
- Your agent shouldWait
next_poll_after_ms, then callget_command_status
- open_approval_url
- Your agent shouldShow the user
approval.urland keep polling
- show_result
- Your agent shouldReport the final outcome
- show_unknown
- Your agent shouldTell the user it may or may not have happened. Do not resend.
Retries
outcome_unknown. The command may already have run. Unlocking a door or honking a horn twice is worse than asking the user to check.Network error before you got a response? Resend with the same request_key. You'll get the original command back, not a second one. The same key with a different device, action or parameters is refused with REQUEST_KEY_CONFLICT.
Human approval
Actions like door.unlock require approval by default; users can require it for any action. The command waits in waiting_approval until the signed-in owner confirms the exact device, action, and parameters stored on the server. Visiting the link alone does nothing. If anything changes, or the approval expires, the command is not sent. When the client supports MCP elicitation and is a verified client, the approval can happen inside the chat; otherwise the approval page in the dashboard is used.
"status": "waiting_approval",
"approval": {
"url": "https://connect.reachthings.com/app/approvals/apr_51c",
"expires_at": "2026-10-18T08:41:00Z"
},
"next_action": { "type": "open_approval_url", "message": "…" }