Get a Fit
Private beta The v1 contract is implemented; the endpoints are not publicly reachable yet and access is by request. Details may still change during the beta.
GET /v1/fits/:id returns one Fit with its current status and, once completed, fresh output links.
curl <API_ORIGIN>/v1/fits/fit_7hsK2pL4... \
-H "Authorization: Bearer outfit_live_..."
The Fit object
| Field | Type | Notes |
|---|---|---|
id | string | fit_ followed by 32 hex characters |
object | string | Always fit |
status | string | queued, processing, completed or failed; see Statuses |
person | object | { "upload": "upl_..." } as sent |
clothing | array | The entries: upload, the effective role (a single entry sent without one reads outfit) and label when given. Accept role values you do not know yet: the list may grow. |
options | object | output and pose as resolved |
output | object or null | Present when completed; see below |
error | object or null | Present when failed: { "code", "message", "retryable" } |
metadata | object | As sent |
createdAt | string | ISO 8601, UTC |
completedAt | string or null | Set when the Fit reached completed or failed |
Output
"output": {
"image": { "url": "https://...", "expiresAt": "2026-01-01T11:00:00Z" },
"model": { "url": "https://...", "format": "glb", "expiresAt": "2026-01-01T11:00:00Z" },
"preview": { "url": "https://...", "expiresAt": "2026-01-01T11:00:00Z" }
}
imageis present forimageandimage_and_model.modelis a glTF binary (.glb) formodelandimage_and_model;previewis a rendered preview of it.- Every
urlis a signed link minted for this read; it expires atexpiresAt(about an hour). Reading the Fit again returns fresh links. Do not store the links; store the Fit id, or your own copy of the file. - A completed Fit whose files were deleted has
output: null.
Polling
Poll every few seconds with a growing interval; a Fit usually completes within a minute. Polling counts against the read rate limit like any other request. Webhooks are planned; see Webhooks.
Retention
On a plan with a retention period, a Fit older than that period answers 404 not_found. Delete a Fit earlier with DELETE /v1/fits/:id.
Errors
| Status | Code | When |
|---|---|---|
| 404 | not_found | Unknown id, another organization's Fit, a Fit of the other key kind, a deleted Fit, or one past its retention |