Skip to main content
GET
Get attachment metadata and URL

Authorizations

Authorization
string
header
required

Static bearer, WorkOS JWT, or open local when AUTH_REQUIRED is off and no static tokens are set. The token selects the vault; paths do not include vault_id.

Path Parameters

file_name
string
required
Minimum string length: 1

Query Parameters

sha256
string
Pattern: ^[0-9a-f]{64}$

Response

Default Response

alt_text
string | null
required
content_type
string | null
required
file_name
string
required
ocr_text
string | null
required
referenced_by
object[]
required
sha256
string
required
size_bytes
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
url
string
required
url_expires_seconds
integer | null
required
Required range: -9007199254740991 <= x <= 9007199254740991