Home › Documentation › API › Pagination and rate limits
Pagination and rate limits
Pagination
List endpoints return up to limit items (default 50, maximum 200) and a cursor for the next page.
GET /v2/jobs?limit=100
{
"data": [ ... ],
"next_cursor": "eyJpZCI6ImpvYl8wMUo4...",
"has_more": true
}
Pass the cursor back to get the next page:
GET /v2/jobs?limit=100&cursor=eyJpZCI6ImpvYl8wMUo4...
Cursors are valid for 24 hours. When has_more is false, next_cursor is null. There is no total count; counting every job for a large tenant is expensive and the number is rarely needed.
Filtering
Filters are query parameters named after the field. Time ranges use _after and _before suffixes:
GET /v2/jobs?result=failed&started_after=2026-09-01T00:00:00Z&device_id=dev_01HZX4...
Available filters are listed on each endpoint's page.
Sorting
List endpoints return newest first. sort=asc reverses the order. Other sort orders are not supported.
Rate limits
| Limit | Value |
|---|---|
| Requests per token | 120 per minute |
| Requests per tenant | 600 per minute |
| Report generation | 10 per hour per tenant |
Every response carries:
X-RateLimit-Limit: 120
X-RateLimit-Remaining: 117
X-RateLimit-Reset: 1790614860
When a limit is exceeded the API returns 429 Too Many Requests with a Retry-After header in seconds. Wait at least that long before retrying.
Polling sensibly
- Job data changes when jobs finish. Polling
/jobsmore than once every five minutes gains nothing. Consider webhooks instead. - Usage data changes once a day at around 04:00 UTC.
- Use
started_afterwith the time of your last poll instead of re-reading everything.
Timeouts
Requests time out after 30 seconds. Queries over long date ranges for large tenants may need to be split.