Skip to main content

KnowledgeBaseCopyDirectoryPlan

What happens to one source directory - reused when the target has a directory of the same name, created otherwise.

source_directory_idSource Directory Idrequired

Directory on the source agent.

nameNamerequired

Directory name; the merge key.

actionActionrequired

reuse - an existing target directory with this name receives the documents; create - a new one is created.

Possible values: [create, reuse]

target_directory_id object

The target directory; null in a dry run for directories that would be created.

anyOf
integer
KnowledgeBaseCopyDirectoryPlan
{
"source_directory_id": 0,
"name": "string",
"action": "create",
"target_directory_id": 0
}