---
title: "Get a test result"
method: GET
path: "/api/v2/synthetics/tests/{public_id}/results/{result_id}"
tags: ["Synthetics"]
---

# Get a test result

`GET /api/v2/synthetics/tests/{public_id}/results/{result_id}`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/synthetics/tests/{public_id}/results/{result_id}`
- Auth: one of:
  - API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`
  - OAuth 2
    - Authorization code: `/oauth2/v1/authorize`
    - Token URL: `/oauth2/v1/token` scopes: `synthetics_read`

Get a specific full result from a given Synthetic test.

## Path parameters

- `public_id` string, required
- `result_id` string, required

## Query parameters

- `event_id` string
- `timestamp` integer

## Response `200`

OK

- SyntheticsTestResultResponse: Response object for a Synthetic test result.
  - `data` SyntheticsTestResultData: Wrapper object for a Synthetic test result.
    - `attributes` SyntheticsTestResultAttributes: Attributes of a Synthetic test result.
      - `batch` SyntheticsTestResultBatch: Batch information for the test result.
        - `id` string: Batch identifier.
      - `ci` SyntheticsTestResultCI: CI information associated with the test result.
        - `pipeline` SyntheticsTestResultCIPipeline: Details of the CI pipeline.
          - `id` string: Pipeline identifier.
          - `name` string: Pipeline name.
          - `number` integer: Pipeline number.
          - `url` string: Pipeline URL.
        - `provider` SyntheticsTestResultCIProvider: Details of the CI provider.
          - `name` string: Provider name.
        - `stage` SyntheticsTestResultCIStage: Details of the CI stage.
          - `name` string: Stage name.
        - `workspace_path` string: Path of the workspace that ran the CI job.
      - `device` SyntheticsTestResultDevice: Device information for the test result (browser and mobile tests).
        - `browser` SyntheticsTestResultDeviceBrowser: Browser information for the device used to run the test.
          - `type` string: Browser type (for example, `chrome`, `firefox`).
          - `user_agent` string: User agent string reported by the browser.
          - `version` string: Browser version.
        - `id` string: Device identifier.
        - `name` string: Device name.
        - `platform` SyntheticsTestResultDevicePlatform: Platform information for the device used to run the test.
          - `name` string: Platform name (for example, `linux`, `macos`).
          - `version` string: Platform version.
        - `resolution` SyntheticsTestResultDeviceResolution: Screen resolution of the device used to run the test.
          - `height` integer: Viewport height in pixels.
          - `pixel_ratio` number, double: Device pixel ratio.
          - `width` integer: Viewport width in pixels.
        - `type` string: Device type.
      - `git` SyntheticsTestResultGit: Git information associated with the test result.
        - `branch` string: Git branch name.
        - `commit` SyntheticsTestResultGitCommit: Details of the Git commit associated with the test result.
          - `author` SyntheticsTestResultGitUser: A Git user (author or committer).
            - `date` string: Timestamp of the commit action for this user.
            - `email` string: Email address of the Git user.
            - `name` string: Name of the Git user.
          - `committer` SyntheticsTestResultGitUser: A Git user (author or committer).
            - `date` string: Timestamp of the commit action for this user.
            - `email` string: Email address of the Git user.
            - `name` string: Name of the Git user.
          - `message` string: Commit message.
          - `sha` string: Commit SHA.
          - `url` string: URL of the commit.
        - `repository_url` string: Git repository URL.
      - `location` SyntheticsTestResultLocation: Location information for a Synthetic test result.
        - `id` string: Identifier of the location.
        - `name` string: Human-readable name of the location.
        - `version` string: Version of the worker that ran the test.
        - `worker_id` string: Identifier of the specific worker that ran the test.
      - `result` SyntheticsTestResultDetail: Full result details for a Synthetic test execution.
        - `assertions` SyntheticsTestResultAssertionResult[]: Assertion results produced by the test.
          - `actual` unknown
          - `error_message` string: Error message if the assertion failed.
          - `expected` string: Expected value for the assertion. Its type depends on the assertion type.
          - `operator` string: Operator used for the assertion (for example, `is`, `contains`).
          - `property` string: Property targeted by the assertion, when applicable.
          - `target` unknown
          - `target_path` string: JSON path or XPath evaluated for the assertion.
          - `target_path_operator` string: Operator used for the target path assertion.
          - `type` string: Type of the assertion (for example, `responseTime`, `statusCode`, `body`).
          - `valid` boolean: Whether the assertion passed.
        - `bucket_keys` SyntheticsTestResultBucketKeys: Storage bucket keys for artifacts produced during a step or test.
          - `after_step_screenshot` string: Key for the screenshot captured after the step (goal-based tests).
          - `after_turn_screenshot` string: Key for the screenshot captured after the turn (goal-based tests).
          - `artifacts` string: Key for miscellaneous artifacts.
          - `before_step_screenshot` string: Key for the screenshot captured before the step (goal-based tests).
          - `before_turn_screenshot` string: Key for the screenshot captured before the turn (goal-based tests).
          - `crash_report` string: Key for a captured crash report.
          - `device_logs` string: Key for captured device logs.
          - `email_messages` string[]: Keys for email message payloads captured by the step.
          - `screenshot` string: Key for the captured screenshot.
          - `snapshot` string: Key for the captured DOM snapshot.
          - `source` string: Key for the page source or element source.
        - `call_type` string: gRPC call type (for example, `unary`, `healthCheck`, or `reflection`).
        - `cert` SyntheticsTestResultCertificate: SSL/TLS certificate information returned from an SSL test.
          - `cipher` string: Cipher used for the TLS connection.
          - `exponent` integer: RSA exponent of the certificate.
          - `ext_key_usage` string[]: Extended key usage extensions for the certificate.
          - `fingerprint` string: SHA-1 fingerprint of the certificate.
          - `fingerprint256` string: SHA-256 fingerprint of the certificate.
          - `issuer` object: Certificate issuer details.
          - `modulus` string: RSA modulus of the certificate.
          - `protocol` string: TLS protocol used (for example, `TLSv1.2`).
          - `serial_number` string: Serial number of the certificate.
          - `subject` object: Certificate subject details.
          - `tls_version` number, double: TLS protocol version.
          - `valid` SyntheticsTestResultCertificateValidity: Validity window of a certificate.
            - `from` integer: Unix timestamp (ms) of when the certificate became valid.
            - `to` integer: Unix timestamp (ms) of when the certificate expires.
        - `compressed_json_descriptor` string: Compressed JSON descriptor for the test (internal format).
        - `compressed_steps` string: Compressed representation of the test steps (internal format).
        - `connection_outcome` string: Outcome of the connection attempt (for example, `established`, `refused`).
        - `dns_resolution` SyntheticsTestResultDnsResolution: DNS resolution details recorded during the test execution.
          - `attempts` SyntheticsTestResultDnsResolutionAttempt[]: DNS resolution attempts made during the test.
          - `resolved_ip` string: Resolved IP address for the target host.
          - `resolved_port` string: Resolved port for the target service.
          - `server` string: DNS server used for the resolution.
        - `duration` number, double: Duration of the test execution (in milliseconds).
        - `exited_on_step_success` boolean: Whether the test exited early because a step marked with `exitIfSucceed` passed.
        - `failure` SyntheticsTestResultFailure: Details about the failure of a Synthetic test.
          - `code` string: Error code for the failure.
          - `internal_code` string: Internal error code used for debugging.
          - `internal_message` string: Internal error message used for debugging.
          - `message` string: Error message for the failure.
        - `finished_at` integer: Timestamp of when the test finished (in milliseconds).
        - `handshake` SyntheticsTestResultHandshake: Handshake request and response for protocol-level tests.
          - `request` SyntheticsTestResultRequestInfo: Details of the outgoing request made during the test execution.
            - `allow_insecure` boolean: Whether insecure certificates are allowed for this request.
            - `body` string: Body sent with the request.
            - `call_type` string: gRPC call type (for example, `unary`, `healthCheck`, or `reflection`).
            - `destination_service` string: Destination service for a Network Path test.
            - `dns_server` string: DNS server used to resolve the target host.
            - `dns_server_port` integer: Port of the DNS server used for resolution.
            - `e2e_queries` integer: Number of end-to-end probe queries issued.
            - `files` SyntheticsTestResultFileRef[]: Files attached to the request.
              - …
            - `headers` object: Headers sent with the request.
            - `host` string: Host targeted by the request.
            - `max_ttl` integer: Maximum TTL for network probe packets.
            - `message` string: Message sent with the request (for WebSocket/TCP/UDP tests).
            - `method` string: HTTP method used for the request.
            - `no_saving_response_body` boolean: Whether the response body was not saved.
            - `port` unknown
            - `service` string: Service name targeted by the request (for gRPC tests).
            - `source_service` string: Source service for a Network Path test.
            - `timeout` integer: Request timeout in milliseconds.
            - `tool_name` string: Name of the MCP tool called (MCP tests only).
            - `traceroute_queries` integer: Number of traceroute probe queries issued.
            - `url` string: URL targeted by the request.
          - `response` SyntheticsTestResultResponseInfo: Details of the response received during the test execution.
            - `body` string: Body of the response.
            - `body_compressed` string: Compressed representation of the response body.
            - `body_hashes` string: Hashes computed over the response body.
            - `body_size` integer: Size of the response body in bytes.
            - `cache_headers` object: Cache-related response headers.
            - `cdn` SyntheticsTestResultCdnProviderInfo: CDN provider details inferred from response headers.
              - …
            - `close` SyntheticsTestResultWebSocketClose: WebSocket close frame information for WebSocket test responses.
              - …
            - `compressed_message` string: Compressed representation of the response message.
            - `headers` object: Response headers.
            - `healthcheck` SyntheticsTestResultHealthCheck: Health check information returned from a gRPC health check call.
              - …
            - `http_version` string: HTTP version of the response.
            - `is_body_truncated` boolean: Whether the response body was truncated.
            - `is_message_truncated` boolean: Whether the response message was truncated.
            - `message` string: Message received in the response (for WebSocket/TCP/UDP tests).
            - `metadata` object: Additional metadata returned with the response.
            - `records` SyntheticsTestResultDnsRecord[]: DNS records returned in the response (DNS tests only).
              - …
            - `redirects` SyntheticsTestResultRedirect[]: Redirect hops encountered while performing the request.
              - …
            - `status_code` integer: HTTP status code of the response.
        - `id` string: The unique identifier for this result.
        - `initial_id` string: The initial result ID before any retries.
        - `is_fast_retry` boolean: Whether this result is from a fast retry.
        - `is_last_retry` boolean: Whether this result is from the last retry.
        - `netpath` SyntheticsTestResultNetpath: Network Path test result capturing the path between source and destination.
          - `destination` SyntheticsTestResultNetpathDestination: Destination endpoint of a network path measurement.
            - `hostname` string: Hostname of the destination.
            - `ip_address` string: IP address of the destination.
            - `port` integer: Port of the destination service.
          - `hops` SyntheticsTestResultNetpathHop[]: Hops along the network path.
            - `hostname` string: Resolved hostname of the hop.
            - `ip_address` string: IP address of the hop.
            - `reachable` boolean: Whether this hop was reachable.
            - `rtt` number, double: Round-trip time to this hop in milliseconds.
            - `ttl` integer: Time-to-live value of the probe packet at this hop.
          - `origin` string: Origin of the network path (for example, probe source).
          - `pathtrace_id` string: Identifier of the path trace.
          - `protocol` string: Protocol used for the path trace (for example, `tcp`, `udp`, `icmp`).
          - `source` SyntheticsTestResultNetpathEndpoint: Source endpoint of a network path measurement.
            - `hostname` string: Hostname of the endpoint.
          - `tags` string[]: Tags associated with the network path measurement.
          - `timestamp` integer: Unix timestamp (ms) of the network path measurement.
        - `netstats` SyntheticsTestResultNetstats: Aggregated network statistics from the test execution.
          - `hops` SyntheticsTestResultNetstatsHops: Statistics about the number of hops for a network test.
            - `avg` number, double: Average number of hops.
            - `max` integer: Maximum number of hops.
            - `min` integer: Minimum number of hops.
          - `jitter` number, double: Network jitter in milliseconds.
          - `latency` SyntheticsTestResultNetworkLatency: Latency statistics for a network probe.
            - `avg` number, double: Average latency in milliseconds.
            - `max` number, double: Maximum latency in milliseconds.
            - `min` number, double: Minimum latency in milliseconds.
          - `packet_loss_percentage` number, double: Percentage of probe packets lost.
          - `packets_received` integer: Number of probe packets received.
          - `packets_sent` integer: Number of probe packets sent.
        - `ocsp` SyntheticsTestResultOCSPResponse: OCSP response received while validating a certificate.
          - `certificate` SyntheticsTestResultOCSPCertificate: Certificate details returned in an OCSP response.
            - `revocation_reason` string: Reason code for the revocation, when applicable.
            - `revocation_time` integer: Unix timestamp (ms) of the revocation.
            - `serial_number` string: Serial number of the certificate.
          - `status` string: OCSP response status (for example, `good`, `revoked`, `unknown`).
          - `updates` SyntheticsTestResultOCSPUpdates: OCSP response update timestamps.
            - `next_update` integer: Unix timestamp (ms) of the next expected OCSP update.
            - `produced_at` integer: Unix timestamp (ms) of when the OCSP response was produced.
            - `this_update` integer: Unix timestamp (ms) of this OCSP update.
        - `ping` SyntheticsTestResultTracerouteHop: A network probe result, used for traceroute hops and ping summaries.
          - `host` string: Target hostname.
          - `latency` SyntheticsTestResultNetworkLatency: Latency statistics for a network probe.
            - `avg` number, double: Average latency in milliseconds.
            - `max` number, double: Maximum latency in milliseconds.
            - `min` number, double: Minimum latency in milliseconds.
          - `packet_loss_percentage` number, double: Percentage of probe packets lost.
          - `packet_size` integer: Size of each probe packet in bytes.
          - `packets_received` integer: Number of probe packets received.
          - `packets_sent` integer: Number of probe packets sent.
          - `resolved_ip` string: Resolved IP address for the target.
          - `routers` SyntheticsTestResultRouter[]: List of intermediate routers for the traceroute.
            - `ip` string: IP address of the router.
            - `resolved_host` string: Resolved hostname of the router.
        - `received_email_count` integer: Number of emails received during the test (email tests).
        - `received_message` string: Message received from the target (for WebSocket/TCP/UDP tests).
        - `request` SyntheticsTestResultRequestInfo: Details of the outgoing request made during the test execution.
          - `allow_insecure` boolean: Whether insecure certificates are allowed for this request.
          - `body` string: Body sent with the request.
          - `call_type` string: gRPC call type (for example, `unary`, `healthCheck`, or `reflection`).
          - `destination_service` string: Destination service for a Network Path test.
          - `dns_server` string: DNS server used to resolve the target host.
          - `dns_server_port` integer: Port of the DNS server used for resolution.
          - `e2e_queries` integer: Number of end-to-end probe queries issued.
          - `files` SyntheticsTestResultFileRef[]: Files attached to the request.
            - `bucket_key` string: Storage bucket key where the file is stored.
            - `encoding` string: Encoding of the file contents.
            - `name` string: File name.
            - `size` integer: File size in bytes.
            - `type` string: File MIME type.
          - `headers` object: Headers sent with the request.
          - `host` string: Host targeted by the request.
          - `max_ttl` integer: Maximum TTL for network probe packets.
          - `message` string: Message sent with the request (for WebSocket/TCP/UDP tests).
          - `method` string: HTTP method used for the request.
          - `no_saving_response_body` boolean: Whether the response body was not saved.
          - `port` unknown
          - `service` string: Service name targeted by the request (for gRPC tests).
          - `source_service` string: Source service for a Network Path test.
          - `timeout` integer: Request timeout in milliseconds.
          - `tool_name` string: Name of the MCP tool called (MCP tests only).
          - `traceroute_queries` integer: Number of traceroute probe queries issued.
          - `url` string: URL targeted by the request.
        - `resolved_ip` string: IP address resolved for the target host.
        - `response` SyntheticsTestResultResponseInfo: Details of the response received during the test execution.
          - `body` string: Body of the response.
          - `body_compressed` string: Compressed representation of the response body.
          - `body_hashes` string: Hashes computed over the response body.
          - `body_size` integer: Size of the response body in bytes.
          - `cache_headers` object: Cache-related response headers.
          - `cdn` SyntheticsTestResultCdnProviderInfo: CDN provider details inferred from response headers.
            - `cache` SyntheticsTestResultCdnCacheStatus: Cache status reported by the CDN for the response.
              - …
            - `provider` string: Name of the CDN provider.
          - `close` SyntheticsTestResultWebSocketClose: WebSocket close frame information for WebSocket test responses.
            - `reason` string: Reason string received in the close frame.
            - `status_code` integer: Status code received in the close frame.
          - `compressed_message` string: Compressed representation of the response message.
          - `headers` object: Response headers.
          - `healthcheck` SyntheticsTestResultHealthCheck: Health check information returned from a gRPC health check call.
            - `message` object: Raw health check message payload.
            - `status` integer: Health check status code.
          - `http_version` string: HTTP version of the response.
          - `is_body_truncated` boolean: Whether the response body was truncated.
          - `is_message_truncated` boolean: Whether the response message was truncated.
          - `message` string: Message received in the response (for WebSocket/TCP/UDP tests).
          - `metadata` object: Additional metadata returned with the response.
          - `records` SyntheticsTestResultDnsRecord[]: DNS records returned in the response (DNS tests only).
            - `type` string: DNS record type (for example, `A`, `AAAA`, `CNAME`).
            - `values` string[]: Values associated with the DNS record.
          - `redirects` SyntheticsTestResultRedirect[]: Redirect hops encountered while performing the request.
            - `location` string: Target location of the redirect.
            - `status_code` integer: HTTP status code of the redirect response.
          - `status_code` integer: HTTP status code of the response.
        - `run_type` 'scheduled' | 'fast' | 'ci' | 'triggered': The type of run for a Synthetic test result.
        - `sent_message` string: Message sent to the target (for WebSocket/TCP/UDP tests).
        - `start_url` string: Start URL for the test (browser tests).
        - `started_at` integer: Timestamp of when the test started (in milliseconds).
        - `status` 'passed' | 'failed' | 'no_data': Status of a Synthetic test result.
        - `steps` SyntheticsTestResultStep[]: Step results (for browser, mobile, and multistep API tests).
          - `allow_failure` boolean: Whether the test continues when this step fails.
          - `api_test` object: Inner API test definition for browser `runApiTest` steps.
          - `assertion_result` SyntheticsTestResultStepAssertionResult: Assertion result for a browser or mobile step.
            - `actual` string: Actual value observed during the step assertion. Its type depends on the check type.
            - `check_type` string: Type of the step assertion check.
            - `expected` string: Expected value for the step assertion. Its type depends on the check type.
            - `has_secure_variables` boolean: Whether the assertion involves secure variables.
          - `assertions` SyntheticsTestResultAssertionResult[]: Assertion results produced by the step.
            - `actual` unknown
            - `error_message` string: Error message if the assertion failed.
            - `expected` string: Expected value for the assertion. Its type depends on the assertion type.
            - `operator` string: Operator used for the assertion (for example, `is`, `contains`).
            - `property` string: Property targeted by the assertion, when applicable.
            - `target` unknown
            - `target_path` string: JSON path or XPath evaluated for the assertion.
            - `target_path_operator` string: Operator used for the target path assertion.
            - `type` string: Type of the assertion (for example, `responseTime`, `statusCode`, `body`).
            - `valid` boolean: Whether the assertion passed.
          - `blocked_requests_urls` string[]: URLs of requests blocked during the step.
          - `bounds` SyntheticsTestResultBounds: Bounding box of an element on the page.
            - `height` integer: Height in pixels.
            - `width` integer: Width in pixels.
            - `x` integer: Horizontal position in pixels.
            - `y` integer: Vertical position in pixels.
          - `browser_errors` SyntheticsTestResultBrowserError[]: Browser errors captured during the step.
            - `description` string: Error description.
            - `method` string: HTTP method associated with the error (for network errors).
            - `name` string: Error name.
            - `status` integer: HTTP status code associated with the error (for network errors).
            - `type` string: Type of the browser error.
            - `url` object: URL associated with the error.
          - `bucket_keys` SyntheticsTestResultBucketKeys: Storage bucket keys for artifacts produced during a step or test.
            - `after_step_screenshot` string: Key for the screenshot captured after the step (goal-based tests).
            - `after_turn_screenshot` string: Key for the screenshot captured after the turn (goal-based tests).
            - `artifacts` string: Key for miscellaneous artifacts.
            - `before_step_screenshot` string: Key for the screenshot captured before the step (goal-based tests).
            - `before_turn_screenshot` string: Key for the screenshot captured before the turn (goal-based tests).
            - `crash_report` string: Key for a captured crash report.
            - `device_logs` string: Key for captured device logs.
            - `email_messages` string[]: Keys for email message payloads captured by the step.
            - `screenshot` string: Key for the captured screenshot.
            - `snapshot` string: Key for the captured DOM snapshot.
            - `source` string: Key for the page source or element source.
          - `cdn_resources` SyntheticsTestResultCdnResource[]: CDN resources encountered during the step.
            - `cdn` SyntheticsTestResultCdnProviderInfo: CDN provider details inferred from response headers.
              - …
            - `resolved_ip` string: Resolved IP address for the CDN resource.
            - `timestamp` integer: Unix timestamp (ms) of when the resource was fetched.
            - `timings` object: Timing breakdown for fetching the CDN resource.
          - `click_type` string: Click type performed in a browser step.
          - `compressed_json_descriptor` string: Compressed JSON descriptor for the step (internal format).
          - `config` object: Request configuration executed by this step (API test steps).
          - `description` string: Human-readable description of the step.
          - `duration` number, double: Duration of the step in milliseconds.
          - `element_description` string: Description of the element interacted with by the step.
          - `element_updates` SyntheticsTestResultStepElementUpdates: Element locator updates produced during a step.
            - `multi_locator` object: Updated multi-locator definition.
            - `target_outer_html` string: Updated outer HTML of the targeted element.
            - `version` integer: Version of the element locator definition.
          - `extracted_value` SyntheticsTestResultVariable: A variable used or extracted during a test.
            - `err` string: Error encountered when evaluating the variable.
            - `error_message` string: Human-readable error message for variable evaluation.
            - `example` string: Example value for the variable.
            - `id` string: Variable identifier.
            - `name` string: Variable name.
            - `pattern` string: Pattern used to extract the variable.
            - `secure` boolean: Whether the variable holds a secure value.
            - `type` string: Variable type.
            - `val` string: Evaluated value of the variable.
            - `value` string: Current value of the variable.
          - `failure` SyntheticsTestResultFailure: Details about the failure of a Synthetic test.
            - `code` string: Error code for the failure.
            - `internal_code` string: Internal error code used for debugging.
            - `internal_message` string: Internal error message used for debugging.
            - `message` string: Error message for the failure.
          - `http_results` SyntheticsTestResultAssertionResult[]: HTTP results produced by an MCP step.
            - `actual` unknown
            - `error_message` string: Error message if the assertion failed.
            - `expected` string: Expected value for the assertion. Its type depends on the assertion type.
            - `operator` string: Operator used for the assertion (for example, `is`, `contains`).
            - `property` string: Property targeted by the assertion, when applicable.
            - `target` unknown
            - `target_path` string: JSON path or XPath evaluated for the assertion.
            - `target_path_operator` string: Operator used for the target path assertion.
            - `type` string: Type of the assertion (for example, `responseTime`, `statusCode`, `body`).
            - `valid` boolean: Whether the assertion passed.
          - `id` string: Identifier of the step.
          - `is_critical` boolean: Whether this step is critical for the test outcome.
          - `javascript_custom_assertion_code` boolean: Whether the step uses a custom JavaScript assertion.
          - `locate_element_duration` number, double: Time taken to locate the element in milliseconds.
          - `name` string: Name of the step.
          - `request` SyntheticsTestResultRequestInfo: Details of the outgoing request made during the test execution.
            - `allow_insecure` boolean: Whether insecure certificates are allowed for this request.
            - `body` string: Body sent with the request.
            - `call_type` string: gRPC call type (for example, `unary`, `healthCheck`, or `reflection`).
            - `destination_service` string: Destination service for a Network Path test.
            - `dns_server` string: DNS server used to resolve the target host.
            - `dns_server_port` integer: Port of the DNS server used for resolution.
            - `e2e_queries` integer: Number of end-to-end probe queries issued.
            - `files` SyntheticsTestResultFileRef[]: Files attached to the request.
              - …
            - `headers` object: Headers sent with the request.
            - `host` string: Host targeted by the request.
            - `max_ttl` integer: Maximum TTL for network probe packets.
            - `message` string: Message sent with the request (for WebSocket/TCP/UDP tests).
            - `method` string: HTTP method used for the request.
            - `no_saving_response_body` boolean: Whether the response body was not saved.
            - `port` unknown
            - `service` string: Service name targeted by the request (for gRPC tests).
            - `source_service` string: Source service for a Network Path test.
            - `timeout` integer: Request timeout in milliseconds.
            - `tool_name` string: Name of the MCP tool called (MCP tests only).
            - `traceroute_queries` integer: Number of traceroute probe queries issued.
            - `url` string: URL targeted by the request.
          - `response` SyntheticsTestResultResponseInfo: Details of the response received during the test execution.
            - `body` string: Body of the response.
            - `body_compressed` string: Compressed representation of the response body.
            - `body_hashes` string: Hashes computed over the response body.
            - `body_size` integer: Size of the response body in bytes.
            - `cache_headers` object: Cache-related response headers.
            - `cdn` SyntheticsTestResultCdnProviderInfo: CDN provider details inferred from response headers.
              - …
            - `close` SyntheticsTestResultWebSocketClose: WebSocket close frame information for WebSocket test responses.
              - …
            - `compressed_message` string: Compressed representation of the response message.
            - `headers` object: Response headers.
            - `healthcheck` SyntheticsTestResultHealthCheck: Health check information returned from a gRPC health check call.
              - …
            - `http_version` string: HTTP version of the response.
            - `is_body_truncated` boolean: Whether the response body was truncated.
            - `is_message_truncated` boolean: Whether the response message was truncated.
            - `message` string: Message received in the response (for WebSocket/TCP/UDP tests).
            - `metadata` object: Additional metadata returned with the response.
            - `records` SyntheticsTestResultDnsRecord[]: DNS records returned in the response (DNS tests only).
              - …
            - `redirects` SyntheticsTestResultRedirect[]: Redirect hops encountered while performing the request.
              - …
            - `status_code` integer: HTTP status code of the response.
          - `retries` SyntheticsTestResultStep[]: Retry results for the step.
          - `retry_count` integer: Number of times this step was retried.
          - `rum_context` SyntheticsTestResultRumContext: RUM application context associated with a step or sub-test.
            - `application_id` string: RUM application identifier.
            - `session_id` string: RUM session identifier.
            - `view_id` string: RUM view identifier.
          - `started_at` integer: Unix timestamp (ms) of when the step started.
          - `status` string: Status of the step (for example, `passed`, `failed`).
          - `sub_step` SyntheticsTestResultSubStep: Information about a sub-step in a nested test execution.
            - `level` integer: Depth of the sub-step in the execution tree.
            - `parent_step` SyntheticsTestResultParentStep: Reference to the parent step of a sub-step.
              - …
            - `parent_test` SyntheticsTestResultParentTest: Reference to the parent test of a sub-step.
              - …
          - `sub_test` SyntheticsTestResultSubTest: Information about a sub-test played from a parent browser test.
            - `id` string: Identifier of the sub-test.
            - `playing_tab` integer: Index of the browser tab playing the sub-test.
            - `rum_context` SyntheticsTestResultRumContext: RUM application context associated with a step or sub-test.
              - …
          - `subtype` string: Subtype of the step.
          - `tabs` SyntheticsTestResultTab[]: Browser tabs involved in the step.
            - `focused` boolean: Whether the tab was focused during the step.
            - `title` string: Title of the tab.
            - `url` string: URL loaded in the tab.
          - `timings` object: Timing breakdown of the step execution.
          - `tunnel` boolean: Whether the step was executed through a Synthetics tunnel.
          - `type` string: Type of the step (for example, `click`, `assertElementContent`, `runApiTest`).
          - `url` string: URL associated with the step (for navigation steps).
          - `value` string: Step value. Its type depends on the step type.
          - `variables` SyntheticsTestResultVariables: Variables captured during a test step.
            - `config` SyntheticsTestResultVariable[]: Variables defined in the test configuration.
              - …
            - `extracted` SyntheticsTestResultVariable[]: Variables extracted during the test execution.
              - …
          - `vitals_metrics` SyntheticsTestResultVitalsMetrics[]: Web vitals metrics captured during the step.
            - `cls` number, double: Cumulative Layout Shift score.
            - `fcp` number, double: First Contentful Paint in milliseconds.
            - `inp` number, double: Interaction to Next Paint in milliseconds.
            - `lcp` number, double: Largest Contentful Paint in milliseconds.
            - `ttfb` number, double: Time To First Byte in milliseconds.
            - `url` string: URL that produced the metrics.
          - `warnings` SyntheticsTestResultWarning[]: Warnings emitted during the step.
            - `element_bounds` SyntheticsTestResultBounds[]: Bounds of elements related to the warning.
              - …
            - `message` string: Warning message.
            - `type` string: Type of the warning.
        - `time_to_interactive` integer: Time to interactive in milliseconds (browser tests).
        - `timings` object: Timing breakdown of the test request phases (for example, DNS, TCP, TLS, first byte).
        - `trace` SyntheticsTestResultTrace: Trace identifiers associated with a Synthetic test result.
          - `id` string: Datadog APM trace identifier.
          - `otel_id` string: OpenTelemetry trace identifier.
        - `traceroute` SyntheticsTestResultTracerouteHop[]: Traceroute hop results (for network tests).
          - `host` string: Target hostname.
          - `latency` SyntheticsTestResultNetworkLatency: Latency statistics for a network probe.
            - `avg` number, double: Average latency in milliseconds.
            - `max` number, double: Maximum latency in milliseconds.
            - `min` number, double: Minimum latency in milliseconds.
          - `packet_loss_percentage` number, double: Percentage of probe packets lost.
          - `packet_size` integer: Size of each probe packet in bytes.
          - `packets_received` integer: Number of probe packets received.
          - `packets_sent` integer: Number of probe packets sent.
          - `resolved_ip` string: Resolved IP address for the target.
          - `routers` SyntheticsTestResultRouter[]: List of intermediate routers for the traceroute.
            - `ip` string: IP address of the router.
            - `resolved_host` string: Resolved hostname of the router.
        - `triggered_at` integer: Timestamp of when the test was triggered (in milliseconds).
        - `tunnel` boolean: Whether the test was executed through a tunnel.
        - `turns` SyntheticsTestResultTurn[]: Turns executed by a goal-based browser test.
          - `bucket_keys` SyntheticsTestResultBucketKeys: Storage bucket keys for artifacts produced during a step or test.
            - `after_step_screenshot` string: Key for the screenshot captured after the step (goal-based tests).
            - `after_turn_screenshot` string: Key for the screenshot captured after the turn (goal-based tests).
            - `artifacts` string: Key for miscellaneous artifacts.
            - `before_step_screenshot` string: Key for the screenshot captured before the step (goal-based tests).
            - `before_turn_screenshot` string: Key for the screenshot captured before the turn (goal-based tests).
            - `crash_report` string: Key for a captured crash report.
            - `device_logs` string: Key for captured device logs.
            - `email_messages` string[]: Keys for email message payloads captured by the step.
            - `screenshot` string: Key for the captured screenshot.
            - `snapshot` string: Key for the captured DOM snapshot.
            - `source` string: Key for the page source or element source.
          - `name` string: Name of the turn.
          - `reasoning` string: Agent reasoning produced for this turn.
          - `status` string: Status of the turn (for example, `passed`, `failed`).
          - `steps` SyntheticsTestResultTurnStep[]: Steps executed during the turn.
            - `bucket_keys` SyntheticsTestResultBucketKeys: Storage bucket keys for artifacts produced during a step or test.
              - …
            - `config` object: Browser step configuration for this turn step.
          - `turn_finished_at` integer: Unix timestamp (ms) of when the turn finished.
          - `turn_started_at` integer: Unix timestamp (ms) of when the turn started.
        - `unhealthy` boolean: Whether the test runner was unhealthy at the time of execution.
        - `variables` SyntheticsTestResultVariables: Variables captured during a test step.
          - `config` SyntheticsTestResultVariable[]: Variables defined in the test configuration.
            - `err` string: Error encountered when evaluating the variable.
            - `error_message` string: Human-readable error message for variable evaluation.
            - `example` string: Example value for the variable.
            - `id` string: Variable identifier.
            - `name` string: Variable name.
            - `pattern` string: Pattern used to extract the variable.
            - `secure` boolean: Whether the variable holds a secure value.
            - `type` string: Variable type.
            - `val` string: Evaluated value of the variable.
            - `value` string: Current value of the variable.
          - `extracted` SyntheticsTestResultVariable[]: Variables extracted during the test execution.
            - `err` string: Error encountered when evaluating the variable.
            - `error_message` string: Human-readable error message for variable evaluation.
            - `example` string: Example value for the variable.
            - `id` string: Variable identifier.
            - `name` string: Variable name.
            - `pattern` string: Pattern used to extract the variable.
            - `secure` boolean: Whether the variable holds a secure value.
            - `type` string: Variable type.
            - `val` string: Evaluated value of the variable.
            - `value` string: Current value of the variable.
      - `test_sub_type` 'dns' | 'grpc' | 'http' | 'icmp' | 'mcp' | 'multi' | 'ssl' | 'tcp' | 'udp' | 'websocket': Subtype of the Synthetic test that produced this result.
      - `test_type` 'api' | 'browser' | 'mobile' | 'network': Type of the Synthetic test that produced this result.
    - `id` string: The result ID.
    - `relationships` SyntheticsTestResultRelationships: Relationships for a Synthetic test result.
      - `test` SyntheticsTestResultRelationshipTest: Relationship to the Synthetic test.
        - `data` SyntheticsTestResultRelationshipTestData: Data for the test relationship.
          - `id` string: The public ID of the test.
          - `type` string: Type of the related resource.
    - `type` 'result': Type of the Synthetic test result resource, `result`.
  - `included` SyntheticsTestResultIncludedItem[]: Array of included related resources, such as the test definition.
    - `attributes` object: Attributes of the included resource.
    - `id` string: ID of the included resource.
    - `type` string: Type of the included resource.

## Other responses

- `400`: API error response.
- `404`: API error response.
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
