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

# Pagination

> Continue event and collection reads with the cursor returned by the API.

Cursor-based endpoints return an opaque `nextCursor`. Save the cursor only after
your application has processed the page successfully.

```bash theme={"dark"}
curl "https://useorgx.com/api/v1/events/stream?limit=50" \
  -H "Authorization: Bearer $ORGX_API_KEY"
```

```json theme={"dark"}
{
  "data": [],
  "meta": {
    "apiVersion": "1",
    "nextCursor": "evt_01J5Y8R4K2",
    "hasMore": true,
    "limit": 50
  }
}
```

Pass the cursor unchanged on the next request:

```bash theme={"dark"}
curl "https://useorgx.com/api/v1/events/stream?limit=50&cursor=evt_01J5Y8R4K2" \
  -H "Authorization: Bearer $ORGX_API_KEY"
```

Event delivery can repeat across retries and reconnects. Deduplicate by the
stable event ID.

Some bounded collections return all matching rows with a `count`. Content
Studio showcase uses `limit` and `offset`. The generated operation page states
the pattern for the endpoint you are calling.
