TailorMi Developer API
Plug third-party apps and agents into TailorMi: the catalogue, the figure/fit models, measurement inference and orders.
Keys with scopes
Per-key scopes, test/live environments, 120 read + 20 write requests a minute.
Redundant pathways
Every capability two ways: sync and batch, POST and GET, key and session.
Agent-ready
A self-describing agent manifest and an OpenAPI spec to build calls from.
Sign in to manage API keys
API keys belong to your TailorMi account. Sign in to create, inspect and revoke them.
Sign inEndpoint index
| Method | Path | What it does |
|---|---|---|
GET | /api/v1/health | Health check (no auth) |
GET | /api/v1/products | List products (filters, paging) |
GET | /api/v1/products/{idOrSlug} | One product |
GET | /api/v1/fit/size | Quick size recommendation |
POST | /api/v1/fit | Fit analysis against garment specs |
POST | /api/v1/measurements/infer | Infer + plausibility-check measurements |
POST | /api/v1/measurements/batch | Batch inference (up to 20) |
GET | /api/v1/models | The loaded model inventory |
GET | /api/v1/orders | List the account's orders |
POST | /api/v1/orders | Create an order (pay on the website) |
GET | /api/v1/account | Who the key belongs to |
GET | /api/v1/usage | Key usage statistics |
Full reference with examples: the API docs (also in the repo at docs/PUBLIC-API.md).
Quickstart
Three calls to see the whole shape: who you are, a size recommendation, and a product.
curl -H "Authorization: Bearer $TAILORMI_KEY" https://www.tailormi.com/api/v1/account curl -H "Authorization: Bearer $TAILORMI_KEY" "https://www.tailormi.com/api/v1/fit/size?chest=92&waist=76&hips=96" curl -H "Authorization: Bearer $TAILORMI_KEY" https://www.tailormi.com/api/v1/products?limit=3