Clone Test Template
Agent Testing
Clone Test Template
Clone a template to create a new scenario bound to your pathway or persona.
POST
Clone Test Template
Documentation Index
Fetch the complete documentation index at: https://docs.bland.ai/llms.txt
Use this file to discover all available pages before exploring further.
Headers
Your API key for authentication.
Path Parameters
The template ID to clone.
Body
The pathway to bind the cloned scenario to. Either
pathway_id or persona_id is required.The persona to bind the cloned scenario to. Either
pathway_id or persona_id is required.Override the template name. Defaults to the template’s original name.
Override the template description.
Override the tester persona prompt that drives the simulated caller’s behavior.
Override the maximum number of conversational turns before the test ends.
Override the request data passed to the agent during the test call.
Override the starting node for pathway-based scenarios.
Override the Bland Tone setting for the test call.
Whether to require this scenario to pass before a pathway can be promoted. Default
false.Response
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