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

# Duplicate and Archive Sequences

> Manage the sequence-level actions available in the dashboard list

# Duplicate and archive sequences

The public API exposes the same sequence-list actions as the dashboard.

## Duplicate

`POST /api/v1/sequences/{sequenceId}/duplicate` creates an independent draft.
The graph, linked email templates, and sequence A/B tests are copied; metrics,
winner state, and in-progress generation state are reset. The request body is
optional and accepts `name`.

```bash theme={null}
curl -X POST "https://api.sequenzy.com/api/v1/sequences/seq_123/duplicate" \
  -H "Authorization: Bearer seq_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{"name":"Welcome Series v2"}'
```

## Archive

`POST /api/v1/sequences/{sequenceId}/archive` moves a sequence to the dashboard
archive and stops new enrollments.

`POST /api/v1/sequences/{sequenceId}/unarchive` restores an archived sequence
as a disabled draft so it can be reviewed before activation.

Both endpoints return `{ "success": true, "sequence": ... }`.
