MspsOrgs

listMspOrgStats

GET
/api/v1/msps/{msp_id}/stats/orgs

List organization statistics for organizations managed by this MSP, including device, inventory, site, and SLE summary fields.

Authorization

Authorization<token>

Preferred authentication method for automation and integrations. Send the API token in the HTTP Authorization header.

Format: Authorization: Token {apitoken}

Notes:

  • An API token generated for a specific admin has the same privileges as that admin
  • An API token is automatically removed if it is not used for more than 90 days
  • SSO admins cannot generate admin API tokens. Use organization API tokens when scoped Org/Site privileges are needed.

In: header

Path Parameters

msp_id*string
Formatuuid

Query Parameters

limit?integer

Maximum number of results to return per page

Range0 <= value
Default100
page?integer

Select the page number to return when using page-based pagination; starts at 1

Range1 <= value
Default1

Response Body

curl -X GET "https://example.com/api/v1/msps/000000ab-00ab-00ab-00ab-0000000000ab/stats/orgs"
[  {    "alarmtemplate_id": "1984805d-2be2-4aec-a8d4-3ddf67fab0df",    "allow_mist": true,    "created_time": 0.1,    "id": "53f10664-3ce8-4c27-b382-0ef66432349f",    "modified_time": 0.1,    "msp_id": "b9d42c2e-88ee-41f8-b798-f009ce7fe909",    "name": "string",    "num_devices": 0,    "num_devices_connected": 0,    "num_devices_disconnected": 0,    "num_inventory": 0,    "num_sites": 0,    "orggroup_ids": [      "ec08fb3d-8897-4837-84d5-1c92e9e26268"    ],    "session_expiry": 0,    "sle": [      {        "path": "string",        "user_minutes": {          "ok": 0,          "total": 0        }      }    ]  }]