Single search endpoint with mode discriminator.
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?"
}
]query 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")
OK
The response is of type object.