Homepage

QueryAssetsFilterInput

Last edit: Nov 10, 2026

Conditions for admin_assets

type QueryAssetsFilterInput {
  content_type: StringFilter
  created_at: DateFilter
  deleted_at: DateFilter
  file_size: RangeFilter
  id: UniqIdFilter
  manually_managed: BooleanFilter
  metadata: [JsonbFilter!]
  name: StringFilter
  or: [QueryAssetsFilterInput!]
  physical_file_path: StringFilter
  updated_at: DateFilter
  virtual_deleted_at: DateFilter
}

Fields

content_type (StringFilter)

Conditions on the content type, e.g. image/png

created_at (DateFilter)

Conditions on the creation time

deleted_at (DateFilter)

Conditions on the soft deletion time. When given, soft deleted items are included

file_size (RangeFilter)

Conditions on the file size in bytes

id (UniqIdFilter)

Conditions on the id

manually_managed (BooleanFilter)

Conditions on whether the asset is managed manually instead of by deploys

metadata (JsonbFilter)

Conditions on the metadata defined in the file. All conditions are combined with AND

name (StringFilter)

Conditions on the asset name, its path within the assets directory

or (QueryAssetsFilterInput)

Alternative condition sets: matches when at least one of them matches. Combined with AND with the other conditions

physical_file_path (StringFilter)

Conditions on the source file path relative to the app directory, e.g. views/pages/index.liquid

updated_at (DateFilter)

Conditions on the last update time

virtual_deleted_at (DateFilter)

Deprecated, use deleted_at

Questions?

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

contact us