Learn how to efficiently page through large result sets using the metrics and assets endpoints
Topic | Details |
---|---|
Pagination style | Page-based with ?page= and ?limit= query parameters. |
Limit (results per page) | Default is 100 , max is 1000 |
Response structure | { data: [], total: number, page: number } |
Affects these endpoints | List Assets, List Metrics |
?page=
and (optionally) ?limit=
query parameters.data
array, total
count, and current page
.page
until you’ve retrieved all results.project
, category
, etc.) to reduce the total number of pages needed.limit=10
:
data
array is shorter than your limit
data
array is empty