Skip to content

Using the API

Pagination

Walk long lists with a cursor, or jump to a page.

Every list endpoint (tables, rows, batches, webhooks, deliveries) pages the same way.

Query parameterWhat it does
limitItems per page. Defaults to 20; each endpoint caps it (100 for rows)
cursorContinue after the previous page: pass its nextCursor
pageA 1-based page number, for jumping. Ignored when cursor is set

The response holds the items under the resource's name (rows, tables, batches) and:

FieldWhat it holds
hasMoreWhether another page follows
nextCursorThe cursor for the next page, or null on the last one
countHow many items this page holds
limit, pageThe page size and number used

Prefer the cursor: it stays correct while rows are added, where page numbers shift.

Read every row

const rows = []let cursor: string | undefineddo {  const { data } = await anyrow.row.list({    params: { project_id: projectId, table_id: tableId },    search: { limit: 100, cursor },  })  rows.push(...data.rows)  cursor = data.nextCursor ?? undefined} while (cursor)
Tip

To filter, search or sort rows, add the row list's filter, q and order parameters (see List rows), and send the same ones with each cursor.