---
title: "List the project's ownership rules"
method: GET
path: "/projects/{project_id}/error-ownership-rules"
tags: ["error-tracking"]
---

# List the project's ownership rules

`GET /projects/{project_id}/error-ownership-rules`

## 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-ownership-rules`
- Auth: HTTP bearer

## Path parameters

- `project_id` integer, required

## Response `200`

Rules in the order they are tried

- OwnershipRuleList: The project's ownership rules, in order.
  - `data` OwnershipRuleView[], required
    - `created_at` string, date-time, required
    - `id` integer, required
    - `owner_name` string, nullable
    - `owner_user_id` integer, required
    - `pattern` string, required
    - `position` integer, required: Rules are tried in this order.
    - `updated_at` string, date-time, required

## Other responses

- `401`: Not authenticated
- `403`: No access to the project
- `500`: Internal server error

## Changes

- **2026-11-21** `451aa64395bb`: 1 info
  - endpoint added

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