Synthetics

Get available subtests for a multistep test

Get the list of API tests that can be added as subtests to a given API multistep test. The current test is excluded from the list since a test cannot be a subtest of itself.

get/api/v2/synthetics/api-multistep/subtests/{public_id}

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v2/synthetics/api-multistep/subtests/{public_id}
  • Auth
    • API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
    • or OAuth 2
      Authorization code: /oauth2/v1/authorize
      Token URL: /oauth2/v1/token scopes: synthetics_read

Path parameters

public_idstring required

The public ID of the API multistep test.

Response

OK

Example response

{
  "data": [
    {
      "attributes": {
        "name": "My API Test",
        "public_id": "abc-def-123"
      },
      "id": "abc-def-123",
      "type": "subtest"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.