Skip to content

Return permission subscription hub statistics.

GET
/api/check/subscribe/stats
Code sample: Shell / cURL
curl --request GET \
--url https://auth.example.com/api/check/subscribe/stats \
--header 'Authorization: Bearer <token>'

Returns operational statistics from the subscription Durable Object, including current connection and subscription counters when available.

Successful JSON response.

Media type application/json
object
tenant_id
required
string
websocket_enabled
required
boolean
connections
integer
subscribers
integer
key
additional properties
Example
{
"tenant_id": "tenant_123",
"websocket_enabled": true,
"connections": 2,
"subscribers": 2
}