Page size
Use thelimit parameter to control the number of records returned in a request.
Default:
Response
Collection responses include apagination object containing next_cursor.
next_cursor contains a value, additional results are available.
Retrieve the next page
Pass the returnednext_cursor value using the cursor parameter.
next_cursor is null.
Signals
Pagination works the same way for Signals. First request:When to stop
Always stop pagination only when:limit does not necessarily mean it is the final page.
The API does not return a total result count in v1.
Cursor behavior
Cursors are generated by 1eye and should be treated as opaque values. Do not:- Construct cursors yourself
- Modify a cursor
- Decode a cursor
- Reuse a cursor with a different endpoint
Keep filters and sorting consistent
When using a cursor to retrieve the next page, the following must remain unchanged:- Endpoint
- Filters
sort_bysort_order
Changing the page size
Thelimit may change between pages.
For example: