Generated by API Evangelist
Written by API Evangelist tooling for ServiceTitan's API. It is a proposal applied on top of the contract, not a document ServiceTitan publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for ServiceTitan Pricebook Materials API
version: 1.0.0
extends: openapi/servicetitan-materials-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-20'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 4
- target: $.paths['/materials'].get
update:
x-apievangelist-phrasing:
intent: List materials in the pricebook
effect: read
questions:
- What materials are in the technician pricebook?
- Can I see materials changed since a certain date?
instructions:
- text: List all materials.
- text: Show materials modified after {modifiedOnOrAfter}.
slots:
modifiedOnOrAfter: query.modifiedOnOrAfter
method: generated
generated: '2026-11-20'
- target: $.paths['/materials'].post
update:
x-apievangelist-phrasing:
intent: Add a material to the pricebook
effect: write
questions:
- How do I add a new material to the technician pricebook?
- Can I set a cost and price when creating a material?
instructions:
- text: Create material {code} named {displayName} priced at {price} with cost {cost}.
slots:
code: requestBody.code
displayName: requestBody.displayName
price: requestBody.price
cost: requestBody.cost
- text: Add material {code} ({displayName}) at {price}, cost {cost}, taxable {taxable}.
slots:
code: requestBody.code
displayName: requestBody.displayName
price: requestBody.price
cost: requestBody.cost
taxable: requestBody.taxable
method: generated
generated: '2026-11-20'
- target: $.paths['/materials/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get a material
effect: read
questions:
- What cost and price does a particular material have?
- Can I look up one material by id?
instructions:
- text: Get material {id}.
slots:
id: path.id
- text: Show the price and cost of material {id}.
slots:
id: path.id
method: generated
generated: '2026-11-20'
- target: $.paths['/materials/{id}'].patch
update:
x-apievangelist-phrasing:
intent: Update a material
effect: write
questions:
- How do I change the price of an existing material?
- Can I make a material inactive or change its categories?
instructions:
- text: Update material {id} with price {price} and cost {cost}.
slots:
id: path.id
price: requestBody.price
cost: requestBody.cost
- text: Set material {id} active to {active} and categories to {categories}.
slots:
id: path.id
active: requestBody.active
categories: requestBody.categories
method: generated
generated: '2026-11-20'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.