Creates a new secure vault with dedicated S3 storage and vector search capabilities. Each vault provides isolated document storage with semantic search, OCR processing, and optional GraphRAG knowledge graph features for legal document analysis and discovery.
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.
API key starting with sk_case_
Display name for the vault
"Contract Review Archive"
Optional description of the vault's purpose
"Repository for all client contract reviews and analysis"
Enable knowledge graph for entity relationship mapping. Only applies when enableIndexing is true.
true
Enable vector indexing and search capabilities. Set to false for storage-only vaults.
true
Optional metadata to attach to the vault (e.g., { containsPHI: true } for HIPAA compliance tracking)
{
"containsPHI": true,
"hipaaCompliant": true
}
Assign the vault to a vault group for access control. Required when using a group-scoped API key.
"grp_abc123"
Optional embedding model for this vault. Defaults to casemark/embed-v1. Determines the S3 Vectors index dimension and which model is used at both ingest and search time. The vault is locked to this model after creation — use a re-embed flow to change later. Ignored when enableIndexing is false. Note: casemark/llama-nemotron-embed-vl-1b-v2 is a deprecated alias for casemark/embed-v1 (retained for SDK backward compatibility); new integrations should use casemark/embed-v1 directly.
openai/text-embedding-3-small, openai/text-embedding-3-large, voyage/voyage-3.5, voyage/voyage-law-2, cohere/embed-v4.0, google/gemini-embedding-2, casemark/embed-v1, casemark/llama-nemotron-embed-vl-1b-v2 "casemark/embed-v1"
Vault created successfully
Unique vault identifier
Vault display name
Vault description
S3 bucket name for document storage
S3 bucket name for vector embeddings. Null for storage-only vaults.
Vector search index name. Null for storage-only vaults.
Whether vector indexing is enabled for this vault
AWS region for storage
The resolved embedding profile for this vault. Null for storage-only vaults.
Vault creation timestamp