Submit a natural language query about the codebase, get a natural language answer with a list of relevant code references (filepaths, line numbers, etc)
“How does auth work in this codebase?”
“Generate a description for the JIRA ticket with codebase context”
“Rewrite this code snippet using relevant abstractions already in the repo”
Note: Before Greptile can query a repo, it must be indexed. See Index Repository for more information.
Optional, default false. Genius requests are smarter but 8-10 seconds slower, great for complex usecases like reviewing PR and updating technical docs.
Response
200 - application/json
Query executed successfully. Response may be streamed.