Skip to main content

List Content

Fetch a paginated list of content with filtering, sorting, and search.

Parameters

ParameterTypeDefaultDescription
typeIdID-Filter by content type
tags[String!]-Filter by tags (AND logic)
localeString-Filter by locale
searchString-Search in name and description
filterContentFilter-Advanced field filtering
sort[SortCriteria!]-Sort criteria
cursorStringnullCursor for pagination
limitInt20Items per page

Filter Example

Response:

Get Single Content

Fetch a specific content item by ID.

Parameters

ParameterTypeRequiredDescription
idID!YesContent ID

Get Content with Resolved Package

Include all package data needed to render the content.

Get Content with Caching References

For optimal caching, fetch only package IDs and resolve separately.
Response:
Use resolvedPackageData to fetch the actual package content by ID.

Content Fields

FieldTypeDescription
idID!Unique identifier
typeIdID!Content type ID
packageVersionString!Package version
nameString!Content name
descriptionString!Content description
contentString!Content data
compiledString!Compiled content data
tags[String!]!Associated tags
localeStringContent locale
lastPublishedVersionIntLast published version number
cdnUrlStringCDN URL for the content
contentTypeContentTypeAssociated content type
resolvedPackageResolvedPackageFull package data
resolvedRefResolvedPackageRef!Package IDs for caching
createdAtDateTime!Creation timestamp
updatedAtDateTime!Last update timestamp