---
title: "Retrieve Ownership Configuration for a Project"
url: https://docs.sentry.io/api/projects/retrieve-ownership-configuration-for-a-project/
---

# Retrieve Ownership Configuration for a Project | Sentry Docs

GET /api/0/projects/{organization\_id\_or\_slug}/{project\_id\_or\_slug}/ownership/

Returns details on a project's ownership configuration.

### Path Parameters

* `organization_id_or_slug` *(string)*

  REQUIRED

  The ID or slug of the organization the resource belongs to.

* `project_id_or_slug` *(string)*

  REQUIRED

  The ID or slug of the project the resource belongs to. Project slugs are unique within each organization.

### Scopes

You need to [authenticate via bearer auth token.](https://docs.sentry.io/api/auth.md)

`<auth_token>` requires one of the following scopes:

* `project:admin`
* `project:read`
* `project:write`

```
curl https://sentry.io/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/ownership/ \
 -H 'Authorization: Bearer <auth_token>'
```

RESPONSESCHEMA

```
Copied
{
  "raw": "path:src/views/checkout jane.smith@org.com \nurl:https://example.com/checkout jane.smith@org.com\ntags.transaction:/checkout/:page jane.smith@org.com",
  "fallthrough": true,
  "dateCreated": "2023-10-03T20:25:18.539823Z",
  "lastUpdated": "2023-10-03T22:49:12.294741Z",
  "isActive": true,
  "autoAssignment": "Auto Assign to Issue Owner",
  "codeownersAutoSync": true,
  "schema": {
    "$version": 1,
    "rules": [
      {
        "matcher": {
          "type": "path",
          "pattern": "src/views/checkout"
        },
        "owners": [
          {
            "type": "user",
            "id": "2621754",
            "name": "jane.smith@org.com"
          }
        ]
      },
      {
        "matcher": {
          "type": "url",
          "pattern": "https://example.com/checkout"
        },
        "owners": [
          {
            "type": "user",
            "id": "2621754",
            "name": "jane.smith@org.com"
          }
        ]
      },
      {
        "matcher": {
          "type": "tags.transaction",
          "pattern": "/checkout/:page"
        },
        "owners": [
          {
            "type": "user",
            "id": "2621754",
            "name": "jane.smith@org.com"
          }
        ]
      }
    ]
  }
}
```

---

Find other pages: [Sitemap](https://docs.sentry.io/sitemap.md) lists every page with a one-line summary, and [llms.txt](https://docs.sentry.io/llms.txt) gives an overview with guidance for agents.
