Skip to main content
GET
/
vault
/
{id}
/
objects
curl -X GET "https://api.case.dev/vault/%3Cstring%3E/objects" \ -H "Authorization: Bearer $CASEDEV_API_KEY"
{
  "vaultId": "vault_abc123",
  "objects": [
    {
      "id": "obj_xyz789",
      "filename": "contract_2024_v2.pdf",
      "contentType": "application/pdf",
      "sizeBytes": 2485760,
      "ingestionStatus": "completed",
      "pageCount": 15,
      "textLength": 12450,
      "chunkCount": 28,
      "vectorCount": 28,
      "tags": [
        "contract",
        "2024",
        "vendor"
      ],
      "metadata": {
        "client": "Acme Corp",
        "matter": "M-2024-001"
      },
      "createdAt": "2024-01-15T10:30:00Z",
      "ingestionCompletedAt": "2024-01-15T10:32:15Z"
    }
  ],
  "count": 1
}

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.

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Path Parameters

id
string
required

The unique identifier of the vault

Response

Successfully retrieved vault objects

vaultId
string
required

The ID of the vault

objects
object[]
required
count
number
required

Total number of objects in the vault