Skip to main content
Every list endpoint (GET /drivers, GET /sessions, GET /events, …) returns the same shape:
(Objects are abbreviated here.)

Parameters

List-specific filters, such as status on /drivers or type on /events, combine with these. Keep the filters the same on every page of a list.

Walking a list

Rules

  • Cursors are opaque. Pass next_cursor back exactly as you got it. Don’t build or decode cursors; their format can change.
  • Use the same limit on every page. A cursor issued for one page size is rejected with 400 bad_request (“Use the same limit for every page of a list”) if you change limit mid-list. A cursor that isn’t valid is also rejected with bad_request.
  • Lists can shift while you page. Pages are positional, so if objects are created or removed while you walk a list, you can see an object twice or miss one. For reconciliation, filter by a time window (from and to, where the endpoint supports them) and dedupe by id.
  • Some lists are a single page. GET /webhook_endpoints and GET /vehicle_types return everything at once with has_more: false.