Confirm Upload

Confirm upload and move file to final location.

POD-301: gates the file size against storage_bytes_per_workspace whenever the upload binds to a workspace-scoped resource (header OR derived from context_id). Records the storage_charge event in the same transaction as the upload row update.

Authentication

AuthorizationBearer
Clerk JWT token
OR
AuthorizationBearer

Onepin live API key (op_live_...). Test and public keys are reserved in Phase 1.

Path parameters

upload_idstringRequiredformat: "uuid"

Headers

X-Workspace-Idstring or nullOptional

Request

This endpoint expects an object.
context_type"workflow"Required
context_idstringRequiredformat: "uuid"

Response

Successful Response
dataobject
metaobject

Errors

422
Unprocessable Entity Error