Repos is now in Public Beta! Reach out to us at info@relace.ai if you have any questions or need help with the integration.
Path Parameters
UUID of the target repo to retrieve over.
Request Body
Natural language description of what you’re looking for
Branch name to retrieve from. Returns results from the most recently indexed commit on the branch. Uses the default branch if neither
branch nor hash is specified.Updated indices may not be available immediately after an edit/push. If you require results to reflect a recent change, use the
hash parameter with the branch HEAD.Specific commit hash to retrieve from. Returns
404 if the commit has not been indexed. In cases where you are retrieving over a recently pushed commit, retry on 404 errors with an exponential backoff.Only “leaf” commits are indexed. Passing a commit that has never been a branch HEAD will permanently return
404.Minimum relevance score for results (0.0 to 1.0)
Maximum number of tokens to return across all results
Whether to include file content in the response. If false, only filenames and scores are returned.
Response
Array of relevant files and code sections
Commit hash that was retrieved over
Number of embeddings currently in progress