provider Synthetics POST /api/v2/synthetics/tests/{public_id}/files/download
@utdk/datadog /api/v2/synthetics/tests/{public_id}/files/download
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.
public_id path required
The public ID of the Synthetic test.
string

Try it

Authentication
Configure credentials for Datadog API V2 Collection
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

gettestfiledownloadurl
POST/api/v2/synthetics/tests/{public_id}/files/download
Get a presigned URL to download a file attached to a Synthetic test. The returned URL is temporary and expires after a short period.

Parameters

required

The public ID of the Synthetic test.

Input

required

The bucket key referencing the file to download.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import datadog from '@utdk/datadog';

await datadog.gettestfiledownloadurl()