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

# detail repos: list all your connected repositories

> CLI reference for detail repos list: view all repositories connected to your Detail account, grouped by GitHub organization name.

The `detail repos` command lists all repositories your Detail account has access to, grouped by organization. Use it to confirm which repos Detail is monitoring and to look up the exact `owner/repo` slug you need for other commands.

## `detail repos list`

List all repositories connected to your Detail account.

```bash theme={null}
detail repos list [OPTIONS]
```

**Flags**

| Flag                | Description                         | Default |
| ------------------- | ----------------------------------- | ------- |
| `--limit <1-100>`   | Maximum number of results per page. | `50`    |
| `--page <N>`        | Page number, starting at 1.         | `1`     |
| `--format <FORMAT>` | Output format: `table` or `json`.   | `table` |

In `table` mode, repositories are grouped under their organization name and sorted alphabetically. In `json` mode, the raw list is returned as a JSON array.

**Examples**

```bash theme={null}
# List all connected repositories
detail repos list

# Page through a large list
detail repos list --page 2

# Output as JSON for scripting
detail repos list --format json
```

<Note>
  To add or remove repositories, use the GitHub App settings in GitHub (Settings → Applications → Detail) or the Detail dashboard under **Settings → Repositories**. Changes appear in the CLI immediately after the GitHub App installation is updated.
</Note>
