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.

Install the SDK

# No installation needed — just set your API key
export CASEDEV_API_KEY="sk_case_YOUR_API_KEY"

Initialize the client

# Include in every request:
# -H "Authorization: Bearer $CASEDEV_API_KEY"
export CASEDEV_API_KEY="sk_case_YOUR_API_KEY"

Your first API call

Let’s build a simple legal extraction feature—pulling parties from a case description.
195+ Models Available: Browse all available models with pricing and capabilities at case.dev/models.
curl -X POST https://api.case.dev/llm/v1/chat/completions \
  -H "Authorization: Bearer $CASEDEV_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-sonnet-4.5",
    "messages": [
      {"role": "system", "content": "You are a legal assistant. Extract the Plaintiff and Defendant."},
      {"role": "user", "content": "Smith v. Jones Construction..."}
    ]
  }'

What’s next?

Document Search

Build semantic search across thousands of documents for your users

OCR Integration

Add document digitization to extract text from scanned PDFs

Audio Transcription

Enable your users to convert audio recordings to searchable text

Authentication

Get your API key from the Console. You get 10freeusageeverymonth,or10 free usage** every month, or **30/month when you add a payment method. All requests require your API key in the Authorization header:
Shell
Authorization: Bearer sk_case_YOUR_API_KEY
Keep your API key secret. Don’t commit it to version control. Use environment variables.

Connect from your AI client

If you already live in Claude, ChatGPT, or Microsoft 365 Copilot, connect Case.dev there instead of building a separate wrapper first.

Claude

Add Case.dev as a remote MCP connector in Claude and authenticate with OAuth.

ChatGPT

Connect Case.dev to ChatGPT’s remote MCP flow for chat and research tools.

Copilot

Package Case.dev into a Microsoft 365 Copilot declarative agent.