v1

latestOpenAPI 3.1.02026-07-26151126273.9 KB
files

Confirm Upload

Confirm that a file was successfully uploaded to storage.

Call this endpoint after successfully uploading a file using the presigned URL from /upload. This will verify the file exists, get the actual file size, and mark it as completed.

Accepts either integer file_id (e.g., "4") or hashid (e.g., "npl94jxy").

This makes the file available for use in workflows.

get/api/v1/files/{file_id_or_hashid}/confirm

Path parameters

file_id_or_hashidstring required

Cookies

wos-sessionstring
datalab_active_teamstring

Response

Successful Response

successboolean

Whether the confirmation was successful

file_idinteger required

File ID

referencestring required

File reference in datalab://file-{id} format

messagestring required

Confirmation message