List user-ranks
GET /user-ranks
Gamification rank/XP state (F4.GAM.01). USER-scoped, NOT organisation-scoped — ‘tenant’ in the tenant-private classification here means the individual user, not an organisation. Rank is portable across organisations: a user keeps one rank record regardless of how many orgs they belong to (see organisation-member’s unique (user, organisation) pair vs this CT’s unique user — F4.GAM.08 verifies no reset/duplication on cross-org membership).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Strapi REST filter syntax
object
Responses
Section titled “ Responses ”OK
object
object
Array of { badge_code, awarded_at } — badge_code references badge-definition.code
Latest automation-score snapshot; historical values live in gamification-event, not here
F4.GAM.06 — per-user opt-out of org leaderboard exposure. Even when an organisation’s leaderboard_enabled is true, a member with this set is excluded from GET /api/organisations/:id/leaderboard results. Self-service, but NOT writable via the generic service-only user-rank update route — the owning user sets it via the dedicated PUT /api/user-ranks/me/leaderboard-opt-out endpoint (the one exception to user-rank’s service-write-only rule, scoped to this single boolean field).
object
object
Missing or invalid authentication
Not authorized (tenant scope or capability)