> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openlight.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Pagination

> Page through list responses with cursors

List endpoints use cursor pagination. Send `limit` to choose the page size and use the returned cursor to request the next page.

```bash theme={null}
curl "https://app.openlight.tech/api/creator/v1/brands?limit=25" \
  -H "Authorization: Bearer $OPENLIGHT_API_TOKEN" \
  -H "Accept: application/json"
```

Responses include the current page of resources and pagination metadata. When a next cursor is present, pass it in the next request to continue.

```json theme={null}
{
  "data": [],
  "pagination": {
    "limit": 25,
    "next_cursor": "eyJpZCI6IjEyMyJ9",
    "has_more": true
  }
}
```

Cursor values are opaque. Store and send them exactly as returned instead of parsing or modifying them.
