Greptile
App · Code Repositories · 2 actions
Index your Git repositories with Greptile and track indexing progress so your codebase is ready for Greptile's AI code search.
Get repository status
Check a repository's indexing status, file-processing progress, and indexed commit SHA. A completed status means indexing is done.
Inputs
- Repository
repositorytextRequired - The repository in 'owner/name' form, e.g. 'greptileai/greptile'.
- Remote
remotetext - The Git hosting platform the repository lives on.One of:
github,gitlab. Default:github. - Branch
branchtext - The branch to index (e.g. 'main').Default:
main.
Outputs
branchtextfilesProcessednumbernumFilesnumberprivatetrue/falseremotetextrepositorytextshatext- Indexed commit SHA (present once indexed).
statustext- Indexing status, e.g. 'submitted', 'cloning', 'processing', or 'completed'.
Example output
{
"branch": "main",
"filesProcessed": 420,
"numFiles": 420,
"private": false,
"remote": "github",
"repository": "greptileai/greptile",
"sha": "89b286a699b2d023b7a1ebc468abf230d84ad547",
"status": "completed"
}Index repository
Submit a Git repository to Greptile for indexing: the one-time (per branch) step that prepares a codebase for Greptile.
Inputs
- Repository
repositorytextRequired - The repository in 'owner/name' form, e.g. 'greptileai/greptile'.
- Remote
remotetext - The Git hosting platform the repository lives on.One of:
github,gitlab. Default:github. - Branch
branchtext - The branch to index (e.g. 'main').Default:
main. - Reload
reloadtrue/false - Force a re-index of an already-indexed repository (use after new commits land). Defaults to false.Default:
false. - Notify
notifytrue/false - Email you when indexing finishes. Defaults to false.Default:
false.
Outputs
responsetext- Greptile's acknowledgment of the indexing job.
Example output
{
"response": "started indexing repository"
}