Help teams manage content creation and approval in a clear and structured way
Hygraph
Docs

#Variants

#Overview

Variants and Segments work together to deliver tailored experiences to different groups of users.

After you add a Segment or a Variant, it is added to the Hygraph schema and is immediately queryable through the API. You need to access the API Playground section of your Hygraph project, select Content API at the top of the screen, and then run the query.

#Fetch Variants

You can fetch all the Variants associated with a specific content entry.

#Fetch a Variant and its linked Segments

#Fetch a Variant from a Segment

#Fetch a Variant from multiple Segments

#Fetch all Segments

#Fetch a Segment

You can fetch a specific Segment by providing its ID.