---
title: "Get parent suites for a test"
method: GET
path: "/api/v2/synthetics/tests/{public_id}/parent-suites"
tags: ["Synthetics"]
---

# Get parent suites for a test

`GET /api/v2/synthetics/tests/{public_id}/parent-suites`

## Request

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

Get the list of parent suites and their status for a given Synthetic test.

## Path parameters

- `public_id` string, required

## Response `200`

OK

- SyntheticsTestParentSuitesResponse: Response containing the list of parent suites for a Synthetic test.
  - `data` SyntheticsTestParentSuiteData[]: List of parent suites for the given test.
    - `attributes` SyntheticsTestParentSuiteAttributes: Object containing details about a parent suite of a Synthetic test.
      - `child_name` string: The name of the child test within the suite.
      - `child_public_id` string: The public ID of the child test within the suite.
      - `monitor_id` integer: The associated monitor ID.
      - `name` string: Name of the parent suite.
      - `overall_state` integer: The overall state of the parent suite.
      - `overall_state_modified` string: Timestamp of when the overall state was last modified.
      - `public_id` string: The public ID of the parent suite.
    - `id` string: The public ID of the parent suite.
    - `type` 'parent_suite': Type of the parent suite resource.

## Other responses

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

---

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