---
title: "List error groups for a project"
method: GET
path: "/projects/{project_id}/error-groups"
tags: ["error-tracking"]
---

# List error groups for a project

`GET /projects/{project_id}/error-groups`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/projects/{project_id}/error-groups`
- Auth: none declared

## Path parameters

- `project_id` integer, required

## Query parameters

- `page` integer
- `page_size` integer
- `status` string, nullable
- `environment_id` integer, nullable
- `start_date` string, date-time, nullable
- `end_date` string, date-time, nullable
- `sort_by` string, nullable
- `sort_order` string
- `assignee` string, nullable
- `search` string, nullable
- `issue_type` string, nullable

## Response `200`

Paginated list of error groups

- PaginatedErrorGroupsResponse
  - `data` ErrorGroupResponse[], required
    - `affected_users` integer, nullable: Count of distinct affected visitors/users within the requested time window. Present only when `start_date` and `end_date` were supplied on the list request.
    - `assigned_to` string, nullable: Deprecated: a free-text assignee from before assignees were users or teams, kept read-only when it matched no user. Use `assignee`.
    - `assignee` GroupAssignee, nullable: An assignee with what a reader needs to show it.
      - `email` string, nullable: The user's email; `None` for a team.
      - `id` integer, required
      - `name` string, required: The user's or team's name.
      - `type` string, required: `user` or `team`.
    - `created_at` string, required
    - `deployment` ErrorGroupDeploymentResponse, nullable
      - `branch` string, nullable
      - `commit_hash` string, nullable
      - `commit_message` string, nullable
      - `id` integer, required
    - `deployment_id` integer, nullable
    - `environment_id` integer, nullable
    - `error_type` string, required
    - `events_in_range` integer, nullable: Count of error events within the requested time window. Present only when `start_date` and `end_date` were supplied on the list request.
    - `first_seen` string, required
    - `id` integer, required
    - `ignore` GroupIgnoreState, nullable: The ignore conditions of an ignored group and how far along they are.
      - `forever` boolean, required: Stays ignored whatever happens.
      - `until` string, date-time, nullable: Stays ignored until this time.
      - `until_event_count` integer, nullable: Reopens when `total_count` reaches this value.
      - `until_user_count` integer, nullable: Reopens when this many new distinct users are affected.
      - `user_count` integer, required: New distinct users seen since it was ignored.
    - `issue_type` string, required: `error`, or `performance` for an issue a trace detector filed: an N+1 query, a slow database query, consecutive HTTP calls or an oversized payload.
    - `last_seen` string, required
    - `merged_into_group_id` integer, nullable: Set when this group was merged into another one. Its events and count stay with it so the merge can be undone, it is left out of lists, and its future events land in the group named here.
    - `message_template` string, nullable
    - `project_id` integer, required
    - `resolution` GroupResolutionState, nullable: A group resolved in the next release (ADR 111, D1.5).
      - `after_release` string, nullable: That release's version, filled in on the single-group read.
      - `after_release_id` integer, nullable: Id of the release the group was resolved after; events from a newer release reopen it.
      - `in_next_release` boolean, required: Always true; the field exists so clients can test one value.
    - `status` string, required
    - `title` string, required
    - `total_count` integer, required
    - `updated_at` string, required
    - `visitor_id` integer, nullable
  - `pagination` PaginationMeta, required
    - `page` integer, required
    - `page_size` integer, required
    - `total_count` integer, required
    - `total_pages` integer, required

## Other responses

- `500`: Internal server error

## Changes

- **2026-11-20** `89a5fa242f36`: 8 info
  - added the new optional `query` request parameter `assignee`
  - added the new optional `query` request parameter `issue_type`
  - added the new optional `query` request parameter `search`
  - added the optional property `data/items/assignee` to the response with the `200` status
  - …4 more
- **2026-09-07** `cdc1afae1752`: 3 info
  - added the optional property `data/items/affected_users` to the response with the `200` status
  - added the optional property `data/items/deployment` to the response with the `200` status
  - added the optional property `data/items/events_in_range` to the response with the `200` status
- **2026-09-07** `f7404eb7ac98`: 3 warning
  - removed the optional property `data/items/affected_users` from the response with the `200` status
  - removed the optional property `data/items/deployment` from the response with the `200` status
  - removed the optional property `data/items/events_in_range` from the response with the `200` status
- **2026-08-20** `54c7e189a6b6`: 3 info
  - added the optional property `data/items/affected_users` to the response with the `200` status
  - added the optional property `data/items/deployment` to the response with the `200` status
  - added the optional property `data/items/events_in_range` to the response with the `200` status

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/error-groups/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
