Skip to main content
GET
Asset metadata

授权

Authorization
string
header
必填

Authorization: Bearer <api-key> — account-scoped API keys on Cloud and serverless. Self-hosted accepts unauthenticated requests by default and can be configured with a static bearer token.

路径参数

id
string
必填

响应

The asset.

A user-owned record identified by a server-assigned UUID, backing an immutable blob whose content carries a server-computed blake3 hash. hash may be computed lazily: an asset record (and its retrievable bytes) can exist before its hash is filled in.

id
string
必填
示例:

"asset_01JZV8Q3M7K2W9X0Y1Z2A3B4C5"

hash
string | null
必填

blake3:<hex>; null while lazily computed.

示例:

"blake3:9f8a1c0d..."

size_bytes
integer<int64>
必填
示例:

4816293

content_type
string
必填
示例:

"image/png"

created_at
string<date-time>
必填
url
string<uri>
必填

Short-lived content URL (signed, or proxy-served).

url_expires_at
string<date-time>
必填
file_path
string | null
示例:

"photo.png"

created_new
boolean

On create responses: distinguishes a brand-new blob (true) from a dedup hit against bytes the platform already had (false).