provider Synthetics GET /api/v2/synthetics/tests/{public_id}/version_history
@utdk/datadog /api/v2/synthetics/tests/{public_id}/version_history
Get version history of a test
Get the paginated version history for a Synthetic test.
public_id path required
The public ID of the Synthetic test.
string
last_version_number query
The version number of the last item from the previous page. Omit to get the first page.
integer
limit query
Maximum number of version records to return per page.
integer

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.

listsyntheticstestversions
GET/api/v2/synthetics/tests/{public_id}/version_history
Get the paginated version history for a Synthetic test.

Parameters

required

The public ID of the Synthetic test.

The version number of the last item from the previous page. Omit to get the first page.

Maximum number of version records to return per page.

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.listsyntheticstestversions()