Vault Objects

Get vault object with download URL

Changed on

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.

get/vault/{id}/objects/{objectId}

Request

  • Base URL
    https://api.case.dev
  • URL
    https://api.case.dev/vault/{id}/objects/{objectId}
  • Auth
    HTTP bearer

Path parameters

idstring required

Vault ID

objectIdstring required

Object ID within the vault

Response

Object metadata and download URL

idstring required

Object ID

vaultIdstring required

Vault ID

filenamestring required

Original filename

contentTypestring required

MIME type

sizeBytesinteger

File size in bytes

pathstring nullable

Optional folder path for hierarchy preservation

downloadUrlstring required

Presigned S3 download URL

expiresIninteger required

URL expiration time in seconds

ingestionStatusstring required

Processing status (pending, processing, completed, failed)

pageCountinteger

Number of pages (for documents)

textLengthinteger

Length of extracted text

chunkCountinteger

Number of text chunks created

vectorCountinteger

Number of embedding vectors generated

ingestionErrorstring nullable

Error details when ingestion fails

metadataobject

Additional metadata

file_originobject nullable

Client-defined provenance metadata associated with the file

is_ai_generatedboolean

Whether the file was marked as AI-generated work product at upload time

createdAtstring date-time required

Upload timestamp

transcript_object_idstring nullable

Object ID of the completed transcript (if available)

Changes

    • info

      api tag Vault Objects added

    • info

      api tag Vaults removed

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status