List media assets
list_mediaList media assets from the CMS media library, newest first, in a read-only manner. Requires a secret key with media:read scope.
Instructions
List media assets. The media library, newest first. Read only. Nothing is changed. Needs a secret key (wv_sk_) carrying the media:read scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size. Values above the maximum are clamped rather than rejected, so a client asking for a thousand rows gets a hundred and a `next_cursor`. | |
| bucket | No | ||
| cursor | No | The opaque cursor from `data.next_cursor` on the previous page. Do not parse it or construct one; its encoding is not part of this contract and will change. | |
| fields | No | Comma separated field allow list. Default projection: `id, bucket, url, file_name, mime_type, size_bytes, width, height, alt_text, created_at`. |