Skip to main content

Replace a knowledge base

PUT 

/v1/agents/:agentId/knowledge-bases/:knowledgeBaseId

x-scope: "knowledge:write"

Replaces the name and content; tags change only when sent. A knowledge base can be shared by several agents and the change reaches all of them, so it is refused (403 shared_with_other_agents) unless the key can act on every agent using it.

Request​

Responses​

The knowledge base as it now is.

Response Headers
    X-Correlation-ID

    Correlation id for this request — paste into support tickets.