API Access
API Access Overview
Read your devices, alarm rules, and telemetry from your own systems with a REST API
ADMIN
The Sensorclouds REST API lets your own software read your workspace's data: data warehouses, BI dashboards, billing systems, notebooks, or scripts. It's read-only and authenticated with API keys that you create and control.
What you can read
| Endpoint | Returns | Scope needed |
|---|---|---|
GET /api/v1/devices | Devices: name, status, last seen, firmware, location | devices:read |
GET /api/v1/alarms | Alarm rules: field, operator, threshold, severity | alarms:read |
GET /api/v1/telemetry/devices/{id}/latest | A device's latest readings | telemetry:read |
GET /api/v1/telemetry/devices/{id}/history | A field's history (raw readings) | telemetry:read |
Base URL: https://<your-sensorclouds-host>/api/v1/
How API keys protect your data
| Control | Effect |
|---|---|
| Workspace-bound | A key reads only its own workspace |
| Scopes | A key reads only what its scopes allow |
| Application scope | A key can be limited to chosen applications |
| Expiry | A key can stop working on a date you set |
| Rotation | Replace a key's secret with no downtime |
| Revocation | Kill a key instantly |
| Rate limiting | Each key can make up to 100 requests per minute |
Before you begin
- Admin role.
- Your plan must include API key access. If you don't see API Keys, ask your administrator. See Tenant Profiles.