The Case.dev CLI gives you full access to the Case.dev API from your terminal. Every API operation is available as a CLI command, making it easy to script workflows, test integrations, and manage resources without writing code.
# Chat with an LLMcasedev llm:v1:chat create-completion \ --model anthropic/claude-sonnet-4.5 \ --message '{role: user, content: "Summarize this contract..."}'# Search a vaultcasedev vault search \ --id vault_abc123 \ --query "termination clauses"# List available modelscasedev llm:v1 list-models# Run OCR on a documentcasedev ocr:v1 process --file @contract.pdf# Transcribe audiocasedev voice:transcription create --file @deposition.mp3
Upload files using the @ prefix on any argument that accepts a file:
Shell
# OCR a local PDFcasedev ocr:v1 process --file @contract.pdf# Upload to a vaultcasedev vault upload --id vault_abc123 --file @evidence.pdf# Transcribe a local audio filecasedev voice:transcription create --file @recording.mp3