provider Synthetics GET
/api/v2/synthetics/tests/{public_id}/version_history/{version_number} @utdk/datadog
/api/v2/synthetics/tests/{public_id}/version_history/{version_number} Get a specific version of a test
Get a specific version of a Synthetic test by its version number.
- public_id path required
- The public ID of the Synthetic test.
- string
- version_number path required
- The version number to retrieve.
- integer
- include_change_metadata query
- If `true`, include change metadata in the response.
- boolean
- only_check_existence query
- If `true`, only check whether the version exists without returning its full payload. Returns an empty object if the version exists, or 404 if not.
- boolean
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.
Code snippet
Updates live as you fill in the form above.
TypeScript
import datadog from '@utdk/datadog';
await datadog.getsyntheticstestversion()