We just launched our new Hygraph Studio in beta. Learn more

Hygraph
Docs

Referencing assets

While you can query for individuals assets, or fetch all and filter, order, and paginate, assets are best used when related to another model.

When extending the Hygraph schema with your own models, the Asset field type exposes all of the available transformations below.

For example, imagine you have a Product model with a one to many reference to assets, as productImage:

You can query any of the system fields here as well.