Skip to main content
All list endpoints return paginated results. You control pagination with page and limit query parameters.

Parameters

page
integer
default:"1"
The page number to retrieve. Must be 1 or greater.
limit
integer
default:"25"
The number of items per page. Minimum 1, maximum 100.

Response format

Every paginated response includes a pagination object alongside the data array.
{
  "data": [...],
  "pagination": {
    "page": 1,
    "limit": 25,
    "total": 143
  }
}
pagination
object

Example

curl -X GET "https://hub.banditshq.com/api/v1/tables?page=2&limit=10" \
  -H "Authorization: Bearer lasso_..."

Iterating through all pages

let page = 1;
const allTables = [];

while (true) {
  const result = await client.tables.list({ page, limit: 100 });
  allTables.push(...result.data);
  if (page * 100 >= result.pagination.total) break;
  page++;
}