---
title: "Copy Context"
method: POST
path: "/v1/contexts/{context_id}/copy"
tags: ["Contexts"]
---

# Copy Context

`POST /v1/contexts/{context_id}/copy`

## Request

- Base URL: `https://api.liveavatar.com`
- URL: `https://api.liveavatar.com/v1/contexts/{context_id}/copy`
- Auth: API key in header `X-API-KEY`

Hard-copy a readable context into the caller's space as a new PRIVATE context.

Optional `name` overrides the copy's name; otherwise it defaults to
"{original name} (Copy)".

## Path parameters

- `context_id` string, uuid, required

## Request body

- CopyContextSchema
  - `name` string

## Response `200`

Successful Response

- ResponseContextDetailSchema
  - `code` integer
  - `data` ContextDetailSchema
    - `name` string, required
    - `prompt` string, required
    - `opening_text` string, required
    - `id` string, uuid, required
    - `links` ContextLinkSchema[]
      - `url` string, required
      - `faq` string, required
      - `id` string, uuid, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `required_dynamic_variables` string[], required
  - `message` string

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-03** `8bc38e64ff31`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/liveavatar/apis/live-avatar-api/changes/v1/contexts/:context_id/copy/post.md)

---

[API](https://skmtc.dev/liveavatar/apis/live-avatar-api.md) - [All operations](https://skmtc.dev/liveavatar/apis/live-avatar-api/llms.txt) - [OpenAPI document](https://skmtc.dev/liveavatar/apis/live-avatar-api/revisions/8bc38e64ff31?raw)
