Pagination
Cursor pagination for list endpoints.
List endpoints return:
{
"object": "list",
"has_more": true,
"data": [ … ]
}Query parameters
| Param | Description |
|---|---|
limit | Page size, typically 1–100 (default 20) |
after | Return items after this id (newer/older depending on endpoint ordering) |
before | Return items before this id |
Do not send after and before together.
Walking pages
- Request with
limit. - If
has_moreis true, take the last id indataand pass it asafter(or follow the endpoint’s documented direction). - Stop when
has_moreis false ordatais empty.
Ids are opaque UUIDs — do not invent cursors.