tasks_get_tasks
Retrieve and filter tasks from ServiceTitan using tenant ID, pagination, statuses, dates, and other criteria to manage task lists efficiently.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| active | No | Values: [True, Any, False] | |
| assignedToId | No | Format - int64. Assigned to Id | |
| businessUnitIds | No | Business Unit Ids (comma separated Ids) | |
| completeBefore | No | Format - date-time (as date-time in RFC3339). Completed Before | |
| completeOnOrAfter | No | Format - date-time (as date-time in RFC3339). Completed On or After | |
| createdBefore | No | Format - date-time (as date-time in RFC3339). Created date before | |
| createdOnOrAfter | No | Format - date-time (as date-time in RFC3339). Created date on or after | |
| customerId | No | Format - int64. Customer Id | |
| employeeTaskResolutionIds | No | EmployeeTaskResolution Ids (comma separated Ids) | |
| employeeTaskSourceIds | No | EmployeeTaskSource Ids (comma separated Ids) | |
| employeeTaskTypeIds | No | EmployeeTaskType Ids (comma separated Ids) | |
| ids | No | Task Ids (comma separated Ids) | |
| includeSubtasks | No | Include Subtasks | |
| includeTotal | No | Whether total count should be returned | |
| involvedEmployeeIdList | No | Involved Employee Ids (comma separated Ids) | |
| isClosed | No | Is Closed This property is deprecated. Use Statuses instead. | |
| jobId | No | Format - int64. Job Id | |
| jobNumber | No | Job Number | |
| modifiedBefore | No | Format - date-time (as date-time in RFC3339). Modified date before | |
| modifiedOnOrAfter | No | Format - date-time (as date-time in RFC3339). Modified date on or after | |
| name | No | Name | |
| page | No | Format - int32. The logical number of page to return, starting from 1 | |
| pageSize | No | Format - int32. How many records to return (50 by default) | |
| priorities | No | Priorities (comma separated values) | |
| projectId | No | Format - int64. Project Id | |
| reportedBefore | No | Format - date-time (as date-time in RFC3339). Reported date before | |
| reportedById | No | Format - int64. Reported By Id | |
| reportedOnOrAfter | No | Format - date-time (as date-time in RFC3339). Reported On or After | |
| sort | No | Applies sorting by the specified field: "?sort=+FieldName" for ascending order, "?sort=-FieldName" for descending order. Available fields are: Id, CreatedOn, DescriptionModifiedOn, CompletedBy, Priority | |
| statuses | No | Task Status | |
| taskNumber | No | Format - int64. Task Number | |
| tenant | Yes | Format - int64. Tenant ID |