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.
curl -X POST https://api.case.dev/search/v1/search \
-H "Authorization: Bearer sk_case_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "medical malpractice statute of limitations California",
"numResults": 20,
"includeText": true
}'
{
"results": [
{
"title": "California Medical Malpractice Laws",
"url": "https://law.cornell.edu/california/medical-malpractice",
"publishedDate": "2024-03-15",
"score": 0.95,
"text": "California Code of Civil Procedure Section 340.5..."
}
]
}
Parameters
| Parameter | Type | Default | Description |
|---|
query | string | Required | Search query |
numResults | number | 10 | Number of results (max 100) |
type | string | auto | auto, keyword, or neural |
includeDomains | array | — | Only include these domains |
excludeDomains | array | — | Exclude these domains |
startPublishedDate | string | — | Published after (ISO date) |
endPublishedDate | string | — | Published before (ISO date) |
includeText | boolean | false | Include page text in results |
Examples
Legal research with trusted sources
casedev search:v1 search \
--query "HIPAA compliance requirements" \
--include-domain law.cornell.edu \
--include-domain hhs.gov \
--include-domain findlaw.com \
--num-results 20 --include-text
News search with date range
casedev search:v1 search \
--query "SEC cryptocurrency enforcement" \
--start-published-date 2024-01-01 \
--exclude-domain reddit.com \
--exclude-domain twitter.com \
--type keyword
Company research
casedev search:v1 search \
--query "Acme Corporation lawsuit settlement" \
--include-domain reuters.com \
--include-domain bloomberg.com \
--include-domain wsj.com \
--start-published-date 2023-01-01 \
--include-text
Tip: Use includeDomains to restrict results to authoritative sources.