Query
Query indexed repositories
Send a query to get AI-powered insights about the indexed repositories. Supports both streaming and non-streaming responses.
POST
Authorizations
API key must be provided in the Authorization header
Body
application/json
Chat messages for context and query
Example:
[
{
"role": "user",
"content": "How does the error handling work in this codebase?"
}
]
List of repositories to query
Whether to stream the response
Whether to include full source texts in the response (when false, only file paths are returned)
Whether to use GraphRAG for enhanced code structure understanding
GraphRAG query mode for code navigation
Available options:
auto
, global
, local
, drift