Skip to main content
Use cursor pagination when the endpoint documents a cursor query parameter and a nextCursor response field. The sessions endpoint supports this pattern.

List sessions one page at a time

  1. Request GET /v1/sessions with your filters and an optional limit. For sessions, the default limit is 50 and the allowed range is 1–100. Omit cursor on the first request.
  2. Read the sessions from items. If nextCursor is null, you have reached the end.
  3. Otherwise, pass the returned value as the next request’s cursor. Keep the same filters and sort order. Treat the cursor as opaque and let your HTTP client URL-encode it.
An active-session query can return a short page with a continuation cursor. Follow that cursor even if the page contains fewer sessions than you requested.
For self-hosted deployments, use your deployment’s API base URL.

Endpoint differences

For other endpoints, check the operation’s query parameters and response schema for page-size limits, result fields, and support for totals.