Objects: Content generation
GraphQL object types for content generation, content flow, and content review in the Amplience GraphQL Management API.
Sessions & messagesLink copied!
SubmitContentGenerationSessionMessageResponseLink copied!
| Field | Type | Description |
|---|---|---|
submittedMessage | ContentGenerationSessionMessage! | |
responseStreamUrl | String! |
GenerateEditForContentGenerationSessionMessagePropertyResponseLink copied!
| Field | Type | Description |
|---|---|---|
responseStreamUrl | String! |
ContentGenerationSessionLink copied!
Implements: Node
| Field | Type | Description |
|---|---|---|
id | ID! | |
messages | [ContentGenerationSessionMessage]! | |
organization | Organization! | |
cmsHub | CMSHub! | |
briefTemplate | ContentGenerationBriefTemplate! | |
author | ContentGenerationSessionAuthor! | |
label | String! | |
createdDate | DateTime! | |
expiryDate | DateTime |
ContentGenerationSessionAuthorLink copied!
| Field | Type | Description |
|---|---|---|
user | User! |
ContentGenerationSessionMessageLink copied!
Implements: Node
| Field | Type | Description |
|---|---|---|
id | ID! | |
parent | ContentGenerationSessionMessage | |
status | ContentGenerationSessionMessageStatus! | |
author | ContentGenerationSessionMessageAuthor! | |
content | ContentGenerationSessionMessageContent! | |
createdDate | DateTime | |
expiryDate | DateTime |
ContentGenerationSessionMessageAuthorLink copied!
| Field | Type | Description |
|---|---|---|
role | ContentGenerationSessionMessageAuthorRole | |
user | User |
ContentGenerationSessionMessageBriefContentLink copied!
| Field | Type | Description |
|---|---|---|
briefInputs | String! | |
modelId | String! | |
exampleIds | [String] | |
images | [ContentGenerationSessionMessageBriefContentImage] |
ContentGenerationSessionMessageBriefContentImageLink copied!
| Field | Type | Description |
|---|---|---|
url | String! | |
originalUrl | String! | |
id | String! |
ContentGenerationSessionMessageRawContentContentLink copied!
| Field | Type | Description |
|---|---|---|
body | String! | |
scores | String |
Briefs & templatesLink copied!
ContentGenerationBriefTemplateLink copied!
Implements: Node
| Field | Type | Description |
|---|---|---|
id | ID! | |
defaultModel | ContentGenerationModel! | |
label | String! | |
description | String! | |
imageUrl | String | |
createdDate | DateTime! | |
updatedDate | DateTime! | |
createdBy | User | |
updatedBy | User | |
category | String! | |
roles | [String!]! | |
status | ContentGenerationBriefTemplateStatus! | |
inputSchema | String! | |
outputSchema | String! | |
configuration | ContentGenerationBriefTemplateConfiguration | |
cmsHub | CMSHub | |
organization | Organization |
ContentGenerationBriefTemplateConfigurationLink copied!
| Field | Type | Description |
|---|---|---|
inputFields | [ContentGenerationBriefTemplateField]! | |
instructions | String! |
ContentGenerationBriefTemplateImageFieldLink copied!
Implements: ContentGenerationBriefTemplateField
| Field | Type | Description |
|---|---|---|
label | String! | |
name | String! |
ContentGenerationBriefTemplateKeyValueFieldLink copied!
Implements: ContentGenerationBriefTemplateField
| Field | Type | Description |
|---|---|---|
label | String! | |
name | String! |
ContentGenerationBriefTemplateTextFieldLink copied!
Implements: ContentGenerationBriefTemplateField
| Field | Type | Description |
|---|---|---|
label | String! | |
name | String! | |
format | ContentGenerationBriefTemplateTextFieldFormat! |
Audiences, brand voices & tonesLink copied!
ContentGenerationAudienceLink copied!
Implements: Node
| Field | Type | Description |
|---|---|---|
id | ID! | |
label | String! | |
ageRangeMin | Int! | |
ageRangeMax | Int! | |
gender | String! | |
description | String |
ContentGenerationToneLink copied!
Implements: Node
| Field | Type | Description |
|---|---|---|
id | ID! | |
label | String! | |
description | String! |
ContentGenerationBrandVoiceLink copied!
Implements: Node
| Field | Type | Description |
|---|---|---|
id | ID! | |
label | String! | |
brandName | String | |
locale | ContentGenerationBrandVoiceLocale! | |
tone | ContentGenerationTone | |
brandValues | [ContentGenerationBrandVoiceValue]! | |
brandRuleExclusions | [String]! | |
brandRuleSubstitutions | [ContentGenerationBrandVoiceRuleSubstitution]! | |
contentGenerationExampleFolders | ContentGenerationExampleFolderConnection! | Args: before: String, after: String, first: Int, last: Int, briefTemplateId: ID! |
contentGenerationExamples | ContentGenerationExampleConnection! | Args: briefTemplateId: ID!, before: String, after: String, first: Int, last: Int |
ContentGenerationBrandVoiceRuleSubstitutionLink copied!
| Field | Type | Description |
|---|---|---|
term | String! | |
substitute | String! |
ContentGenerationBrandVoiceValueLink copied!
| Field | Type | Description |
|---|---|---|
label | String! | |
description | String! |
ExamplesLink copied!
ContentGenerationExampleLink copied!
Implements: Node
| Field | Type | Description |
|---|---|---|
id | ID! | |
organization | Organization! | |
cmsHub | CMSHub! | |
briefTemplate | ContentGenerationBriefTemplate! | |
brandVoice | ContentGenerationBrandVoice! | |
label | String! | |
createdDate | DateTime! | |
briefInputs | String! | |
folder | ContentGenerationExampleFolder | |
output | String! |
ContentGenerationExampleFolderLink copied!
Implements: Node
| Field | Type | Description |
|---|---|---|
id | ID! | |
label | String! | |
createdDate | String | |
brandVoice | ContentGenerationBrandVoice! | |
briefTemplate | ContentGenerationBriefTemplate! | |
parent | ContentGenerationExampleFolder | |
subFolders | ContentGenerationExampleFolderConnection! | Args: before: String, after: String, first: Int, last: Int |
examples | ContentGenerationExampleConnection! | Args: before: String, after: String, first: Int, last: Int |
Jobs & modelsLink copied!
HubContentGenerationModelLink copied!
| Field | Type | Description |
|---|---|---|
model | ContentGenerationModel! | |
enabled | Boolean! |
InputModalitiesLink copied!
| Field | Type | Description |
|---|---|---|
image | Boolean! |
OutputModalitiesLink copied!
| Field | Type | Description |
|---|---|---|
text | TextOutputModality! | |
structuredOutputs | StructuredOutputModality! |
StructuredOutputModalityLink copied!
| Field | Type | Description |
|---|---|---|
supported | Boolean! |
TextOutputModalityLink copied!
| Field | Type | Description |
|---|---|---|
supported | Boolean! |
ContentGenerationJobLink copied!
Implements: Node
| Field | Type | Description |
|---|---|---|
id | ID! | |
status | ContentGenerationJobStatus! | |
author | ContentGenerationJobAuthor! | |
briefContent | ContentGenerationJobBriefContent! | |
content | String | |
createdDate | DateTime! | |
expiryDate | DateTime! |
ContentGenerationJobAuthorLink copied!
| Field | Type | Description |
|---|---|---|
user | User |
ContentGenerationJobBriefContentLink copied!
| Field | Type | Description |
|---|---|---|
briefInputs | String! | |
modelId | String! | |
exampleIds | [String] | |
images | [ContentGenerationJobBriefContentImage] |
ContentGenerationJobBriefContentImageLink copied!
| Field | Type | Description |
|---|---|---|
url | String! | |
originalUrl | String! | |
id | String! |
ContentGenerationJobStatusLink copied!
| Field | Type | Description |
|---|---|---|
code | ContentGenerationJobStatusCode! | |
message | String |
ContentGenerationModelLink copied!
Implements: Node
| Field | Type | Description |
|---|---|---|
id | ID! | |
label | String! | |
description | String! | |
inputModalities | InputModalities! | |
outputModalities | OutputModalities! | |
lifecycle | ContentGenerationModelLifecycle! | |
provider | Provider! | |
enabled | Boolean! | Args: cmsHubId: ID! |
ContentGenerationModelLifecycleLink copied!
| Field | Type | Description |
|---|---|---|
stage | ContentGenerationModelLifecycleStage! | |
retirementDate | DateTime |
Text & SEO generationLink copied!
RichTextGenerationTicketLink copied!
| Field | Type | Description |
|---|---|---|
id | String! | |
url | String! |
SEOGenerationResponseLink copied!
| Field | Type | Description |
|---|---|---|
variants | [String!]! |
Content flowLink copied!
ContentFlowLink copied!
Implements: Node
| Field | Type | Description |
|---|---|---|
id | ID! | |
runs | ContentFlowRunConnection! | Args: before: String, after: String, first: Int, last: Int |
label | String! | |
description | String! | |
status | ContentFlowStatus! | |
flow | String! | |
cmsHub | CMSHub! | |
organization | Organization! | |
createdDate | DateTime! | |
updatedDate | DateTime! | |
lastRunDate | DateTime |
ContentFlowActionErrorEventLink copied!
Implements: ContentFlowRunEvent
| Field | Type | Description |
|---|---|---|
eventId | ID! | |
createdDate | DateTime! | |
sequence | Int! | |
actionId | String! | |
message | String! |
ContentFlowErrorEventLink copied!
Implements: ContentFlowRunEvent
| Field | Type | Description |
|---|---|---|
eventId | ID! | |
createdDate | DateTime! | |
sequence | Int! | |
message | String! |
ContentFlowRunLink copied!
Implements: Node
| Field | Type | Description |
|---|---|---|
id | ID! | |
flow | ContentFlow! | |
flowSnapshot | String | |
label | String! | |
attributes | [ContentFlowRunAttribute!]! | |
tags | [String!]! | |
createdDate | DateTime! | |
updatedDate | DateTime! | |
status | ContentFlowRunStatus! | |
cmsHub | CMSHub! | |
organization | Organization! | |
events | ContentFlowRunEventConnection! | Args: before: String, after: String, first: Int, last: Int |
ContentFlowRunActionInvokeEventLink copied!
Implements: ContentFlowRunEvent
| Field | Type | Description |
|---|---|---|
eventId | ID! | |
createdDate | DateTime! | |
sequence | Int! | |
action | String! | |
actionId | String! | |
messages | String! |
ContentFlowRunActionResultEventLink copied!
Implements: ContentFlowRunEvent
| Field | Type | Description |
|---|---|---|
eventId | ID! | |
createdDate | DateTime! | |
sequence | Int! | |
actionId | String! | |
inMessages | String! | |
outMessages | String! |
ContentFlowRunAttributeLink copied!
| Field | Type | Description |
|---|---|---|
key | String! | |
value | String! |
ContentFlowRunStatusChangedEventLink copied!
Implements: ContentFlowRunEvent
| Field | Type | Description |
|---|---|---|
eventId | ID! | |
createdDate | DateTime! | |
sequence | Int! | |
previousStatus | ContentFlowRunStatus! | |
newStatus | ContentFlowRunStatus! |
Content reviewLink copied!
ContentReviewLink copied!
Implements: Node
| Field | Type | Description |
|---|---|---|
id | ID! | |
reviewTask | ContentReviewTask! | |
type | ContentReviewType! | |
createdBy | User! | |
createdDate | DateTime! | |
comment | String | |
suggestedBody | ContentReviewTaskBody |
ContentReviewTaskLink copied!
Implements: Node
| Field | Type | Description |
|---|---|---|
id | ID! | |
label | String! | |
description | String! | |
status | ContentReviewTaskStatus! | |
attributes | [ContentReviewTaskAttribute]! | |
tags | [String]! | |
reviewers | [ContentReviewTaskReviewer]! | |
body | ContentReviewTaskBody! | |
cmsHub | CMSHub! | |
organization | Organization! | |
createdDate | DateTime! | |
updatedDate | DateTime! | |
expiryDate | DateTime! | |
dueDate | DateTime | |
contentReviews | [ContentReview] |
ContentReviewTaskAttributeLink copied!
| Field | Type | Description |
|---|---|---|
key | String! | |
value | String! | |
node | Node |
ContentReviewTaskJsonBodyLink copied!
| Field | Type | Description |
|---|---|---|
value | String! | |
schema | String! |
SubmitContentReviewResponseLink copied!
| Field | Type | Description |
|---|---|---|
id | ID! |
ContentReviewTaskAttributeFacetDataLink copied!
| Field | Type | Description |
|---|---|---|
facetName | String! | |
data | [ContentReviewTaskAttributeFacetDataGroup!] |
ContentReviewTaskAttributeFacetDataGroupLink copied!
| Field | Type | Description |
|---|---|---|
group | String! | |
data | [ContentReviewTaskAttributeFacetDataGroupEntry!] |
ContentReviewTaskAttributeFacetDataGroupEntryLink copied!
| Field | Type | Description |
|---|---|---|
value | String! | |
count | Int! | |
node | Node |
ContentReviewTaskFacetsLink copied!
| Field | Type | Description |
|---|---|---|
totalReviewTasks | Int! | |
facets | [ContentReviewTaskFacet!] |
ContentReviewTaskReviewerFacetDataLink copied!
| Field | Type | Description |
|---|---|---|
facetName | String! | |
data | [ContentReviewTaskReviewerFacetDataEntry!] |
ContentReviewTaskReviewerFacetDataEntryLink copied!
| Field | Type | Description |
|---|---|---|
reviewer | ContentReviewTaskReviewer! | |
count | Int! |
ContentReviewTaskSearchResultMatchLink copied!
| Field | Type | Description |
|---|---|---|
path | String! |
ContentReviewTaskStatusFacetDataLink copied!
| Field | Type | Description |
|---|---|---|
facetName | String! | |
data | [ContentReviewTaskStatusFacetDataEntry!] |
ContentReviewTaskStatusFacetDataEntryLink copied!
| Field | Type | Description |
|---|---|---|
status | String! | |
count | Int! |