Send a query to get AI-powered insights about indexed repositories or documentation sources. Supports two search modes:
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 documentation/web sources to query. Supports flexible identifiers:
Flexible data source identifier (recommended). Can be:
Search mode: 'repositories' searches only code, 'sources' searches only documentation
repositories, sources Whether to stream the response
Whether to include full source texts in the response (when false, only file paths are returned)