> ## Documentation Index
> Fetch the complete documentation index at: https://docs.athina.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Duplicate Prompt Slug

> You can duplicate a prompt slug in Athina's Prompt Playground, or via API

### Duplicate a Prompt on Athina Playground

To duplicate a prompt in Athina:

1. Open [https://app.athina.ai.ai/prompt](https://app.athina.ai.ai/prompt)

2. Click on the three dots next to the `prompt_slug` you want to duplicate in the sidebar.

3. Click `Duplicate`

### Duplicate a Prompt via API

<Tabs>
  <Tab title="python">
    ```python
    from athina_client.prompt import Slug

    Slug.duplicate(slug="test-slug", name="test-slug-1")
    ```
  </Tab>

  <Tab title="curl">
    ```bash
    curl
    --location 'https://api.athina.ai/api/v1/prompt/slug/[PROMPT_SLUG]/duplicate' \
    --header 'athina-api-key: ATHINA_API_KEY' \
    --header 'Content-Type: application/json' \
    --data '{
    "name": "new_prompt_slug"
    }'

    ```
  </Tab>
</Tabs>
