---
title: "Get the list of all Synthetic tests"
method: GET
path: "/api/v1/synthetics/tests"
tags: ["Synthetics"]
---

# Get the list of all Synthetic tests

`GET /api/v1/synthetics/tests`

Get the list of all Synthetic tests.

## Query parameters

- `page_size` integer
- `page_number` integer

## Response `200`

OK - Returns the list of all Synthetic tests.

- SyntheticsListTestsResponse — Object containing an array of Synthetic tests configuration.
  - `tests` SyntheticsTestDetailsWithoutSteps[] — Array of Synthetic tests configuration.
    - `config` SyntheticsTestConfig — Configuration object for a Synthetic test.
      - `assertions` SyntheticsAssertion[] — Array of assertions used for the test. Required for single API tests.
        - union — Object describing the assertions type, their associated operator, which property they apply, and upon which target.
          - SyntheticsAssertionTarget — An assertion which uses a simple target.
            - `operator` 'contains' | 'doesNotContain' | 'is' | 'isNot' | 'lessThan' | 'lessThanOrEqual' | 'moreThan' | 'moreThanOrEqual' | 'matches' | 'doesNotMatch' | 'validates' | 'isInMoreThan' | 'isInLessThan' | 'doesNotExist' | 'isUndefined', required — Assertion operator to apply.
            - `property` string — The associated assertion property.
            - `target` union, required — Value used by the operator in assertions. Can be either a number or string.
              - …
            - `timingsScope` 'all' | 'withoutDNS' — Timings scope for response time assertions.
            - `type` 'body' | 'header' | 'statusCode' | 'certificate' | 'responseTime' | 'property' | 'recordEvery' | 'recordSome' | 'tlsVersion' | 'minTlsVersion' | 'latency' | 'packetLossPercentage' | 'packetsReceived' | 'networkHop' | 'receivedMessage' | 'grpcHealthcheckStatus' | 'grpcMetadata' | 'grpcProto' | 'connection' | 'multiNetworkHop' | 'jitter' | 'mcpToolNameLength' | 'mcpToolCount', required — Type of the assertion.
          - SyntheticsAssertionBodyHashTarget — An assertion which targets body hash.
            - `operator` 'md5' | 'sha1' | 'sha256', required — Assertion operator to apply.
            - `target` union, required — Value used by the operator in assertions. Can be either a number or string.
              - …
            - `type` 'bodyHash', required — Type of the assertion.
          - SyntheticsAssertionJSONPathTarget — An assertion for the `validatesJSONPath` operator.
            - `operator` 'validatesJSONPath', required — Assertion operator to apply.
            - `property` string — The associated assertion property.
            - `target` SyntheticsAssertionJSONPathTargetTarget — Composed target for `validatesJSONPath` operator.
              - …
            - `type` 'body' | 'header' | 'statusCode' | 'certificate' | 'responseTime' | 'property' | 'recordEvery' | 'recordSome' | 'tlsVersion' | 'minTlsVersion' | 'latency' | 'packetLossPercentage' | 'packetsReceived' | 'networkHop' | 'receivedMessage' | 'grpcHealthcheckStatus' | 'grpcMetadata' | 'grpcProto' | 'connection' | 'multiNetworkHop' | 'jitter' | 'mcpToolNameLength' | 'mcpToolCount', required — Type of the assertion.
          - SyntheticsAssertionJSONSchemaTarget — An assertion for the `validatesJSONSchema` operator.
            - `operator` 'validatesJSONSchema', required — Assertion operator to apply.
            - `target` SyntheticsAssertionJSONSchemaTargetTarget — Composed target for `validatesJSONSchema` operator.
              - …
            - `type` 'body' | 'header' | 'statusCode' | 'certificate' | 'responseTime' | 'property' | 'recordEvery' | 'recordSome' | 'tlsVersion' | 'minTlsVersion' | 'latency' | 'packetLossPercentage' | 'packetsReceived' | 'networkHop' | 'receivedMessage' | 'grpcHealthcheckStatus' | 'grpcMetadata' | 'grpcProto' | 'connection' | 'multiNetworkHop' | 'jitter' | 'mcpToolNameLength' | 'mcpToolCount', required — Type of the assertion.
          - SyntheticsAssertionXPathTarget — An assertion for the `validatesXPath` operator.
            - `operator` 'validatesXPath', required — Assertion operator to apply.
            - `property` string — The associated assertion property.
            - `target` SyntheticsAssertionXPathTargetTarget — Composed target for `validatesXPath` operator.
              - …
            - `type` 'body' | 'header' | 'statusCode' | 'certificate' | 'responseTime' | 'property' | 'recordEvery' | 'recordSome' | 'tlsVersion' | 'minTlsVersion' | 'latency' | 'packetLossPercentage' | 'packetsReceived' | 'networkHop' | 'receivedMessage' | 'grpcHealthcheckStatus' | 'grpcMetadata' | 'grpcProto' | 'connection' | 'multiNetworkHop' | 'jitter' | 'mcpToolNameLength' | 'mcpToolCount', required — Type of the assertion.
          - SyntheticsAssertionJavascript — A JavaScript assertion.
            - `code` string, required — The JavaScript code that performs the assertions.
            - `type` 'javascript', required — Type of the assertion.
          - SyntheticsAssertionMCPServerCapabilitiesTarget — An assertion that checks that an MCP server advertises the expected capabilities.
            - `operator` 'contains' | 'doesNotContain' | 'is' | 'isNot' | 'lessThan' | 'lessThanOrEqual' | 'moreThan' | 'moreThanOrEqual' | 'matches' | 'doesNotMatch' | 'validates' | 'isInMoreThan' | 'isInLessThan' | 'doesNotExist' | 'isUndefined', required — Assertion operator to apply.
            - `target` SyntheticsMCPServerCapability[], required — List of MCP server capabilities to assert against.
            - `type` 'mcpServerCapabilities', required — Type of the assertion.
          - SyntheticsAssertionMCPRespectsSpecification — An assertion that verifies the MCP server response respects the MCP specification.
            - `type` 'mcpRespectsSpecification', required — Type of the assertion.
      - `configVariables` SyntheticsConfigVariable[] — Array of variables used for the test.
        - `example` string — Example for the variable.
        - `id` string — ID of the variable for global variables.
        - `name` string, required — Name of the variable.
        - `pattern` string — Pattern of the variable.
        - `secure` boolean — Whether the value of this variable will be obfuscated in test results. Only for config variables of type `text`.
        - `type` 'global' | 'text' | 'email', required — Type of the configuration variable.
      - `request` SyntheticsTestRequest — Object describing the Synthetic test request.
        - `allow_insecure` boolean — Allows loading insecure content for an HTTP request in a multistep test step.
        - `basicAuth` union — Object to handle basic authentication when performing the test.
          - SyntheticsBasicAuthWeb — Object to handle basic authentication when performing the test.
            - `password` string — Password to use for the basic authentication.
            - `type` 'web' — The type of basic authentication to use when performing the test.
            - `username` string — Username to use for the basic authentication.
          - SyntheticsBasicAuthSigv4 — Object to handle `SIGV4` authentication when performing the test.
            - `accessKey` string, required — Access key for the `SIGV4` authentication.
            - `region` string — Region for the `SIGV4` authentication.
            - `secretKey` string, required — Secret key for the `SIGV4` authentication.
            - `serviceName` string — Service name for the `SIGV4` authentication.
            - `sessionToken` string — Session token for the `SIGV4` authentication.
            - `type` 'sigv4', required — The type of authentication to use when performing the test.
          - SyntheticsBasicAuthNTLM — Object to handle `NTLM` authentication when performing the test.
            - `domain` string — Domain for the authentication to use when performing the test.
            - `password` string — Password for the authentication to use when performing the test.
            - `type` 'ntlm', required — The type of authentication to use when performing the test.
            - `username` string — Username for the authentication to use when performing the test.
            - `workstation` string — Workstation for the authentication to use when performing the test.
          - SyntheticsBasicAuthDigest — Object to handle digest authentication when performing the test.
            - `password` string, required — Password to use for the digest authentication.
            - `type` 'digest', required — The type of basic authentication to use when performing the test.
            - `username` string, required — Username to use for the digest authentication.
          - SyntheticsBasicAuthOauthClient — Object to handle `oauth client` authentication when performing the test.
            - `accessTokenUrl` string, required — Access token URL to use when performing the authentication.
            - `audience` string — Audience to use when performing the authentication.
            - `clientId` string, required — Client ID to use when performing the authentication.
            - `clientSecret` string, required — Client secret to use when performing the authentication.
            - `resource` string — Resource to use when performing the authentication.
            - `scope` string — Scope to use when performing the authentication.
            - `tokenApiAuthentication` 'header' | 'body', required — Type of token to use when performing the authentication.
            - `type` 'oauth-client', required — The type of basic authentication to use when performing the test.
          - SyntheticsBasicAuthOauthROP — Object to handle `oauth rop` authentication when performing the test.
            - `accessTokenUrl` string, required — Access token URL to use when performing the authentication.
            - `audience` string — Audience to use when performing the authentication.
            - `clientId` string — Client ID to use when performing the authentication.
            - `clientSecret` string — Client secret to use when performing the authentication.
            - `password` string, required — Password to use when performing the authentication.
            - `resource` string — Resource to use when performing the authentication.
            - `scope` string — Scope to use when performing the authentication.
            - `tokenApiAuthentication` 'header' | 'body', required — Type of token to use when performing the authentication.
            - `type` 'oauth-rop', required — The type of basic authentication to use when performing the test.
            - `username` string, required — Username to use when performing the authentication.
          - SyntheticsBasicAuthJWT — Object to handle JWT authentication when performing the test.
            - `addClaims` SyntheticsBasicAuthJWTAddClaims — Standard JWT claims to automatically inject.
              - …
            - `algorithm` 'HS256' | 'RS256' | 'ES256', required — Algorithm to use for the JWT authentication.
            - `expiresIn` integer — Token time-to-live in seconds.
            - `header` string — Custom JWT header as a JSON string.
            - `payload` string, required — JWT claims as a JSON string.
            - `secret` string, required — Signing key for the JWT authentication. Use the shared secret for `HS256` or the private key (PEM format) for `RS256` and `ES256`.
            - `tokenPrefix` string — Prefix added before the token in the `Authorization` header. Defaults to `Bearer`.
            - `type` 'jwt', required — The type of authentication to use when performing the test.
        - `body` string — Body to include in the test.
        - `bodyType` 'text/plain' | 'application/json' | 'text/xml' | 'text/html' | 'application/x-www-form-urlencoded' | 'graphql' | 'application/octet-stream' | 'multipart/form-data' — Type of the request body.
        - `callType` 'healthcheck' | 'unary' | 'init' | 'tool_list' | 'tool_call' — 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`.
        - `certificate` SyntheticsTestRequestCertificate — Client certificate to use when performing the test request.
          - `cert` SyntheticsTestRequestCertificateItem — Define a request certificate.
            - `content` string — Content of the certificate or key.
            - `filename` string — File name for the certificate or key.
            - `updatedAt` string — Date of update of the certificate or key, ISO format.
          - `key` SyntheticsTestRequestCertificateItem — Define a request certificate.
            - `content` string — Content of the certificate or key.
            - `filename` string — File name for the certificate or key.
            - `updatedAt` string — Date of update of the certificate or key, ISO format.
        - `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`.
        - `checkCertificateRevocation` boolean — Check for certificate revocation.
        - `compressedJsonDescriptor` string — A protobuf JSON descriptor that needs to be gzipped first then base64 encoded.
        - `compressedProtoFile` string — A protobuf file that needs to be gzipped first then base64 encoded.
        - `disableAiaIntermediateFetching` boolean — Disable fetching intermediate certificates from AIA.
        - `dnsServer` string — DNS server to use for DNS tests.
        - `dnsServerPort` union — DNS server port to use for DNS tests.
          - integer — Integer DNS server port number to use when performing the test.
          - string — String DNS server port number to use when performing the test. Supports templated variables.
        - `files` SyntheticsTestRequestBodyFile[] — Files to be used as part of the request in the test. Only valid if `bodyType` is `multipart/form-data`.
          - `bucketKey` string — Bucket key of the file.
          - `content` string — Content of the file.
          - `encoding` string — Encoding of the file content. The only supported value is `base64`, indicating the `content` field contains base64-encoded data.
          - `name` string — Name of the file.
          - `originalFileName` string — Original name of the file.
          - `size` integer — Size of the file.
          - `type` string — Type of the file.
        - `follow_redirects` boolean — Specifies whether or not the request follows redirects.
        - `form` object — Form to be used as part of the request in the test. Only valid if `bodyType` is `multipart/form-data`.
        - `headers` SyntheticsTestHeaders — Headers to include when performing the test.
        - `host` string — Host name to perform the test with.
        - `httpVersion` 'http1' | 'http2' | 'any' — HTTP version to use for a Synthetic test.
        - `isMessageBase64Encoded` boolean — Whether the message is base64 encoded.
        - `mcpProtocolVersion` '2025-06-18' — The MCP protocol version used by the step. See https://modelcontextprotocol.io/specification.
        - `message` string — Message to send for UDP or WebSocket tests.
        - `metadata` SyntheticsTestMetadata — Metadata to include when performing the gRPC test.
        - `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`.
        - `noSavingResponseBody` boolean — Determines whether or not to save the response body.
        - `numberOfPackets` integer — Number of pings to use per test.
        - `persistCookies` boolean — Persist cookies across redirects.
        - `port` union — Port to use when performing the test.
          - integer — Integer Port number to use when performing the test.
          - string — String Port number to use when performing the test. Supports templated variables.
        - `proxy` SyntheticsTestRequestProxy — The proxy to perform the test.
          - `headers` SyntheticsTestHeaders — Headers to include when performing the test.
          - `url` string, required — URL of the proxy to perform the test.
        - `query` object — Query to use for the test.
        - `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.
        - `service` string — The gRPC service on which you want to perform the gRPC call.
        - `shouldTrackHops` boolean — Turns on a traceroute probe to discover all gateways along the path to the host destination.
        - `timeout` number, double — Timeout in seconds for the test.
        - `toolArgs` object — Arguments to pass to the MCP tool. Free-form object whose shape depends on the tool. Used when `callType` is `tool_call`.
        - `toolName` string — The name of the MCP tool to call. Required when `callType` is `tool_call`.
        - `url` string — URL to perform the test with.
      - `variables` SyntheticsBrowserVariable[] — Browser tests only - array of variables used for the test steps.
        - `example` string — Example for the variable.
        - `id` string — ID for the variable. Global variables require an ID.
        - `name` string, required — Name of the variable.
        - `pattern` string — Pattern of the variable.
        - `secure` boolean — Determines whether or not the browser test variable is obfuscated. Can only be used with browser variables of type `text`.
        - `type` 'element' | 'email' | 'global' | 'text', required — Type of browser test variable.
    - `creator` Creator — Object describing the creator of the shared element.
      - `email` string — Email of the creator.
      - `handle` string — Handle of the creator.
      - `name` string, nullable — Name of the creator.
    - `locations` string[] — Array of locations used to run the test.
    - `message` string — Notification message associated with the test.
    - `monitor_id` integer — The associated monitor ID.
    - `name` string — Name of the test.
    - `options` SyntheticsTestOptions — Object describing the extra options for a Synthetic test.
      - `accept_self_signed` boolean — For SSL tests, whether or not the test should allow self signed certificates.
      - `allow_insecure` boolean — Allows loading insecure content for an HTTP request in an API test.
      - `blockedRequestPatterns` string[] — Array of URL patterns to block.
      - `captureNetworkPayloads` boolean — Capture HTTP request/response headers and bodies for Fetch/XHR calls made during browser tests.
      - `checkCertificateRevocation` boolean — For SSL tests, whether or not the test should fail on revoked certificate in stapled OCSP.
      - `ci` SyntheticsTestCiOptions — CI/CD options for a Synthetic test.
        - `executionRule` 'blocking' | 'non_blocking' | 'skipped', required — Execution rule for a Synthetic test.
      - `device_ids` SyntheticsDeviceID[] — For browser test, array with the different device IDs used to run the test.
      - `disableAiaIntermediateFetching` boolean — For SSL tests, whether or not the test should disable fetching intermediate certificates from AIA.
      - `disableCors` boolean — Whether or not to disable CORS mechanism.
      - `disableCsp` boolean — Disable Content Security Policy for browser tests.
      - `enableProfiling` boolean — Enable profiling for browser tests.
      - `enableSecurityTesting` boolean — Enable security testing for browser tests. Security testing is not available anymore. This field is deprecated and won't be used.
      - `follow_redirects` boolean — For API HTTP test, whether or not the test should follow redirects.
      - `httpVersion` 'http1' | 'http2' | 'any' — HTTP version to use for a Synthetic test.
      - `ignoreServerCertificateError` boolean — Ignore server certificate error for browser tests.
      - `ignore_certificate_validation` boolean — For SSL tests, whether or not the test should ignore certificate validation.
      - `initialNavigationTimeout` integer — Timeout before declaring the initial step as failed (in seconds) for browser tests.
      - `min_failure_duration` integer — Minimum amount of time in failure required to trigger an alert.
      - `min_location_failed` integer — Minimum number of locations in failure required to trigger an alert.
      - `monitor_name` string — The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs.
      - `monitor_options` SyntheticsTestOptionsMonitorOptions — Object containing the options for a Synthetic test as a monitor (for example, renotification).
        - `escalation_message` string — Message to include in the escalation notification.
        - `notification_preset_name` 'show_all' | 'hide_all' | 'hide_query' | 'hide_handles' | 'hide_query_and_handles' | 'show_only_snapshot' | 'hide_handles_and_footer' — The name of the preset for the notification for the monitor.
        - `renotify_interval` integer — Time interval before renotifying if the test is still failing (in minutes).
        - `renotify_occurrences` integer — The number of times to renotify if the test is still failing.
      - `monitor_priority` integer — Integer from 1 (high) to 5 (low) indicating alert severity.
      - `noScreenshot` boolean — Prevents saving screenshots of the steps.
      - `restricted_roles` string[] — A list of role identifiers that can be pulled from the Roles API, for restricting read and write access. This field is deprecated. Use the restriction policies API to manage permissions.
      - `retry` SyntheticsTestOptionsRetry — Object describing the retry strategy to apply to a Synthetic test.
        - `count` integer — Number of times a test needs to be retried before marking a location as failed. Defaults to 0.
        - `interval` number, double — Time interval between retries (in milliseconds). Defaults to 300ms.
      - `rumSettings` SyntheticsBrowserTestRumSettings — The RUM data collection settings for the Synthetic browser test. **Note:** There are 3 ways to format RUM settings: `{ isEnabled: false }` RUM data is not collected. `{ isEnabled: true }` RUM data is collected from the Synthetic test's default application. `{ isEnabled: true, applicationId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", clientTokenId: 12345 }` RUM data is collected using the specified application.
        - `applicationId` string — RUM application ID used to collect RUM data for the browser test.
        - `clientTokenId` integer — RUM application API key ID used to collect RUM data for the browser test.
        - `isEnabled` boolean, required — Determines whether RUM data is collected during test runs.
      - `scheduling` SyntheticsTestOptionsScheduling — Object containing timeframes and timezone used for advanced scheduling.
        - `timeframes` SyntheticsTestOptionsSchedulingTimeframe[], required — Array containing objects describing the scheduling pattern to apply to each day.
          - `day` integer, required — Number representing the day of the week.
          - `from` string, required — The hour of the day on which scheduling starts.
          - `to` string, required — The hour of the day on which scheduling ends.
        - `timezone` string, required — Timezone in which the timeframe is based.
      - `tick_every` integer — The frequency at which to run the Synthetic test (in seconds).
    - `public_id` string — The test public ID.
    - `status` 'live' | 'paused' — Define whether you want to start (`live`) or pause (`paused`) a Synthetic test.
    - `subtype` 'http' | 'ssl' | 'tcp' | 'dns' | 'multi' | 'icmp' | 'udp' | 'websocket' | 'grpc' — The subtype of the Synthetic API test, `http`, `ssl`, `tcp`, `dns`, `icmp`, `udp`, `websocket`, `grpc` or `multi`.
    - `tags` string[] — Array of tags attached to the test.
    - `type` 'api' | 'browser' | 'mobile' | 'network' — Type of the Synthetic test.

## Other responses

- `403` — Forbidden
- `404` — Synthetic Monitoring is not activated for the user.
- `429` — Too many requests

---

[API](https://skmtc.net/datadog/apis/api-v1.md) · [All operations](https://skmtc.net/datadog/apis/api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v1/revisions/ca5871004d26/schema)
