Query upload progress
HEAD/v1/storages/upload/resumable/:id
Queries the current progress of an upload session. The Upload-Offset response header indicates the number of bytes uploaded, Upload-Length indicates the total file size (when declared), and Upload-Expires indicates the session expiration time.
Request
Responses
- 200
- 404
- 412
Success, no response body
Response Headers
Upload-Offset
Byte offset of uploaded data
Upload-Length
Total file size (when declared)
Upload-Defer-Length
Returns 1 when the length has not been declared; not returned once declared
Upload-Metadata
Normalized upload metadata
Tus-Resumable
TUS protocol version
Upload-Expires
Upload session expiration time (RFC 1123 format)
Cache-Control
Gateway cache control
X-Request-Id
Gateway request ID, useful for log searches
The upload session does not exist (HEAD responses have no body; the example only illustrates the error structure)
Missing or unsupported Tus-Resumable header (ERR_UNSUPPORTED_VERSION)