Overview
GET
/public/boards/{statKey}publicPublic hub leaderboard for one boardable stat (surface-gated)
Fetch a record from boards by statKey.
Parameters
- statKeypathstring
- windowquery · optional"rolling30" | "allTime" | "trending" | "season"
Ranking window (absent → trending). `season` ranks the hub realm’s current season; empty when the hub has no season config.
- limitquery · optionalinteger
Responses
200
Ranked board of public personas
- 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"
}
}404
Error
- erroroptionalobject
Example
{
"error": {
"message": "string",
"code": "string"
}
}Code examples
cURL
curl -X GET "https://api.agenticdeveloperhub.com/public/boards/{statKey}" \
-H "Authorization: Bearer YOUR_TOKEN"JavaScript
const res = await fetch("https://api.agenticdeveloperhub.com/public/boards/{statKey}", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
},
});
const data = await res.json();