ServiceTitan MCP Server

ServiceAgreements_GetList

Retrieve a filtered list of service agreements with options to sort, paginate, and filter by business unit, customer, creation/modification dates, and status.

Input Schema

NameRequiredDescriptionDefault
businessUnitIdsNoFilters by business unit IDs
createdBeforeNoFormat - date-time (as date-time in RFC3339). Return items created before certain date/time (in UTC)
createdOnOrAfterNoFormat - date-time (as date-time in RFC3339). Return items created on or after certain date/time (in UTC)
customerIdsNoFilters by customer IDs
idsNoPerform lookup by multiple IDs (maximum 50)
includeTotalNoWhether total count should be returned
modifiedBeforeNoFormat - date-time (as date-time in RFC3339). Return items modified before certain date/time (in UTC)
modifiedOnOrAfterNoFormat - date-time (as date-time in RFC3339). Return items modified on or after certain date/time (in UTC)
pageNoFormat - int32. The logical number of page to return, starting from 1
pageSizeNoFormat - int32. How many records to return (50 by default)
sortNoApplies sorting by the specified field: "?sort=+FieldName" for ascending order, "?sort=-FieldName" for descending order. Available fields are: Id, Name, CreatedOn, ModifiedOn, StartDate, EndDate
statusNoFilters by service agreement status Values: [Draft, Sent, Rejected, Accepted, Activated, Canceled, Expired, AutoRenew]
tenantYesFormat - int64. Tenant ID

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "businessUnitIds": { "description": "Filters by business unit IDs", "type": [ "string", "null" ] }, "createdBefore": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Format - date-time (as date-time in RFC3339). Return items created before certain date/time (in UTC)" }, "createdOnOrAfter": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Format - date-time (as date-time in RFC3339). Return items created on or after certain date/time (in UTC)" }, "customerIds": { "description": "Filters by customer IDs", "type": [ "string", "null" ] }, "ids": { "description": "Perform lookup by multiple IDs (maximum 50)", "type": [ "string", "null" ] }, "includeTotal": { "description": "Whether total count should be returned", "type": [ "boolean", "null" ] }, "modifiedBefore": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Format - date-time (as date-time in RFC3339). Return items modified before certain date/time (in UTC)" }, "modifiedOnOrAfter": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Format - date-time (as date-time in RFC3339). Return items modified on or after certain date/time (in UTC)" }, "page": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "Format - int32. The logical number of page to return, starting from 1" }, "pageSize": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "Format - int32. How many records to return (50 by default)" }, "sort": { "description": "Applies sorting by the specified field:\n\"?sort=+FieldName\" for ascending order,\n\"?sort=-FieldName\" for descending order.\n\nAvailable fields are: Id, Name, CreatedOn, ModifiedOn, StartDate, EndDate", "type": [ "string", "null" ] }, "status": { "description": "Filters by service agreement status\nValues: [Draft, Sent, Rejected, Accepted, Activated, Canceled, Expired, AutoRenew]", "type": [ "string", "null" ] }, "tenant": { "description": "Format - int64. Tenant ID", "type": "integer" } }, "required": [ "tenant" ], "type": "object" }

You must be authenticated.

Other Tools from ServiceTitan MCP Server

Related Tools

ID: mrnu4dtu2r