Start sending data
Set up your account, graph and API key , then follow a Python guide or choose an endpoint below.
Send JSON with Content-Type: application/json. Authenticate requests with the api-key and dataset-id headers. Each endpoint lists its fields, examples and response statuses.
Sensor data
Display Data on Graph
POST /graph/data/create/
This endpoint allows you to display data on a graph. Rate limited to one request every 5 seconds per dataset.
Bulk Display Data on Graph
POST /graph/data/bulk-create/
Upload a batch of timestamped sensor readings to a dataset. Within the batch and on retries, identical timestamps and values count only once.
The full reference below preserves earlier section links. You can also use the navigation to open an endpoint on its own page.
api-keyYour Key generated via API Credentials
dataset-idThe Dataset ID generated after creating a Graph and Dataset
Request fields
sensor_valuestring (required, max 255 characters) - The sensor value to be recorded
timestampstring (optional) - ISO 8601 formatted datetime. If not provided, current server time is used
JSON request example
{
"sensor_value": "23.5",
"timestamp": "2024-08-05T12:30:00Z"
}
Response fields
statusstring - Success message confirming data registration
JSON response example
{
"status": "Data registered successfully"
}
Response status options
200Data has been created
400There is an issue with the request data
403Permission Denied - Issue with Authorisation
429Too Many Requests - Rate limit exceeded (one request per 5 seconds per dataset)
api-keyYour Key generated via API Credentials
dataset-idThe Dataset ID generated after creating a Graph and Dataset
Request fields
data_pointsarray (required, min_length=1) - List of data point objects
data_points[].sensor_valuestring (required, max 255 characters) - The sensor value for this data point
data_points[].timestampstring (required) - ISO 8601 formatted datetime for this data point
JSON request example
{
"data_points": [
{
"sensor_value": "23.5",
"timestamp": "2024-08-05T12:30:00Z"
},
{
"sensor_value": "24.1",
"timestamp": "2024-08-05T12:35:00Z"
},
{
"sensor_value": "23.8",
"timestamp": "2024-08-05T12:40:00Z"
}
]
}
Response fields
statusstring - Success message confirming bulk data registration
countinteger - Number of new data points created. Duplicates of stored points, or repeats within the request, are skipped and not counted
JSON response example
{
"status": "Data registered successfully",
"count": 3
}
Response status options
200Data has been created, or every data point was already stored (count is 0)
400There is an issue with the request data
403Permission Denied - Issue with Authorisation