> ## Documentation Index
> Fetch the complete documentation index at: https://docs.runaether.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# List GitHub Repositories

> List repositories accessible through the GitHub App

Returns a list of repositories that the GitHub App installation has access to.

## Authentication

Requires a valid Bearer token. Requires an active GitHub connection.

## Response

<ResponseField name="repositories" type="array">
  List of accessible repositories.

  <Expandable title="Repository object">
    <ResponseField name="id" type="integer" required>
      GitHub repository ID.
    </ResponseField>

    <ResponseField name="full_name" type="string" required>
      Full repository name (e.g., `"owner/repo"`).
    </ResponseField>

    <ResponseField name="private" type="boolean" required>
      Whether the repository is private.
    </ResponseField>

    <ResponseField name="default_branch" type="string" required>
      Default branch name.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json 200 theme={null}
  {
    "repositories": [
      {
        "id": 123456789,
        "full_name": "my-org/my-repo",
        "private": true,
        "default_branch": "main"
      }
    ]
  }
  ```
</ResponseExample>

## Errors

| Status | Description                                      |
| ------ | ------------------------------------------------ |
| `401`  | Unauthorized — missing or invalid token          |
| `403`  | Forbidden — no GitHub App installation connected |
