---
title: Get a browser test result
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > API Reference > Synthetics
---

# Get a browser test result{% #get-a-browser-test-result %}
Copy pageCopied
{% tab title="v2" %}

| Datadog site      | API endpoint                                                                                      |
| ----------------- | ------------------------------------------------------------------------------------------------- |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/synthetics/tests/browser/{public_id}/results/{result_id} |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/synthetics/tests/browser/{public_id}/results/{result_id} |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/synthetics/tests/browser/{public_id}/results/{result_id}      |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/synthetics/tests/browser/{public_id}/results/{result_id}      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/synthetics/tests/browser/{public_id}/results/{result_id}  |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/synthetics/tests/browser/{public_id}/results/{result_id}     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/synthetics/tests/browser/{public_id}/results/{result_id} |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/synthetics/tests/browser/{public_id}/results/{result_id} |

### Overview

Get a specific full result from a given Synthetic browser test. This endpoint requires the `synthetics_read` permission.

OAuth apps require the `synthetics_read` authorization [scope](https://docs.datadoghq.com/api/latest/scopes.md#synthetics) to access this endpoint.



### Arguments

#### Path Parameters

| Name                        | Type   | Description                                                                     |
| --------------------------- | ------ | ------------------------------------------------------------------------------- |
| public_id [*required*] | string | The public ID of the Synthetic browser test to which the target result belongs. |
| result_id [*required*] | string | The ID of the result to get.                                                    |

#### Query Strings

| Name      | Type    | Description                                                 |
| --------- | ------- | ----------------------------------------------------------- |
| event_id  | string  | The event ID used to look up the result in the event store. |
| timestamp | integer | Timestamp in seconds to look up the result.                 |

### Response

{% tab title="200" %}
OK
{% tab title="Model" %}
Response object for a Synthetic test result.

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

{% /tab %}

{% tab title="Example" %}

```json
{
  "data": {
    "attributes": {
      "batch": {
        "id": "batch-abc-123"
      },
      "ci": {
        "pipeline": {
          "id": "pipeline-abc-123",
          "name": "build-and-test",
          "number": 42,
          "url": "https://github.com/DataDog/example/actions/runs/42"
        },
        "provider": {
          "name": "github"
        },
        "stage": {
          "name": "test"
        },
        "workspace_path": "/home/runner/work/example"
      },
      "device": {
        "browser": {
          "type": "edge",
          "user_agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36 Edg/127.0.2651.105 DatadogSynthetics",
          "version": "127.0.2651.105"
        },
        "id": "chrome.laptop_large",
        "name": "Chrome - Laptop Large",
        "platform": {
          "name": "ios",
          "version": "14.8"
        },
        "resolution": {
          "height": 1100,
          "pixel_ratio": 2,
          "width": 1440
        },
        "type": "browser"
      },
      "git": {
        "branch": "main",
        "commit": {
          "author": {
            "date": "2024-08-15T14:23:00Z",
            "email": "jane.doe@example.com",
            "name": "Jane Doe"
          },
          "committer": {
            "date": "2024-08-15T14:23:00Z",
            "email": "jane.doe@example.com",
            "name": "Jane Doe"
          },
          "message": "Fix bug in login flow",
          "sha": "9e107d9d372bb6826bd81d3542a419d6f0e1de56",
          "url": "https://github.com/DataDog/example/commit/9e107d9d372bb6826bd81d3542a419d6f0e1de56"
        },
        "repository_url": "https://github.com/DataDog/example"
      },
      "location": {
        "id": "aws:us-east-1",
        "name": "N. Virginia (AWS)",
        "version": "1.0.0",
        "worker_id": "worker-abc-123"
      },
      "result": {
        "assertions": [
          {
            "actual": 200,
            "error_message": "Assertion failed: expected 200 but got 500",
            "expected": "200",
            "operator": "is",
            "property": "content-type",
            "target": 200,
            "target_path": "$.url",
            "target_path_operator": "contains",
            "type": "statusCode",
            "valid": true
          }
        ],
        "bucket_keys": {
          "after_step_screenshot": "screenshots/after-step-1-1.png",
          "after_turn_screenshot": "screenshots/after-turn-1.png",
          "artifacts": "2/e2e-tests/equ-jku-twc/results/6989498452827932222/edge.laptop_large/artifacts__1724521416257.json",
          "before_step_screenshot": "screenshots/before-step-1-1.png",
          "before_turn_screenshot": "screenshots/before-turn-1.png",
          "crash_report": "2/e2e-tests/d2z-32s-iax/results/1340718101990858549/synthetics:mobile:device:iphone_se_2020_ios_14/crash_report.log",
          "device_logs": "2/e2e-tests/d2z-32s-iax/results/1340718101990858549/synthetics:mobile:device:iphone_se_2020_ios_14/d2z-32s-iax_1340718101990858549_device_logs.log",
          "email_messages": [],
          "screenshot": "2/e2e-tests/equ-jku-twc/results/6989498452827932222/edge.laptop_large/step-0__1724521416269.jpeg",
          "snapshot": "2/e2e-tests/equ-jku-twc/results/6989498452827932222/edge.laptop_large/snapshot.html",
          "source": "2/e2e-tests/d2z-32s-iax/results/1340718101990858549/synthetics:mobile:device:iphone_se_2020_ios_14/step-0__1724445301832.xml"
        },
        "call_type": "unary",
        "cert": {
          "cipher": "TLS_AES_256_GCM_SHA384",
          "exponent": 65537,
          "ext_key_usage": [
            "1.3.6.1.5.5.7.3.1"
          ],
          "fingerprint": "D6:03:5A:9F:93:E1:B7:28:EC:90:C5:9F:72:30:55:7C:74:5F:53:92",
          "fingerprint256": "04:45:93:A9:4C:14:70:47:DB:3C:FC:05:F9:5A:50:4E:DA:DB:A1:C6:37:3D:15:C0:B2:7E:5D:93:5F:A2:02:C7",
          "issuer": {
            "<any-key>": "string"
          },
          "modulus": "C0FCE9F9...",
          "protocol": "TLSv1.3",
          "serial_number": "7B584A1A6670A1EB0941A9A121569D60",
          "subject": {
            "<any-key>": "string"
          },
          "tls_version": 1.3,
          "valid": {
            "from": 1742469686000,
            "to": 1749727285000
          }
        },
        "compressed_json_descriptor": "compressedJsonDescriptorValue",
        "compressed_steps": "eJzLSM3JyQcABiwCFQ==",
        "connection_outcome": "established",
        "dns_resolution": {
          "attempts": [],
          "resolved_ip": "54.243.255.141",
          "resolved_port": "443",
          "server": "8.8.4.4"
        },
        "duration": 380.7,
        "exited_on_step_success": false,
        "failure": {
          "code": "TIMEOUT",
          "internal_code": "INCORRECT_ASSERTION",
          "internal_message": "Assertion failed on step 2",
          "message": "Connection timed out"
        },
        "finished_at": 1723782422760,
        "handshake": {
          "request": {
            "allow_insecure": false,
            "body": "{\"key\":\"value\"}",
            "call_type": "unary",
            "destination_service": "my-service",
            "dns_server": "8.8.8.8",
            "dns_server_port": 53,
            "e2e_queries": 4,
            "files": [
              {
                "bucket_key": "api-upload-file/s3v-msw-tp3/2024-08-20T12:18:27.628081_f433c953-a58a-4296-834b-0669e32ba55f.json",
                "encoding": "base64",
                "name": "dd_logo_h_rgb.jpg",
                "size": 30294,
                "type": "image/jpeg"
              }
            ],
            "headers": {
              "content-type": "application/json"
            },
            "host": "grpcbin.test.k6.io",
            "max_ttl": 64,
            "message": "My message",
            "method": "GET",
            "no_saving_response_body": true,
            "port": 9000,
            "service": "addsvc.Add",
            "source_service": "synthetics",
            "timeout": 60,
            "tool_name": "search",
            "traceroute_queries": 2,
            "url": "https://httpbin.org/anything/lol valuehugo"
          },
          "response": {
            "body": "{\"status\":\"ok\"}",
            "body_compressed": "eJzLSM3JyQcABiwCFQ==",
            "body_hashes": "9e107d9d372bb6826bd81d3542a419d6",
            "body_size": 793,
            "cache_headers": {
              "<any-key>": "string"
            },
            "cdn": {
              "cache": {
                "cached": true,
                "status": "HIT"
              },
              "provider": "google_cloud"
            },
            "close": {
              "reason": "Normal closure",
              "status_code": 1000
            },
            "compressed_message": "eJzLSM3JyQcABiwCFQ==",
            "headers": {
              "content-type": "application/json"
            },
            "healthcheck": {
              "message": {
                "<any-key>": "string"
              },
              "status": 1
            },
            "http_version": "2.0",
            "is_body_truncated": false,
            "is_message_truncated": false,
            "message": "{\"f_string\":\"concat-STATIC_HIDDEN_VALUE\"}",
            "metadata": {
              "<any-key>": "string"
            },
            "records": [
              {
                "type": "A",
                "values": [
                  "213.186.33.19"
                ]
              }
            ],
            "redirects": [
              {
                "location": "https://example.com/new-location",
                "status_code": 301
              }
            ],
            "status_code": 200
          }
        },
        "id": "5158904793181869365",
        "initial_id": "5158904793181869365",
        "is_fast_retry": true,
        "is_last_retry": true,
        "netpath": {
          "destination": {
            "hostname": "34.95.79.70",
            "ip_address": "34.95.79.70",
            "port": 80
          },
          "hops": [
            {
              "hostname": "70.79.95.34.bc.googleusercontent.com",
              "ip_address": "10.240.134.15",
              "reachable": true,
              "rtt": 0.000346599,
              "ttl": 2
            }
          ],
          "origin": "synthetics",
          "pathtrace_id": "5d3cb978-533b-41ce-85a4-3661c8dd6a0b",
          "protocol": "TCP",
          "source": {
            "hostname": "edge-eu1.staging.dog"
          },
          "tags": [
            "synthetics.test_id:nja-epx-mg8"
          ],
          "timestamp": 1744117822266
        },
        "netstats": {
          "hops": {
            "avg": 11,
            "max": 11,
            "min": 11
          },
          "jitter": 0.08,
          "latency": {
            "avg": 1.8805,
            "max": 1.97,
            "min": 1.76
          },
          "packet_loss_percentage": 0,
          "packets_received": 4,
          "packets_sent": 4
        },
        "ocsp": {
          "certificate": {
            "revocation_reason": "unspecified",
            "revocation_time": 1749727285000,
            "serial_number": "7B584A1A6670A1EB0941A9A121569D60"
          },
          "status": "good",
          "updates": {
            "next_update": 1743074486000,
            "produced_at": 1742469686000,
            "this_update": 1742469686000
          }
        },
        "ping": {
          "host": "34.95.79.70",
          "latency": {
            "avg": 1.8805,
            "max": 1.97,
            "min": 1.76
          },
          "packet_loss_percentage": 0,
          "packet_size": 56,
          "packets_received": 4,
          "packets_sent": 4,
          "resolved_ip": "34.95.79.70",
          "routers": [
            {
              "ip": "34.95.79.70",
              "resolved_host": "70.79.95.34.bc.googleusercontent.com"
            }
          ]
        },
        "received_email_count": 1,
        "received_message": "UDP echo: b'Test message'",
        "request": {
          "allow_insecure": false,
          "body": "{\"key\":\"value\"}",
          "call_type": "unary",
          "destination_service": "my-service",
          "dns_server": "8.8.8.8",
          "dns_server_port": 53,
          "e2e_queries": 4,
          "files": [
            {
              "bucket_key": "api-upload-file/s3v-msw-tp3/2024-08-20T12:18:27.628081_f433c953-a58a-4296-834b-0669e32ba55f.json",
              "encoding": "base64",
              "name": "dd_logo_h_rgb.jpg",
              "size": 30294,
              "type": "image/jpeg"
            }
          ],
          "headers": {
            "content-type": "application/json"
          },
          "host": "grpcbin.test.k6.io",
          "max_ttl": 64,
          "message": "My message",
          "method": "GET",
          "no_saving_response_body": true,
          "port": 9000,
          "service": "addsvc.Add",
          "source_service": "synthetics",
          "timeout": 60,
          "tool_name": "search",
          "traceroute_queries": 2,
          "url": "https://httpbin.org/anything/lol valuehugo"
        },
        "resolved_ip": "54.243.255.141",
        "response": {
          "body": "{\"status\":\"ok\"}",
          "body_compressed": "eJzLSM3JyQcABiwCFQ==",
          "body_hashes": "9e107d9d372bb6826bd81d3542a419d6",
          "body_size": 793,
          "cache_headers": {
            "<any-key>": "string"
          },
          "cdn": {
            "cache": {
              "cached": true,
              "status": "HIT"
            },
            "provider": "google_cloud"
          },
          "close": {
            "reason": "Normal closure",
            "status_code": 1000
          },
          "compressed_message": "eJzLSM3JyQcABiwCFQ==",
          "headers": {
            "content-type": "application/json"
          },
          "healthcheck": {
            "message": {
              "<any-key>": "string"
            },
            "status": 1
          },
          "http_version": "2.0",
          "is_body_truncated": false,
          "is_message_truncated": false,
          "message": "{\"f_string\":\"concat-STATIC_HIDDEN_VALUE\"}",
          "metadata": {
            "<any-key>": "string"
          },
          "records": [
            {
              "type": "A",
              "values": [
                "213.186.33.19"
              ]
            }
          ],
          "redirects": [
            {
              "location": "https://example.com/new-location",
              "status_code": 301
            }
          ],
          "status_code": 200
        },
        "run_type": "scheduled",
        "sent_message": "udp mess",
        "start_url": "http://34.95.79.70/prototype",
        "started_at": 1723782422750,
        "status": "passed",
        "steps": [
          {
            "allow_failure": false,
            "api_test": {},
            "assertion_result": {
              "actual": "True\ngood\ngood\ngood\ngood\nTrue",
              "check_type": "contains",
              "expected": "True good good good good True",
              "has_secure_variables": false
            },
            "assertions": [
              {
                "actual": 200,
                "error_message": "Assertion failed: expected 200 but got 500",
                "expected": "200",
                "operator": "is",
                "property": "content-type",
                "target": 200,
                "target_path": "$.url",
                "target_path_operator": "contains",
                "type": "statusCode",
                "valid": true
              }
            ],
            "blocked_requests_urls": [],
            "bounds": {
              "height": 37,
              "width": 343,
              "x": 16,
              "y": 140
            },
            "browser_errors": [
              {
                "description": "Failed to fetch resource",
                "method": "GET",
                "name": "NetworkError",
                "status": 500,
                "type": "network",
                "url": {}
              }
            ],
            "bucket_keys": {
              "after_step_screenshot": "screenshots/after-step-1-1.png",
              "after_turn_screenshot": "screenshots/after-turn-1.png",
              "artifacts": "2/e2e-tests/equ-jku-twc/results/6989498452827932222/edge.laptop_large/artifacts__1724521416257.json",
              "before_step_screenshot": "screenshots/before-step-1-1.png",
              "before_turn_screenshot": "screenshots/before-turn-1.png",
              "crash_report": "2/e2e-tests/d2z-32s-iax/results/1340718101990858549/synthetics:mobile:device:iphone_se_2020_ios_14/crash_report.log",
              "device_logs": "2/e2e-tests/d2z-32s-iax/results/1340718101990858549/synthetics:mobile:device:iphone_se_2020_ios_14/d2z-32s-iax_1340718101990858549_device_logs.log",
              "email_messages": [],
              "screenshot": "2/e2e-tests/equ-jku-twc/results/6989498452827932222/edge.laptop_large/step-0__1724521416269.jpeg",
              "snapshot": "2/e2e-tests/equ-jku-twc/results/6989498452827932222/edge.laptop_large/snapshot.html",
              "source": "2/e2e-tests/d2z-32s-iax/results/1340718101990858549/synthetics:mobile:device:iphone_se_2020_ios_14/step-0__1724445301832.xml"
            },
            "cdn_resources": [
              {
                "cdn": {
                  "cache": {
                    "cached": true,
                    "status": "HIT"
                  },
                  "provider": "google_cloud"
                },
                "resolved_ip": "34.95.79.70",
                "timestamp": 1724521406576,
                "timings": {
                  "firstByte": 99.7,
                  "tcp": 0.9
                }
              }
            ],
            "click_type": "primary",
            "compressed_json_descriptor": "compressedJsonDescriptorValue",
            "config": {},
            "description": "Navigate to start URL",
            "duration": 1015,
            "element_description": "<XCUIElementTypeStaticText value=\"Scroll\" name=\"Scroll\" label=\"Scroll\">",
            "element_updates": {
              "multi_locator": {
                "<any-key>": "string"
              },
              "target_outer_html": "<h1>My website - v4</h1>",
              "version": 3
            },
            "extracted_value": {
              "err": "LOCAL_VARIABLE_UNKNOWN",
              "error_message": "Unknown variable name undefined.",
              "example": "lol value",
              "id": "c896702c-1e34-4e62-a67b-432e8092d062",
              "name": "HEADER_VALUE",
              "pattern": "lol value",
              "secure": false,
              "type": "text",
              "val": "value-to-extract",
              "value": "lol value"
            },
            "failure": {
              "code": "TIMEOUT",
              "internal_code": "INCORRECT_ASSERTION",
              "internal_message": "Assertion failed on step 2",
              "message": "Connection timed out"
            },
            "http_results": [
              {
                "actual": 200,
                "error_message": "Assertion failed: expected 200 but got 500",
                "expected": "200",
                "operator": "is",
                "property": "content-type",
                "target": 200,
                "target_path": "$.url",
                "target_path_operator": "contains",
                "type": "statusCode",
                "valid": true
              }
            ],
            "id": "fkk-j2a-gmw",
            "is_critical": true,
            "javascript_custom_assertion_code": false,
            "locate_element_duration": 845,
            "name": "Extract variable from body",
            "request": {
              "allow_insecure": false,
              "body": "{\"key\":\"value\"}",
              "call_type": "unary",
              "destination_service": "my-service",
              "dns_server": "8.8.8.8",
              "dns_server_port": 53,
              "e2e_queries": 4,
              "files": [
                {
                  "bucket_key": "api-upload-file/s3v-msw-tp3/2024-08-20T12:18:27.628081_f433c953-a58a-4296-834b-0669e32ba55f.json",
                  "encoding": "base64",
                  "name": "dd_logo_h_rgb.jpg",
                  "size": 30294,
                  "type": "image/jpeg"
                }
              ],
              "headers": {
                "content-type": "application/json"
              },
              "host": "grpcbin.test.k6.io",
              "max_ttl": 64,
              "message": "My message",
              "method": "GET",
              "no_saving_response_body": true,
              "port": 9000,
              "service": "addsvc.Add",
              "source_service": "synthetics",
              "timeout": 60,
              "tool_name": "search",
              "traceroute_queries": 2,
              "url": "https://httpbin.org/anything/lol valuehugo"
            },
            "response": {
              "body": "{\"status\":\"ok\"}",
              "body_compressed": "eJzLSM3JyQcABiwCFQ==",
              "body_hashes": "9e107d9d372bb6826bd81d3542a419d6",
              "body_size": 793,
              "cache_headers": {
                "<any-key>": "string"
              },
              "cdn": {
                "cache": {
                  "cached": true,
                  "status": "HIT"
                },
                "provider": "google_cloud"
              },
              "close": {
                "reason": "Normal closure",
                "status_code": 1000
              },
              "compressed_message": "eJzLSM3JyQcABiwCFQ==",
              "headers": {
                "content-type": "application/json"
              },
              "healthcheck": {
                "message": {
                  "<any-key>": "string"
                },
                "status": 1
              },
              "http_version": "2.0",
              "is_body_truncated": false,
              "is_message_truncated": false,
              "message": "{\"f_string\":\"concat-STATIC_HIDDEN_VALUE\"}",
              "metadata": {
                "<any-key>": "string"
              },
              "records": [
                {
                  "type": "A",
                  "values": [
                    "213.186.33.19"
                  ]
                }
              ],
              "redirects": [
                {
                  "location": "https://example.com/new-location",
                  "status_code": 301
                }
              ],
              "status_code": 200
            },
            "retries": [],
            "retry_count": 0,
            "rum_context": {
              "application_id": "00000000-0000-0000-0000-000000000000",
              "session_id": "11111111-1111-1111-1111-111111111111",
              "view_id": "22222222-2222-2222-2222-222222222222"
            },
            "started_at": 1724445283308,
            "status": "passed",
            "sub_step": {
              "level": 1,
              "parent_step": {
                "id": "fkk-j2a-gmw"
              },
              "parent_test": {
                "id": "abc-def-123"
              }
            },
            "sub_test": {
              "id": "abc-def-123",
              "playing_tab": 0,
              "rum_context": {
                "application_id": "00000000-0000-0000-0000-000000000000",
                "session_id": "11111111-1111-1111-1111-111111111111",
                "view_id": "22222222-2222-2222-2222-222222222222"
              }
            },
            "subtype": "http",
            "tabs": [
              {
                "focused": true,
                "title": "Team Browser mini-websites",
                "url": "http://34.95.79.70/prototype"
              }
            ],
            "timings": {},
            "tunnel": false,
            "type": "click",
            "url": "http://34.95.79.70/prototype",
            "value": "http://34.95.79.70/prototype",
            "variables": {
              "config": [
                {
                  "err": "LOCAL_VARIABLE_UNKNOWN",
                  "error_message": "Unknown variable name undefined.",
                  "example": "lol value",
                  "id": "c896702c-1e34-4e62-a67b-432e8092d062",
                  "name": "HEADER_VALUE",
                  "pattern": "lol value",
                  "secure": false,
                  "type": "text",
                  "val": "value-to-extract",
                  "value": "lol value"
                }
              ],
              "extracted": [
                {
                  "err": "LOCAL_VARIABLE_UNKNOWN",
                  "error_message": "Unknown variable name undefined.",
                  "example": "lol value",
                  "id": "c896702c-1e34-4e62-a67b-432e8092d062",
                  "name": "HEADER_VALUE",
                  "pattern": "lol value",
                  "secure": false,
                  "type": "text",
                  "val": "value-to-extract",
                  "value": "lol value"
                }
              ]
            },
            "vitals_metrics": [
              {
                "cls": 0,
                "fcp": 120.3,
                "inp": 85,
                "lcp": 210.5,
                "ttfb": 95.2,
                "url": "http://34.95.79.70/prototype"
              }
            ],
            "warnings": [
              {
                "element_bounds": [
                  {
                    "height": 37,
                    "width": 343,
                    "x": 16,
                    "y": 140
                  }
                ],
                "message": "Element is not visible in the viewport",
                "type": "visibility"
              }
            ]
          }
        ],
        "time_to_interactive": 183,
        "timings": {
          "dns": 2.9,
          "download": 2.1,
          "firstByte": 95.2,
          "ssl": 187.9,
          "tcp": 92.6,
          "total": 380.7
        },
        "trace": {
          "id": "5513046492231128177",
          "otel_id": "d8ba00eb1507bdba8643ba8e7a1c022c"
        },
        "traceroute": [
          {
            "host": "34.95.79.70",
            "latency": {
              "avg": 1.8805,
              "max": 1.97,
              "min": 1.76
            },
            "packet_loss_percentage": 0,
            "packet_size": 56,
            "packets_received": 4,
            "packets_sent": 4,
            "resolved_ip": "34.95.79.70",
            "routers": [
              {
                "ip": "34.95.79.70",
                "resolved_host": "70.79.95.34.bc.googleusercontent.com"
              }
            ]
          }
        ],
        "triggered_at": 1723782422715,
        "tunnel": false,
        "turns": [
          {
            "bucket_keys": {
              "after_step_screenshot": "screenshots/after-step-1-1.png",
              "after_turn_screenshot": "screenshots/after-turn-1.png",
              "artifacts": "2/e2e-tests/equ-jku-twc/results/6989498452827932222/edge.laptop_large/artifacts__1724521416257.json",
              "before_step_screenshot": "screenshots/before-step-1-1.png",
              "before_turn_screenshot": "screenshots/before-turn-1.png",
              "crash_report": "2/e2e-tests/d2z-32s-iax/results/1340718101990858549/synthetics:mobile:device:iphone_se_2020_ios_14/crash_report.log",
              "device_logs": "2/e2e-tests/d2z-32s-iax/results/1340718101990858549/synthetics:mobile:device:iphone_se_2020_ios_14/d2z-32s-iax_1340718101990858549_device_logs.log",
              "email_messages": [],
              "screenshot": "2/e2e-tests/equ-jku-twc/results/6989498452827932222/edge.laptop_large/step-0__1724521416269.jpeg",
              "snapshot": "2/e2e-tests/equ-jku-twc/results/6989498452827932222/edge.laptop_large/snapshot.html",
              "source": "2/e2e-tests/d2z-32s-iax/results/1340718101990858549/synthetics:mobile:device:iphone_se_2020_ios_14/step-0__1724445301832.xml"
            },
            "name": "Turn 1",
            "reasoning": "I need to navigate to the chairs section",
            "status": "passed",
            "steps": [
              {
                "bucket_keys": {
                  "after_step_screenshot": "screenshots/after-step-1-1.png",
                  "after_turn_screenshot": "screenshots/after-turn-1.png",
                  "artifacts": "2/e2e-tests/equ-jku-twc/results/6989498452827932222/edge.laptop_large/artifacts__1724521416257.json",
                  "before_step_screenshot": "screenshots/before-step-1-1.png",
                  "before_turn_screenshot": "screenshots/before-turn-1.png",
                  "crash_report": "2/e2e-tests/d2z-32s-iax/results/1340718101990858549/synthetics:mobile:device:iphone_se_2020_ios_14/crash_report.log",
                  "device_logs": "2/e2e-tests/d2z-32s-iax/results/1340718101990858549/synthetics:mobile:device:iphone_se_2020_ios_14/d2z-32s-iax_1340718101990858549_device_logs.log",
                  "email_messages": [],
                  "screenshot": "2/e2e-tests/equ-jku-twc/results/6989498452827932222/edge.laptop_large/step-0__1724521416269.jpeg",
                  "snapshot": "2/e2e-tests/equ-jku-twc/results/6989498452827932222/edge.laptop_large/snapshot.html",
                  "source": "2/e2e-tests/d2z-32s-iax/results/1340718101990858549/synthetics:mobile:device:iphone_se_2020_ios_14/step-0__1724445301832.xml"
                },
                "config": {
                  "id": "step-1",
                  "name": "Click on div \"Chairs\"",
                  "type": "click"
                }
              }
            ],
            "turn_finished_at": 1724521438800,
            "turn_started_at": 1724521436800
          }
        ],
        "unhealthy": false,
        "variables": {
          "config": [
            {
              "err": "LOCAL_VARIABLE_UNKNOWN",
              "error_message": "Unknown variable name undefined.",
              "example": "lol value",
              "id": "c896702c-1e34-4e62-a67b-432e8092d062",
              "name": "HEADER_VALUE",
              "pattern": "lol value",
              "secure": false,
              "type": "text",
              "val": "value-to-extract",
              "value": "lol value"
            }
          ],
          "extracted": [
            {
              "err": "LOCAL_VARIABLE_UNKNOWN",
              "error_message": "Unknown variable name undefined.",
              "example": "lol value",
              "id": "c896702c-1e34-4e62-a67b-432e8092d062",
              "name": "HEADER_VALUE",
              "pattern": "lol value",
              "secure": false,
              "type": "text",
              "val": "value-to-extract",
              "value": "lol value"
            }
          ]
        }
      },
      "test_sub_type": "http",
      "test_type": "api"
    },
    "id": "5158904793181869365",
    "relationships": {
      "test": {
        "data": {
          "id": "abc-def-123",
          "type": "test"
        }
      }
    },
    "type": "result"
  },
  "included": [
    {
      "attributes": {},
      "id": "abc-def-123",
      "type": "test"
    }
  ]
}
```

{% /tab %}

{% /tab %}

{% tab title="400" %}
API error response.
{% tab title="Model" %}
API error response.

| Field                    | Type     | Description       |
| ------------------------ | -------- | ----------------- |
| errors [*required*] | [string] | A list of errors. |

{% /tab %}

{% tab title="Example" %}

```json
{
  "errors": [
    "Bad Request"
  ]
}
```

{% /tab %}

{% /tab %}

{% tab title="404" %}
API error response.
{% tab title="Model" %}
API error response.

| Field                    | Type     | Description       |
| ------------------------ | -------- | ----------------- |
| errors [*required*] | [string] | A list of errors. |

{% /tab %}

{% tab title="Example" %}

```json
{
  "errors": [
    "Bad Request"
  ]
}
```

{% /tab %}

{% /tab %}

{% tab title="429" %}
Too many requests
{% tab title="Model" %}
API error response.

| Field                    | Type     | Description       |
| ------------------------ | -------- | ----------------- |
| errors [*required*] | [string] | A list of errors. |

{% /tab %}

{% tab title="Example" %}

```json
{
  "errors": [
    "Bad Request"
  ]
}
```

{% /tab %}

{% /tab %}

### Code Example

##### 
                  \# Path parameters export public_id="CHANGE_ME" export result_id="CHANGE_ME" \# Curl command curl -X GET "https://api.datadoghq.com/api/v2/synthetics/tests/browser/${public_id}/results/${result_id}" \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}" 
                
##### 

```python
"""
Get a browser test result returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v2.api.synthetics_api import SyntheticsApi

configuration = Configuration()
with ApiClient(configuration) as api_client:
    api_instance = SyntheticsApi(api_client)
    response = api_instance.get_synthetics_browser_test_result(
        public_id="public_id",
        result_id="result_id",
    )

    print(response)
```

#### Instructions

First [install the library and its dependencies](https://docs.datadoghq.com/api/latest.md?code-lang=python) and then save the example to `example.py` and run following commands:
    DD_SITE="datadoghq.com" DD_API_KEY="<DD_API_KEY>" DD_APP_KEY="<DD_APP_KEY>" python3 "example.py"
##### 

```ruby
# Get a browser test result returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::SyntheticsAPI.new
p api_instance.get_synthetics_browser_test_result("public_id", "result_id")
```

#### Instructions

First [install the library and its dependencies](https://docs.datadoghq.com/api/latest.md?code-lang=ruby) and then save the example to `example.rb` and run following commands:
    DD_SITE="datadoghq.com" DD_API_KEY="<DD_API_KEY>" DD_APP_KEY="<DD_APP_KEY>" rb "example.rb"
##### 

```go
// Get a browser test result returns "OK" response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV2"
)

func main() {
	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV2.NewSyntheticsApi(apiClient)
	resp, r, err := api.GetSyntheticsBrowserTestResult(ctx, "public_id", "result_id", *datadogV2.NewGetSyntheticsBrowserTestResultOptionalParameters())

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `SyntheticsApi.GetSyntheticsBrowserTestResult`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `SyntheticsApi.GetSyntheticsBrowserTestResult`:\n%s\n", responseContent)
}
```

#### Instructions

First [install the library and its dependencies](https://docs.datadoghq.com/api/latest.md?code-lang=go) and then save the example to `main.go` and run following commands:
    DD_SITE="datadoghq.com" DD_API_KEY="<DD_API_KEY>" DD_APP_KEY="<DD_APP_KEY>" go run "main.go"
##### 

```java
// Get a browser test result returns "OK" response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v2.api.SyntheticsApi;
import com.datadog.api.client.v2.model.SyntheticsTestResultResponse;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    SyntheticsApi apiInstance = new SyntheticsApi(defaultClient);

    try {
      SyntheticsTestResultResponse result =
          apiInstance.getSyntheticsBrowserTestResult("public_id", "result_id");
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling SyntheticsApi#getSyntheticsBrowserTestResult");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}
```

#### Instructions

First [install the library and its dependencies](https://docs.datadoghq.com/api/latest.md?code-lang=java) and then save the example to `Example.java` and run following commands:
    DD_SITE="datadoghq.com" DD_API_KEY="<DD_API_KEY>" DD_APP_KEY="<DD_APP_KEY>" java "Example.java"
##### 

```rust
// Get a browser test result returns "OK" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_synthetics::GetSyntheticsBrowserTestResultOptionalParams;
use datadog_api_client::datadogV2::api_synthetics::SyntheticsAPI;

#[tokio::main]
async fn main() {
    let configuration = datadog::Configuration::new();
    let api = SyntheticsAPI::with_config(configuration);
    let resp = api
        .get_synthetics_browser_test_result(
            "public_id".to_string(),
            "result_id".to_string(),
            GetSyntheticsBrowserTestResultOptionalParams::default(),
        )
        .await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}
```

#### Instructions

First [install the library and its dependencies](https://docs.datadoghq.com/api/latest.md?code-lang=rust) and then save the example to `src/main.rs` and run following commands:
    DD_SITE="datadoghq.com" DD_API_KEY="<DD_API_KEY>" DD_APP_KEY="<DD_APP_KEY>" cargo run
##### 

```typescript
/**
 * Get a browser test result returns "OK" response
 */

import { client, v2 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v2.SyntheticsApi(configuration);

const params: v2.SyntheticsApiGetSyntheticsBrowserTestResultRequest = {
  publicId: "public_id",
  resultId: "result_id",
};

apiInstance
  .getSyntheticsBrowserTestResult(params)
  .then((data: v2.SyntheticsTestResultResponse) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));
```

#### Instructions

First [install the library and its dependencies](https://docs.datadoghq.com/api/latest.md?code-lang=typescript) and then save the example to `example.ts` and run following commands:
    DD_SITE="datadoghq.com" DD_API_KEY="<DD_API_KEY>" DD_APP_KEY="<DD_APP_KEY>" tsc "example.ts"
{% /tab %}

{% tab title="v1" %}

| Datadog site      | API endpoint                                                                                      |
| ----------------- | ------------------------------------------------------------------------------------------------- |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v1/synthetics/tests/browser/{public_id}/results/{result_id} |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v1/synthetics/tests/browser/{public_id}/results/{result_id} |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v1/synthetics/tests/browser/{public_id}/results/{result_id}      |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v1/synthetics/tests/browser/{public_id}/results/{result_id}      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v1/synthetics/tests/browser/{public_id}/results/{result_id}  |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v1/synthetics/tests/browser/{public_id}/results/{result_id}     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v1/synthetics/tests/browser/{public_id}/results/{result_id} |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v1/synthetics/tests/browser/{public_id}/results/{result_id} |

### Overview

Get a specific full result from a given Synthetic browser test. This endpoint requires the `synthetics_read` permission.

OAuth apps require the `synthetics_read` authorization [scope](https://docs.datadoghq.com/api/latest/scopes.md#synthetics) to access this endpoint.



### Arguments

#### Path Parameters

| Name                        | Type   | Description                                                           |
| --------------------------- | ------ | --------------------------------------------------------------------- |
| public_id [*required*] | string | The public ID of the browser test to which the target result belongs. |
| result_id [*required*] | string | The ID of the result to get.                                          |

### Response

{% tab title="200" %}
OK
{% tab title="Model" %}
Object returned describing a browser test result.

| Parent field         | Field                                    | Type            | Description                                                                                                                                                                                                                                                                                     |
| -------------------- | ---------------------------------------- | --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|                      | check                                    | object          | Object describing the browser test configuration.                                                                                                                                                                                                                                               |
| check                | config [*required*]                 | object          | Configuration object for a Synthetic test.                                                                                                                                                                                                                                                      |
| config               | assertions                               | [ <oneOf>] | Array of assertions used for the test. Required for single API tests.                                                                                                                                                                                                                           |
| assertions           | Option 1                                 | object          | An assertion which uses a simple target.                                                                                                                                                                                                                                                        |
| Option 1             | operator [*required*]               | enum            | Assertion operator to apply. Allowed enum values: `contains,doesNotContain,is,isNot,lessThan,lessThanOrEqual,moreThan,moreThanOrEqual,matches,doesNotMatch`                                                                                                                                     |
| Option 1             | property                                 | string          | The associated assertion property.                                                                                                                                                                                                                                                              |
| Option 1             | target [*required*]                 |  <oneOf>   | Value used by the operator.                                                                                                                                                                                                                                                                     |
| target               | Option 1                                 | double          | Numeric value used by the operator in assertions.                                                                                                                                                                                                                                               |
| target               | Option 2                                 | string          | String value used by the operator in assertions. Supports templated variables.                                                                                                                                                                                                                  |
| Option 1             | timingsScope                             | enum            | Timings scope for response time assertions. Allowed enum values: `all,withoutDNS`                                                                                                                                                                                                               |
| Option 1             | type [*required*]                   | enum            | Type of the assertion. Allowed enum values: `body,header,statusCode,certificate,responseTime,property,recordEvery,recordSome,tlsVersion,minTlsVersion`                                                                                                                                          |
| assertions           | Option 2                                 | object          | An assertion which targets body hash.                                                                                                                                                                                                                                                           |
| Option 2             | operator [*required*]               | enum            | Assertion operator to apply. Allowed enum values: `md5,sha1,sha256`                                                                                                                                                                                                                             |
| Option 2             | target [*required*]                 |  <oneOf>   | Value used by the operator.                                                                                                                                                                                                                                                                     |
| target               | Option 1                                 | double          | Numeric value used by the operator in assertions.                                                                                                                                                                                                                                               |
| target               | Option 2                                 | string          | String value used by the operator in assertions. Supports templated variables.                                                                                                                                                                                                                  |
| Option 2             | type [*required*]                   | enum            | Type of the assertion. Allowed enum values: `bodyHash`                                                                                                                                                                                                                                          |
| assertions           | Option 3                                 | object          | An assertion for the `validatesJSONPath` operator.                                                                                                                                                                                                                                              |
| Option 3             | operator [*required*]               | enum            | Assertion operator to apply. Allowed enum values: `validatesJSONPath`                                                                                                                                                                                                                           |
| Option 3             | property                                 | string          | The associated assertion property.                                                                                                                                                                                                                                                              |
| Option 3             | target                                   | object          | Composed target for `validatesJSONPath` operator.                                                                                                                                                                                                                                               |
| target               | elementsOperator                         | string          | The element from the list of results to assert on. To choose from the first element in the list `firstElementMatches`, every element in the list `everyElementMatches`, at least one element in the list `atLeastOneElementMatches` or the serialized value of the list `serializationMatches`. |
| target               | jsonPath                                 | string          | The JSON path to assert.                                                                                                                                                                                                                                                                        |
| target               | operator                                 | string          | The specific operator to use on the path.                                                                                                                                                                                                                                                       |
| target               | targetValue                              |  <oneOf>   | The path target value to compare to.                                                                                                                                                                                                                                                            |
| targetValue          | Option 1                                 | double          | Numeric value used by the operator in assertions.                                                                                                                                                                                                                                               |
| targetValue          | Option 2                                 | string          | String value used by the operator in assertions. Supports templated variables.                                                                                                                                                                                                                  |
| Option 3             | type [*required*]                   | enum            | Type of the assertion. Allowed enum values: `body,header,statusCode,certificate,responseTime,property,recordEvery,recordSome,tlsVersion,minTlsVersion`                                                                                                                                          |
| assertions           | Option 4                                 | object          | An assertion for the `validatesJSONSchema` operator.                                                                                                                                                                                                                                            |
| Option 4             | operator [*required*]               | enum            | Assertion operator to apply. Allowed enum values: `validatesJSONSchema`                                                                                                                                                                                                                         |
| Option 4             | target                                   | object          | Composed target for `validatesJSONSchema` operator.                                                                                                                                                                                                                                             |
| target               | jsonSchema                               | string          | The JSON Schema to assert.                                                                                                                                                                                                                                                                      |
| target               | metaSchema                               | enum            | The JSON Schema meta-schema version used in the assertion. Allowed enum values: `draft-07,draft-06`                                                                                                                                                                                             |
| Option 4             | type [*required*]                   | enum            | Type of the assertion. Allowed enum values: `body,header,statusCode,certificate,responseTime,property,recordEvery,recordSome,tlsVersion,minTlsVersion`                                                                                                                                          |
| assertions           | Option 5                                 | object          | An assertion for the `validatesXPath` operator.                                                                                                                                                                                                                                                 |
| Option 5             | operator [*required*]               | enum            | Assertion operator to apply. Allowed enum values: `validatesXPath`                                                                                                                                                                                                                              |
| Option 5             | property                                 | string          | The associated assertion property.                                                                                                                                                                                                                                                              |
| Option 5             | target                                   | object          | Composed target for `validatesXPath` operator.                                                                                                                                                                                                                                                  |
| target               | operator                                 | string          | The specific operator to use on the path.                                                                                                                                                                                                                                                       |
| target               | targetValue                              |  <oneOf>   | The path target value to compare to.                                                                                                                                                                                                                                                            |
| targetValue          | Option 1                                 | double          | Numeric value used by the operator in assertions.                                                                                                                                                                                                                                               |
| targetValue          | Option 2                                 | string          | String value used by the operator in assertions. Supports templated variables.                                                                                                                                                                                                                  |
| target               | xPath                                    | string          | The X path to assert.                                                                                                                                                                                                                                                                           |
| Option 5             | type [*required*]                   | enum            | Type of the assertion. Allowed enum values: `body,header,statusCode,certificate,responseTime,property,recordEvery,recordSome,tlsVersion,minTlsVersion`                                                                                                                                          |
| assertions           | Option 6                                 | object          | A JavaScript assertion.                                                                                                                                                                                                                                                                         |
| Option 6             | code [*required*]                   | string          | The JavaScript code that performs the assertions.                                                                                                                                                                                                                                               |
| Option 6             | type [*required*]                   | enum            | Type of the assertion. Allowed enum values: `javascript`                                                                                                                                                                                                                                        |
| assertions           | Option 7                                 | object          | An assertion that checks that an MCP server advertises the expected capabilities.                                                                                                                                                                                                               |
| Option 7             | operator [*required*]               | enum            | Assertion operator to apply. Allowed enum values: `contains,doesNotContain,is,isNot,lessThan,lessThanOrEqual,moreThan,moreThanOrEqual,matches,doesNotMatch`                                                                                                                                     |
| Option 7             | target [*required*]                 | [string]        | List of MCP server capabilities to assert against.                                                                                                                                                                                                                                              |
| Option 7             | type [*required*]                   | enum            | Type of the assertion. Allowed enum values: `mcpServerCapabilities`                                                                                                                                                                                                                             |
| assertions           | Option 8                                 | object          | An assertion that verifies the MCP server response respects the MCP specification.                                                                                                                                                                                                              |
| Option 8             | type [*required*]                   | enum            | Type of the assertion. Allowed enum values: `mcpRespectsSpecification`                                                                                                                                                                                                                          |
| config               | configVariables                          | [object]        | Array of variables used for the test.                                                                                                                                                                                                                                                           |
| configVariables      | example                                  | string          | Example for the variable.                                                                                                                                                                                                                                                                       |
| configVariables      | id                                       | string          | ID of the variable for global variables.                                                                                                                                                                                                                                                        |
| configVariables      | name [*required*]                   | string          | Name of the variable.                                                                                                                                                                                                                                                                           |
| configVariables      | pattern                                  | string          | Pattern of the variable.                                                                                                                                                                                                                                                                        |
| configVariables      | secure                                   | boolean         | Whether the value of this variable will be obfuscated in test results. Only for config variables of type `text`.                                                                                                                                                                                |
| configVariables      | type [*required*]                   | enum            | Type of the configuration variable. Allowed enum values: `global,text,email`                                                                                                                                                                                                                    |
| config               | request                                  | object          | Object describing the Synthetic test request.                                                                                                                                                                                                                                                   |
| request              | allow_insecure                           | boolean         | Allows loading insecure content for an HTTP request in a multistep test step.                                                                                                                                                                                                                   |
| request              | basicAuth                                |  <oneOf>   | Object to handle basic authentication when performing the test.                                                                                                                                                                                                                                 |
| basicAuth            | Option 1                                 | object          | Object to handle basic authentication when performing the test.                                                                                                                                                                                                                                 |
| Option 1             | password                                 | string          | Password to use for the basic authentication.                                                                                                                                                                                                                                                   |
| Option 1             | type                                     | enum            | The type of basic authentication to use when performing the test. Allowed enum values: `web`                                                                                                                                                                                                    |
| Option 1             | username                                 | string          | Username to use for the basic authentication.                                                                                                                                                                                                                                                   |
| basicAuth            | Option 2                                 | object          | Object to handle `SIGV4` authentication when performing the test.                                                                                                                                                                                                                               |
| Option 2             | accessKey [*required*]              | string          | Access key for the `SIGV4` authentication.                                                                                                                                                                                                                                                      |
| Option 2             | region                                   | string          | Region for the `SIGV4` authentication.                                                                                                                                                                                                                                                          |
| Option 2             | secretKey [*required*]              | string          | Secret key for the `SIGV4` authentication.                                                                                                                                                                                                                                                      |
| Option 2             | serviceName                              | string          | Service name for the `SIGV4` authentication.                                                                                                                                                                                                                                                    |
| Option 2             | sessionToken                             | string          | Session token for the `SIGV4` authentication.                                                                                                                                                                                                                                                   |
| Option 2             | type [*required*]                   | enum            | The type of authentication to use when performing the test. Allowed enum values: `sigv4`                                                                                                                                                                                                        |
| basicAuth            | Option 3                                 | object          | Object to handle `NTLM` authentication when performing the test.                                                                                                                                                                                                                                |
| Option 3             | domain                                   | string          | Domain for the authentication to use when performing the test.                                                                                                                                                                                                                                  |
| Option 3             | password                                 | string          | Password for the authentication to use when performing the test.                                                                                                                                                                                                                                |
| Option 3             | type [*required*]                   | enum            | The type of authentication to use when performing the test. Allowed enum values: `ntlm`                                                                                                                                                                                                         |
| Option 3             | username                                 | string          | Username for the authentication to use when performing the test.                                                                                                                                                                                                                                |
| Option 3             | workstation                              | string          | Workstation for the authentication to use when performing the test.                                                                                                                                                                                                                             |
| basicAuth            | Option 4                                 | object          | Object to handle digest authentication when performing the test.                                                                                                                                                                                                                                |
| Option 4             | password [*required*]               | string          | Password to use for the digest authentication.                                                                                                                                                                                                                                                  |
| Option 4             | type [*required*]                   | enum            | The type of basic authentication to use when performing the test. Allowed enum values: `digest`                                                                                                                                                                                                 |
| Option 4             | username [*required*]               | string          | Username to use for the digest authentication.                                                                                                                                                                                                                                                  |
| basicAuth            | Option 5                                 | object          | Object to handle `oauth client` authentication when performing the test.                                                                                                                                                                                                                        |
| Option 5             | accessTokenUrl [*required*]         | string          | Access token URL to use when performing the authentication.                                                                                                                                                                                                                                     |
| Option 5             | audience                                 | string          | Audience to use when performing the authentication.                                                                                                                                                                                                                                             |
| Option 5             | clientId [*required*]               | string          | Client ID to use when performing the authentication.                                                                                                                                                                                                                                            |
| Option 5             | clientSecret [*required*]           | string          | Client secret to use when performing the authentication.                                                                                                                                                                                                                                        |
| Option 5             | resource                                 | string          | Resource to use when performing the authentication.                                                                                                                                                                                                                                             |
| Option 5             | scope                                    | string          | Scope to use when performing the authentication.                                                                                                                                                                                                                                                |
| Option 5             | tokenApiAuthentication [*required*] | enum            | Type of token to use when performing the authentication. Allowed enum values: `header,body`                                                                                                                                                                                                     |
| Option 5             | type [*required*]                   | enum            | The type of basic authentication to use when performing the test. Allowed enum values: `oauth-client`                                                                                                                                                                                           |
| basicAuth            | Option 6                                 | object          | Object to handle `oauth rop` authentication when performing the test.                                                                                                                                                                                                                           |
| Option 6             | accessTokenUrl [*required*]         | string          | Access token URL to use when performing the authentication.                                                                                                                                                                                                                                     |
| Option 6             | audience                                 | string          | Audience to use when performing the authentication.                                                                                                                                                                                                                                             |
| Option 6             | clientId                                 | string          | Client ID to use when performing the authentication.                                                                                                                                                                                                                                            |
| Option 6             | clientSecret                             | string          | Client secret to use when performing the authentication.                                                                                                                                                                                                                                        |
| Option 6             | password [*required*]               | string          | Password to use when performing the authentication.                                                                                                                                                                                                                                             |
| Option 6             | resource                                 | string          | Resource to use when performing the authentication.                                                                                                                                                                                                                                             |
| Option 6             | scope                                    | string          | Scope to use when performing the authentication.                                                                                                                                                                                                                                                |
| Option 6             | tokenApiAuthentication [*required*] | enum            | Type of token to use when performing the authentication. Allowed enum values: `header,body`                                                                                                                                                                                                     |
| Option 6             | type [*required*]                   | enum            | The type of basic authentication to use when performing the test. Allowed enum values: `oauth-rop`                                                                                                                                                                                              |
| Option 6             | username [*required*]               | string          | Username to use when performing the authentication.                                                                                                                                                                                                                                             |
| basicAuth            | Option 7                                 | object          | Object to handle JWT authentication when performing the test.                                                                                                                                                                                                                                   |
| Option 7             | addClaims                                | object          | Standard JWT claims to automatically inject.                                                                                                                                                                                                                                                    |
| addClaims            | exp                                      | boolean         | Whether to inject the `exp` (expiration) claim.                                                                                                                                                                                                                                                 |
| addClaims            | iat                                      | boolean         | Whether to inject the `iat` (issued at) claim.                                                                                                                                                                                                                                                  |
| Option 7             | algorithm [*required*]              | enum            | Algorithm to use for the JWT authentication. Allowed enum values: `HS256,RS256,ES256`                                                                                                                                                                                                           |
| Option 7             | expiresIn                                | int64           | Token time-to-live in seconds.                                                                                                                                                                                                                                                                  |
| Option 7             | header                                   | string          | Custom JWT header as a JSON string.                                                                                                                                                                                                                                                             |
| Option 7             | payload [*required*]                | string          | JWT claims as a JSON string.                                                                                                                                                                                                                                                                    |
| Option 7             | secret [*required*]                 | string          | Signing key for the JWT authentication. Use the shared secret for `HS256` or the private key (PEM format) for `RS256` and `ES256`.                                                                                                                                                              |
| Option 7             | tokenPrefix                              | string          | Prefix added before the token in the `Authorization` header. Defaults to `Bearer`.                                                                                                                                                                                                              |
| Option 7             | type [*required*]                   | enum            | The type of authentication to use when performing the test. Allowed enum values: `jwt`                                                                                                                                                                                                          |
| request              | body                                     | string          | Body to include in the test.                                                                                                                                                                                                                                                                    |
| request              | bodyType                                 | enum            | Type of the request body. Allowed enum values: `text/plain,application/json,text/xml,text/html,application/x-www-form-urlencoded,graphql,application/octet-stream,multipart/form-data`                                                                                                          |
| request              | callType                                 | enum            | The type of call to perform. Used by gRPC steps (`healthcheck`, `unary`) and MCP steps (`init`, `tool_list`, `tool_call`). Valid values depend on the parent step's `subtype`. Allowed enum values: `healthcheck,unary,init,tool_list,tool_call`                                                |
| request              | certificate                              | object          | Client certificate to use when performing the test request.                                                                                                                                                                                                                                     |
| certificate          | cert                                     | object          | Define a request certificate.                                                                                                                                                                                                                                                                   |
| cert                 | content                                  | string          | Content of the certificate or key.                                                                                                                                                                                                                                                              |
| cert                 | filename                                 | string          | File name for the certificate or key.                                                                                                                                                                                                                                                           |
| cert                 | updatedAt                                | string          | Date of update of the certificate or key, ISO format.                                                                                                                                                                                                                                           |
| certificate          | key                                      | object          | Define a request certificate.                                                                                                                                                                                                                                                                   |
| key                  | content                                  | string          | Content of the certificate or key.                                                                                                                                                                                                                                                              |
| key                  | filename                                 | string          | File name for the certificate or key.                                                                                                                                                                                                                                                           |
| key                  | updatedAt                                | string          | Date of update of the certificate or key, ISO format.                                                                                                                                                                                                                                           |
| request              | certificateDomains                       | [string]        | By default, the client certificate is applied on the domain of the starting URL for browser tests. If you want your client certificate to be applied on other domains instead, add them in `certificateDomains`.                                                                                |
| request              | checkCertificateRevocation               | boolean         | Check for certificate revocation.                                                                                                                                                                                                                                                               |
| request              | compressedJsonDescriptor                 | string          | A protobuf JSON descriptor that needs to be gzipped first then base64 encoded.                                                                                                                                                                                                                  |
| request              | compressedProtoFile                      | string          | A protobuf file that needs to be gzipped first then base64 encoded.                                                                                                                                                                                                                             |
| request              | disableAiaIntermediateFetching           | boolean         | Disable fetching intermediate certificates from AIA.                                                                                                                                                                                                                                            |
| request              | dnsServer                                | string          | DNS server to use for DNS tests.                                                                                                                                                                                                                                                                |
| request              | dnsServerPort                            |  <oneOf>   | DNS server port to use for DNS tests.                                                                                                                                                                                                                                                           |
| dnsServerPort        | Option 1                                 | int64           | Integer DNS server port number to use when performing the test.                                                                                                                                                                                                                                 |
| dnsServerPort        | Option 2                                 | string          | String DNS server port number to use when performing the test. Supports templated variables.                                                                                                                                                                                                    |
| request              | files                                    | [object]        | Files to be used as part of the request in the test. Only valid if `bodyType` is `multipart/form-data`.                                                                                                                                                                                         |
| files                | bucketKey                                | string          | Bucket key of the file.                                                                                                                                                                                                                                                                         |
| files                | content                                  | string          | Content of the file.                                                                                                                                                                                                                                                                            |
| files                | encoding                                 | string          | Encoding of the file content. The only supported value is `base64`, indicating the `content` field contains base64-encoded data.                                                                                                                                                                |
| files                | name                                     | string          | Name of the file.                                                                                                                                                                                                                                                                               |
| files                | originalFileName                         | string          | Original name of the file.                                                                                                                                                                                                                                                                      |
| files                | size                                     | int64           | Size of the file.                                                                                                                                                                                                                                                                               |
| files                | type                                     | string          | Type of the file.                                                                                                                                                                                                                                                                               |
| request              | follow_redirects                         | boolean         | Specifies whether or not the request follows redirects.                                                                                                                                                                                                                                         |
| request              | form                                     | object          | Form to be used as part of the request in the test. Only valid if `bodyType` is `multipart/form-data`.                                                                                                                                                                                          |
| additionalProperties | <any-key>                                | string          | A single form entry.                                                                                                                                                                                                                                                                            |
| request              | headers                                  | object          | Headers to include when performing the test.                                                                                                                                                                                                                                                    |
| additionalProperties | <any-key>                                | string          | A single Header.                                                                                                                                                                                                                                                                                |
| request              | host                                     | string          | Host name to perform the test with.                                                                                                                                                                                                                                                             |
| request              | httpVersion                              | enum            | HTTP version to use for a Synthetic test. Allowed enum values: `http1,http2,any`                                                                                                                                                                                                                |
| request              | isMessageBase64Encoded                   | boolean         | Whether the message is base64 encoded.                                                                                                                                                                                                                                                          |
| request              | mcpProtocolVersion                       | enum            | The MCP protocol version used by the step. See [https://modelcontextprotocol.io/specification](https://modelcontextprotocol.io/specification). Allowed enum values: `2025-06-18`                                                                                                                |
| request              | message                                  | string          | Message to send for UDP or WebSocket tests.                                                                                                                                                                                                                                                     |
| request              | metadata                                 | object          | Metadata to include when performing the gRPC test.                                                                                                                                                                                                                                              |
| additionalProperties | <any-key>                                | string          | A single metadatum.                                                                                                                                                                                                                                                                             |
| request              | method                                   | string          | Either the HTTP method/verb to use or a gRPC method available on the service set in the `service` field. Required if `subtype` is `HTTP` or if `subtype` is `grpc` and `callType` is `unary`.                                                                                                   |
| request              | noSavingResponseBody                     | boolean         | Determines whether or not to save the response body.                                                                                                                                                                                                                                            |
| request              | numberOfPackets                          | int32           | Number of pings to use per test.                                                                                                                                                                                                                                                                |
| request              | persistCookies                           | boolean         | Persist cookies across redirects.                                                                                                                                                                                                                                                               |
| request              | port                                     |  <oneOf>   | Port to use when performing the test.                                                                                                                                                                                                                                                           |
| port                 | Option 1                                 | int64           | Integer Port number to use when performing the test.                                                                                                                                                                                                                                            |
| port                 | Option 2                                 | string          | String Port number to use when performing the test. Supports templated variables.                                                                                                                                                                                                               |
| request              | proxy                                    | object          | The proxy to perform the test.                                                                                                                                                                                                                                                                  |
| proxy                | headers                                  | object          | Headers to include when performing the test.                                                                                                                                                                                                                                                    |
| additionalProperties | <any-key>                                | string          | A single Header.                                                                                                                                                                                                                                                                                |
| proxy                | url [*required*]                    | string          | URL of the proxy to perform the test.                                                                                                                                                                                                                                                           |
| request              | query                                    | object          | Query to use for the test.                                                                                                                                                                                                                                                                      |
| request              | servername                               | string          | For SSL tests, it specifies on which server you want to initiate the TLS handshake, allowing the server to present one of multiple possible certificates on the same IP address and TCP port number.                                                                                            |
| request              | service                                  | string          | The gRPC service on which you want to perform the gRPC call.                                                                                                                                                                                                                                    |
| request              | shouldTrackHops                          | boolean         | Turns on a traceroute probe to discover all gateways along the path to the host destination.                                                                                                                                                                                                    |
| request              | timeout                                  | double          | Timeout in seconds for the test.                                                                                                                                                                                                                                                                |
| request              | toolArgs                                 | object          | Arguments to pass to the MCP tool. Free-form object whose shape depends on the tool. Used when `callType` is `tool_call`.                                                                                                                                                                       |
| request              | toolName                                 | string          | The name of the MCP tool to call. Required when `callType` is `tool_call`.                                                                                                                                                                                                                      |
| request              | url                                      | string          | URL to perform the test with.                                                                                                                                                                                                                                                                   |
| config               | variables                                | [object]        | Browser tests only - array of variables used for the test steps.                                                                                                                                                                                                                                |
| variables            | example                                  | string          | Example for the variable.                                                                                                                                                                                                                                                                       |
| variables            | id                                       | string          | ID for the variable. Global variables require an ID.                                                                                                                                                                                                                                            |
| variables            | name [*required*]                   | string          | Name of the variable.                                                                                                                                                                                                                                                                           |
| variables            | pattern                                  | string          | Pattern of the variable.                                                                                                                                                                                                                                                                        |
| variables            | secure                                   | boolean         | Determines whether or not the browser test variable is obfuscated. Can only be used with browser variables of type `text`.                                                                                                                                                                      |
| variables            | type [*required*]                   | enum            | Type of browser test variable. Allowed enum values: `element,email,global,text`                                                                                                                                                                                                                 |
|                      | check_time                               | double          | When the browser test was conducted.                                                                                                                                                                                                                                                            |
|                      | check_version                            | int64           | Version of the browser test used.                                                                                                                                                                                                                                                               |
|                      | probe_dc                                 | string          | Location from which the browser test was performed.                                                                                                                                                                                                                                             |
|                      | result                                   | object          | Object containing results for your Synthetic browser test.                                                                                                                                                                                                                                      |
| result               | browserType                              | string          | Type of browser device used for the browser test.                                                                                                                                                                                                                                               |
| result               | browserVersion                           | string          | Browser version used for the browser test.                                                                                                                                                                                                                                                      |
| result               | device                                   | object          | Object describing the device used to perform the Synthetic test.                                                                                                                                                                                                                                |
| device               | height [*required*]                 | int64           | Screen height of the device.                                                                                                                                                                                                                                                                    |
| device               | id [*required*]                     | string          | The device ID.                                                                                                                                                                                                                                                                                  |
| device               | isMobile                                 | boolean         | Whether or not the device is a mobile.                                                                                                                                                                                                                                                          |
| device               | name [*required*]                   | string          | The device name.                                                                                                                                                                                                                                                                                |
| device               | width [*required*]                  | int64           | Screen width of the device.                                                                                                                                                                                                                                                                     |
| result               | duration                                 | double          | Global duration in second of the browser test.                                                                                                                                                                                                                                                  |
| result               | error                                    | string          | Error returned for the browser test.                                                                                                                                                                                                                                                            |
| result               | failure                                  | object          | The browser test failure details.                                                                                                                                                                                                                                                               |
| failure              | code                                     | enum            | Error code that can be returned by a Synthetic test. Allowed enum values: `API_REQUEST_FAILURE,ASSERTION_FAILURE,DOWNLOAD_FILE_TOO_LARGE,ELEMENT_NOT_INTERACTABLE,EMAIL_VARIABLE_NOT_DEFINED,EVALUATE_JAVASCRIPT,EVALUATE_JAVASCRIPT_CONTEXT,EXTRACT_VARIABLE,FORBIDDEN_URL,FRAME_DETACHED`     |
| failure              | message                                  | string          | The browser test error message.                                                                                                                                                                                                                                                                 |
| result               | passed                                   | boolean         | Whether or not the browser test was conducted.                                                                                                                                                                                                                                                  |
| result               | receivedEmailCount                       | int64           | The amount of email received during the browser test.                                                                                                                                                                                                                                           |
| result               | startUrl                                 | string          | Starting URL for the browser test.                                                                                                                                                                                                                                                              |
| result               | stepDetails                              | [object]        | Array containing the different browser test steps.                                                                                                                                                                                                                                              |
| stepDetails          | allowFailure                             | boolean         | Whether or not the step was allowed to fail.                                                                                                                                                                                                                                                    |
| stepDetails          | browserErrors                            | [object]        | Array of errors collected for a browser test.                                                                                                                                                                                                                                                   |
| browserErrors        | description [*required*]            | string          | Description of the error.                                                                                                                                                                                                                                                                       |
| browserErrors        | name [*required*]                   | string          | Name of the error.                                                                                                                                                                                                                                                                              |
| browserErrors        | status                                   | int64           | Status Code of the error.                                                                                                                                                                                                                                                                       |
| browserErrors        | type [*required*]                   | enum            | Error type returned by a browser test. Allowed enum values: `network,js`                                                                                                                                                                                                                        |
| stepDetails          | checkType                                | enum            | Type of assertion to apply in an API test. Allowed enum values: `equals,notEquals,contains,notContains,startsWith,notStartsWith,greater,lower,greaterEquals,lowerEquals`                                                                                                                        |
| stepDetails          | description                              | string          | Description of the test.                                                                                                                                                                                                                                                                        |
| stepDetails          | duration                                 | double          | Total duration in millisecond of the test.                                                                                                                                                                                                                                                      |
| stepDetails          | error                                    | string          | Error returned by the test.                                                                                                                                                                                                                                                                     |
| stepDetails          | failure                                  | object          | The browser test failure details.                                                                                                                                                                                                                                                               |
| failure              | code                                     | enum            | Error code that can be returned by a Synthetic test. Allowed enum values: `API_REQUEST_FAILURE,ASSERTION_FAILURE,DOWNLOAD_FILE_TOO_LARGE,ELEMENT_NOT_INTERACTABLE,EMAIL_VARIABLE_NOT_DEFINED,EVALUATE_JAVASCRIPT,EVALUATE_JAVASCRIPT_CONTEXT,EXTRACT_VARIABLE,FORBIDDEN_URL,FRAME_DETACHED`     |
| failure              | message                                  | string          | The browser test error message.                                                                                                                                                                                                                                                                 |
| stepDetails          | playingTab                               | enum            | Navigate between different tabs for your browser test. Allowed enum values: `-1,0,1,2,3`                                                                                                                                                                                                        |
| stepDetails          | screenshotBucketKey                      | boolean         | Whether or not screenshots where collected by the test.                                                                                                                                                                                                                                         |
| stepDetails          | skipped                                  | boolean         | Whether or not to skip this step.                                                                                                                                                                                                                                                               |
| stepDetails          | snapshotBucketKey                        | boolean         | Whether or not snapshots where collected by the test.                                                                                                                                                                                                                                           |
| stepDetails          | stepId                                   | int64           | The step ID.                                                                                                                                                                                                                                                                                    |
| stepDetails          | subTestStepDetails                       | [object]        | If this step includes a sub-test. [Subtests documentation](https://docs.datadoghq.com/synthetics/browser_tests/advanced_options.md#subtests).                                                                                                                                                   |
| stepDetails          | timeToInteractive                        | double          | Time before starting the step.                                                                                                                                                                                                                                                                  |
| stepDetails          | type                                     | enum            | Step type used in your Synthetic test. Allowed enum values: `assertCurrentUrl,assertElementAttribute,assertElementContent,assertElementPresent,assertEmail,assertFileDownload,assertFromJavascript,assertPageContains,assertPageLacks,assertRequests`                                           |
| stepDetails          | url                                      | string          | URL to perform the step against.                                                                                                                                                                                                                                                                |
| stepDetails          | value                                    |                 | Value for the step.                                                                                                                                                                                                                                                                             |
| stepDetails          | vitalsMetrics                            | [object]        | Array of Core Web Vitals metrics for the step.                                                                                                                                                                                                                                                  |
| vitalsMetrics        | cls                                      | double          | Cumulative Layout Shift.                                                                                                                                                                                                                                                                        |
| vitalsMetrics        | lcp                                      | double          | Largest Contentful Paint in milliseconds.                                                                                                                                                                                                                                                       |
| vitalsMetrics        | url                                      | string          | URL attached to the metrics.                                                                                                                                                                                                                                                                    |
| stepDetails          | warnings                                 | [object]        | Warning collected that didn't failed the step.                                                                                                                                                                                                                                                  |
| warnings             | message [*required*]                | string          | Message for the warning.                                                                                                                                                                                                                                                                        |
| warnings             | type [*required*]                   | enum            | User locator used. Allowed enum values: `user_locator`                                                                                                                                                                                                                                          |
| result               | thumbnailsBucketKey                      | boolean         | Whether or not a thumbnail is associated with the browser test.                                                                                                                                                                                                                                 |
| result               | timeToInteractive                        | double          | Time in second to wait before the browser test starts after reaching the start URL.                                                                                                                                                                                                             |
|                      | result_id                                | string          | ID of the browser test result.                                                                                                                                                                                                                                                                  |
|                      | status                                   | enum            | The status of your Synthetic monitor.                                                                                                                                                                                                                                                           |

{% /tab %}

{% tab title="Example" %}

```json
{
  "check": {
    "config": {
      "assertions": [
        {
          "operator": "contains",
          "property": "string",
          "target": 0,
          "timingsScope": "string",
          "type": "statusCode"
        }
      ],
      "configVariables": [
        {
          "example": "string",
          "id": "string",
          "name": "VARIABLE_NAME",
          "pattern": "string",
          "secure": false,
          "type": "text"
        }
      ],
      "request": {
        "allow_insecure": false,
        "basicAuth": {
          "password": "PaSSw0RD!",
          "type": "web",
          "username": "my_username"
        },
        "body": "string",
        "bodyType": "text/plain",
        "callType": "unary",
        "certificate": {
          "cert": {
            "content": "string",
            "filename": "string",
            "updatedAt": "string"
          },
          "key": {
            "content": "string",
            "filename": "string",
            "updatedAt": "string"
          }
        },
        "certificateDomains": [],
        "checkCertificateRevocation": false,
        "compressedJsonDescriptor": "string",
        "compressedProtoFile": "string",
        "disableAiaIntermediateFetching": false,
        "dnsServer": "string",
        "dnsServerPort": {
          "description": "undefined",
          "format": "undefined",
          "type": "undefined"
        },
        "files": [
          {
            "bucketKey": "string",
            "content": "string",
            "encoding": "string",
            "name": "string",
            "originalFileName": "string",
            "size": "integer",
            "type": "string"
          }
        ],
        "follow_redirects": false,
        "form": {
          "<any-key>": "string"
        },
        "headers": {
          "<any-key>": "string"
        },
        "host": "string",
        "httpVersion": "string",
        "isMessageBase64Encoded": false,
        "mcpProtocolVersion": "2025-06-18",
        "message": "string",
        "metadata": {
          "<any-key>": "string"
        },
        "method": "string",
        "noSavingResponseBody": false,
        "numberOfPackets": "integer",
        "persistCookies": false,
        "port": {
          "description": "undefined",
          "format": "undefined",
          "type": "undefined"
        },
        "proxy": {
          "headers": {
            "<any-key>": "string"
          },
          "url": "https://example.com"
        },
        "query": {},
        "servername": "string",
        "service": "Greeter",
        "shouldTrackHops": false,
        "timeout": "number",
        "toolArgs": {},
        "toolName": "search",
        "url": "https://example.com"
      },
      "variables": [
        {
          "example": "string",
          "id": "string",
          "name": "VARIABLE_NAME",
          "pattern": "string",
          "secure": false,
          "type": "text"
        }
      ]
    }
  },
  "check_time": "number",
  "check_version": "integer",
  "probe_dc": "string",
  "result": {
    "browserType": "string",
    "browserVersion": "string",
    "device": {
      "height": 0,
      "id": "chrome.laptop_large",
      "isMobile": false,
      "name": "",
      "width": 0
    },
    "duration": "number",
    "error": "string",
    "failure": {
      "code": "string",
      "message": "Error during DNS resolution (ENOTFOUND)."
    },
    "passed": false,
    "receivedEmailCount": "integer",
    "startUrl": "string",
    "stepDetails": [
      {
        "allowFailure": false,
        "browserErrors": [
          {
            "description": "Example error message",
            "name": "Failed test",
            "status": 500,
            "type": "network"
          }
        ],
        "checkType": "string",
        "description": "string",
        "duration": "number",
        "error": "string",
        "failure": {
          "code": "string",
          "message": "Error during DNS resolution (ENOTFOUND)."
        },
        "playingTab": "integer",
        "screenshotBucketKey": false,
        "skipped": false,
        "snapshotBucketKey": false,
        "stepId": "integer",
        "subTestStepDetails": [],
        "timeToInteractive": "number",
        "type": "assertElementContent",
        "url": "string",
        "value": "undefined",
        "vitalsMetrics": [
          {
            "cls": "number",
            "lcp": "number",
            "url": "string"
          }
        ],
        "warnings": [
          {
            "message": "",
            "type": "user_locator"
          }
        ]
      }
    ],
    "thumbnailsBucketKey": false,
    "timeToInteractive": "number"
  },
  "result_id": "string",
  "status": "integer"
}
```

{% /tab %}

{% /tab %}

{% tab title="403" %}
Forbidden
{% tab title="Model" %}
Error response object.

| Field                    | Type     | Description                          |
| ------------------------ | -------- | ------------------------------------ |
| errors [*required*] | [string] | Array of errors returned by the API. |

{% /tab %}

{% tab title="Example" %}

```json
{
  "errors": [
    "Bad Request"
  ]
}
```

{% /tab %}

{% /tab %}

{% tab title="404" %}
- Synthetic Monitoring is not activated for the user - Test or result is not owned by the user
{% tab title="Model" %}
Error response object.

| Field                    | Type     | Description                          |
| ------------------------ | -------- | ------------------------------------ |
| errors [*required*] | [string] | Array of errors returned by the API. |

{% /tab %}

{% tab title="Example" %}

```json
{
  "errors": [
    "Bad Request"
  ]
}
```

{% /tab %}

{% /tab %}

{% tab title="429" %}
Too many requests
{% tab title="Model" %}
Error response object.

| Field                    | Type     | Description                          |
| ------------------------ | -------- | ------------------------------------ |
| errors [*required*] | [string] | Array of errors returned by the API. |

{% /tab %}

{% tab title="Example" %}

```json
{
  "errors": [
    "Bad Request"
  ]
}
```

{% /tab %}

{% /tab %}

### Code Example

##### 
                  \# Path parameters export public_id="CHANGE_ME" export result_id="CHANGE_ME" \# Curl command curl -X GET "https://api.datadoghq.com/api/v1/synthetics/tests/browser/${public_id}/results/${result_id}" \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}" 
                
##### 

```python
"""
Get a browser test result returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v1.api.synthetics_api import SyntheticsApi

configuration = Configuration()
with ApiClient(configuration) as api_client:
    api_instance = SyntheticsApi(api_client)
    response = api_instance.get_browser_test_result(
        public_id="2yy-sem-mjh",
        result_id="5671719892074090418",
    )

    print(response)
```

#### Instructions

First [install the library and its dependencies](https://docs.datadoghq.com/api/latest.md?code-lang=python) and then save the example to `example.py` and run following commands:
    DD_SITE="datadoghq.com" DD_API_KEY="<DD_API_KEY>" DD_APP_KEY="<DD_APP_KEY>" python3 "example.py"
##### 

```ruby
# Get a browser test result returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::SyntheticsAPI.new
p api_instance.get_browser_test_result("2yy-sem-mjh", "5671719892074090418")
```

#### Instructions

First [install the library and its dependencies](https://docs.datadoghq.com/api/latest.md?code-lang=ruby) and then save the example to `example.rb` and run following commands:
    DD_SITE="datadoghq.com" DD_API_KEY="<DD_API_KEY>" DD_APP_KEY="<DD_APP_KEY>" rb "example.rb"
##### 

```go
// Get a browser test result returns "OK" response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV1"
)

func main() {
	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV1.NewSyntheticsApi(apiClient)
	resp, r, err := api.GetBrowserTestResult(ctx, "2yy-sem-mjh", "5671719892074090418")

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `SyntheticsApi.GetBrowserTestResult`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `SyntheticsApi.GetBrowserTestResult`:\n%s\n", responseContent)
}
```

#### Instructions

First [install the library and its dependencies](https://docs.datadoghq.com/api/latest.md?code-lang=go) and then save the example to `main.go` and run following commands:
    DD_SITE="datadoghq.com" DD_API_KEY="<DD_API_KEY>" DD_APP_KEY="<DD_APP_KEY>" go run "main.go"
##### 

```java
// Get a browser test result returns "OK" response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v1.api.SyntheticsApi;
import com.datadog.api.client.v1.model.SyntheticsBrowserTestResultFull;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    SyntheticsApi apiInstance = new SyntheticsApi(defaultClient);

    try {
      SyntheticsBrowserTestResultFull result =
          apiInstance.getBrowserTestResult("2yy-sem-mjh", "5671719892074090418");
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling SyntheticsApi#getBrowserTestResult");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}
```

#### Instructions

First [install the library and its dependencies](https://docs.datadoghq.com/api/latest.md?code-lang=java) and then save the example to `Example.java` and run following commands:
    DD_SITE="datadoghq.com" DD_API_KEY="<DD_API_KEY>" DD_APP_KEY="<DD_APP_KEY>" java "Example.java"
##### 

```rust
// Get a browser test result returns "OK" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV1::api_synthetics::SyntheticsAPI;

#[tokio::main]
async fn main() {
    let configuration = datadog::Configuration::new();
    let api = SyntheticsAPI::with_config(configuration);
    let resp = api
        .get_browser_test_result("2yy-sem-mjh".to_string(), "5671719892074090418".to_string())
        .await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}
```

#### Instructions

First [install the library and its dependencies](https://docs.datadoghq.com/api/latest.md?code-lang=rust) and then save the example to `src/main.rs` and run following commands:
    DD_SITE="datadoghq.com" DD_API_KEY="<DD_API_KEY>" DD_APP_KEY="<DD_APP_KEY>" cargo run
##### 

```typescript
/**
 * Get a browser test result returns "OK" response
 */

import { client, v1 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v1.SyntheticsApi(configuration);

const params: v1.SyntheticsApiGetBrowserTestResultRequest = {
  publicId: "2yy-sem-mjh",
  resultId: "5671719892074090418",
};

apiInstance
  .getBrowserTestResult(params)
  .then((data: v1.SyntheticsBrowserTestResultFull) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));
```

#### Instructions

First [install the library and its dependencies](https://docs.datadoghq.com/api/latest.md?code-lang=typescript) and then save the example to `example.ts` and run following commands:
    DD_SITE="datadoghq.com" DD_API_KEY="<DD_API_KEY>" DD_APP_KEY="<DD_APP_KEY>" tsc "example.ts"
{% /tab %}
