---
title: "Clone scenario"
method: POST
path: "/simulations/{simulationReference}/clone"
tags: ["Simulations"]
---

# Clone scenario

`POST /simulations/{simulationReference}/clone`

Clone a scenario and optionally provide a new name for the cloned scenario.

## Path parameters

- `simulationReference` string, required

## Query parameters

- `projectId` string, required

## Request body

- object
  - `name` string — Optional new name for the cloned scenario

## Response `201`

Scenario cloned successfully

- object
  - `id` string, required — Unique identifier for the scenario
  - `referenceId` string, required — Reference ID for the scenario
  - `name` string, required — Name of the scenario
  - `persona` string, required — Persona description
  - `personaName` string, required — Name of the persona
  - `mission` string, required — Mission description
  - `successCriteria` object[], required — List of success criteria (structured objects)
    - `type` string, required — Success criterion type
    - `params` object, required — Success criterion parameters
  - `maxTurns` integer — Maximum number of turns
  - `timeout` integer — Timeout in seconds
  - `aiAgentReferenceId` string — Reference ID of the AI Agent
  - `aiAgentId` string — Database ID of the AI Agent
  - `flowReferenceId` string — Reference ID of the Flow
  - `flowId` string — Database ID of the Flow
  - `jobNodeId` string — Job Node ID
  - `organisationReference` string, required — Organization reference
  - `projectReference` string, required — Project reference
  - `createdAt` integer, required — Creation timestamp
  - `createdBy` string, required — User who created the scenario
  - `updatedAt` integer — Last update timestamp
  - `updatedBy` string — User who last updated the scenario
  - `lastChanged` integer, required — Last change timestamp
  - `lastChangedBy` string, required — User who made the last change

## Other responses

- `400` — Bad Request - Invalid input parameters
- `401` — Unauthorized - Invalid or missing authentication
- `403` — Forbidden - Insufficient permissions
- `404` — Not Found - Resource not found
- `500` — Internal Server Error - Server error

---

[API](https://skmtc.net/cognigy/apis/simulator-openapi-rest-ful-api-reference.md) · [All operations](https://skmtc.net/cognigy/apis/simulator-openapi-rest-ful-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cognigy/simulator-openapi-rest-ful-api-reference/revisions/85b2872bdfb7/schema)
