---
title: "Duplicate a knowledge base"
method: POST
path: "/v3/ai-sdr/knowledge-bases/{id}/duplicate"
tags: ["AI SDR Knowledge Bases"]
---

# Duplicate a knowledge base

`POST /v3/ai-sdr/knowledge-bases/{id}/duplicate`

<small>_Requires the `ai-sdr:write` scope (or a broader one that includes it)._</small>

Creates a copy of an existing knowledge base, including its links, documents, reply handlers, and reengagement cards.

Requires the AI SDR feature on the caller's team.

## Path parameters

- `id` integer, required

## Response `201`

Knowledge base duplicated successfully

- object — Detailed representation of a knowledge base.
  - `id` integer — Unique identifier for the knowledge base
  - `name` string — Display name of the knowledge base
  - `instructions` string — Free-form instructions applied when the knowledge base is referenced by AI SDR generations.
  - `updatedAt` string, date-time — Timestamp of the last modification
  - `ownerUserId` integer, nullable — User ID of the owner. `null` when the owner has been removed from the team.

## Other responses

- `400` — Invalid `id` (not a positive integer)
- `401` — Unauthorized. The response body is empty; check the `WWW-Authenticate` header for the expected scheme.
- `403` — AI SDR feature is not available for the caller's team
- `404` — Source knowledge base not found
- `502` — Upstream AI SDR service failure

---

[API](https://skmtc.net/reply/apis/reply-api.md) · [All operations](https://skmtc.net/reply/apis/reply-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/reply/reply-api/revisions/1c3d32eaf95e/schema)
