docs(api): document v5 list pagination defaults

This commit is contained in:
Soham Daga 2026-10-05 16:12:03 -07:00
parent a0b059a886
commit c5e4073810

View file

@ -33,7 +33,7 @@ POST /ns/{namespace}/list/{type}?page=1&limit=100&sort=createdAt&order=desc
```
</CodeGroup>
Set `type` to `documents`, `chunks`, or `memories`. Pagination and sorting move to the query string; the body contains only optional `filter`.
Set `type` to `documents`, `chunks`, or `memories`. Pagination and sorting move to the query string; the body contains only optional `filter`. Defaults are `page=1`, `limit=10` (maximum 1100), `sort=createdAt`, and `order=desc`.
Every response contains `documents`, `chunks`, `memories`, and `pagination`. Only the selected resource array is populated. Replace legacy `memories` assumptions in document-list callers with `documents`.