Deep Research
Handles POST requests for deep research operations based on the specified research type. Depending on the type attribute of the deep research profile, this endpoint executes different research workflows:
For
ASSAFELOVIC_POST_RESEARCH, it gathers and processes parameters, then generates a research report.For other types (
ASSAFELOVIC_POST_MULTI_AGENTS,ASSAFELOVIC_POST_GENERATE_REPORT,ASSAFELOVIC_POST_MULTI_AGENTS_REPORT,DZHNG_POST_RESEARCH,SONAR_POST_RESEARCH), it returns a placeholder string.
Args: _ (User): The authenticated user, injected via dependency. request (SmartSearchDeepResearchRequest): The request payload containing research parameters. bosa_token (str): The Bosa Token.
Returns: The result of the research operation, which may be a generated report or a placeholder string depending on the research type.
Raises: May raise exceptions from downstream functions such as exec_generate_research_report.
- : Read Permissions
The search query string that specifies the information to be retrieved.
The codename.
Optional parameters. Defaults to empty string.
""List of documents url for additional data source for research
[]The Bosa Token
Successful Response
Validation Error
No content
Handles the custom multi-agent research process by initiating a research task and coordinating it through a smart search orchestrator.
Args: request (ResearchRequest): The incoming request containing the query for the research task.
Returns: JSONResponse: A JSON response containing the research report generated by the smart search orchestrator.
Raises: Any exceptions raised during the research task execution will propagate to the caller.
The search query string that specifies the information to be retrieved.
The report type
research_reportThe LLM model to be used for smart responses.
openai:gpt-4.1The LLM model to be used for strategic responses.
openai:o4-miniThe token limit for smart responses.
6000The token limit for strategic responses.
4000The query domains to be used for the research.
[]The source urls to be used for the research.
[]The document urls to be used for the research.
[]Whether to complement the source urls with the document urls.
falseThe Bosa Token
Successful Response
Validation Error
No content
Last updated
