Skip to content
Testsigma DOCS

Get an upload

GET/uploads/{uploadId}

Base URL  https://app.testsigma.com/api/v1

Retrieve the details of a single uploaded file by its upload ID, including a pre-signed download URL.

Authenticate with your API key as a Bearer token in the Authorization header. Generate a key →
uploadIdID of the upload to retrieve. Available from the Uploads page via the Copy Path option.
idUnique upload identifier.
projectIdID of the project the file belongs to.
createdByIdID of the user who created the upload.
updatedByIdID of the user who last updated the upload.
createdDateEpoch timestamp when the file was created.
updatedDateEpoch timestamp when the file was last updated.
nameName of the file.
appPathPath of the file in the application's storage.
fileNameFilename including extension.
uploadTypeType of upload — e.g. Attachment.
versionVersion label of the file, if any.
platformTypePlatform the file targets — e.g. TestsigmaLab.
isPublicWhether the file is publicly accessible.
uploadStatusUpload status — e.g. Completed.
fileSizeSize of the file in bytes.
preSignedURLPre-signed URL granting temporary access to the file.
signedWhether the pre-signed URL is signed.
REQUEST
curl -X GET \
  'https://app.testsigma.com/api/v1/uploads/{uploadId}' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json'
const response = await fetch('https://app.testsigma.com/api/v1/uploads/{uploadId}', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer <API_KEY>',
    'Content-Type': 'application/json'
  }
});
const data = await response.json();
import requests

response = requests.get(
  'https://app.testsigma.com/api/v1/uploads/{uploadId}',
  headers={
    'Authorization': 'Bearer <API_KEY>',
    'Content-Type': 'application/json'
  }
)
data = response.json()
RESPONSE200OK
{
  "id": 147,
  "projectId": 11,
  "createdById": 43,
  "updatedById": 43,
  "createdDate": 1633535450000,
  "updatedDate": 1635322081221,
  "name": "test-file",
  "appPath": "testsigmatech.com/uploads/11/147/Testfile.pdf",
  "fileName": "Testfile.pdf",
  "uploadType": "Attachment",
  "version": null,
  "testsigmaAppId": null,
  "browserStackAppId": null,
  "sauceLabsAppId": null,
  "platformType": "TestsigmaLab",
  "isPublic": null,
  "uploadStatus": "Completed",
  "message": "Uploaded successfully",
  "status": 1,
  "fileSize": 334666,
  "preSignedURL": "https://s3.amazonaws.com/.../Testfile.pdf?X-Amz-Signature=...",
  "signed": false
}