curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/flywheel/stats' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
{
"approved_candidates": 1,
"auto_promoted": 1,
"pending_candidates": 1,
"processed_events": 1,
"queued_events": 1,
"rejected_candidates": 1
}
Flywheel stats handler
Required scope: read
GET
/
api
/
v1
/
flywheel
/
stats
curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/flywheel/stats' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
{
"approved_candidates": 1,
"auto_promoted": 1,
"pending_candidates": 1,
"processed_events": 1,
"queued_events": 1,
"rejected_candidates": 1
}
Required scope:
read
Response
FlywheelStats
integer
required
integer
required
integer
required
integer
required
integer
required
integer
required
Status codes
| Code | Meaning |
|---|---|
200 | Flywheel aggregate statistics |
401 | Unauthorized — missing or invalid credentials |
403 | Forbidden — the key/token lacks the required scope |
429 | Rate limited — see Retry-After / X-RateLimit-Reset |
curl --request GET \
--url 'https://api.nsr.stateset.com/api/v1/flywheel/stats' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
{
"approved_candidates": 1,
"auto_promoted": 1,
"pending_candidates": 1,
"processed_events": 1,
"queued_events": 1,
"rejected_candidates": 1
}
Last modified on August 31, 2026