# List GitHub repositories in project

`GET /v1/projects/{project}/connections/{connection}/github-repositories`, operation `connections.ListGitHubRepositoriesInProject`

Lists the repositories that a GitHub connection reaches, up to 1,000, which its dynamic secrets may name.

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `project` | path | Yes | `string` | The project's ID. |
| `connection` | path | Yes | `string` | The connection's ID. |

## Responses

### 200

OK

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `permissions` | `map<string, string>` | Yes | What the installation granted kosem's GitHub App, by permission, such as contents, each read, write or admin: the most that a dynamic secret of the connection may ask for. |
| `repositories` | `GitHubRepository[]` | Yes | Repositories, as GitHub lists them. |

### default

Error

Base URL: `https://api.kosem.ai`. See [API conventions](https://docs.kosem.ai/reference/api-conventions.md) for authentication, pagination and errors, and [https://docs.kosem.ai/openapi.yaml](https://docs.kosem.ai/openapi.yaml) for the full OpenAPI document.