---
title: "GET /v1/orgs/{orgId}/integrations/{integrationId}/repositories"
method: GET
path: "/v1/orgs/{orgId}/integrations/{integrationId}/repositories"
tags: ["Orgs", "Integrations"]
---

# GET /v1/orgs/{orgId}/integrations/{integrationId}/repositories

`GET /v1/orgs/{orgId}/integrations/{integrationId}/repositories`

Lists repositories the org connection can see, for the scan-scope repo picker. Given an optional `q`, runs a provider-side name search when `q` is present (so a large connection need not be enumerated to find a repo) or lists the first page of the account otherwise. Returns the bare repo `name`, the `owner/repo` `fullName`, and whether the repo is archived. Results are capped; `hasMore` signals the caller to narrow with `q` instead of scrolling. Returns 422 (not_scannable_integration) for non-scannable integration types, and 502 when the provider is unreachable or rate-limited — distinct from an empty list, so a load failure never reads as "this connection has no repos".

## Path parameters

- `orgId` string, uuid, required
- `integrationId` string, uuid, required

## Query parameters

- `q` string

## Headers

- `Authorization` string

## Response `200`

Default Response

- object
  - `links` object, required
    - `self` string, uri, required
    - `next` string, uri, nullable, required
    - `prev` string, uri, nullable, required
  - `meta` object, required
    - `count` number, required
  - `data` object[], required
    - `id` string, required
    - `type` 'repository', required
    - `attributes` object, required
      - `name` string, required
      - `fullName` string, required
      - `archived` boolean, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity
- `500` — Internal Server Error
- `502` — Bad Gateway

---

[API](https://skmtc.net/tessl/apis/tessl-api.md) · [All operations](https://skmtc.net/tessl/apis/tessl-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tessl/tessl-api/revisions/2fe02c07eb49/schema)
