Get an upload
One of your uploads. It is pending until its file arrives, then ready.
apiKeyAuthorizationBearer <tf_...>Your API key from API keys, sent as Authorization: Bearer $TENSORFACTORY_API_KEY. Keep it on your server.
asset_id*stringThe upload's asset_id.
uuidThe upload.
application/json- response
asset_id*stringuuidkind*"image""image"status*stringpending until the file arrives, then ready.
"pending""ready"mime*string"image/jpeg""image/png""image/webp"bytes*integerfilename*string|nullcreated_at*stringdate-timecurl -X GET 'https://tensorfactory.ai/v1/uploads/6f1d2c3b-8a4e-4f0b-9d6a-1c2e3f4a5b6c'{ "asset_id": "6f1d2c3b-8a4e-4f0b-9d6a-1c2e3f4a5b6c", "kind": "image", "status": "pending", "mime": "image/jpeg", "bytes": 482113, "filename": "photo.jpg", "created_at": "2026-11-07T10:00:04.000Z"}Send the file PUT
Sends the file's bytes to the `upload_url` from `POST /v1/uploads`, with every header in `upload_headers`. The link is signed: it needs no key and works for 15 minutes. The type is checked by the file's first bytes (JPEG, PNG or WebP). Each slot takes one file.
Delete an end user's data DELETE
Deletes every generation of yours made with this `end_user`, each as `DELETE /v1/generations/{id}` does, with the uploads no other generation uses. No match is still `200` with zeros. One request deletes at most 500 generations: when `more` is `true`, send it again.