v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Synthetics

Get a presigned URL for downloading a test file

Get a presigned URL to download a file attached to a Synthetic test. The returned URL is temporary and expires after a short period.

post/api/v2/synthetics/tests/{public_id}/files/download

Path parameters

public_idstring required
Example:abc-def-123

The public ID of the Synthetic test.

Request body

bucketKeystring required

The bucket key referencing the file to download.

Example request

{
  "bucketKey": "api-upload-file/abc-def-123/2024-01-01T00:00:00_uuid.json"
}

Response

OK

urlstring

A presigned URL to download the file. The URL expires after a short period.

Example response

{
  "url": "https://storage.example.com/presigned-download-url"
}