Pagination

Cursor pagination on the list endpoints that can grow without bound.

dev · https://api.dev.oprag.ai

List endpoints that can grow without bound return nextCursor. Pass it back as cursor to fetch the next page; its absence means the last page.

Shell
# First page
curl 'https://api.dev.oprag.ai/v1/conversations?limit=25' -H 'Authorization: Bearer <JWT>'

# Next page — pass the previous response's nextCursor back as cursor
curl 'https://api.dev.oprag.ai/v1/conversations?limit=25&cursor=eyJrIjoi...' \
  -H 'Authorization: Bearer <JWT>'
FieldWhereMeaning
cursorQuery parameterOpaque. Pass it back verbatim.
nextCursorResponse bodyPresent while there is more. Absent means you are done.
limitQuery parameterRows per page, where the endpoint supports it.

Cursors are opaque and not stable across deploys. Use them within one pass, not as bookmarks. Exports have their own row caps — see rate limits.

Ready to ship?

Get started free