Skip to content

List gamification-events

GET
/gamification-events

Append-only XP/badge event log (F4.GAM.01). USER-scoped, NOT organisation-scoped — ‘tenant’ here means the individual user. Analogous in spirit to audit-log (append-only) but a SEPARATE content-type — it does NOT share the audit-log hash-chain infrastructure (no prev_hash/entry_hash, no verify-chain).

pagination[page]
integer
pagination[pageSize]
integer
filters

Strapi REST filter syntax

object
sort
string
populate
string

OK

object
data
Array
object
user
required
One of:

DocumentId reference to plugin::users-permissions.user

string
action_type
required

Whitelist kept identical to the internal action-type map in gamification-consumer (F4.GAM.02). ‘easter_egg_triggered’ added by F4.GAM.02 for the stochastic easter-egg budget log (persisted so the consumer can compute each user’s remaining per-year allowance).

string
Allowed values: provisioning_completed runbook_success incident_resolved login_streak automation_score_snapshot badge_awarded manual_admin_grant easter_egg_triggered
xp_granted
required
integer
organisation
One of:

DocumentId reference to api::organisation.organisation

string
metadata

Arbitrary JSON value (object, array, string, number, boolean, or null)

idempotency_key
required

SHA-256 hash of the source RabbitMQ message — prevents duplicate XP grants on redelivery

string
documentId
string
id
integer
createdAt
string format: date-time
updatedAt
string format: date-time
publishedAt
string format: date-time
nullable
meta
object
pagination
object
page
integer
pageSize
integer
pageCount
integer
total
integer

Missing or invalid authentication

Not authorized (tenant scope or capability)