mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-10 03:28:14 +00:00
docs(api): document v5 list pagination defaults
This commit is contained in:
parent
a0b059a886
commit
c5e4073810
1 changed files with 1 additions and 1 deletions
|
|
@ -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`.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue