Concepts
Pagination
List operations return one page at a time. Each service keeps its own paging style; the parameters below are the ones its list operations take, and each operation's page in the reference lists them exactly.
By service
| Service | Paging parameters | List operations that take them |
|---|---|---|
| agent-links | limit cursor | 2 |
| Auto | limit after before | 3 |
| Blinds | limit offset | 2 |
| Boxes | page limit | 36 |
| CI | limit after before | 3 |
| company-md | limit cursor | 1 |
| Connections | limit after | 1 |
| Dials | limit before | 2 |
| Flares | limit | 1 |
| Fleets | limit after before | 8 |
| Flocks | limit cursor | 5 |
| Foundry | limit offset cursor | 7 |
| Garden | limit offset after before | 10 |
| Gears | limit after | 1 |
| Graphs | limit after before | 6 |
| Henry | limit page_token | 2 |
| Hives | page per_page limit cursor | 19 |
| IAM | limit cursor | 2 |
| Lots | limit cursor | 7 |
| meetings | limit cursor | 1 |
| Minds | limit after cursor | 5 |
| News | limit | 3 |
| One | cursor | 1 |
| Orders | limit before | 1 |
| Orgs | limit after | 2 |
| Pacts | limit | 2 |
| Panes | limit after | 1 |
| Relays | page limit | 25 |
| Scopes | limit after | 4 |
| Shells | limit | 1 |
| Taps | limit offset cursor | 4 |
| Tides | limit after before cursor | 5 |
| Traces | limit offset page_token | 9 |
| Wiki | limit cursor | 4 |
Hives: pages
Hives lists take page (from 1) and per_page, and answer with the items in data and a pagination object:
{
"data": [ … ],
"pagination": { "page": 1, "per_page": 20, "total": 1, "total_pages": 1, "has_next": false, "has_prev": false }
}Read every page:
let page = 1, all = []
for (;;) {
const res = await genesis.call('hives_list_projects', { page, per_page: 100 })
all.push(...res.data)
if (!res.pagination.has_next) break
page++
}genesis hives projects list --page 2 --per-page 100Cursors
Services that page by cursor take a limit and a cursor from the previous page (after, before or page_token). Pass the value the last response gave you; stop when it gives none. Each operation's Response fields name where the next cursor is.
Related
L1fe AI Inc. · Built from Genesis 0.3.3 and the live gateway on 2026-10-25. Support