Skip to main content
Use of the AI Helpdesk API has resumed. For details, see Announcements.

How pagination works

Most endpoints that return lists take a limit 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 limit to an integer from 1 to the maximum. A value out of range returns 400 with Invalid query parameters: <details>
  • Set cursor to the nextCursor from the previous response as is. An invalid value returns 400 with Invalid cursor
  • status accepts open, in_progress, pending_approval, and resolved. assigneeType accepts unassigned, ai_agent, human_agent, and requester
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 and count. 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.

Examples

The following examples fetch all knowledge.
The following example fetches up to 100 open sessions.
Last modified on November 27, 2026