Autotask icon

Autotask

Interact with Kaseya's Autotask PSA REST API to manage companies, tickets, contracts, and more.

Actions1078

Ticket → Get Many (Advanced)

AI-generated

Summary

Queries Autotask tickets using the required JSON advanced filter criteria and returns matching records. You can retrieve all matches or cap the result count, select response columns, and optionally add readable labels or flatten user-defined fields. When specifying "MaxRecords" in the advanced filter JSON, it must be an integer between 1 and 500 to avoid API errors.

Inputs

  • Advanced Filter (required) — JSON string containing a filter array of Autotask API query criteria. Use Get Field Info to check field names and Search Filter Build to construct the filter.
  • Get All — When enabled, returns all matching tickets; when disabled, limits results using Max Records.
  • Max Records — Maximum records to return when Get All is disabled; 1–500, default 10.
  • Add Picklist Labels — Adds _label fields with human-readable values for non-empty picklist fields; enabled by default.
  • Add Reference Labels — Adds _label fields with human-readable values for non-empty reference fields; enabled by default.
  • Select Columns Names or IDs. — Choose fields to include. If none are selected, all fields are returned; the ID field is always included.
  • Flatten User-Defined Fields — Moves user-defined fields from the userDefinedFields array to top-level fields; disabled by default.

Output shape

A list of ticket records.

Returned fields depend on the selected columns and label/flatten options. The ID field is always included; result count is controlled by Get All or Max Records.

Links

Discussion