BatchResearchRequest
TheBatchResearchRequest model defines the input parameters for batch research operations. It allows you to analyze multiple companies simultaneously with customizable search strategies and confidence thresholds.
Model Definition
Fields
The high-level research objective that guides the search strategy generation. This should be a clear, specific description of what information you’re looking for.Example values:
"Find companies using Salesforce for CRM""Identify e-commerce platforms built with React""Discover companies hiring for AI/ML positions"
List of company domains to analyze. Each domain should be a valid web domain without protocol prefix.Type:
List[str]Example: ["stripe.com", "shopify.com", "square.com"]Controls the number of search strategies generated and the breadth of the search.Allowed values:
"quick"- Fast search with fewer strategies (recommended for exploratory analysis)"standard"- Balanced search depth and speed (recommended for most use cases)"comprehensive"- Exhaustive search with maximum strategies (recommended for critical research)
- Quick: ~5-10 strategies, completes in seconds
- Standard: ~15-25 strategies, completes in tens of seconds
- Comprehensive: ~30-50 strategies, completes in minutes
Maximum number of concurrent search operations. Higher values increase speed but consume more resources.Constraints: Must be a positive integerRecommended values:
- Development/testing:
5-10 - Production with rate limits:
20-50 - High-performance:
50-100
Minimum confidence score (0.0-1.0) required to include a finding in the results. Higher thresholds return more precise but fewer results.Constraints:
- Minimum:
0.0(include all findings) - Maximum:
1.0(only perfect matches)
- Exploratory research:
0.3-0.5 - Standard research:
0.5-0.7 - High-precision research:
0.7-0.9
Example Request
- Python
- JSON
- cURL
Validation Rules
The model enforces the following validation rules:- research_goal: Required, non-empty string
- company_domains: Required, must contain at least one domain
- search_depth: Must be exactly one of:
"quick","standard", or"comprehensive" - max_parallel_searches: Required positive integer
- confidence_threshold: Required float between 0.0 and 1.0 (inclusive)
Usage Example
Here’s how the request model is used in the API endpoint:Best Practices
Related Models
- BatchResearchResponse - The response model returned by batch research endpoints
- QueryStrategy - Search strategy model used internally by the engine