Skip to content
Docs

Get Workspace Info

Returns resource counts, storage usage, and usage statistics for a specific workspace, including devices, variables, users, dashboards, reports, actions, alert rules, sites, and the last three months of data point and AI token consumption.

GET /rest/v1/workspaces/{wsuuid}/info
HeaderValue
AuthorizationBearer <YOUR_API_KEY>
Content-Typeapplication/json
ParameterTypeRequiredDescription
wsuuidStringYesUnique identifier of the workspace.
GET /rest/v1/workspaces/01KXYZ123456789/info
Authorization: Bearer <YOUR_API_KEY>

Status: 200 OK

{
"data": {
"devices_count": 2,
"variables_count": 5,
"users_count": 1,
"dashboards_count": 1,
"reports_count": 0,
"schedule_actions_count": 0,
"actions_count": 0,
"alert_rules_count": 0,
"sites_count": 1,
"storage_usage": "0 MB",
"monthly_usage": [
{
"month": "July",
"year": 2026,
"data_points_consumed": 3505,
"ai_tokens_consumed": 0
},
{
"month": "June",
"year": 2026,
"data_points_consumed": 0,
"ai_tokens_consumed": 0
},
{
"month": "May",
"year": 2026,
"data_points_consumed": 0,
"ai_tokens_consumed": 0
}
]
},
"meta": {
"message": "Workspace info fetched successfully",
"success": true
}
}
FieldDescription
devices_countEffective device count for the workspace. This is calculated as the greater of the actual device count or the variable-based capacity (15 variables per device).
variables_countTotal number of variables configured in the workspace.
users_countTotal number of users with access to the workspace.
dashboards_countTotal number of dashboards in the workspace.
reports_countTotal number of reports configured.
schedule_actions_countTotal number of scheduled actions configured.
actions_countTotal number of actions configured.
alert_rules_countTotal number of alert rules configured.
sites_countTotal number of sites associated with the workspace.
storage_usageTotal storage consumed by files and attachments, returned as a human-readable value (for example, 128 MB).
monthly_usageUsage statistics for the current month and the previous two months.
monthly_usage[].monthName of the month.
monthly_usage[].yearYear of the recorded usage.
monthly_usage[].data_points_consumedNumber of data points ingested during the month.
monthly_usage[].ai_tokens_consumedNumber of AI tokens consumed during the month.
HTTP StatusDescription
400 Bad RequestThe required wsuuid path parameter is missing or invalid.
401 UnauthorizedAuthentication failed due to a missing or invalid API key.
404 Not FoundThe specified workspace could not be found.