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
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v2/synthetics/tests/{public_id}/files/download
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code: /oauth2/v1/authorizeToken URL: /oauth2/v1/token scopes: synthetics_read
Path parameters
public_idstring required
Example:abc-def-123
The public ID of the Synthetic test.
Request body
Example request
{
"bucketKey": "api-upload-file/abc-def-123/2024-01-01T00:00:00_uuid.json"
}Response
OK
Example response
{
"url": "https://storage.example.com/presigned-download-url"
}Changes
No recorded changes to this operation across all 1 revision of this API.