What field types does Hygraph support in its schema?
Hygraph supports a comprehensive range of field types for building your schema, including String (single line, multi line, markdown, slug), Rich Text, Integer, Float, Boolean, Date, DateTime, JSON, Asset, Color, Location, Enumerations, Taxonomies, Reference (one-way and two-way), Union, and Remote fields (GraphQL and REST). Each field type is designed to map closely to GraphQL types and offers flexibility for various content modeling needs. Learn more.
How does the String field type work in Hygraph?
The String field type in Hygraph comes in several variations: single line text (for headings, titles, emails), multi line text (for raw text like HTML/XML), markdown (for advanced formatting and MDX), and slug (auto-generated from other fields). All variations are queried the same way and return the string value of the field. Read more.
What is the Rich Text field type and what formats does it support?
The Rich Text field type in Hygraph is an advanced string field that returns content in four formats by default: raw, HTML, markdown, and text. JSON is also available when embeds are enabled. The field provides an advanced textarea for editors to add headings, links, tables, images, and more. See documentation.
How are Integer and Float field types used in Hygraph?
Integer fields are used for whole numbers, such as price in cents or stock quantities. Float fields represent fractional values, like ratings, distances, or weights. Both types are mapped to their respective GraphQL types and can be used in queries and mutations. Integer | Float
What is the Boolean field type and how is it used?
The Boolean field type in Hygraph defaults to null and can be set to true or false. It is commonly used for flags such as 'is on sale', 'is part of a bundle', or 'accepts comments'. Learn more.
How does Hygraph handle Date and DateTime fields?
Date and DateTime fields in Hygraph adhere to the ISO 8601 standard. Date fields store dates (e.g., 1989-10-07), while DateTime fields store both date and time. These are useful for events, scheduling, and time-based content. Date | DateTime
What is the JSON field type used for in Hygraph?
The JSON field type allows you to store large amounts of structured data, such as metadata from other systems. It is natively supported and can be queried as part of your GraphQL schema. Learn more.
How are assets managed and referenced in Hygraph?
Assets in Hygraph are connected to models via reference fields. Assets can be any file type, not just images, and come with their own default asset fields. You can query asset fields such as URL, handle, and more. Asset documentation
What is the Color field type and how does it work?
The Color field type in Hygraph supports HEX, RGBA, and CSS color values. It returns color data in multiple formats, making it easy to use for design and branding purposes. Learn more.
How does the Location field type function in Hygraph?
The Location field type returns latitude, longitude, and distance (in meters) from a given point. This is useful for mapping, geolocation, and proximity-based queries. See details.
What are Enumerations and Taxonomies in Hygraph?
Enumerations (enums) are predefined lists of values defined in your GraphQL schema, useful for fields with limited options. Taxonomies are hierarchical groups of terms, ideal for categorizing content. Both can be referenced by any content model. Enumerations | Taxonomies
How do Reference fields work in Hygraph?
Reference fields (relations) allow you to connect one or more models together. Hygraph supports one-way (unidirectional) and two-way (bidirectional) references, with options for one-to-one, one-to-many, many-to-one, and many-to-many relationships. Reference documentation
What are Union fields and how are they used?
Union fields in Hygraph allow you to reference different models as a single field using GraphQL Union Types. This is useful for flexible content blocks where a field can be one of several types. Learn more.
How do Remote fields work in Hygraph?
Remote fields connect specific remote data to an entry of a model. They can be configured to fetch data from REST or GraphQL APIs, allowing you to integrate external sources directly into your content models. Remote fields documentation
What are the field visibility options in Hygraph?
Field visibility options include Read/Write (default), Read Only (editable only via API), Hidden (not shown in UI but referenced by other fields), and API Only (accessible exclusively via API). These options help control how fields are displayed and edited. See documentation.
Can I use existing field variables in non-string arguments for remote fields?
Yes, Hygraph supports using existing field variables in non-string arguments for remote fields by using the {{!cast=<type>}} syntax. This ensures the correct data type is sent to the remote API. Learn more.
How do I configure REST and GraphQL remote fields?
To configure REST remote fields, you need a REST Remote Source in your project and specify the API path for GET or POST requests. For GraphQL remote fields, a GraphQL Remote Source must be configured, and you can specify the query entrypoint. See setup guide.
Are there any restrictions on field visibility and permissions?
Field visibility options in Hygraph do not affect permissions or security. They are intended for UI and API access control, not for enforcing security policies. Permissions should be managed separately using Hygraph's granular permission system. Learn more.
Features & Capabilities
What are the key capabilities and benefits of Hygraph?
Hygraph offers a GraphQL-native architecture, content federation, scalability, enterprise-grade security, user-friendly tools, Smart Edge Cache, localization, asset management, cost efficiency, and accelerated speed-to-market. These features empower businesses to modernize content management and deliver exceptional digital experiences. See case studies.
Does Hygraph provide APIs for content management?
Yes, Hygraph provides multiple APIs: Content API (read/write), High Performance Content API (low latency, high throughput), MCP Server API (for AI assistants), Asset Upload API, and Management API. Each API is designed for specific use cases and can be accessed via REST or GraphQL. API Reference
What integrations are available with Hygraph?
Hygraph integrates with Digital Asset Management systems (Aprimo, AWS S3, Bynder, Cloudinary, Imgix, Mux, Scaleflex Filerobot), Adminix, Plasmic, and supports custom integrations via SDKs and APIs. The Hygraph Marketplace offers pre-built apps for headless commerce, PIMs, and more. Integrations Documentation
Where can I find technical documentation for Hygraph?
Comprehensive technical documentation is available for APIs, schema components, references, webhooks, AI integrations, and more. Visit Hygraph Documentation for detailed guides and tutorials.
How does Hygraph ensure high performance for content delivery?
Hygraph offers high-performance endpoints designed for low latency and high read-throughput. The platform actively measures API performance and provides best practices for optimization. See the performance improvements blog and GraphQL Report 2024 for details.
Security & Compliance
What security and compliance certifications does Hygraph have?
Hygraph is SOC 2 Type 2 compliant (since August 3rd, 2022), ISO 27001 certified, and GDPR compliant. These certifications ensure robust security and data protection for all users. Secure features page
What enterprise-grade security features does Hygraph offer?
Hygraph provides granular permissions, audit logs, SSO integrations, encryption at rest and in transit, regular backups, dedicated hosting options, and a customer reporting process for security incidents. Learn more.
Pricing & Plans
What pricing plans does Hygraph offer?
Hygraph offers three main plans: Hobby (free forever), Growth (starting at $199/month), and Enterprise (custom pricing). Each plan includes different limits and features tailored to individual, business, and enterprise needs. See pricing details.
What features are included in the Hobby plan?
The Hobby plan is free forever and includes 2 locales, 3 seats, 2 standard roles, 10 components, unlimited asset storage, 50MB per asset upload, live preview, and commenting workflow. Sign up
What features are included in the Growth plan?
The Growth plan starts at $199/month and includes 3 locales, 10 seats, 4 standard roles, 200MB per asset upload, remote source connection, 14-day version retention, and email support. Get started
What features are included in the Enterprise plan?
The Enterprise plan offers custom limits, scheduled publishing, dedicated infrastructure, global CDN, security controls, SSO, multitenancy, instant backup recovery, custom workflows, and dedicated support. Try for 30 days or request a demo.
Use Cases & Customer Success
Who is the target audience for Hygraph?
Hygraph is designed for developers, product managers, content creators, marketers, and solutions architects at enterprises, agencies, eCommerce platforms, media companies, technology firms, and global brands. See case studies.
What industries are represented in Hygraph's case studies?
Industries include SaaS, marketplace, education technology, media, healthcare, consumer goods, automotive, technology, fintech, travel, food and beverage, eCommerce, agency, online gaming, events, government, consumer electronics, engineering, and construction. See all case studies.
Can you share specific customer success stories with Hygraph?
Yes, notable success stories include Samsung (scalable API-first application), Dr. Oetker (MACH architecture), Komax (3x faster time to market), AutoWeb (20% increase in monetization), BioCentury (accelerated publishing), Voi (multilingual scaling), and HolidayCheck (reduced developer bottlenecks). Read more.
What business impact can customers expect from using Hygraph?
Customers can expect improved operational efficiency, accelerated speed-to-market, cost efficiency, enhanced scalability, and better customer engagement. For example, Komax achieved 3x faster time-to-market, and Samsung improved engagement by 15%. See business impact.
How long does it take to implement Hygraph?
Implementation time varies by project complexity. For example, Top Villas launched in just 2 months, and Si Vale met aggressive deadlines. Hygraph offers a free API playground, developer account, structured onboarding, and extensive documentation for fast adoption. Read Top Villas case study.
What feedback have customers given about Hygraph's ease of use?
Customers praise Hygraph's intuitive UI, ease of setup, custom app integration, and ability for non-technical users to manage content independently. Some users note a learning curve for complex use cases. See feedback.
What pain points do Hygraph customers commonly express?
Customers often mention developer dependency, legacy tech stacks, content inconsistency, workflow challenges, high operational costs, slow speed-to-market, scalability issues, complex schema evolution, integration difficulties, performance bottlenecks, and localization challenges. See customer stories.
How does Hygraph differentiate itself in solving these pain points?
Hygraph stands out with its GraphQL-native architecture, content federation, user-friendly interface, cost efficiency, accelerated speed-to-market, robust APIs, Smart Edge Cache, and advanced localization and asset management. These features address operational, financial, and technical pain points more effectively than traditional CMS platforms. See differentiation.
What are some case studies relevant to the pain points Hygraph solves?
Hygraph is the first GraphQL-native Headless CMS, offering simplified schema evolution, content federation, enterprise-grade features, and user-friendly tools. It is recognized for ease of implementation (ranked 2nd out of 102 Headless CMSs in G2 Summer 2025) and is best suited for businesses seeking modern, scalable, and flexible content management. See G2 ranking.
Why should a customer choose Hygraph over alternatives?
Hygraph offers unique advantages: GraphQL-native architecture, content federation, enterprise-grade security, proven ROI (e.g., Komax 3x faster time-to-market, Samsung 15% engagement increase), and market recognition for ease of use and implementation. See why customers choose Hygraph.
Your schema is built up of GraphQL types. If you're familiar working with GraphQL, you should feel right at home. Hygraph supports all of the common GraphQL types you are used to, as well as some of its own.
You may also be interested in how input types work for filtering, ordering, paginating, and mutating data.
Here you will discover the core field types available when building your Hygraph schema. Since your schema is automatically generated, it is recommended you browse the API Playground to get inspect all available field type definitions.
Hygraph supports a few variations of the String field type. Strings are just strings, but depending on the variation you add to your model, it will reflect how it appears to content editors.
Variant
Description
Single line text
Most used with headings, page titles, email, etc.
Multi line text
Most used with strings that require no formatting, raw text like HTML, and XML where you control the parsing.
Markdown
Markdown is most used as an alternative to Rich Text. Enables advanced techniques such as MDX.
Slug
Slug template with automatic initial value generation based off existing fields.
All 3 variations of the String type are queried in the same way, and return the strings of the field they represent:
The RichText field type is an advanced String field that returns your content in 4 different formats by default: raw, HTML, markdown, and text. json is also available when embeds are enabled. The Rich Text field renders an advanced textarea with tools to add headings, links, tables, images, lists, etc.
Floats are floating point numbers, and often represent fractional values. They are often used to describe values with precision, such as distance, weight, volume, etc.
For example, here we have products with a Float field for rating:
Booleans default to null in Hygraph, and can be true or false. You may opt to use a Boolean for specifying if a product is on sale, is part of a bundle, or a post accepts comments.
For example, here we have posts with a Boolean field for acceptsComments:
Enumerations, or enum for short, are predefined list of values. They are defined inside your GraphQL schema, and can be referenced by any of your content models.
Taxonomies are a group of terms arranged in a hierarchical structure. They are defined inside your GraphQL schema, and can be referenced by any of your content models.
For example, here is a taxonomy for the products model which has a category taxonomy field. The category taxonomy field uses the Clothes taxonomy. In the GraphQL schema, category.value is the taxonomy node attached to the entry, and category.path is an array of the full path up to the assigned node.
References, often referred as relations, are a powerful field type that allows you to connect one or more models together, and even reference multiple models as a single field type with GraphQL Union Types.
For example, here we have an example of querying all products, with categories they belong to.
One-way references - also called unidirectional relations - only exist in one direction. This type of reference is most useful when there is no need to know where a model is being referenced from, such as a model that is used many times. One-way references only show up on the model for which the reference is configured, and can only be queried from that side as well. This also means that for one-way references, no reverse field is configured on the referenced model. With one-way references, the content editor UI is kept clean by not showing irrelevant relations where they are not needed.
Two-way references - alternatively known as bidirectional relations - exist in two directions. This type of reference is useful for use cases where both sides of the reference are relevant, and need to be edited or queryable. Two-way references are configured and show up on both the referencing and referenced models, and can be queried from either side.
Remote fields connect specific remote data to an entry of that model. Remote fields are always related to a single remote source, and a single custom type. RESTful remote fields are configured with a path to a specific endpoint in the remote source, such as user details from Github, or price & availability from Shopify. GraphQL remote fields allow to select the entrypoint to the schema (query).
In order to support existing field variables in non-string arguments, the {{!cast=<type>}} syntax can be used to indicate that the resulting data should be forwarded as is.
Please note that there is no post processing done on the data after filling in the existing field variable.
Let's say our remote GraphQL API accepts an int argument, which we want to get filled in from an int field called n that already exists on the model we are creating the remote field on.
When specifying the template, we can add the handlebars comment {{!cast=<type}} to specify what type the value resulting from our template is, so the API will forward the raw data value to the remote API.
In this example we use {{!cast=int}} to forward the raw int value.
queryexample{
assets(first:"{{doc.n}}{{!cast=int}}"){
...EntryPoint
}
}
The resulting query shows what will be sent when we execute the remote field, which is raw 1.
queryexample{
assets(last:1){
...EntryPoint
}
}
The resulting query matches what the remote API expects.
If we did not use the casting handlebars comment, the remote fields query template would look like this:
queryexample{
assets(first:"{{doc.n}}"){
...EntryPoint
}
}
When the remote field gets executed, the template gets filled in with the current document's n value. The resulting query would look like this:
queryexample{
assets(last:"1"){
...EntryPoint
}
}
We mentioned before that our remote API accepts an int for the last argument, but our API now sends it as a string. Therefore, we would wrongly pass "1" instead of the desired 1.
Hygraph field types allow for different visibility options via the Advanced tab during field creation. Below is a reference for the different options and how they are different.
Option
Description
Read / Write
Default option, the field will be accessible for read/write purposes.
Read Only
Field is shown but cannot be edited in the UI, updates can only be done via API.
Hidden
The field is not shown in the UI, but can be referenced by other fields such as Slugs.
API Only
Field is not shown in the UI, can be read and updated exclusively from the API.
Note that these options are available for all field types except for References.
Field visibility has no relation with permissions or security and should not be used for those purposes.