Skip to main content
Glama

campaigns_getcosts

Retrieve campaign cost data by specifying tenant ID, year, month, and optional pagination or sorting parameters to analyze and manage marketing expenses within ServiceTitan.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesFormat - int64.
includeTotalNoWhether total count should be returned
monthNoFormat - int32.
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, Date (Year + Month)
tenantYesFormat - int64. Tenant ID
yearNoFormat - int32.

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JordanDalton/ServiceTitanMcpServer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server