---
title: "List all test session error groups in your account."
method: GET
path: "/v1/test-session-error-groups"
tags: ["Test Session Error Groups"]
---

# List all test session error groups in your account.

`GET /v1/test-session-error-groups`

List all test session error groups in your account.

## Query parameters

- `limit` integer — Limit the number of results.
- `page` number — Page number.

## Headers

- `x-checkly-account` string, uuid — Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general

## Response `200`

Successful

- TestSessionErrorGroup[]
  - `id` string, uuid, required
  - `projectId` string, uuid, nullable
  - `environments` string[], nullable, required — The environments in which this error has been observed.
  - `errorHash` string, required — The hash of the cleaned error message for quicker deduplication.
  - `rawErrorMessage` string, nullable, required — The raw error message as recorded in a test session result.
  - `cleanedErrorMessage` string, required — The cleaned and sanitized error message used for hashing and grouping.
  - `firstSeen` string, date-time, required
  - `lastSeen` string, date-time, required
  - `archivedUntilNextEvent` boolean, required
  - `pwtMetadata` TestSessionErrorGroupPlaywrightMetadata[], nullable, required — Playwright test metadata: project, file, title, spec ID, and suite path for each occurrence.
    - `projectName` string, required
    - `specId` string
    - `testFile` string, required
    - `testTitle` string, required
    - `suitePath` string[], required
  - `rootCauseAnalyses` TestSessionErrorGroupRootCauseAnalysis[]
    - `id` string, uuid
    - `created_at` string, date-time
    - `analysis` unknown
    - `provider` string, nullable
    - `model` string, nullable
    - `durationMs` number, nullable
    - `userContext` unknown

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `429` — Too Many Requests

---

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