Interface V1ServiceAsync
-
- All Implemented Interfaces:
public interface V1ServiceAsyncWeb search, AI answers, and deep research
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceV1ServiceAsync.WithRawResponseA view of V1ServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract V1ServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract V1ServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
answer
CompletableFuture<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 CompletableFuture<V1AnswerResponse> answer(V1AnswerParams params, RequestOptions requestOptions)
-
contents
CompletableFuture<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 CompletableFuture<V1ContentsResponse> contents(V1ContentsParams params, RequestOptions requestOptions)
-
research
CompletableFuture<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 CompletableFuture<V1ResearchResponse> research(V1ResearchParams params, RequestOptions requestOptions)
-
retrieveResearch
CompletableFuture<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
CompletableFuture<V1RetrieveResearchResponse> retrieveResearch(String id, V1RetrieveResearchParams params, RequestOptions requestOptions)
-
retrieveResearch
CompletableFuture<V1RetrieveResearchResponse> retrieveResearch(String id, V1RetrieveResearchParams params)
-
retrieveResearch
abstract CompletableFuture<V1RetrieveResearchResponse> retrieveResearch(V1RetrieveResearchParams params, RequestOptions requestOptions)
-
retrieveResearch
CompletableFuture<V1RetrieveResearchResponse> retrieveResearch(V1RetrieveResearchParams params)
-
retrieveResearch
CompletableFuture<V1RetrieveResearchResponse> retrieveResearch(String id, RequestOptions requestOptions)
-
search
CompletableFuture<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 CompletableFuture<V1SearchResponse> search(V1SearchParams params, RequestOptions requestOptions)
-
similar
CompletableFuture<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 CompletableFuture<V1SimilarResponse> similar(V1SimilarParams params, RequestOptions requestOptions)
-
-
-
-