---
title: "Get vault object with download URL"
method: GET
path: "/vault/{id}/objects/{objectId}"
tags: ["Vaults"]
---

# Get vault object with download URL

`GET /vault/{id}/objects/{objectId}`

Retrieves metadata for a specific document in a vault and generates a temporary download URL. The download URL expires after 1 hour for security. This endpoint also updates the file size if it wasn't previously calculated.

## Path parameters

- `id` string, required
- `objectId` string, required

## Response `200`

Object metadata and download URL

- object
  - `id` string, required — Object ID
  - `vaultId` string, required — Vault ID
  - `filename` string, required — Original filename
  - `contentType` string, required — MIME type
  - `sizeBytes` integer — File size in bytes
  - `path` string, nullable — Optional folder path for hierarchy preservation
  - `downloadUrl` string, required — Presigned S3 download URL
  - `expiresIn` integer, required — URL expiration time in seconds
  - `ingestionStatus` string, required — Processing status (pending, processing, completed, failed)
  - `pageCount` integer — Number of pages (for documents)
  - `textLength` integer — Length of extracted text
  - `chunkCount` integer — Number of text chunks created
  - `vectorCount` integer — Number of embedding vectors generated
  - `ingestionError` string, nullable — Error details when ingestion fails
  - `metadata` object — Additional metadata
  - `createdAt` string, date-time, required — Upload timestamp
  - `transcript_object_id` string, nullable — Object ID of the completed transcript (if available)

## Other responses

- `400` — Missing vault ID or object ID
- `401` — Invalid API key
- `403` — API key does not have vault service access
- `404` — Vault or object not found

---

[API](https://skmtc.net/casemark/apis/case-dev-api.md) · [All operations](https://skmtc.net/casemark/apis/case-dev-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/casemark/case-dev-api/versions/5b7e64e6d6f9/schema)
