API reference
Machines
List the catalog and pricing.
GET
/api/intake/machinesList active machines and the pricing rule inputs.
Response
| machines[].id | The id to use in machine_options. |
|---|---|
| machines[].name, type | Display name and category: milling, turning, routing, additive, manual. |
| machines[].unattended | true if the machine runs without an operator. |
| machines[].hourly_rate_cents | Rate used for the estimate. |
| pricing.setup_fee_cents | Added once per job. |
| pricing.min_charge_cents | The floor for a job's total. |
| pricing.currency | usd. |
| pricing.note | The estimate rule, in words. |
curl https://glyphtech.io/api/intake/machines -H "Authorization: Bearer $KEY"
200:
{
"machines": [
{ "id": "BENCH", "name": "Assembly / Deburr Bench", "type": "manual", "unattended": false, "hourly_rate_cents": 6000 },
{ "id": "MILL", "name": "CNC Mill", "type": "milling", "unattended": false, "hourly_rate_cents": 9000 }
],
"pricing": {
"setup_fee_cents": 5000,
"min_charge_cents": 2500,
"currency": "usd",
"note": "estimate = sum(duration_hr × first machine's hourly rate) + material_cost_cents + setup fee, floored at the minimum charge"
}
}