Skip to main content

List Assets

Fetch a paginated list of assets with filtering, sorting, and search.

Parameters

ParameterTypeDefaultDescription
typeString-Filter by MIME type
tags[String!]-Filter by tags (AND logic)
searchString-Search in name and description
filterAssetFilter-Advanced field filtering
sort[SortCriteria!]-Sort criteria
cursorStringnullCursor for pagination
limitInt20Items per page

Filter Example

Response:

Get Single Asset

Fetch a specific asset by ID.

Parameters

ParameterTypeRequiredDescription
idID!YesAsset ID

Example

Response:

Asset Fields

FieldTypeDescription
idID!Unique identifier
nameString!File name
descriptionString!Asset description
typeString!MIME type
urlString!CDN URL
sizeInt!File size in bytes
widthIntImage width (images only)
heightIntImage height (images only)
tags[String!]!Associated tags
createdAtDateTime!Upload timestamp
updatedAtDateTime!Last update timestamp

Common MIME Types

TypeDescription
image/jpegJPEG images
image/pngPNG images
image/gifGIF images
image/webpWebP images
image/svg+xmlSVG graphics
video/mp4MP4 videos
video/webmWebM videos
application/pdfPDF documents