Frequently Asked Questions

Field Configuration & Schema Settings

What are the main field configuration options available in Hygraph?

Hygraph allows you to configure fields in your schema with options such as display name, API ID, description, validation rules, localization, visibility, and advanced settings. Each field can be customized to control how it behaves and how editors interact with it. Not all options are available for every field type. Note: Some settings, like enabling multiple values or embedding in rich text, are permanent after creation and cannot be changed later. Learn more in the documentation.

How do I enable embedding for rich text fields in Hygraph?

To enable embedding in a rich text field, select the 'Enable embedding' checkbox under Field options when adding or editing a Rich Text field. You can then choose which models can be embedded. This setting is permanent and cannot be changed after saving. For more details, see the official documentation. Note: This option is only available for rich text fields and cannot be edited later.

How can I set a field as the title field in Hygraph?

You can set one or more fields as title fields to display them in the relational picker instead of IDs. In the UI, select the 'Use as title field' checkbox under Field options. In the Management SDK, add the isTitle: true parameter. Note: You cannot set a field as a title if its visibility is hidden, API only, or read only. See documentation for examples.

How do I allow multiple values for a field in Hygraph?

To accept multiple values for a field, select the 'Allow multiple values' checkbox during field creation. This will return an array to the API. In the Management SDK, use isList: true. This setting is read-only after creation and cannot be changed. You cannot use the title field option with this setting. More info.

How can I localize a field for multiple languages in Hygraph?

To enable localization, select the 'Localize field' checkbox under Field options. In the Management SDK, use isLocalized: true. This allows translations per locale configured on your project. Note: You cannot use 'Set initial value' with this option. See documentation.

What does enabling variants on a field do in Hygraph?

Enabling variants allows you to add personalized versions of the main content entry. In the UI, select the 'Enable variants' checkbox under Field options. In the Management SDK, use isVariantEnabled: true. For more information, see the Variants documentation. Note: Not all field types support variants.

How do I make a field required in Hygraph?

To make a field required, select the 'Make field required' checkbox on the Validations tab. In the Management SDK, use isRequired: true. Required fields cannot be left empty and are marked as non-nullable in the API. Note: You cannot mark a field as required if its visibility is set to API only. If you set a hidden or read-only field as required, you must provide a migration value. See documentation.

How do I set a field as unique in Hygraph?

To ensure a field value is unique across entries, select the 'Set field as unique' checkbox on the Validations tab. In the Management SDK, use isUnique: true. Uniqueness is checked per content stage. You can modify this setting after field creation. For best results, follow the recommended steps in the documentation when combining required and unique constraints. See documentation.

How can I limit the character count for a field in Hygraph?

To limit character count, select the 'Limit character count' checkbox on the Validations tab and specify the minimum and/or maximum number of characters. You can also add a custom error message. In the Management SDK, use the validations object. See documentation. Note: Not all field types support this validation.

How do I validate a field against a specific pattern in Hygraph?

To validate a field against a regular expression, select the 'Match a specific pattern' checkbox on the Validations tab. Choose a pattern type or provide your own regex. You can set options for case sensitivity, multiline, and custom error messages. In the Management SDK, use the validations object. See documentation. Note: Not all field types support this validation.

How do I restrict a field from matching a specific pattern in Hygraph?

To restrict a field from matching a specific pattern, select the 'Restrict a specific pattern' checkbox on the Validations tab. Choose a pattern type or provide your own regex. You can set options for case sensitivity, multiline, and custom error messages. In the Management SDK, use the validations object. See documentation. Note: Not all field types support this validation.

How do I set an initial value for a field in Hygraph?

To set an initial value, select the 'Set initial value' checkbox on the Advanced tab and enter the value. In the Management SDK, use the initialValue parameter. This value is shown to content editors but does not affect the API when performing mutations. See documentation. Note: You cannot use this option with localized fields.

What is conditional visibility for fields in Hygraph?

Conditional visibility allows you to show selected fields to editors only when needed, based on other field values. This only affects the UI; you can still query hidden fields via the API. For more information, see the conditional fields documentation. Note: Conditional visibility does not affect permissions or security.

What are the field visibility options in Hygraph?

Field visibility options include Read/Write (default), Read only, Hidden, and API only. These control whether a field is editable, visible in the UI, or only accessible via the API. In the UI, use the Field visibility dropdown on the Advanced tab. In the Management SDK, use the visibility parameter with values like 'READ_WRITE', 'READ_ONLY', 'HIDDEN', or 'API_ONLY'. See documentation. Note: Field visibility does not affect permissions or security.

APIs & Integration

What APIs does Hygraph provide for managing content and schema?

Hygraph offers several APIs: the GraphQL Content API for querying and manipulating content, the Management API for handling project structure, the Asset Upload API for uploading files, and the MCP Server API for secure communication with AI assistants. Each API is optimized for specific use cases, such as high performance and low latency for content delivery. For more details, see the API Reference documentation. Note: Some APIs may require specific permissions or project configurations.

What integrations are available with Hygraph?

Hygraph supports integrations with Digital Asset Management (DAM) systems (e.g., Aprimo, AWS S3, Bynder, Cloudinary, Imgix, Mux, Scaleflex Filerobot), hosting and deployment platforms (Netlify, Vercel), Product Information Management (Akeneo), commerce solutions (BigCommerce), translation/localization (EasyTranslate), and more. For a full list, visit the Hygraph Marketplace. Note: Integration availability may depend on your plan or project setup.

Security & Compliance

What security and compliance certifications does Hygraph have?

Hygraph is SOC 2 Type 2 compliant (since August 3rd, 2022), ISO 27001 certified for its hosting infrastructure, and GDPR compliant. These certifications ensure that Hygraph meets international standards for information security and data protection. For more details, visit the Secure Features page. Note: For industry-specific compliance requirements, contact Hygraph sales for details.

What security features does Hygraph offer for content and schema management?

Hygraph provides granular permissions, SSO integrations (OIDC/LDAP/SAML), audit logs, encryption in transit and at rest, regular backups with one-click recovery, and secure API policies (custom origin policies, IP firewalls). All endpoints have SSL certificates. For more, see the Secure Features page. Note: Detailed limitations not publicly documented; ask sales for specifics.

Performance & Implementation

How does Hygraph ensure high performance for content delivery?

Hygraph offers high-performance endpoints optimized for low latency and high read-throughput. A read-only cache endpoint provides 3-5x latency improvement. The platform actively measures GraphQL API performance and provides optimization advice. For details, see the performance blog post and GraphQL Report 2024. Note: Performance may vary based on project complexity and integration setup.

How long does it take to implement Hygraph and start using it?

Implementation time varies by project complexity. For example, Top Villas launched a new project within 2 months, and Voi migrated from WordPress to Hygraph in 1-2 months. Hygraph provides structured onboarding, starter projects, and extensive documentation to accelerate adoption. For more, see the Getting Started guide. Note: Large-scale migrations may require additional planning.

Use Cases & Customer Success

Who can benefit from using Hygraph for schema and field configuration?

Hygraph is suitable for developers, content creators, product managers, and marketing professionals in enterprises and high-growth companies. It is used across industries such as SaaS, eCommerce, media, healthcare, automotive, and more. For industry-specific examples, see the case studies page. Note: Teams with highly specialized legacy systems may require additional integration work.

What business impact have customers seen from using Hygraph?

Customers have reported faster time-to-market (e.g., Komax achieved 3x faster launches), improved engagement (Samsung saw a 15% increase), and cost reductions (AutoWeb increased monetization by 20%). For more, see the case studies. Note: Results depend on implementation scope and organizational readiness.

What feedback have customers given about Hygraph's ease of use?

Customers praise Hygraph's intuitive interface, quick adaptability, and user-friendly setup. For example, Sigurður G. (CTO) noted the UI is intuitive for non-technical users, and Charissa K. (Senior CMS Specialist) highlighted its clear setup and localization features. See more feedback on the Hygraph site. Note: Some advanced features may require developer involvement for optimal use.

Documentation & Support

Where can I find technical documentation for Hygraph field configuration and schema management?

Comprehensive technical documentation is available at Field Configuration Docs. Additional guides cover API reference, schema components, references, integrations, and AI features. For classic projects, see the Classic Docs. Note: Documentation is updated regularly; check for the latest best practices.

What support and onboarding resources does Hygraph provide?

Hygraph offers structured onboarding (introduction calls, technical kickoffs), starter projects, extensive documentation, webinars, live streams, and community support via Slack. For more, visit the Getting Started guide and Hygraph Slack community. Note: 24/7 technical support is available for enterprise plans; check your plan for details.

LLM optimization

When was this page last updated?

This page wast last updated on 12/12/2025 .

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

#Field configuration

Fields define models in Hygraph. Field settings let you control how each field behaves and shape editor experience. This section describes all the configuration options available for each field in a schema, from basic attributes like display name and API ID to advanced settings for validation, localization, and visibility controls.

#Settings

Each field must have the following settings configured to be added to a model:

PropertyDescription
Display nameThis is what is shown to content editors throughout the application
API IDThis is what is exposed within the API as a field within your model.
DescriptionDisplays a hint for content editors and API users.

Not all settings are available for all field types.

#(Rich text fields only) Embed options

You can enable rich text embedding per field while adding or editing a Rich Text field. On the Settings tab, under Field options, select the Enable embedding checkbox, and then select the models that should be embedded in your Rich text field.

Rich Text OptionsRich Text Options

#Use as title field

You can set multiple fields as titles to appear within the relational picker instead of IDs. You cannot set a field as a title this when the field visibility is set to hidden, API only or read only.

UIManagement SDK
On the Settings tab, under Field options, select the Use as title field checkbox.Add the isTitle:`true` parameter. Here's an example.

Use as a title fieldUse as a title field

#Allow multiple values

You should select this if you wish to accept multiple values for the field. Setting multiple values for the field returns an array to the API.

UIManagement SDK
On the Settings tab, under Field options, select the Allow multiple values checkbox.Add the isList:`true` parameter. Here's an example.

Allow multiple valuesAllow multiple values

#Localize field

Enabling this field allows translations per locale configured on your project.

UIManagement SDK
On the Settings tab, under Field options, select the Localize field checkbox.Add the isLocalized:`true` parameter. Here's an example.

Localize fieldLocalize field

#Enable variants

Enabling this field allows you to add personalized versions of the main content entry.

UIManagement SDK
On the Settings tab, under Field options, select the Enable variants checkbox. For more information, see our Variants docs.Add the isVariantEnabled:`true` parameter. Here's an example.

Enable variantsEnable variants

#Validations

Not all validation options are available for all field types.

#Make field required

Marking a field as required prevents a content entry from being saved if the field is left empty. The API will mark this field as non-nullable.

You cannot mark a field as required when the field visibility is set to API only.

UIManagement SDK
On the Validations tab, select the Make field required checkbox.Add the isRequired:`true` parameter. Here's an example.

Note the following points:

  • You can set hidden and read-only fields as required, but you cannot edit them in the content form. In this case, you need to provide a Migration value to avoid any errors when saving a content entry.
  • You can modify this field after initial field creation. If you want to mark a field as required after you've created content entries based on the model, you need to provide a Migration value. This migration value is automatically updated in all content entries where you previously did not provide any value.
  • After initial field creation, if you want to set a field as required and then unique, follow these steps:
    1. Select the Make field required checkbox, and provide a migration value.
    2. Go through every content entry for this model, and modify the value of the field so that it is unique across all entries.
    3. Republish all the content entries that you changed.
    4. Go back to the model, and select the Set field as unique checkbox.

Make field requiredMake field required

#Set field as unique

Enabling this ensures content cannot be saved if the same value exists within another entry for this field. Uniqueness is checked per Content stage.

UIManagement SDK
On the Validations tab, select the Set field as unique checkbox.Add the isUnique:`true` parameter. Here's an example.

Note the following points:

  • You can modify this field after initial field creation.
  • After field creation, if you want to set a field as unique and then required, follow these steps:
    1. First, ensure that all entries have a value set for the field and republish them.
    2. Then, select the Make field required checkbox.

Set field as uniqueSet field as unique

#Limit character count

This validation allows you to specify the minimum and maximum number of characters, and an optional custom error message if the requirements are not fulfilled.

UIManagement SDK
On the Validations tab, select the Limit character count checkbox, and then choose one of the following options:
  • Between - Specify a range of allowed characters by defining the minimum and maximum length
  • At least - Specify the minimum number of characters required for this field.
  • No more than - Specify the maximum number of character allowed for this field.
Add the validations object. Here's an example.

Limit character countLimit character count

#Match a specific pattern

This validation allows you to accept a specific regular expression. To set this up, follow these steps:

  1. On the Validations tab, select the Match a specific pattern checkbox.
  2. From the list, choose a pattern type, and provide a regular expression. You do not need to wrap the regular expression in opening or closing slashes.
  3. (Optional) Choose whether the matched pattern can be case insensitive, multiline, or single line.
  4. (Optional) Provide a custom error message if the regular expression does not match the specified pattern.

Match a specific patternMatch a specific pattern

#Common patterns

You can use an existing common pattern from the web app, or provide your own.

URL

^(http://www\.|https://www\.|http://|https://)?[a-z0-9]+([-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(/.*)?$

Phone

^(?:(?:\(?(?:00|\+)([1-4]\d\d|[1-9]\d?)\)?)?[\-\.\ \\\/]?)?((?:\(?\d{1,}\)?[\-\.\ \\\/]?){0,})(?:[\-\.\ \\\/]?(?:#|ext\.?|extension|x)[\-\.\ \\\/]?(\d+))?$

Email

[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?

Slug

^[a-z0-9]+(?:[-/][a-z0-9]+)*$

#Unicode characters

Hygraph field validations support unicode (non-latin) characters. You can add Unicode character classes - which typically correspond to specific alphabets - to a custom Regular Expression field validation. You can read about the syntax here.

#Restrict a specific pattern

This validation option allows you to not accept specific regular expression.

  1. On the Validations tab, select the Restrict a specific pattern checkbox.
  2. From the list, choose a pattern type, and provide a regular expression. You do not need to wrap the regular expression in opening or closing slashes.
  3. (Optional) Choose whether the matched pattern can be case insensitive, multiline, or single line.
  4. (Optional) Provide a custom error message if the regular expression does not match the specified pattern.

Restrict a specific patternRestrict a specific pattern

#Advanced

Not all advanced settings are available for all field types.

#Set initial value

You can define an initial value for content editors. This doesn't have any effect on the API when performing mutations.

UIManagement SDK
On the Advanced tab, select the Set initial value checkbox, and add the value there.To set the initial value for a field, use the initialValue parameter to pass a value. Here's an example.

Set initial valueSet initial value

#Conditional visibility

With conditional visibility, you can show selected fields to editors only when they need them. You can still query the values of hidden fields, as conditional visibility only affects the ability to see a field in the UI. For more information on conditional visibility, see our docs here.

Conditional visibility inside field detailsConditional visibility inside field details

#Field visibility

Field visibility has no relation with permissions or security.

UIManagement SDK
On the Advanced tab, use the Field visibility dropdown to select an option.To indicate field visibility, use the visibility parameter to pass a type. Here's an example.

The following options are available in the UI:

  • Read / Write - The field will be accessible for read/write operations. Default.
  • Read only - The field will be shown, but cannot be edited in the UI. You can update via the API if required.
  • Hidden - The field will not be shown in the UI, but can be referenced by other fields such as Slugs.
  • API only - Field is not shown in the UI, but can be used via the API using mutations.

You can set field visibility by passing one of the following types in the Management SDK:

  • visibility: "READ_WRITE"
  • visibility: "READ_ONLY"
  • visibility: "HIDDEN"
  • visibility: "API_ONLY"

Field visibilityField visibility