Skip to main content
The Content type represents published content items with compiled BindJS code ready for rendering.

Type Definition

Fields

FieldTypeDescription
idID!Unique identifier
typeIdID!Content type ID
packageVersionString!Package version for component resolution
nameString!Content name
descriptionString!Content description
contentString!JSON content structure
compiledString!Standalone BindJS code
tags[String!]!Content tags for categorization
localeStringContent locale (e.g., “en-US”)
createdAtDateTime!Creation timestamp
updatedAtDateTime!Last update timestamp
lastPublishedVersionIntVersion number of the last published version
cdnUrlStringCDN URL for the published content
contentTypeContentTypeRelated content type
resolvedPackageResolvedPackageFull package data with dependencies
resolvedRefResolvedPackageRef!Package IDs for normalized caching

Field Details

content

The content field contains the JSON structure of the content data:

compiled

The compiled field contains standalone BindJS code that can be executed directly:

resolved vs resolvedRef

Choose based on your use case:
  • resolvedPackage: Full package data inline (simpler client implementation)
  • resolvedRef: IDs only for normalized caching (smaller payloads, efficient caching)

Example Queries

Basic Content

Content with Full Package Data

Content with Caching References

Response: