API’s for managing scenarios. This view set provides endpoints to list, create, and manage and run scenarios.
API Key Authentication. It should be included in the header of each request.
The personality of the evaluator
Agent ID
Example: 2142
Alternative to agent ID - the assistant ID to use for this scenario
Example: "asst_1234567890"
Name of the scenario
80Scenario Instructions
Expected Outcome Prompt
Example: "The user should be able to complete the order"
List of metric IDs to associate with this evaluator
Example: [123, 456, 789]
List of tags to associate with the evaluator
Example: ["tag1", "tag2", "tag3"]
List of tool IDs to use for evaluator
[
"TOOL_DTMF",
"TOOL_END_CALL",
"TOOL_END_CALL_ONLY_ON_TRANSFER"
]The test profile ID to use for the evaluator
The inbound phone number ID to use for the evaluator
Name of the evaluator
Agent ID
Example: 2142
ID of the personality
Name of the personality
List of tags of the evaluators
Example: ["tag1", "tag2", "tag3"]
List of tool IDs to associate with this scenario
Example: ["TOOL_DTMF", "TOOL_END_CALL"]
List of run IDs
Example: [123, 456, 789]
List of metric IDs
Example: [123, 456, 789]
List of metric names
Example: ["Metric 1", "Metric 2", "Metric 3"]
Phone number eg: +17776666333
Phone number used for outbound calls in this scenario
Example: "+1234567890"
First message of the evaluator
Phone number used for inbound calls in this scenario
Example: "+1234567890"
Instructions of the evaluator
Simulation Description
Information fields of the evaluator Example:
{
"user_name": "John Doe",
"user_email": "[email protected]",
}Expected outcome prompt of the evaluator
Example: "The user should be able to complete the order"
Language of the scenario
af - Afrikaansar - Arabicbg - Bulgarianzh - Chinese Simplifiedcs - Czechda - Danishnl - Dutchen - Englishfi - Finnishfr - Frenchde - Germanel - Greekhi - Hindihe - Hebrewhu - Hungarianid - Indonesianit - Italianja - Japaneseko - Koreanms - Malaymulti - Multilingualno - Norwegianpl - Polishpt - Portuguesero - Romanianru - Russiansk - Slovakes - Spanishsv - Swedishth - Thaitr - Turkishta - Tamiluk - Ukrainianvi - Vietnameseaf, ar, bg, zh, cs, da, nl, en, fi, fr, de, el, hi, he, hu, id, it, ja, ko, ms, multi, no, pl, pt, ro, ru, sk, es, sv, th, tr, ta, uk, vi Type of scenario (instruction, real_world_smart, or real_world_fixed)
instruction - Instructionreal_world_smart - Real World Smartreal_world_fixed - Real World Fixedinstruction, real_world_smart, real_world_fixed Details of the test profile associated with this scenario Example:
{
"id": "<integer>",
"agent_id": "<integer>",
"name": "<string>",
"information": {
"user_name": "<string>",
"user_email": "<string>",
"order_id": "<string>",
},
}