curl --request POST \
--url http://localhost:3000/v2/SystemGetSystemStats \
--header 'Content-Type: application/json' \
--header 'X-Bunker-Token: <api-key>' \
--data '
{
"request_metadata": {}
}
'{
"status": "ok",
"stats": {
"numusers": 123,
"numtenants": 123,
"numtokens": 123,
"numsessions": 123
}
}Retrieves system statistics including user counts, tenant counts, and other metrics
curl --request POST \
--url http://localhost:3000/v2/SystemGetSystemStats \
--header 'Content-Type: application/json' \
--header 'X-Bunker-Token: <api-key>' \
--data '
{
"request_metadata": {}
}
'{
"status": "ok",
"stats": {
"numusers": 123,
"numtenants": 123,
"numtokens": 123,
"numsessions": 123
}
}API token for authentication
Additional metadata for the request
System statistics retrieved successfully