Knowledge Base Asset
Called whenever a knowledge base trained URL asset is created, updated or deleted
Schema
{
"type": "object",
"properties": {
"type": {
"type": "string"
},
"locationId": {
"type": "string"
},
"knowledgeBaseId": {
"type": "string"
},
"id": {
"type": "string"
},
"assetType": {
"type": "string"
},
"status": {
"type": "string"
},
"action": {
"type": "string"
},
"deleted": {
"type": "boolean"
}
}
}
- Note:
actionindicates the change that occurred and is one ofcreated,updatedordeleted. For adeletedaction,deletedistrue. - Note:
assetTypeis alwaystrained_urlfor this event. - Note:
statusreflects the crawl/training state of the URL (for exampletrained,failedoraborted).
Example
{
"type": "KnowledgeBaseTrainedUrlChange",
"locationId": "ve9EPM428h8vShlRW1KT",
"knowledgeBaseId": "6578278e879ad2646715ba9c",
"id": "c6tZZU0rJBf30ZXx9Gli",
"assetType": "trained_url",
"status": "trained",
"action": "created",
"deleted": false
}