Synthetics

Get parent tests for a subtest

Get the list of API multistep tests that include a given subtest, along with their monitor status.

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

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v2/synthetics/api-multistep/subtests/{public_id}/parents
  • 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 subtest.

Response

OK

Example response

{
  "data": [
    {
      "attributes": {
        "child_name": "My API Subtest",
        "child_public_id": "xyz-uvw-789",
        "monitor_id": 12345678,
        "name": "My Multistep Test",
        "overall_state_modified": "2024-01-01T00:00:00+00:00",
        "public_id": "abc-def-123"
      },
      "id": "abc-def-123",
      "type": "parent_test"
    }
  ]
}

Changes

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