Interface V1Service
-
- All Implemented Interfaces:
public interface V1ServiceWeb search, AI answers, and deep research
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceV1Service.WithRawResponseA view of V1Service that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract V1Service.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract V1ServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. V1AnswerResponseanswer(V1AnswerParams params)Generate comprehensive answers to questions using web search results. abstract V1AnswerResponseanswer(V1AnswerParams params, RequestOptions requestOptions)V1ContentsResponsecontents(V1ContentsParams params)Scrapes and extracts text content from web pages, PDFs, and documents. abstract V1ContentsResponsecontents(V1ContentsParams params, RequestOptions requestOptions)V1ResearchResponseresearch(V1ResearchParams params)Performs deep research by conducting multi-step analysis, gathering information from multiple sources, and providing comprehensive insights. abstract V1ResearchResponseresearch(V1ResearchParams params, RequestOptions requestOptions)V1RetrieveResearchResponseretrieveResearch(String id)Retrieve the status and results of a deep research task by ID. V1RetrieveResearchResponseretrieveResearch(String id, V1RetrieveResearchParams params, RequestOptions requestOptions)V1RetrieveResearchResponseretrieveResearch(String id, V1RetrieveResearchParams params)abstract V1RetrieveResearchResponseretrieveResearch(V1RetrieveResearchParams params, RequestOptions requestOptions)V1RetrieveResearchResponseretrieveResearch(V1RetrieveResearchParams params)V1RetrieveResearchResponseretrieveResearch(String id, RequestOptions requestOptions)V1SearchResponsesearch(V1SearchParams params)Executes intelligent web search queries with advanced filtering and customization options. abstract V1SearchResponsesearch(V1SearchParams params, RequestOptions requestOptions)V1SimilarResponsesimilar(V1SimilarParams params)Find web pages and documents similar to a given URL. abstract V1SimilarResponsesimilar(V1SimilarParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract V1Service.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract V1Service withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
answer
V1AnswerResponse answer(V1AnswerParams params)
Generate comprehensive answers to questions using web search results. Supports two modes: native provider answers or custom LLM-powered answers using Case.dev's AI gateway. Perfect for legal research, fact-checking, and gathering supporting evidence for cases.
-
answer
abstract V1AnswerResponse answer(V1AnswerParams params, RequestOptions requestOptions)
-
contents
V1ContentsResponse contents(V1ContentsParams params)
Scrapes and extracts text content from web pages, PDFs, and documents. Useful for legal research, evidence collection, and document analysis. Supports live crawling, subpage extraction, and content summarization.
-
contents
abstract V1ContentsResponse contents(V1ContentsParams params, RequestOptions requestOptions)
-
research
V1ResearchResponse research(V1ResearchParams params)
Performs deep research by conducting multi-step analysis, gathering information from multiple sources, and providing comprehensive insights. Ideal for legal research, case analysis, and due diligence investigations.
-
research
abstract V1ResearchResponse research(V1ResearchParams params, RequestOptions requestOptions)
-
retrieveResearch
V1RetrieveResearchResponse retrieveResearch(String id)
Retrieve the status and results of a deep research task by ID. Supports both standard JSON responses and streaming for real-time updates as the research progresses. Research tasks analyze topics comprehensively using web search and AI synthesis.
-
retrieveResearch
V1RetrieveResearchResponse retrieveResearch(String id, V1RetrieveResearchParams params, RequestOptions requestOptions)
-
retrieveResearch
V1RetrieveResearchResponse retrieveResearch(String id, V1RetrieveResearchParams params)
-
retrieveResearch
abstract V1RetrieveResearchResponse retrieveResearch(V1RetrieveResearchParams params, RequestOptions requestOptions)
-
retrieveResearch
V1RetrieveResearchResponse retrieveResearch(V1RetrieveResearchParams params)
-
retrieveResearch
V1RetrieveResearchResponse retrieveResearch(String id, RequestOptions requestOptions)
-
search
V1SearchResponse search(V1SearchParams params)
Executes intelligent web search queries with advanced filtering and customization options. Ideal for legal research, case law discovery, and gathering supporting documentation for litigation or compliance matters.
-
search
abstract V1SearchResponse search(V1SearchParams params, RequestOptions requestOptions)
-
similar
V1SimilarResponse similar(V1SimilarParams params)
Find web pages and documents similar to a given URL. Useful for legal research to discover related case law, statutes, or legal commentary that shares similar themes or content structure.
-
similar
abstract V1SimilarResponse similar(V1SimilarParams params, RequestOptions requestOptions)
-
-
-
-