SuperOps icon

SuperOps

Interact with the SuperOps MSP GraphQL API

Ticket → Get Many

AI-generated

Summary

Fetches a list of tickets from SuperOps using pagination or a GraphQL condition filter.

Inputs

  • returnAll — Whether to return all results or only up to a given limit.
  • limit — Max number of results to return (used when returnAll is false).
  • page — 1-indexed page number (used when returnAll is false).
  • condition — Optional ListInfoInput.condition object as JSON. Leave as {} for no filter. Refer to the SuperOps GraphQL docs for the schema.

Output shape

A list of ticket items (arrays of objects). Each item contains ticket details like ticketId, displayId, subject, status, priority, etc.

When returnAll is true, the operation iterates up to 1000 pages. Results include 'listInfo' with page, pageSize, totalCount, and hasMore.

Examples

Example 1: List the first 50 tickets without filters

Resource: Ticket, Operation: Get Many, Return All: false, Limit: 50, Page: 1, Condition: {}

Example 2: Fetch all tickets matching a specific status

Resource: Ticket, Operation: Get Many, Return All: true, Condition: { status: 'Open' }

Links

Discussion