Documentation
Guides, API reference and events for IoT.
On this page
Rules shared by every R&D Copilot API are in the Developer guide.
Get started
- Overview: Connect devices, read measurements and act on alerts.
- Quickstart: Register a device and read its latest measurement.
- Connect a device: Register the device identity before sending readings.
- Read your first value: Read the snapshot and distinguish freshness from connectivity.
- First alert: Define a threshold rule and follow the resulting alert.
- Go-live checklist: Check identity, data quality and recovery before connecting production devices.
- Authentication: Get client credentials, request a token and call the IoT API with it.
- Sandbox and live: Build and test against a test company, then move the same calls to your live company.
Concepts
- Devices and assets: Keep measurement identity separate from the physical equipment tree.
- Tags and quality: Interpret a value with its unit, quality and source time.
- Rules: Evaluate good readings over a configured duration.
- Updates: Roll firmware out in stages and retain each stage result.
Connectivity
- MQTT: Configure the connection and verify its first reading.
- LoRaWAN: Configure the connection and verify its first reading.
- NB-IoT: Configure the connection and verify its first reading.
- LTE-M: Configure the connection and verify its first reading.
- Wi-Fi: Configure the connection and verify its first reading.
- Ethernet: Configure the connection and verify its first reading.
- Modbus: Configure the connection and verify its first reading.
- OPC UA: Configure the connection and verify its first reading.
Data
- Streaming: Read new measurements and recover an interrupted gateway link.
- History and aggregates: Read raw measurements or minute summaries over a source-time interval.
- Retention: Read the retention settings that apply to your account.
- Export: Write a complete, repeatable export from cursor-paginated history.
Alerts
- Rule syntax: Define an above-threshold rule for a numeric tag.
- Notifications: Receive alert events and link maintenance work.
Reference
- Changelog: Changes to the versioned IoT API contract.
- Idempotency and concurrency: Repeat a request without applying it twice, and refuse a change made on an out-of-date record.
- Pagination: Lists come in pages. Follow the cursor until it is empty.
- Limits: The limits of the IoT API, with their values and what happens over them.
- Versioning: The version is in the path. Additions keep it; a change that could break a caller gets a new one.
- Errors: The error object of the IoT API and the codes that say what went wrong.
API reference
- Devices: Read and manage devices through the IoT API with authenticated, versioned requests.
- Assets: Read and manage assets through the IoT API with authenticated, versioned requests.
- Tags: Read and manage tags through the IoT API with authenticated, versioned requests.
- Rules: Read and manage rules through the IoT API with authenticated, versioned requests.
- Alerts: Read and manage alerts through the IoT API with authenticated, versioned requests.
- Updates: Read and manage updates through the IoT API with authenticated, versioned requests.
- Events: Read and manage events through the IoT API with authenticated, versioned requests.
- Operations: A request that changes data is accepted once and answered with an operation result you can read again.
Events
- Event catalogue: Select alert, measurement and firmware events for a subscription.
- Event envelope: Every IoT event has the same envelope; only
datachanges with the type of the event. - Subscriptions: Register an HTTPS endpoint and IoT sends your events to it, each one signed.
- Verify signatures: Every delivery is signed. Check the signature on the raw body before you trust the event.
- Delivery and retries: An event is sent again when your endpoint does not confirm it, and is kept for replay after the last attempt.
- Replay: Send a parked event again once your endpoint is ready to take it.