Uploads

Get upload status

Get the status of an upload - in particular, to follow a build through processing after /upload/verify returns pending_processing: true. percentage_processed shows progress; if it stops changing for longer than stall_timeout_seconds, processing has most likely failed. Uploads not verified within 48 hours, and processing that doesn't finish, are reported as failed. Requires builds:read scope.

GET/upload/status

Authorization

bearerAuth
AuthorizationBearer <token>

API key. Bearer authentication header of the form Bearer <token>, where <token> is your Workspace or Application API key.

In: header

Query Parameters

pending_upload_id*string

The pending_upload_id returned by /upload/request.

Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET -G "https://example.comupload/status" \  --data-urlencode "pending_upload_id=550e8400-e29b-41d4-a716-446655440001" \  -H "Authorization: Bearer YOUR_API_KEY"
{  "message": "Upload status retrieved successfully.",  "status": "processing",  "percentage_processed": 0.45,  "stall_timeout_seconds": 360,  "failure_reason": null,  "build_id": "xYz9876",  "invalid_platform_build": false,  "invalid_platform_build_reason": null,  "build": null}
{  "message": "Invalid pending upload id."}
{  "message": "Unauthorized"}
{  "message": "This action requires 'resource:action' scope."}
{  "message": "Rate limit exceeded. Try again in 42 seconds."}