Documentation Index Fetch the complete documentation index at: https://docs.case.dev/llms.txt
Use this file to discover all available pages before exploring further.
We automatically search, analyze, and synthesize information into a detailed report.
cURL
CLI
Typescript
Python
C#
Java
PHP
Go
curl -X POST https://api.case.dev/search/v1/research \
-H "Authorization: Bearer sk_case_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"instructions": "Research HIPAA enforcement actions in 2024",
"model": "pro"
}'
{
"researchId" : "res_abc123xyz" ,
"status" : "processing" ,
"model" : "pro"
}
Get results
cURL
CLI
Typescript
Python
C#
Java
PHP
Go
curl https://api.case.dev/search/v1/research/res_abc123xyz \
-H "Authorization: Bearer sk_case_YOUR_API_KEY"
{
"researchId" : "res_abc123xyz" ,
"status" : "completed" ,
"report" : "## HIPAA Enforcement in 2024 \n\n ### Overview \n The Office for Civil Rights (OCR) has significantly increased enforcement... \n\n ### Key Findings \n 1. **Increased Penalties**: Average penalties rose 45%... \n\n ### Notable Cases \n - **Healthcare Provider X**: $2.3M penalty for..." ,
"sources" : [
{
"url" : "https://hhs.gov/hipaa/enforcement-2024" ,
"title" : "OCR Enforcement Actions 2024"
}
],
"metadata" : {
"searchesPerformed" : 12 ,
"sourcesAnalyzed" : 47 ,
"processingTimeMs" : 45000
}
}
Parameters
Parameter Type Default Description instructionsstring Required Research question/instructions modelstring normalResearch depth (see below) outputSchemaobject — JSON schema for structured output
Research models
Model Depth Speed Use case fastBasic ~30 sec Quick fact-checking normalGood ~2 min Standard research proBest ~5 min Complex legal research
Examples
Legal research
CLI
Typescript
Python
C#
Java
PHP
Go
casedev search:v1 research \
--instructions "Research recent developments in non-compete agreement enforceability across US states, focusing on 2024 legislation and court decisions." \
--model pro
Due diligence
CLI
Typescript
Python
C#
Java
PHP
Go
casedev search:v1 research \
--instructions "Research Acme Corporation litigation history over the past 5 years, including settlements, verdicts, and ongoing cases." \
--model pro
Structured output
CLI
Typescript
Python
C#
Java
PHP
Go
casedev search:v1 research \
--instructions "Research the top 5 law firms specializing in patent litigation" \
--model normal
Tip: Be specific in your instructions. “Research HIPAA enforcement in 2024” produces better results than “Tell me about HIPAA.”
Web data only. For comprehensive legal research, use Lexis, Westlaw, or OpenLaws.