For AI agents and LLMs: a machine-readable index is available at llms.txt. A plain-Markdown version of any documentation page is available by appending .md to its URL.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
workflow_idstringrequired
Body
application/json
project_idstringrequired
Project ID associated with the workflow
titlestringrequired
Scenario title/name
descriptionstringrequired
Scenario description (conversation flow and expected behavior)
personastring
Persona for this scenario (e.g. from personas list). Defaults to 'Adaptable Communicator' if omitted.
special_instructionsstring
Optional special instructions to include in the scenario
expected_outcomesarray
User-provided validation criteria. If omitted, auto-generated via LLM.
test_profile_idstring
Test profile ID to associate with this scenario
languagestring
Language for this scenario (e.g., 'Spanish'). If None, defaults to English.
interaction_modestring
Interaction mode: 'questioner' (test agent leads) or 'responder' (target bot leads). Defaults to 'questioner'.
first_messagestring
Optional custom first message to start the conversation. When set, this exact text is used as the opening message. If not set, the agent auto-generates an appropriate opener.
image_namesarray
Test image names (org image library) the agent may attach during this scenario. Overrides the test profile's 'attached_images' list when set.
Response
application/json
Successful Response
successbooleanrequired
Whether the operation was successful
messagestringrequired
Response message
created_scenarioobjectrequired
The created scenario (same shape as items in get test scenarios)