Returns the metadata for a single asset.
The asset ID.
Asset metadata
A registered asset — an input/output file tracked in the asset database with content hash and metadata.
Unique identifier for the asset
Name of the asset file
Blake3 content hash of the asset (preferred over asset_hash)
Deprecated: use hash instead. Blake3 hash of the asset content.
Size of the asset in bytes
MIME type of the asset
Tags associated with the asset
Custom user metadata
System-managed metadata (read-only)
URL for asset preview/thumbnail
ID of the preview asset if available
Deprecated: use job_id instead. ID of the prompt that created this asset.
ID of the job that created this asset
Whether this asset is immutable