Basic Usage
Parameters
Query (Required)
Parameter | Type | Description |
---|---|---|
query | string | The question or query to answer |
Options (Optional)
Parameter | Type | Description | Default |
---|---|---|---|
structuredOutput | object | JSON schema for structured response format | undefined |
systemInstructions | string | Custom instructions for AI processing (max 2000 characters) | undefined |
searchType | "web" | "proprietary" | "all" | Type of search to perform before generating answer | "all" |
dataMaxPrice | number | Maximum cost in USD for data retrieval (search costs only) | 30.0 |
countryCode | string | 2-letter ISO country code to bias search results | undefined |
includedSources | string[] | List of specific sources to search within | undefined |
excludedSources | string[] | List of sources to exclude from search | undefined |
startDate | string | Start date for time filtering (YYYY-MM-DD format) | undefined |
endDate | string | End date for time filtering (YYYY-MM-DD format) | undefined |
fastMode | boolean | Enable fast mode for reduced latency | false |