API Reference
Repositories
Index and manage repositories.
POST /repos/index
Trigger indexing for a repository. Clean will clone (or pull) the repo, parse all supported files, embed them, and build the call graph.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
repo | string | ✓ | Repository in owner/repo format |
Example
Response
Indexing is asynchronous. Poll /repos/{owner}/{repo}/status to check progress.
GET /repos
List all indexed repositories.
GET /repos/{owner}/{repo}/status
Check the indexing status of a specific repository.
Response
Status values
| Status | Meaning |
|---|---|
indexing | Currently being indexed |
ready | Index is up to date |
stale | Repo has changed, will re-index on next search |
error | Indexing failed |