search_tickets
Search and filter Autotask tickets by company, status, assigned resources, or keywords to retrieve comprehensive data for reporting and analytics.
Instructions
Search for tickets in Autotask with optional filters. BY DEFAULT retrieves ALL matching tickets via pagination for complete accuracy. Only specify pageSize to limit results. Perfect for reports and analytics.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
assignedResourceID | No | Filter by assigned resource ID. Use null (or omit) to search for unassigned tickets. | |
companyID | No | Filter by company ID | |
pageSize | No | OPTIONAL: Limit number of results. If omitted, retrieves ALL matching tickets for complete accuracy. | |
searchTerm | No | Search term for ticket title or description | |
status | No | Filter by ticket status ID (omit for all open tickets: status < 5) | |
unassigned | No | Set to true to find tickets that are not assigned to any resource (where assignedResourceID is null) |
Input Schema (JSON Schema)
{
"properties": {
"assignedResourceID": {
"description": "Filter by assigned resource ID. Use null (or omit) to search for unassigned tickets.",
"type": "number"
},
"companyID": {
"description": "Filter by company ID",
"type": "number"
},
"pageSize": {
"description": "OPTIONAL: Limit number of results. If omitted, retrieves ALL matching tickets for complete accuracy.",
"maximum": 500,
"minimum": 1,
"type": "number"
},
"searchTerm": {
"description": "Search term for ticket title or description",
"type": "string"
},
"status": {
"description": "Filter by ticket status ID (omit for all open tickets: status < 5)",
"type": "number"
},
"unassigned": {
"description": "Set to true to find tickets that are not assigned to any resource (where assignedResourceID is null)",
"type": "boolean"
}
},
"required": [],
"type": "object"
}