File uploads
Read upload progress
GET
Returns this workspace’s authoritative stored-part inventory and upload expiry. The response contains no storage object keys or credentials.
After reopening a browser, reselect the original file and compare each stored part’s size and SHA-256 before reusing it. See resuming uploads.
inferenceBearerAuthheader
AuthorizationBearer <token>Use an Inference API key. Access and keys.
id*stringFormat
uuidRead upload progress
application/json- response
id*stringFormat
uuidstatus*stringValue in
"initiating""uploading""completing""ready""aborted""expired"filename*stringsize_bytes*integerRange
1 <= value <= 5368709120part_size_bytes*integerexpires_at*stringFormat
date-timeparts*array<>curl -X GET 'https://api.kejue.co/v1/inference/uploads/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "status": "initiating", "filename": "string", "size_bytes": 1, "part_size_bytes": 16777216, "expires_at": "2019-08-24T14:15:22Z", "parts": [ { "part_number": 1, "etag": "string", "size_bytes": 1, "checksum_sha256": "string" } ]}