API reference

horizon.platform.leaderboards.models

Updated: Oct 30, 2025

Package-level declarations

Types

NameSummary
interface Leaderboard
Leaderboards provide a way for a game to keep track of players and their scores in relation to other. The leaderboard object contains information about this leaderboard ID, API name and destination. Lean more about leaderboard on our website.
interface LeaderboardArray
Leaderboards provide a way for a game to keep track of players and their scores in relation to other. The leaderboard object contains information about this leaderboard ID, API name and destination. Lean more about
interface LeaderboardEntry
A leaderboard entry object contains information about the horizon.platform.users.models.User who made the entry, their score, and other relevant details in the leaderboard. It provides a way for a game to keep track of players and their scores in relation to other. A single leaderboard entry can be written by horizon.platform.leaderboards.Leaderboards.writeEntry. A block of leaderboard entries can be retrieved using horizon.platform.leaderboards.Leaderboards.getEntries. Visit our website for more information about the leaderboard entry.
interface LeaderboardEntryArray
A leaderboard entry object contains information about the horizon.platform.users.models.User who made the entry, their score, and other relevant details in the leaderboard. It provides a way for a game to keep track of players and their scores in relation to other. A single leaderboard entry can be written by horizon.platform.leaderboards.Leaderboards.writeEntry. A block of leaderboard entries can be retrieved using horizon.platform.leaderboards.Leaderboards.getEntries. Visit our website for more information about the leaderboard entry.
interface LeaderboardUpdateStatus
This object is a response from the server that contains information about the status of the request to update the leaderboard. It can be retrieved using two different API requests: horizon.platform.leaderboards.Leaderboards.writeEntry and horizon.platform.leaderboards.Leaderboards.writeEntryWithSupplementaryMetric.
interface SupplementaryMetric
This is a supplemental piece of data that is used for a single write to leaderboard entries. This metric is used for tiebreaker scenarios. You can make such an entry by using horizon.platform.leaderboards.Leaderboards.writeEntryWithSupplementaryMetric