Skip to main content
Every list endpoint is cursor-paginated. There are no OFFSET/page=N parameters, because they get linearly slower as you go deeper. Duro uses keyset cursors so every page is equally cheap.

Request

Response

  • items — the page, newest first (createdAt desc, id desc).
  • nextCursor — pass this as cursor to get the next page. null on the last page.
  • hasMoretrue if another page exists.

Iterating

Cursors are ordered on a (createdAt, id) compound index, so the query plan is identical whether you’re on page 1 or page 1,000.