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

# Repositories

> Register repositories and manage GitHub App integration.

## Repositories

| Method   | Path                          | Purpose                    |
| -------- | ----------------------------- | -------------------------- |
| `GET`    | `/workspaces/:slug/repos`     | List repositories          |
| `POST`   | `/workspaces/:slug/repos`     | Register a repository      |
| `GET`    | `/workspaces/:slug/repos/:id` | Get repository details     |
| `PATCH`  | `/workspaces/:slug/repos/:id` | Update repository metadata |
| `DELETE` | `/workspaces/:slug/repos/:id` | Delete a repository        |

Repositories are registered via the CLI (`driftless login`) or the GitHub App installation flow. Once registered, the GitHub App observes push and PR events for staleness tracking and PR comments.
