Buvei
Concepts

Pagination

Page / size cursor for list endpoints.

List endpoints share one pagination scheme.

Query parameters

pageintegerquerydefault: 1

Page number, 1-based.

sizeintegerquerydefault: 20

Items per page.

Response shape

{
  "total": 250,
  "pages": 13,
  "current": 1,
  "size": 20,
  "records": [
    // …items
  ]
}
FieldTypeDescription
totalintegerTotal items across all pages
pagesintegerTotal number of pages
currentintegerThe page you just received
sizeintegerItems per page (echoes the request)
recordsarrayThe page contents

When polling for new data, prefer iterating until current === pages rather than computing pages yourself — the API may add server-side filters that change the effective total.