---
title: "Duplicate Agent"
method: POST
path: "/partner/orgs/{org_id}/agents/duplicate"
tags: ["partner"]
---

# Duplicate Agent

`POST /partner/orgs/{org_id}/agents/duplicate`

## Request

- Base URL: `https://api-docs.jackhamr.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.jackhamr.ai/partner/orgs/{org_id}/agents/duplicate`
- Auth: none declared

Copy one of your agents into the customer's account. Before their owner
joins, the copy is held by the partner admin who created this API key and
handed to the owner when they accept.

## Path parameters

- `org_id` string, required

## Request body

- AgentDuplicate: Copy an agent from the partner's own (HQ) workspace into a customer org.
  - `source_agent_id` string, required
  - `name` string, nullable

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jackhamr/apis/jackhamr-api.md) · [All operations](https://skmtc.dev/jackhamr/apis/jackhamr-api/llms.txt) · [OpenAPI document](https://skmtc.dev/jackhamr/apis/jackhamr-api/revisions/f75d221481d8?raw)
