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

# Pagination

> Page through list endpoints with a cursor.

List endpoints return a page of results and a `has_more` flag:

```json theme={null}
{
  "data": [{ "id": 812 }, { "id": 805 }],
  "has_more": true
}
```

To get the next page, pass the `id` of the last result as `starting_after`:

```bash theme={null}
curl "https://api.getdecimal.ai/v0/knowledge/articles?limit=50&starting_after=805" \
  -H "Authorization: Bearer sk-de-..."
```

Stop when `has_more` is `false`. `limit` sets the page size: 20 by default, up to 100.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.