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.
Generated from the service's OpenAPI 3.1.0 description (version 1.0.0-beta.1), so every endpoint, field and code below is the one the code implements. Base path: <API_ORIGIN>/v1.
Authentication
Authorization: Bearer <key>. Keys start with outfit_test_ (sandbox) or outfit_live_. Where a host intercepts Authorization, the same key is accepted in X-Api-Key. Scopes: fits:read, fits:write, uploads:write, usage:read.
Endpoints
POST/v1/uploads
Upload a person photo or a clothing image. Scope: uploads:write.
Request body (multipart/form-data):
Field
Type
Notes
purpose
person, clothing
Required.
file
file
Required. JPEG or PNG. Person: shorter side ≥ 256 px. Clothing: shorter side ≥ 200 px.
Required. One to five clothing entries (your plan may allow fewer). Each role at most once; one_piece and outfit cannot be combined with each other or with top or bottom. A dedicated role replaces that part of an outfit (for example outerwear over an outfit, or shoes with an outfit). 1 to 5 items.
options
object
Optional.
metadata
object
Optional.
Fit
Field
Type
Notes
id
string
Required.
object
fit
Required.
status
queued, processing, completed, failed
Required.
person
object
Required.
clothing
array of object
Required. 1 to 5 items.
options
object
Required.
output
null or object
Required. Present when completed; omitted from list entries. Links expire; read the Fit again for fresh ones.
sexual, violence, hate, illegal, misleading, other
Required.
status
open, reviewed, actioned, dismissed
Required.
createdAt
string (date-time)
Required.
Capabilities
Field
Type
Notes
object
capabilities
Required.
apiVersion
string
Required.
clothing
object
Required.
outputs
array of string
Required.
poses
array of string
Required.
uploads
object
Required.
Usage
Field
Type
Notes
object
usage
Required.
keyKind
test, live
Required.
period
object
Required.
fits
object
Required.
plan
object
Required.
remainingIncludedFits
integer or null
Required.
Versioning
The version is the path prefix, /v1. Within v1, changes are additive: new fields, endpoints, optional parameters and failure codes. Statuses, roles and the meaning of existing fields do not change; new clothing roles may be added, so read role values tolerantly. A breaking change ships as /v2; /v1 stays available for at least twelve months afterwards and announces its end with Deprecation and Sunset headers.