Skip to main content
GET
Get one evidence pack, optionally its content

Path Parameters

id
string<uuid>
required

Project id.

packId
string
required

Evidence pack id.

Query Parameters

download
boolean
default:false

When true and the pack is stored on the local-disk backend (no presigned URL available), returns the document's raw content inline instead of just metadata.

view
boolean
default:false

When true, returns the document's raw content inline on every storage backend, up to 10 MB. A larger document is left out (content is null) and tooLarge is true. Audited as compliance.pack_viewed.

Response

The pack, and its content or download URL if completed.

pack
object
required
downloadUrl
string | null
required

A presigned, short-lived (15 minute) URL when the pack is stored in object storage. Null on the local-disk backend — use content with ?download=true instead.

content
string | null
required

The document's raw content, populated when ?download=true was passed and the object is on the local-disk backend (no presigned URL available), or when ?view=true was passed (any backend, up to 10 MB).

tooLarge
boolean

Present only with ?view=true. True when the document is over the 10 MB view cap, so content is null; download it instead.