Skip to main content
GET
/
vault
/
{id}
/
objects
/
{objectId}
/
text
curl -X GET "https://api.case.dev/vault/%3Cstring%3E/objects/%3Cstring%3E/text" \ -H "Authorization: Bearer $CASEDEV_API_KEY"
{
  "text": "PLAINTIFF'S MOTION FOR SUMMARY JUDGMENT\n\nTO THE HONORABLE COURT:\n\nPlaintiff respectfully moves this Court for summary judgment on all claims...\n\n[Additional contract text continues...]",
  "metadata": {
    "object_id": "obj_abc123",
    "vault_id": "vault_def456",
    "filename": "motion_for_summary_judgment.pdf",
    "chunk_count": 15,
    "length": 12847,
    "ingestion_completed_at": "2024-01-15T10:30:00Z"
  }
}

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 vault ID

objectId
string
required

The object ID

Response

Successfully retrieved object text

text
string
required

Full concatenated text content from all chunks

metadata
object
required