Homepage

admin_assets

Last edit: Oct 20, 2026

Returns assets (app/assets) of the instance, sorted by name unless sort is
given. Soft deleted assets are included only when filtering by deleted_at.
Assets from the private directories of modules are not included.

admin_assets(
  filter: QueryAssetsFilterInput
  page: Int = 1
  per_page: Int = 20
  sort: [AssetsSortInput!]
): AssetCollection!

Arguments

filter (QueryAssetsFilterInput)

Conditions the returned results must match. All conditions are combined with AND

page (Int)

Page number to return, starting at 1. Requesting a page beyond the last one returns an empty results list

per_page (Int)

Number of results per page, must be greater than 0

sort (AssetsSortInput)

Sort order of the results. When several entries are given, they are applied in the given order

Type

AssetCollection

Paginated list of assets

Questions?

We are always happy to help with any questions you may have.

contact us