Pagination
All list endpoints return paginated results. Control pagination using query parameters or headers:
page: Page number (defaults to 1)per_page: Results per page (defaults to 15)
Response Metadata
Paginated responses include a meta object with:
| Field | Description |
|---|---|
current_page | Current page number |
per_page | Number of results per page |
total_count | Total number of records |
total_pages | Total number of pages |
Example Response
{
"data": [
{
"id": "123",
"name": "Example Item 1"
},
{
"id": "124",
"name": "Example Item 2"
}
],
"meta": {
"current_page": 1,
"per_page": 15,
"total_count": 42,
"total_pages": 3
}
}