Overview
GET
/public/boards/{statKey}/leaguespublicPublic hub league cohort of the current season board (surface-gated)
Fetch a record from leagues by statKey.
Parameters
- statKeypathstring
- leaguequery · optionalinteger
Zero-based league cohort of the current season board (30 ranks each, by season standing; absent → 0). Entries keep their GLOBAL season rank; empty when the hub has no season config.
Responses
200
One league cohort of public personas
- statKey"adventures" | "allies" | "days_active"
- leagueinteger
Zero-based league cohort (30 ranks each, by season standing).
- entriesGamificationBoardEntry[]
Example
{
"statKey": "adventures",
"league": 0,
"entries": [
{
"rank": 0,
"value": 0,
"persona": {
"slug": "string",
"name": "string"
}
}
]
}400
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/public/boards/{statKey}/leagues" \
-H "Authorization: Bearer YOUR_TOKEN"JavaScript
const res = await fetch("https://api.agenticdeveloperhub.com/public/boards/{statKey}/leagues", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
},
});
const data = await res.json();