curl --request POST \
--url https://{subdomain}.mihu.ai/api/v1/agentic-search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "What does example.com do? Answer in one short paragraph.",
"search_preset": "fast-search"
}
'{
"success": true,
"message": "Search completed successfully",
"data": {
"answer": "Example Corp is a home services company operating in Amsterdam. Customers most often ask about pricing, availability, and same-day appointments...",
"citations": [
"https://example.com"
]
}
}Agentic Search
Agentic web search and analysis
Runs an agentic, web-grounded search for any research question and returns a written answer with source citations.
When to use this endpoint:
- Agentic search over public web data
- Local market questions (combine with search_country / search_city filters)
- Any question that cannot be answered from internal data alone
Choosing a depth (search_preset): start with fast-search for simple questions. Use pro-search when answer quality and source coverage matter (recommended for business research). Reserve deep-research and advanced-deep-research for complex multi-source research where a longer response time is acceptable.
POST
/
api
/
v1
/
agentic-search
curl --request POST \
--url https://{subdomain}.mihu.ai/api/v1/agentic-search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "What does example.com do? Answer in one short paragraph.",
"search_preset": "fast-search"
}
'{
"success": true,
"message": "Search completed successfully",
"data": {
"answer": "Example Corp is a home services company operating in Amsterdam. Customers most often ask about pricing, availability, and same-day appointments...",
"citations": [
"https://example.com"
]
}
}Authorizations
Body
application/json
The research question or analysis instruction. Be specific: name the company, market, and what to compare — specific questions return far better answers than broad ones.
Maximum string length:
4000Example:
"What are the most common customer questions when booking a dental appointment?"
Search depth. When to use each value:
- fast-search (default): fastest and lowest cost. Simple questions, short factual answers, quick summaries. Typical response in seconds.
- pro-search: balanced speed and quality with better source coverage. Recommended default for business research and most production use.
- deep-research: slow, multi-source research. Complex questions, market overviews, detailed comparisons. Can take minutes.
- advanced-deep-research: slowest and most exhaustive. In-depth reports where completeness matters more than speed.
Available options:
fast-search, pro-search, deep-research, advanced-deep-research Example:
"pro-search"