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

# Repositories

> Register repository identity for local topic and checkout workflows.

## 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 |
| `DELETE` | `/workspaces/:slug/repos/:id` | Delete a repository    |

Repositories are registered by the CLI from the current checkout. The stored organization and repository name let local commands resolve the workspace and link topics without uploading source code.
