Skip to main content

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.

The problem

You have thousands of documents—contracts, depositions, evidence. You need to find the relevant passages, but keyword search fails when documents use different terminology.

The solution

A vault is a container that understands documents. When you upload files, we automatically:
  1. Extract text (OCR for scans, transcription for audio)
  2. Split content into searchable chunks
  3. Create meaning vectors for semantic search
Then you can ask questions in plain English and get relevant results—even if the documents use different terminology.

How RAG works

Traditional search matches keywords. If you search “timeline” and the document says “schedule,” you get nothing. RAG (Retrieval-Augmented Generation) works differently: The magic is in step 3. “Timeline” and “schedule” have similar meaning vectors, so they match—even though the words are different.

What you can upload

File typeWhat happens
PDF (scanned)OCR extracts the text
PDF (digital)Text extracted directly
ImagesOCR extracts any text
Audio/VideoTranscribed with speaker labels
Word, text filesIndexed directly

Quick start

# 1. Create a vault
casedev vault create --name "Documents - User 12345"

# 2. Upload a document
casedev vault upload --id $VAULT_ID \
  --filename "contract.pdf" \
  --content-type "application/pdf"

# 3. Process it
casedev vault ingest --id $VAULT_ID --object-id $OBJECT_ID

# 4. Search by meaning
casedev vault search --id $VAULT_ID --query "termination clauses"

Security

Each vault is isolated and encrypted:
  • Encryption at rest — AES-256 via AWS KMS
  • Isolation — Separate storage per vault
  • Zero-knowledge — We cannot read your documents
  • Audit trail — Every access logged
One vault per case is the recommended pattern. Keeps search results focused and data isolated.

Next steps

Groups

Organize vaults and scope API key access by client or team

Upload & Process

Integrate document uploads and make them searchable

Webhooks

Receive ingestion lifecycle events without polling

Search

Build semantic search—including GraphRAG for complex questions

Chunk Retrieval

Pull full-text chunk ranges when search previews are too short

Memory

Store and retrieve structured facts per vault

Manage

List vaults, download files, delete documents

OCR

Pre-process scanned documents before uploading to vaults

Voice

Transcribe audio recordings, then store transcripts in vaults

LLMs

Combine vault search with AI to summarize and answer questions