Skip to content
Docs

Overview

The StatStream REST API lets external applications securely interact with your organization’s resources — Workspaces, Devices, Variables, and Variable Data — through authenticated endpoints. The API follows REST principles and exchanges data as JSON over HTTPS.

Every request must include:

HeaderValue
AuthorizationBearer <YOUR_API_KEY>
Content-Typeapplication/json

See Authentication for how to generate a key.

List endpoints accept:

ParameterTypeRequiredDescription
pageIntegerNoPage number. Default: 1.
per_pageIntegerNoRecords per page. Default: 20. Maximum: 50.

Every response wraps its payload in data, alongside a meta object:

{
"data": { ... },
"meta": {
"success": true,
"message": "Request completed successfully"
}
}
Meta FieldDescription
successWhether the request completed successfully.
messageHuman-readable description of the result.
count(List endpoints only) Total records matching the request.
page(List endpoints only) Current page number.
per_page(List endpoints only) Records returned per page.
StatusCondition
400 Bad RequestMissing or invalid parameters.
401 UnauthorizedMissing, invalid, expired, or deleted API key.
404 Not FoundThe requested resource does not exist.
500 Internal Server ErrorUnexpected server-side error.