How to access storefront.product_viewed() via the API?

I see that the customers segments can have a new filter storefront.product_viewed(). How can I access this value for individual customer via the API? I don’t seem to find an object name storefront, nor does the Customer object has a parameter called product_viewed.

Thanks

Hi ShelHealth,

Are you trying to use ShopifyQL to access this dataset?

I am using REST API. ShopifyQL seems to only be available for Plus members.

Hi Liam,

Could we access the value storefront.product_viewed() for individual customer via the API? Either REST API or ShopifyQL is fine.

Thank you, hope you have a great day.