API documentation
Pagination
How list endpoints page with limit and cursor.
Last updated October 1, 2026
List endpoints take limit (default 25, maximum 100) and an opaque cursor, and return a page of results with the cursor for the next page:
{
"data": [ { "id": "..." } ],
"next_cursor": "eyJ..."
}
Parameters
limitis the page size. The default is 25 and the maximum is 100.cursoris thenext_cursorvalue from the previous page. Treat it as opaque: do not build or edit one.
Walk through all pages
curl "https://kleiobase.com/api/v1/workspaces/WORKSPACE_ID/people?limit=100" \
-H "Authorization: Bearer kb_live_YOUR_KEY"
If next_cursor is not null, request the next page with it:
curl "https://kleiobase.com/api/v1/workspaces/WORKSPACE_ID/people?limit=100&cursor=NEXT_CURSOR" \
-H "Authorization: Bearer kb_live_YOUR_KEY"
Stop when next_cursor is null.
Things to know
- A page can be shorter than
limitand still have anext_cursor. Matches, for example, drop suggestions that involve a person in Trash. Keep followingnext_cursoruntil it isnull. - A few endpoints are not paginated: workspaces, a person's timeline and conflicts. They return everything and
next_cursoris alwaysnull. - A bad
limitorcursorreturns422 validation_failed.
Building a product on KleioBase? Contact us.