Skip to main content
Biqli list endpoints use cursor pagination. Cursors remain stable when records share the same creation time and avoid the shifting-page problems associated with page numbers. List results are ordered from newest to oldest by creation time. A public resource ID from the current result set acts as the cursor.

Supported endpoints

The same pagination contract is used when listing: Each endpoint supports additional filters documented on its reference page.

Parameters

starting_after and ending_before are mutually exclusive. Sending both returns 422 validation_error. The cursor must use the resource type expected by the endpoint. For example, the links endpoint accepts biq_lnk_..., while the domains endpoint accepts biq_dom_....

Pagination object

Every list response contains its named collection and a pagination object:
Use the returned cursor values directly. Do not construct them from array positions or assume the last result always has another page.

Move forward through results

1

Request the first page

Omit both cursors:
2

Read next_cursor

If pagination.next_cursor is not null, copy it exactly from the response.
3

Request the next page

Send that value as starting_after while preserving the same filters:
4

Stop at the end

Continue until next_cursor is null. has_more will also be false.

Move backward

To return to the previous, newer page, send the current response’s previous_cursor as ending_before:
The returned collection is still ordered newest to oldest. Biqli does not reverse the visible ordering when moving backward.

Iterate through every result

The following server-side examples retrieve every link using the largest page size and stop only when next_cursor becomes null:

Keep filters stable

A cursor is resolved inside the workspace and the filters used for that request. Repeat the same filters and page_size on every page:
Changing a filter can make the cursor unavailable in the new result set. Biqli then returns 404 resource_not_found for the pagination cursor.
Cursor pagination is not a database snapshot. Resources created while you traverse older pages can appear on newer pages, and deleting the resource used as a cursor can invalidate the next request. Restart from the first page if a cursor is no longer available.

Common mistakes

Read Errors for the complete error envelope and retry guidance.