get_asset
Retrieve asset metadata by ID or path in LightCMS. Access details like file information without downloading content, using serve paths for file access.
Instructions
Get asset metadata by ID or path. Does not return file content (use the serve path to access the file).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Asset ID (MongoDB ObjectID) | |
| path | No | Asset serve path (e.g., /images/logo.png) |