Skip to main content
POST
Mint an asset over existing bytes (dedup fast-path)

인증

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.

본문

application/json
hash
string
필수
예시:

"blake3:9f8a1c0d..."

file_path
string
예시:

"photo.png"

tags
string[]

응답

An identical reference already existed; returned as-is.

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).