Printago API
GET
/v1/materials/{id}/billing-rates
Get billable rates
A material's billable rates, newest first `ratePer1000g` is in cents per kg. `effectiveTo` is when a rate stopped applying (exclusive), and null on the material's current rate. `actorName` is who set it. An unknown material is a 404. Needs the filament-inventory add-on.
Path Parameters
id
required
string
Material ID
Response Schema
MaterialBillingRate[]
Array of MaterialBillingRate, each with:
actorNamerequirednullable
string
Who set the rate.
effectiveFromrequired
string
format: date-time
effectiveTorequirednullable
string
When the rate stopped applying, exclusive; null while it is the material's current rate.
format: date-time
idrequired
string
pattern: ^[a-z0-9]{24}$
materialIdrequired
string
pattern: ^[a-z0-9]{24}$
ratePer1000grequired
number
Cents per kg, so $0.05 per gram is 5000.
Example Response
200 OK — application/json
[
{
"id": "string",
"materialId": "string",
"ratePer1000g": 1,
"effectiveFrom": "2025-01-15T12:00:00.000Z",
"effectiveTo": "2025-01-15T12:00:00.000Z",
"actorName": "string"
}
]