---
title: "List Repositories Available to an Integration"
url: https://docs.sentry.io/api/integration/list-repositories-available-to-an-integration/
---

# List Repositories Available to an Integration | Sentry Docs

ExperimentalThis API is under active development and may change.

GET /api/0/organizations/{organization\_id\_or\_slug}/integrations/{integration\_id}/repos/

Get the list of repositories available in an integration

```bash

Gets all repositories that an integration makes available,
and indicates whether or not you can search repositories
by name.

:qparam string search: Name fragment to search repositories by.
:qparam bool installableOnly: If true, return only repositories that can be installed.
                              If false or not provided, return all repositories.
:qparam bool accessibleOnly: If true, only return repositories that the integration
                             installation has access to, filtering locally instead of
                             using the provider's search API which may return results
                             beyond the installation's scope.
```

### Path Parameters

* `organization_id_or_slug` *(string)*

  REQUIRED

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

* `integration_id` *(string)*

  REQUIRED

  The ID of the integration installed on the organization.

### Query Parameters:

* `search` *(string)*

  Repository name to search for.

* `installableOnly` *(boolean)*

  Only return repositories that are not already installed in Sentry.

* `accessibleOnly` *(boolean)*

  Only search repositories accessible to the integration installation.

### Scopes

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

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

* `org:admin`
* `org:integrations`
* `org:read`
* `org:write`

```
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/integrations/{integration_id}/repos/ \
 -H 'Authorization: Bearer <auth_token>'
```

RESPONSESCHEMA

```
Copied
.
```

---

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.
