Skip to main content
POST
Confirm Upload
The last step of the presigned upload flow. Call it with the id returned by the presign request, after the PUT to uploadUrl has succeeded. Dreep verifies the object actually landed in storage, reads its metadata (dimensions, format, size), applies any transform you pass, and flips the asset to ready.
An asset that is never confirmed stays pending forever. Pending assets are excluded from List Media and are swept up by background reconciliation, so an abandoned upload won’t show up as a broken asset.

Transforming on confirm

Pass transform (or presetKey) to re-encode the file as part of finalizing it — the same parameters Upload Media accepts.

Responses

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

The id returned by the presign call.

Body

application/json
transform
object

Transform to apply before storing, same parameters as Upload Media.

presetKey
string

Response

Upload confirmed