Skip to Content
File uploads

Read upload progress

Permissioninference-stt:createAdd-onInferenceAuthentication
GET
/inference/uploads/{id}

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.

Authorization

inferenceBearerAuth
headerAuthorizationBearer <token>

Use an Inference API key. Access and keys.

Path Parameters

id*string
Formatuuid

Response Body

Read upload progress

application/json
  1. response
id*string
Formatuuid
status*string
Value in"initiating""uploading""completing""ready""aborted""expired"
filename*string
size_bytes*integer
Range1 <= value <= 5368709120
part_size_bytes*integer
expires_at*string
Formatdate-time
parts*array<>
Example Request
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"    }  ]}