Create Asset Metadata
Create asset metadata, including its object reference.
Headers
Authorization
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Request
This endpoint expects an object.
lifetime_hours
Asset lifetime in hours (1–24).
mime_type
MIME type of the asset (e.g., ‘application/json’).
contents
Base64-encoded contents of the asset (optional).
name
Optional human-readable name for the asset.
Response
Successful Response
asset_id
Unique identifier of the asset.
size
Size of the asset in bytes.
checksum
SHA-256 checksum of the asset content.
expires_at
Datetime when the asset will expire.
created_at
Datetime when the asset was created.
updated_at
Datetime when the asset was last updated.
mime_type
MIME type of the asset (if known).
reference
Storage reference URI for the asset.
protocol
Protocol-formatted reference URI (auto-generated).