Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Natural language search query to find the right code in the repo.
List of repos that Greptile should reference while answering your question.
Optional, defaults to a new session. You only need this if you want to retrieve this query/response later.
Optional, default false.
Response
Query executed successfully. Response may be streamed.
The name of the repository where the file resides.
The remote service or platform where the repository is hosted.
The branch of the repository where the file is found.
The relative path to the file within the repository.
The starting line number of the code that is relevant, if applicable.
The ending line number of the code that is relevant, if applicable.
A summary or description of the contents and functionalities of the file.
Similarity score for the source returned by the API. Lower values indicate higher similarity.