Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
limit | integer | 50 | Items per page (max 100) |
offset | integer | 0 | Number of items to skip |
How list endpoints paginate responses
| Parameter | Type | Default | Description |
|---|---|---|---|
limit | integer | 50 | Items per page (max 100) |
offset | integer | 0 | Number of items to skip |
curl "https://api.voyantcloud.com/v1/products?limit=20&offset=40" \
-H "Authorization: Bearer $VOYANT_API_KEY"
{
"data": [/* ... */],
"meta": {
"total": 150,
"limit": 20,
"offset": 40,
"hasMore": true
}
}
hasMore to determine if more pages are available without calculating page numbers.