{
"sections": [
"title",
"description",
"file_information",
"directory_location",
"fields",
"sub_types",
"wsdl_segment",
"declarative_metadata_sample_definition"
],
"title": "DiscoveryStory - Metadata API",
"description": "Represents the metadata associated with a story used in Einstein Discovery.",
"file_information": ".story",
"directory_location": "discovery",
"fields_columns": [
"type",
"description"
],
"fields": {
"application": {
"type": "string",
"description": "The CRM Analytics app the story is associated with.",
"required": true
},
"autopilot": {
"type": "DiscoveryStoryAutopilotStatus",
"description": "Optional. The autopilot status for the story. One of the following strings: Enabled Disabled"
},
"classificationThreshold": {
"type": "double",
"description": "Optional. The threshold for classification predictions for the story."
},
"label": {
"type": "string",
"description": "The story label. If you package a story, this label appears in Package Manager.",
"required": true
},
"outcome": {
"type": "DiscoveryStoryOutcome",
"description": "The selected outcome of the story.",
"required": true
},
"sourceContainer": {
"type": "string",
"description": "The source ID for the story.",
"required": true
},
"sourceType": {
"type": "DiscoveryStorySourceType",
"description": "The source type of the story. One of the following strings: AnalyticsDataset LiveDataset Report",
"required": true
},
"validationContainder": {
"type": "string",
"description": "Optional. The validation ID for the story."
}
},
"sub_types": {
"DiscoveryStoryOutcome": {
"failureValue": {
"type": "string",
"description": "Optional. The value if the story failed."
},
"field": {
"type": "string",
"description": "The field configuration for the story.",
"required": true
},
"goal": {
"type": "DiscoveryStoryOutcomeGoal",
"description": "The story outcome goal. One of the following strings: Maximize Minimize None",
"required": true
},
"label": {
"type": "string",
"description": "The story outcome label.",
"required": true
},
"successValue": {
"type": "string",
"description": "Optional. The value if the story succeeded."
},
"type": {
"type": "DiscoveryStoryOutcomeType",
"description": "The story outcome type. One of the following strings: Categorical Count Number Text",
"required": true
}
}
},
"wsdl_segment": "```xml\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n \n\n\n \n \n \n \n \n \n \n \n\n\n \n\n\n \n\n\n \n\n\n \n \n \n\n\n \n \n \n \n \n \n \n\n```",
"declarative_metadata_sample_definition": [
{
"description": "Here is a sample DiscoveryStory:",
"code": "\n\n MyStoryApp\n Enabled\n 0.7383\n \n \n Subscriber\n Minimize\n \n Success\n Numerical\n \n 01X00000000xxxx1AB\n AnalyticsDataset\n"
}
]
}