Skip to content

Pagination

List endpoints support optional cursor pagination through limit and cursor.

GET /api/v1/assistants?limit=20&cursor=<NEXT_CURSOR>

Without both parameters, the API preserves its historical unpaginated response. When pagination is used, the response includes meta:

{
"meta": {
"count": 20,
"totalCount": 71,
"limit": 20,
"nextCursor": "eyJvZmZzZXQiOjIwfQ",
"hasMore": true
}
}

Request the next page using nextCursor. On the last page, nextCursor is null and hasMore is false. Do not derive or alter cursor values.

Pagination is available for assistants, knowledge, provider-wallet keys, plugin instances, filler lists, RAG collections and documents, tools, and analytics.