Skip to main content

KnowledgeBaseCopyRequest

Request to merge one agent's knowledge base into another agent's, reusing the materialized documents, units and embeddings.

source_agent_idSource Agent Idrequired

Agent whose knowledge base is copied.

target_agent_idTarget Agent Idrequired

Agent that receives the copies; must differ from the source.

directory_ids object

Source directories to copy; null copies every directory of the source agent.

anyOf
  • Array [
  • integer
  • ]
  • include_hitl_answersInclude Hitl Answers

    Also copy the manager-approved answers document; off by default because the target agent maintains its own.

    Default value: false
    dry_runDry Run

    Return the plan without copying anything.

    Default value: false
    KnowledgeBaseCopyRequest
    {
    "source_agent_id": 0,
    "target_agent_id": 0,
    "directory_ids": [
    0
    ],
    "include_hitl_answers": false,
    "dry_run": false
    }