Assets represent media files (images, videos, documents, etc.) stored on the CDN and managed through Metabind. Assets referenced by Packages are preserved to maintain package integrity.Documentation Index
Fetch the complete documentation index at: https://docs.metabind.ai/llms.txt
Use this file to discover all available pages before exploring further.
Key Concepts
Package Integration
Assets referenced by packages are immutable. Package references prevent deletion, and new versions can be created while maintaining package integrity.
Status Management
Assets can be active or deleted. Deletion is prevented if referenced. Soft-delete preserves history.
CDN Integration
All assets are served through CDN with versioned URLs, cache control headers, and geographic distribution.
Optimization
On-demand transformations including format conversion, size optimization, and quality adjustments.
Asset Object
The Asset object contains all metadata and references for a media file.Fields
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier (UUID) |
name | string | Display name |
description | string | Structured markdown description for semantic search |
type | string | MIME type (e.g., image/jpeg, video/mp4) |
url | string | CDN URL |
status | string | Status: active or deleted |
size | number | File size in bytes |
tags | string[] | Asset categories |
createdAt | string | Creation timestamp (ISO format) |
updatedAt | string | Last update timestamp (ISO format) |
Metadata Object
| Field | Type | Description |
|---|---|---|
metadata.width | number | Image width in pixels (if applicable) |
metadata.height | number | Image height in pixels (if applicable) |
metadata.duration | number | Media duration in seconds (if applicable) |
metadata.format | string | File format |
metadata.usage.components | string[] | Components referencing this asset |
metadata.usage.packages | string[] | Packages containing this asset |
metadata.usage.content | string[] | Content items using this asset |
Example
Description Field Standards
The asset description field follows a structured markdown format optimized for semantic search and LLM understanding.Template
Aim for 200-300 characters. Maximum 400 characters.
Examples
- Image
- Video
- Document