Use of the AI Helpdesk API has resumed. For details, see Announcements.
How pagination works
Most endpoints that return lists take alimit parameter that sets how many items to return.
Only the knowledge list (GET /api/v1/knowledge) lets you fetch further pages.
The knowledge list uses a cursor: pass the nextCursor from the response as cursor in the next request.
The other lists have no parameter for fetching further pages (such as page, offset, or cursor).
Lists that take limit return up to the maximum limit in one request.
Lists without limit return all items in one request.
These include GET /api/v1/integrations for MCP integrations and GET /api/v1/knowledge-folders for knowledge folders.
The improvement proposal lists also have no limit.
Request parameters
- Set
limitto an integer from 1 to the maximum. A value out of range returns400withInvalid query parameters: <details> - Set
cursorto thenextCursorfrom the previous response as is. An invalid value returns400withInvalid cursor statusacceptsopen,in_progress,pending_approval, andresolved.assigneeTypeacceptsunassigned,ai_agent,human_agent, andrequester
assigneeType (sessions) and type (knowledge) are applied after limit items are fetched.
As a result, a response can contain fewer items than limit.
status is applied when the items are fetched, so it is not affected.Response
A list response contains an array of resources andcount.
The knowledge list also contains nextCursor.
When you set
type on the knowledge list, a page can have an empty articles array even though nextCursor is not null.
To fetch everything, keep sending requests until nextCursor is null.
For organization-wide session counts by status and assignee type, use GET /api/v1/sessions/stats.

