Overview
GET
/gamification/realms/{ecosystemId}/cataloggamificationA realm’s effective catalog (admin) — defaults + realm overrides, source-tagged
Fetch a record from catalog by ecosystemId.
Auth: bearerAuth — calls run as the authenticated user.
Parameters
- ecosystemIdpathstring
Responses
200
Effective catalog (badges + levels)
- badgesGamificationCatalogBadge[]
- levelsGamificationCatalogLevel[]
Example
{
"badges": [
{
"id": "string",
"name": "string",
"description": "string",
"icon": "string",
"statKey": "string",
"comparator": ">=",
"threshold": 0,
"badgeLine": "string",
"tier": "none",
"pointValue": 0,
"hidden": true,
"active": true,
"subjectType": "string",
"ecosystemId": "string",
"source": "default"
}
],
"levels": [
{
"name": "string",
"minPoints": 0,
"source": "default"
}
]
}401
Error
- erroroptionalobject
Example
{
"error": {
"message": "string",
"code": "string"
}
}403
Error
- erroroptionalobject
Example
{
"error": {
"message": "string",
"code": "string"
}
}Code examples
cURL
curl -X GET "https://api.agenticdeveloperhub.com/gamification/realms/{ecosystemId}/catalog" \
-H "Authorization: Bearer YOUR_TOKEN"JavaScript
const res = await fetch("https://api.agenticdeveloperhub.com/gamification/realms/{ecosystemId}/catalog", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
},
});
const data = await res.json();