Retrieves the full extracted text content from a processed vault object. Returns the concatenated text from all chunks, useful for document review, analysis, or export. The object must have completed processing before text can be retrieved.
cURL
curl --request GET \ --url https://api.case.dev/vault/{id}/objects/{objectId}/text \ --header 'Authorization: Bearer <token>'
{ "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" } }
API key starting with sk_case_
sk_case_
The vault ID
The object ID
Successfully retrieved object text
Full concatenated text content from all chunks
Show child attributes
Was this page helpful?