Skip to main content
GET
/
vault
/
{id}
Get vault information
curl --request GET \
  --url https://api.case.dev/vault/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "vault_abc123",
  "name": "Contract Repository",
  "description": "Secure storage for client contracts and legal documents",
  "filesBucket": "case-vault-files-abc123",
  "vectorBucket": "case-vault-vectors-abc123",
  "indexName": "contracts-index",
  "region": "us-east-1",
  "kmsKeyId": "arn:aws:kms:us-east-1:123456789:key/12345678-1234-1234-1234-123456789012",
  "chunkStrategy": {
    "method": "semantic",
    "overlap": 50,
    "chunkSize": 512,
    "minChunkSize": 100
  },
  "enableGraph": true,
  "totalObjects": 1247,
  "totalBytes": 2847362048,
  "totalVectors": 45623,
  "metadata": {
    "vectorBucket": "case-vault-vectors-abc123",
    "lastIndexed": "2024-01-15T10:30:00Z"
  },
  "createdAt": "2024-01-01T00:00:00Z",
  "updatedAt": "2024-01-15T10:30:00Z"
}

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Path Parameters

id
string
required

Unique identifier of the vault

Response

Vault information retrieved successfully

id
string

Vault identifier

name
string

Vault name

description
string

Vault description

filesBucket
string

S3 bucket for document storage

vectorBucket
string | null

S3 bucket for vector embeddings

indexName
string

Search index name

region
string

AWS region

kmsKeyId
string

KMS key for encryption

chunkStrategy
object

Document chunking strategy configuration

enableGraph
boolean

Whether GraphRAG is enabled

totalObjects
integer

Number of stored documents

totalBytes
integer

Total storage size in bytes

totalVectors
integer

Number of vector embeddings

metadata
object

Additional vault metadata

createdAt
string<date-time>

Vault creation timestamp

updatedAt
string<date-time>

Last update timestamp