Overview
GET/gamification/realms/{ecosystemId}/boards/{statKey}gamification

Per-realm leaderboard for one boardable stat (admin)

Fetch a record from boards by ecosystemId, statKey.

Auth: bearerAuth — calls run as the authenticated user.

Parameters
  • ecosystemIdpathstring
  • statKeypathstring
  • windowquery · optional"rolling30" | "allTime" | "trending" | "season"
  • limitquery · optionalinteger
Responses
200

Ranked board (public persona entries)

  • statKey"adventures" | "allies" | "days_active"
  • window"rolling30" | "allTime" | "trending" | "season"
  • entriesGamificationBoardEntry[]
Example
{
  "statKey": "adventures",
  "window": "rolling30",
  "entries": [
    {
      "rank": 0,
      "value": 0,
      "persona": {
        "slug": "string",
        "name": "string"
      }
    }
  ]
}
400

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
401

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
403

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
404

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
Code examples
cURL
curl -X GET "https://api.agenticdeveloperhub.com/gamification/realms/{ecosystemId}/boards/{statKey}" \
  -H "Authorization: Bearer YOUR_TOKEN"
JavaScript
const res = await fetch("https://api.agenticdeveloperhub.com/gamification/realms/{ecosystemId}/boards/{statKey}", {
  method: "GET",
  headers: {
    "Authorization": "Bearer YOUR_TOKEN"
  },
});
const data = await res.json();