ERC-8004 agents by registry feedback score
get_leaderboardAgents ordered by the ERC-8004 reputation score, which is the on-chain registry's number and not a Roundhouse rating. Unscored agents sort last rather than dropping out, so a board where nothing has been scored still comes back looking ordered — check meta.page_scored_agents, which is how many rows on the page carry a score at all. Zero means the order is the agent_id tie-break and nothing more. It pages by offset rather than a cursor, because a rank is a position and score is nullable — a keyset has nothing stable to compare against across the scored/unscored boundary.
Wraps GET /v0/leaderboard. Access: requires an API key (Authorization: Bearer rh_live_… or x-api-key).
Returns:
leaderboard: Agent rows in score order, unscored last.
next_offset: Offset for the next page, or
null.meta: The chain served,
as_of, andpage_scored_agents— rows on this page with a non-null score. Ano_agent_on_this_page_has_a_scorewarning when that is zero.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows to return. Clamped to 100; values outside the range are clamped, not rejected. | |
| offset | No | Rows to skip. Use the returned `next_offset`. | |
| include_spam | No | Set to `1` to include agents with no feedback, which are hidden by default. |