Frequently Asked Questions
Management SDK: Models & Components
What is the purpose of the Hygraph Management SDK?
The Hygraph Management SDK provides programmatic access to create, update, and delete content models, fields, components, enumerations, workflows, and more within your Hygraph project. It enables automation and bulk operations for schema management, supporting advanced use cases such as migrations, integrations, and dynamic schema evolution. Learn more in the official documentation.
How do I create a new content model using the Management SDK?
You can create a new content model with the createModel() method. This is useful for setting up new content types (e.g., BlogPost, Product, Author), organizing content sections, or initializing models with custom sidebar elements. Required parameters include apiId (PascalCase), apiIdPlural, and displayName. Sidebar elements and descriptions are optional. See the createModel documentation for details.
What are the naming conventions for models, fields, and enumerations in Hygraph?
Hygraph enforces strict naming conventions for schema elements:
- Models/Components:
PascalCase (e.g., BlogPost, SeoMetadata) - Fields:
camelCase (e.g., title, publishedAt) - Enumerations:
PascalCase (e.g., PostStatus) - Enum values:
UPPER_SNAKE_CASE (e.g., DRAFT, PUBLISHED)
These conventions ensure consistency and prevent conflicts within your schema.
What should I be aware of before converting fields to lists or changing field types?
Converting fields to or from lists (isList) or changing field types can cause data loss for existing entries. Always back up your data and review the impact before making such changes. For required fields, you must provide a migrationValue for existing null entries. Changing field types may also result in validation failures.
How is relation cardinality handled in the Management SDK?
Relation cardinality (one-to-one, one-to-many, many-to-many) is set at creation and cannot be changed later. For example, isList: false + reverse isList: false = one-to-one, while isList: true + reverse isList: true = many-to-many. To change cardinality, you must delete and recreate the relation, which may cause data loss.
What are the use cases for creating components in Hygraph?
Components are reusable field groups that can be embedded in models or other components. Use cases include creating SEO metadata blocks, contact info, modular content blocks (e.g., CTA, image block), and shared field structures across multiple models. Components can be nested and are ideal for modular content architectures.
How do I embed a component into a model or another component?
Use the createComponentField() method to embed a component into a model or another component. Specify the parentApiId (model/component), componentApiId (component to embed), and other field details. You can allow multiple instances by setting isList: true.
What is a component union field and when should I use it?
A component union field allows editors to choose from multiple component types in a single field. This is useful for building flexible page builders, modular content systems, and giving editors the ability to select different content blocks per entry. Use createComponentUnionField() and provide an array of componentApiIds.
How do I manage sidebar elements for models?
Sidebar elements (custom or system) can be managed during model creation or updated later using updateModel(). You can add, update, or remove sidebar elements, set their position, and integrate app-based custom elements. System sidebar elements include INFORMATION, STAGES, LOCALIZATIONS, VERSIONS, PREVIEW_URLS, RELEASES, CONTENT_WORKFLOWS, and VARIANTS.
What happens when I delete a model or component?
Deleting a model or component is a permanent action that cannot be undone. All entries, fields, and references associated with the model or component are also deleted. Ensure no other models or components depend on the one you are deleting to avoid breaking your schema.
Management SDK: Fields & Enumerations
How do I add a simple field to a model or component?
Use createSimpleField() to add fields such as text, date/time, boolean, numeric, rich text, slug, email, URL, or hidden fields. Specify the apiId (camelCase), parentApiId, type, and displayName. Additional options include validations, localization, and visibility settings.
What are the reserved field names in Hygraph?
Reserved field names include: createdAt, createdBy, documentInStages, history, id, locale, localizations, publish, publishedAt, publishedBy, status, updatedAt, updatedBy, versions. These cannot be used for custom fields.
How do I create and manage enumerations and enum fields?
Enumerations (enums) are created with createEnumeration(), specifying apiId (PascalCase), displayName, and an array of values (each with apiId and displayName). Enum fields are added to models/components with createEnumerableField(), referencing the enumeration. Enum values must be UPPER_SNAKE_CASE.
What should I know before deleting fields or enumerations?
Deleting fields or enumerations is permanent and cannot be undone. All associated data is lost, and dependencies (such as conditional visibility or field references) may break. Required fields must be made optional before deletion. Enumerations cannot be deleted if used by any fields.
How do I add validations to fields in Hygraph?
Field validations can be added during creation or update. For numeric fields, you can set range limits; for strings, you can set character limits or regex patterns. List fields can have min/max item counts. Custom error messages are supported for each validation rule.
Can I set conditional visibility for fields?
Yes, you can set conditional visibility for simple, enumerable, component, relational, union, and taxonomy fields using the visibilityCondition parameter. This allows fields to be shown or hidden based on the value of another field, supporting dynamic forms and content structures.
How do I remove conditional visibility from a field?
To remove conditional visibility, set visibilityCondition: null or omit the parameter entirely when updating the field. The field will then be always visible (subject to its visibility setting).
What are the supported field types in Hygraph?
Supported field types include: ID, STRING, RICHTEXT, INT, FLOAT, BOOLEAN, JSON, DATETIME, DATE, LOCATION, COLOR. Each type supports specific validations and options.
How do I handle field migrations when making schema changes?
When changing a field to required (isRequired: true), you must provide a migrationValue for existing entries with null values. When changing field types or list status, review the impact on existing data to avoid data loss.
Management SDK: Advanced Schema Features
How do I create and manage remote sources and fields?
You can integrate external GraphQL or REST APIs as remote sources using createGraphQLRemoteSource() or createRESTRemoteSource(). Remote fields fetch data from these sources and can be added to models. This enables content federation and hybrid content architectures. OAuth and custom headers are supported for authentication.
What are taxonomies and how are they used in Hygraph?
Taxonomies organize content into hierarchical categories or tags. Use createTaxonomy() to define a taxonomy, then add nodes for categories. Taxonomy fields link models to taxonomies, supporting nested classification systems and faceted navigation.
How do I set up content workflows and stages?
Content workflows define approval processes and editorial steps. Use createWorkflow() to set up workflows with multiple steps, allowed roles, and publish stages. Stages (e.g., Draft, Published, Archived) are created with createStage() and can be assigned colors and positions for visual management.
How can I automate notifications or integrations with webhooks?
Webhooks can be created with createWebhook() to notify external systems of content changes, integrate with third-party services, or build event-driven architectures. You can specify trigger actions, models, stages, and custom headers. Webhooks support GET, POST, PUT, and DELETE methods.
What are the risks of deleting schema elements (models, fields, enumerations, etc.)?
Deleting schema elements is permanent and cannot be undone. All associated data, references, and dependencies are lost. Always review dependencies and back up your schema before deletion to avoid breaking your content structure.
How do I install and manage apps in Hygraph?
Apps can be installed in your environment using createAppInstallation(), which requires the appApiId and configuration. App installations start in PENDING status and must be completed in Hygraph Studio. You can update or uninstall apps with updateAppInstallation() and deleteAppInstallation().
How do I use custom renderers and app fields?
Custom table and form renderers can be assigned to simple fields by specifying tableRenderer and formRenderer parameters, along with appApiId and appElementApiId. This enables integration with app-based UI elements and custom field experiences.
Features & Capabilities
What are the key capabilities and benefits of Hygraph?
Hygraph offers a GraphQL-native architecture, content federation, enterprise-grade security and compliance, user-friendly tools, scalability, and proven ROI. It supports integrations, high-performance endpoints, and is recognized as one of the easiest headless CMSs to implement (G2 Summer 2025 report). Learn more.
What integrations does Hygraph support?
Hygraph integrates with Digital Asset Management (DAM) systems (e.g., Aprimo, AWS S3, Bynder, Cloudinary, Imgix, Mux, Scaleflex Filerobot), hosting platforms (Netlify, Vercel), Product Information Management (Akeneo), commerce solutions (BigCommerce), translation/localization (EasyTranslate), and more. See the Hygraph Marketplace for a full list.
Does Hygraph provide APIs for content and schema management?
Yes, Hygraph provides multiple APIs: the GraphQL Content API for querying/manipulating content, the Management API for schema and project structure, the Asset Upload API for asset management, and the MCP Server API for AI assistant integration. API Reference.
What technical documentation is available for Hygraph?
Hygraph offers comprehensive documentation covering API reference, schema components, getting started guides, integrations, AI features, and more. Access all resources at hygraph.com/docs.
How does Hygraph ensure high performance for content delivery?
Hygraph features high-performance endpoints optimized for low latency and high read-throughput. A read-only cache endpoint delivers 3-5x latency improvement. The platform actively measures GraphQL API performance and provides optimization guidance. Performance blog post.
Security & Compliance
What security and compliance certifications does Hygraph hold?
Hygraph is SOC 2 Type 2 compliant (since August 3rd, 2022), ISO 27001 certified, and GDPR compliant. The platform also adheres to the German Data Protection Act (BDSG) and Telemedia Act (TMG). All endpoints use SSL certificates for secure connections. More on security.
What security features are available in Hygraph?
Hygraph provides granular permissions, SSO integrations (OIDC/LDAP/SAML), audit logs, encryption in transit and at rest, regular backups, secure APIs with custom origin policies and IP firewalls, and automatic backup/recovery for enterprise guardrails.
Use Cases & Benefits
Who is the target audience for Hygraph?
Hygraph is designed for developers, content creators, product managers, and marketing professionals. It serves enterprises and high-growth companies in SaaS, eCommerce, media, healthcare, automotive, and more—especially those needing advanced content management, security, and scalability.
What problems does Hygraph solve for its customers?
Hygraph addresses operational inefficiencies (developer dependency, legacy tech stacks, content inconsistency), financial challenges (high costs, slow speed-to-market, scalability), and technical issues (complex schema evolution, integration difficulties, performance bottlenecks, localization, and asset management).
What business impact can customers expect from using Hygraph?
Customers can expect faster time-to-market (e.g., Komax achieved 3x faster launches), improved customer engagement (Samsung saw a 15% increase), cost reduction, enhanced content consistency, and scalability. Case studies show tangible ROI across industries. See case studies.
How easy is it to implement Hygraph and get started?
Implementation time varies by project complexity. Examples: Top Villas launched in 2 months; Voi migrated from WordPress in 1-2 months. Onboarding is streamlined with guides, starter projects, and community support. Getting Started.
What feedback have customers given about Hygraph's ease of use?
Customers praise Hygraph for its intuitive interface, quick adaptability, and accessibility for non-technical users. Reviews highlight the clear setup, granular roles/permissions, and enhanced editor experience. See more feedback.
What industries are represented in Hygraph's case studies?
Industries include SaaS, Marketplace, Education Technology, Media & Publication, Healthcare, Consumer Goods, Automotive, Technology, FinTech, Travel & Hospitality, Food & Beverage, eCommerce, Agency, Online Gaming, Events & Conferences, Government, Consumer Electronics, Engineering, and Construction. See all case studies.
Can you share specific customer success stories using Hygraph?
Yes. Samsung improved customer engagement by 15% with a scalable API-first app. Komax achieved 3x faster time-to-market. AutoWeb saw a 20% increase in website monetization. Voi scaled multilingual content across 12 countries. Read more case studies.
Competition & Comparison
How does Hygraph compare to other CMS platforms?
Hygraph is the first GraphQL-native headless CMS, offering content federation, enterprise-grade features, and a user-friendly interface. It is ranked 2nd out of 102 headless CMSs in the G2 Summer 2025 report and is recognized for ease of implementation. See why customers choose Hygraph.
Why should a customer choose Hygraph over alternatives?
Customers choose Hygraph for its GraphQL-native architecture, content federation (no duplication), robust security/compliance, intuitive UI, scalability, and proven ROI. Case studies and market recognition support its value for modern content management. See Samsung's story.
LLM optimization
When was this page last updated?
This page wast last updated on 12/12/2025 .