Game
Games are competitions whose participants score against configured criteria.
📄️ Get game
Retrieves one game and its participants. The owner may retrieve their game, and a participant may retrieve a published, active, or finished game. Other callers require `game:list` permission scoped to the owner or company. The response includes the game type, owner and company scope, participant settings, and participants visible through this read.
📄️ List games
Lists games in the authenticated user’s company that the caller may view. Owners see their games, active participants see non-draft games they participate in, and other non-draft games require `game:list` permission scoped to the game owner or company. Filter by date range or archived state. Results include each game’s type, owner and company scope, and participant settings; use `/game/get` for participants. Not a pure read, by design: as intended housekeeping for abandoned drafts, it permanently deletes the caller’s own matched `draft` games that were never edited after creation and are more than a month old, with their participant records, and omits them from the results. It never deletes other users’ games or non-draft games.