Skip to main content
GET
/
api
/
v1
/
files
/
{file_id_or_hashid}
/
confirm
Confirm Upload
curl --request GET \
  --url https://www.datalab.to/api/v1/files/{file_id_or_hashid}/confirm \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "file_id": 123,
  "reference": "<string>",
  "message": "<string>"
}

Authorizations

X-API-Key
string
header
required

Path Parameters

file_id_or_hashid
string
required

Cookies

access_token
string

Response

Successful Response

Response after confirming upload.

file_id
integer
required

File ID

reference
string
required

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

message
string
required

Confirmation message

success
boolean
default:true

Whether the confirmation was successful