KnowledgeBaseCopyDocumentPlan
What happens to one source document.
source_document_idSource Document Idrequired
Document on the source agent.
titleTitlerequired
Document title.
source_directory_idSource Directory Idrequired
Its directory on the source agent.
actionActionrequired
copy - cloned; skip_duplicate - the target already holds the same source hash or the same title in the same directory (target_document_id points at it); skip_not_ready - ingestion has not finished or failed; skip_no_source - no source artifact in object storage; skip_hitl_answers - the manager-approved answers document, excluded unless include_hitl_answers.
Possible values: [copy, skip_duplicate, skip_not_ready, skip_no_source, skip_hitl_answers]
target_document_id object
The clone, or the existing duplicate; null in a dry run.
- integer
- null
integer
KnowledgeBaseCopyDocumentPlan
{
"source_document_id": 0,
"title": "string",
"source_directory_id": 0,
"action": "copy",
"target_document_id": 0
}