REST pagination

Configure paginated REST queries for table/repeater data

Use pagination when an API returns list data in pages and you need reliable forward/backward navigation in app components.

Before you start

  1. Create and save a REST connection
  2. Create and validate a list query
  3. Confirm which pagination model the API uses

Pagination models

ModelTypical request fieldsTypical response fields
Page numberpage, limittotalPages, page, hasNext
Offset/limitoffset, limittotal, offset, count
Cursorcursor, limitnextCursor or bookmark token

Configure query pagination

  1. Open query in API Editor
  2. Enable pagination
  3. Select pagination type and location
  4. Map request field names
  5. Map response field path for continuation token/page value
  6. Click Send repeatedly to validate progression
  7. Save query

Cursor-specific guidance

  • Map to the API field that returns the next cursor token
  • Verify token comes from raw response path expected by Budibase
  • Ensure stable sort order to avoid duplicates/missed rows

Use paginated query in components

  1. Bind query (or data provider) to table/repeater
  2. Enable component pagination controls where applicable
  3. Validate first, next, previous, and final page behavior

Troubleshooting matrix

SymptomLikely causeFix
Always shows page 1Request page/cursor field not mappedRe-check request field mapping
Stops after first pageResponse continuation path incorrectCorrect response field path
Duplicate rows across pagesNon-deterministic API sortingAdd stable sort in API query
Missing rowsOffset/page-size mismatchVerify API math and defaults

Related guides