Git repositories
Unindex / reindex
Remove repository context from ctx| and start ingestion again when source context needs a refresh.
Unindexing removes a repository from ctx| for the current organization. Use it when a repository should no longer contribute to search, Chat, MCP, or the knowledge graph.

Unindex a Repository
- Open Repositories.
- Open the row action menu for the repository.
- Choose Unindex.
- Confirm the destructive action.
The backend deletes the repository row for the organization and runs cleanup for associated graph and checkout state. The UI removes the row after the API call succeeds.
DELETE /:orgSlug/api/v1/repositories/:idReindex a Repository
There is not a separate one-click Reindex action in the current UI. To reindex from the app:
- Unindex the repository.
- Add it again through Index now, Select repositories, or Add single repository.
If the repository is still selected in the GitHub App setup, it may reappear as pending indexing after unindexing. Use Index now to create a fresh ctx| repository record and start ingestion again.
When to Reindex
Reindex when:
- A repository was added before important docs or instruction files existed.
- You need to rebuild graph claims after a major refactor.
- Ingestion failed and operator logs show the source can now be cloned/indexed.
- You removed stale context and want a clean graph/search rebuild.
Operational Notes
- Unindexing is organization-scoped. It does not change the GitHub repository or GitHub App installation.
- Reindexing can take time because codesearch and graph extraction both need to run again.
- During reindexing, Chat and MCP answers may be incomplete for that repository until indexing finishes.