Datadog Synthetics

List API test results

Get the last 50 test results summaries for a given Synthetics API test.

Inputs

Field

Type

Description

time

The time period range for queried results

public_id [required]

string

The ID of the test for which to search results for.

probe_dc

[string]

Locations for which to query results.

Outputs

Expand All

Field

Type

Description

last_timestamp_fetched

number

Timestamp of the latest API test run.

results

[object]

Result of the latest API test run.

check_time

number

Last time the API test was performed.

result_id

string

ID of the API test result.

probe_dc

string

Location from which the API test was performed.

status

enum

The status of your Synthetic monitor. Allowed enum values: 0,1,2

result

object

Result of the last API test run.

passed

boolean

Describes if the test run has passed or failed.

timings

object

Object containing all metrics and their values collected for a Synthetic API test.

dns

number

The duration in millisecond of the DNS lookup.

firstByte

number

The time in millisecond to first byte.

download

number

The time in millisecond to download the response.

handshake

number

The duration in millisecond of the TLS handshake.

redirect

number

The time in millisecond spent during redirections.

ssl

number

The duration in millisecond of the TLS handshake.

tcp

number

Time in millisecond to establish the TCP connection.

total

number

The overall time in millisecond the request took to be processed.

wait

number

Time spent in millisecond waiting for a response.