Skip to main content
All list endpoints return results one page at a time using cursor-based pagination. You request a page size and follow a cursor to walk through the full result set.

Paginated endpoints

These endpoints return a page of results:
  • GET /workspaces
  • GET /ingestions
  • GET /queries
  • GET /requests

Parameters

Control pagination with two query parameters:

Response shape

Every list response wraps the items in a page object:

Fetch the first page

Request a page without a cursor. Set limit to control the page size.
The response contains the items and a cursor for the next page:

Fetch the next page

Pass next_cursor from the previous response as the cursor parameter.
Keep following next_cursor until has_more is false and next_cursor is null.

Page through every item

Loop until there are no more pages.
Cursors are opaque. Do not parse, build, or modify them — treat each next_cursor as a token you pass back unchanged. A cursor stays valid as you page forward but is not guaranteed to be stable across long periods.