Skip to main content

Objects: Content generation

GraphQL object types for content generation, content flow, and content review in the Amplience GraphQL Management API.

Sessions & messages
Link copied!

SubmitContentGenerationSessionMessageResponse
Link copied!

FieldTypeDescription
submittedMessageContentGenerationSessionMessage!
responseStreamUrlString!

GenerateEditForContentGenerationSessionMessagePropertyResponse
Link copied!

FieldTypeDescription
responseStreamUrlString!

ContentGenerationSession
Link copied!

Implements: Node

FieldTypeDescription
idID!
messages[ContentGenerationSessionMessage]!
organizationOrganization!
cmsHubCMSHub!
briefTemplateContentGenerationBriefTemplate!
authorContentGenerationSessionAuthor!
labelString!
createdDateDateTime!
expiryDateDateTime

ContentGenerationSessionAuthor
Link copied!

FieldTypeDescription
userUser!

ContentGenerationSessionMessage
Link copied!

Implements: Node

FieldTypeDescription
idID!
parentContentGenerationSessionMessage
statusContentGenerationSessionMessageStatus!
authorContentGenerationSessionMessageAuthor!
contentContentGenerationSessionMessageContent!
createdDateDateTime
expiryDateDateTime

ContentGenerationSessionMessageAuthor
Link copied!

FieldTypeDescription
roleContentGenerationSessionMessageAuthorRole
userUser

ContentGenerationSessionMessageBriefContent
Link copied!

FieldTypeDescription
briefInputsString!
modelIdString!
exampleIds[String]
images[ContentGenerationSessionMessageBriefContentImage]

ContentGenerationSessionMessageBriefContentImage
Link copied!

FieldTypeDescription
urlString!
originalUrlString!
idString!

ContentGenerationSessionMessageRawContentContent
Link copied!

FieldTypeDescription
bodyString!
scoresString

Briefs & templates
Link copied!

ContentGenerationBriefTemplate
Link copied!

Implements: Node

FieldTypeDescription
idID!
defaultModelContentGenerationModel!
labelString!
descriptionString!
imageUrlString
createdDateDateTime!
updatedDateDateTime!
createdByUser
updatedByUser
categoryString!
roles[String!]!
statusContentGenerationBriefTemplateStatus!
inputSchemaString!
outputSchemaString!
configurationContentGenerationBriefTemplateConfiguration
cmsHubCMSHub
organizationOrganization

ContentGenerationBriefTemplateConfiguration
Link copied!

FieldTypeDescription
inputFields[ContentGenerationBriefTemplateField]!
instructionsString!

ContentGenerationBriefTemplateImageField
Link copied!

Implements: ContentGenerationBriefTemplateField

FieldTypeDescription
labelString!
nameString!

ContentGenerationBriefTemplateKeyValueField
Link copied!

Implements: ContentGenerationBriefTemplateField

FieldTypeDescription
labelString!
nameString!

ContentGenerationBriefTemplateTextField
Link copied!

Implements: ContentGenerationBriefTemplateField

FieldTypeDescription
labelString!
nameString!
formatContentGenerationBriefTemplateTextFieldFormat!

Audiences, brand voices & tones
Link copied!

ContentGenerationAudience
Link copied!

Implements: Node

FieldTypeDescription
idID!
labelString!
ageRangeMinInt!
ageRangeMaxInt!
genderString!
descriptionString

ContentGenerationTone
Link copied!

Implements: Node

FieldTypeDescription
idID!
labelString!
descriptionString!

ContentGenerationBrandVoice
Link copied!

Implements: Node

FieldTypeDescription
idID!
labelString!
brandNameString
localeContentGenerationBrandVoiceLocale!
toneContentGenerationTone
brandValues[ContentGenerationBrandVoiceValue]!
brandRuleExclusions[String]!
brandRuleSubstitutions[ContentGenerationBrandVoiceRuleSubstitution]!
contentGenerationExampleFoldersContentGenerationExampleFolder
Connection!

Args: before: String, after: String, first: Int, last: Int, briefTemplateId: ID!
contentGenerationExamplesContentGenerationExample
Connection!

Args: briefTemplateId: ID!, before: String, after: String, first: Int, last: Int

ContentGenerationBrandVoiceRuleSubstitution
Link copied!

FieldTypeDescription
termString!
substituteString!

ContentGenerationBrandVoiceValue
Link copied!

FieldTypeDescription
labelString!
descriptionString!

Examples
Link copied!

ContentGenerationExample
Link copied!

Implements: Node

FieldTypeDescription
idID!
organizationOrganization!
cmsHubCMSHub!
briefTemplateContentGenerationBriefTemplate!
brandVoiceContentGenerationBrandVoice!
labelString!
createdDateDateTime!
briefInputsString!
folderContentGenerationExampleFolder
outputString!

ContentGenerationExampleFolder
Link copied!

Implements: Node

FieldTypeDescription
idID!
labelString!
createdDateString
brandVoiceContentGenerationBrandVoice!
briefTemplateContentGenerationBriefTemplate!
parentContentGenerationExampleFolder
subFoldersContentGenerationExampleFolder
Connection!

Args: before: String, after: String, first: Int, last: Int
examplesContentGenerationExample
Connection!

Args: before: String, after: String, first: Int, last: Int

Jobs & models
Link copied!

HubContentGenerationModel
Link copied!

FieldTypeDescription
modelContentGenerationModel!
enabledBoolean!

InputModalities
Link copied!

FieldTypeDescription
imageBoolean!

OutputModalities
Link copied!

FieldTypeDescription
textTextOutputModality!
structuredOutputsStructuredOutputModality!

StructuredOutputModality
Link copied!

FieldTypeDescription
supportedBoolean!

TextOutputModality
Link copied!

FieldTypeDescription
supportedBoolean!

ContentGenerationJob
Link copied!

Implements: Node

FieldTypeDescription
idID!
statusContentGenerationJobStatus!
authorContentGenerationJobAuthor!
briefContentContentGenerationJobBriefContent!
contentString
createdDateDateTime!
expiryDateDateTime!

ContentGenerationJobAuthor
Link copied!

FieldTypeDescription
userUser

ContentGenerationJobBriefContent
Link copied!

FieldTypeDescription
briefInputsString!
modelIdString!
exampleIds[String]
images[ContentGenerationJobBriefContentImage]

ContentGenerationJobBriefContentImage
Link copied!

FieldTypeDescription
urlString!
originalUrlString!
idString!

ContentGenerationJobStatus
Link copied!

FieldTypeDescription
codeContentGenerationJobStatusCode!
messageString

ContentGenerationModel
Link copied!

Implements: Node

FieldTypeDescription
idID!
labelString!
descriptionString!
inputModalitiesInputModalities!
outputModalitiesOutputModalities!
lifecycleContentGenerationModelLifecycle!
providerProvider!
enabledBoolean!
Args: cmsHubId: ID!

ContentGenerationModelLifecycle
Link copied!

FieldTypeDescription
stageContentGenerationModelLifecycleStage!
retirementDateDateTime

Text & SEO generation
Link copied!

RichTextGenerationTicket
Link copied!

FieldTypeDescription
idString!
urlString!

SEOGenerationResponse
Link copied!

FieldTypeDescription
variants[String!]!

Content flow
Link copied!

ContentFlow
Link copied!

Implements: Node

FieldTypeDescription
idID!
runsContentFlowRunConnection!
Args: before: String, after: String, first: Int, last: Int
labelString!
descriptionString!
statusContentFlowStatus!
flowString!
cmsHubCMSHub!
organizationOrganization!
createdDateDateTime!
updatedDateDateTime!
lastRunDateDateTime

ContentFlowActionErrorEvent
Link copied!

Implements: ContentFlowRunEvent

FieldTypeDescription
eventIdID!
createdDateDateTime!
sequenceInt!
actionIdString!
messageString!

ContentFlowErrorEvent
Link copied!

Implements: ContentFlowRunEvent

FieldTypeDescription
eventIdID!
createdDateDateTime!
sequenceInt!
messageString!

ContentFlowRun
Link copied!

Implements: Node

FieldTypeDescription
idID!
flowContentFlow!
flowSnapshotString
labelString!
attributes[ContentFlowRunAttribute!]!
tags[String!]!
createdDateDateTime!
updatedDateDateTime!
statusContentFlowRunStatus!
cmsHubCMSHub!
organizationOrganization!
eventsContentFlowRunEvent
Connection!

Args: before: String, after: String, first: Int, last: Int

ContentFlowRunActionInvokeEvent
Link copied!

Implements: ContentFlowRunEvent

FieldTypeDescription
eventIdID!
createdDateDateTime!
sequenceInt!
actionString!
actionIdString!
messagesString!

ContentFlowRunActionResultEvent
Link copied!

Implements: ContentFlowRunEvent

FieldTypeDescription
eventIdID!
createdDateDateTime!
sequenceInt!
actionIdString!
inMessagesString!
outMessagesString!

ContentFlowRunAttribute
Link copied!

FieldTypeDescription
keyString!
valueString!

ContentFlowRunStatusChangedEvent
Link copied!

Implements: ContentFlowRunEvent

FieldTypeDescription
eventIdID!
createdDateDateTime!
sequenceInt!
previousStatusContentFlowRunStatus!
newStatusContentFlowRunStatus!

Content review
Link copied!

ContentReview
Link copied!

Implements: Node

FieldTypeDescription
idID!
reviewTaskContentReviewTask!
typeContentReviewType!
createdByUser!
createdDateDateTime!
commentString
suggestedBodyContentReviewTaskBody

ContentReviewTask
Link copied!

Implements: Node

FieldTypeDescription
idID!
labelString!
descriptionString!
statusContentReviewTaskStatus!
attributes[ContentReviewTaskAttribute]!
tags[String]!
reviewers[ContentReviewTaskReviewer]!
bodyContentReviewTaskBody!
cmsHubCMSHub!
organizationOrganization!
createdDateDateTime!
updatedDateDateTime!
expiryDateDateTime!
dueDateDateTime
contentReviews[ContentReview]

ContentReviewTaskAttribute
Link copied!

FieldTypeDescription
keyString!
valueString!
nodeNode

ContentReviewTaskJsonBody
Link copied!

FieldTypeDescription
valueString!
schemaString!

SubmitContentReviewResponse
Link copied!

FieldTypeDescription
idID!

ContentReviewTaskAttributeFacetData
Link copied!

FieldTypeDescription
facetNameString!
data[ContentReviewTaskAttributeFacetDataGroup!]

ContentReviewTaskAttributeFacetDataGroup
Link copied!

FieldTypeDescription
groupString!
data[ContentReviewTaskAttributeFacetDataGroupEntry!]

ContentReviewTaskAttributeFacetDataGroupEntry
Link copied!

FieldTypeDescription
valueString!
countInt!
nodeNode

ContentReviewTaskFacets
Link copied!

FieldTypeDescription
totalReviewTasksInt!
facets[ContentReviewTaskFacet!]

ContentReviewTaskReviewerFacetData
Link copied!

FieldTypeDescription
facetNameString!
data[ContentReviewTaskReviewerFacetDataEntry!]

ContentReviewTaskReviewerFacetDataEntry
Link copied!

FieldTypeDescription
reviewerContentReviewTaskReviewer!
countInt!

ContentReviewTaskSearchResultMatch
Link copied!

FieldTypeDescription
pathString!

ContentReviewTaskStatusFacetData
Link copied!

FieldTypeDescription
facetNameString!
data[ContentReviewTaskStatusFacetDataEntry!]

ContentReviewTaskStatusFacetDataEntry
Link copied!

FieldTypeDescription
statusString!
countInt!