Skip to main content
GET
/
vault
/
{id}
/
objects
List vault objects
curl --request GET \
  --url https://api.case.dev/vault/{id}/objects \
  --header 'Authorization: Bearer <token>'
{
  "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
}

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

The ID of the vault

objects
object[]
count
number

Total number of objects in the vault