Retrieve all objects stored in a specific vault, including document metadata, ingestion status, and processing statistics.
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
}API key starting with sk_case_
The unique identifier of the vault
Was this page helpful?
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
}