Skip to main content
All requests require the auth headers and are relative to the base URL.

Schemas

GET  /products/{productId}/database/schemas
POST /products/{productId}/database/schemas
GET lists a product’s schemas; POST creates one.

Tables

POST /database/tables
Create a table within a schema.

Runtime data

Insert, query, update, and delete records:
POST   /database/runtime-data
GET    /database/runtime-data
PUT    /database/runtime-data/{id}
DELETE /database/runtime-data/{id}

Insert

{
  "product_id": "your-product-id",
  "device_id": "your-device-id",
  "table_name": "readings",
  "data_payload": { "temperature": 27.4 }
}

Update

{
  "data_payload": { "temperature": 28.0 }
}
The dashboard Script API exposes a lighter db interface (db.query / db.insert) for client-side use; this REST API is the server-to-server equivalent.

Onboarding

QR scan and device registration.