Send a query to get AI-powered insights about indexed sources.
Queryable source types:
repositories param)data_sources param)Search modes:
repositories: Search only code repositories (default)sources: Search only data sources (docs, papers, datasets) - returns vector search results without LLM processingSupports both streaming and non-streaming responses.
API key must be provided in the Authorization header
Chat messages for context and query
[
{
"role": "user",
"content": "How does the error handling work in this codebase?"
}
]List of repositories to query
List of data sources to query. Supports all source types:
Flexible identifier formats:
Flexible data source identifier (recommended). Can be:
Search mode:
repositories, sources, unified Whether to stream the response
Whether to include full source texts in the response (when false, only file paths are returned)
List of local folders to query. Local folders are private and user-scoped.
Flexible identifier formats:
Local folder identifier (UUID or display name)
Filter local folder results by classification category (e.g., "Work", "Personal")