---
title: "Search users and teams to assign an error group to"
method: GET
path: "/projects/{project_id}/error-group-assignees"
tags: ["error-tracking"]
---

# Search users and teams to assign an error group to

`GET /projects/{project_id}/error-group-assignees`

## 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-group-assignees`
- Auth: HTTP bearer

Returns at most 20 users who can access the project and 20 teams whose
name (or a user's email) contains `q`.

## Path parameters

- `project_id` integer, required

## Query parameters

- `q` string

## Response `200`

Assignee candidates

- ErrorGroupAssigneeOptionsResponse
  - `teams` GroupAssignee[], required: Teams, at most 20.
    - `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`.
  - `users` GroupAssignee[], required: Users who can access the project, at most 20.
    - `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`.

## Other responses

- `400`: Search text too long
- `401`: Not authenticated
- `403`: Missing error_tracking:write or project access
- `500`: Internal server error

## Changes

- **2026-11-20** `89a5fa242f36`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/error-group-assignees/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)
