Skip to main content
POST
Clone Test Template

Headers

string
required
Your API key for authentication.

Path Parameters

string
required
The template ID to clone.

Body

string
The pathway to bind the cloned scenario to. Either pathway_id or persona_id is required.
string
The persona to bind the cloned scenario to. Either pathway_id or persona_id is required.
string
Override the template name. Defaults to the template’s original name.
string
Override the template description.
string
Override the tester persona prompt that drives the simulated caller’s behavior.
integer
Override the maximum number of conversational turns before the test ends.
object
Override the request data passed to the agent during the test call.
string
Override the starting node for pathway-based scenarios.
boolean
Override the Bland Tone setting for the test call.
boolean
default:false
Whether to require this scenario to pass before a pathway can be promoted. Default false.

Response

object
The newly created scenario object cloned from the template.
  • id (string): The unique identifier for the new scenario.
  • name (string): The scenario name.
  • description (string): The scenario description.
  • category (string): The category inherited from the template.
  • tester_persona_prompt (string): The prompt driving the simulated caller.
  • tester_persona_name (string): The name of the simulated caller persona.
  • pathway_id (string): The pathway this scenario is bound to (if applicable).
  • persona_id (string): The persona this scenario is bound to (if applicable).
  • max_turns (integer): The maximum number of conversational turns.
  • request_data (object): The request data for the test call.
  • start_node_id (string): The starting node ID (if set).
  • bland_tone_enabled (boolean): Whether Bland Tone is enabled.
  • is_required_for_promotion (boolean): Whether this scenario is required for pathway promotion.
  • assertions (array): The assertion objects inherited from the template.
    • type (string): The assertion type.
    • config (object): Configuration specific to the assertion type.
    • description (string): A human-readable description of the assertion.
  • created_at (string): ISO 8601 timestamp of when the scenario was created.

Docs for agents: llms.txt