Authorizations
API Key Authentication. It should be included in the header of each request.
Body
Schema for the run_scenarios_text endpoint, which runs scenarios in text mode.
The AI agent this evaluator is associated with
Alternative to agent ID - the assistant ID to use for this scenario
Label text for result
List of evaluator IDs to run. Either evaluators or tags must be provided.
List of tags to filter evaluators to run. Either evaluators or tags must be provided.
The number of times each evaluator will run
List of personality IDs to override for this run. If not provided, uses the scenario's default personality.
List of test profile IDs to override for this run. If not provided, uses the scenario's default test profile.
Response
ID of the result
ID of the agent
Status of the result
pending
, running
, completed
, failed
Whether the scenario ran as text or not
false
{
"id": 274,
"status": "pending",
"scenario": 1,
"number": null,
"inbound_number": "+11234567890",
"scenario_name": "Customer Support Call (Agent Inbound = True)",
"test_profile_data": null
}
{
"id": 275,
"status": "pending",
"scenario": 2,
"number": "+11234567890",
"inbound_number": null,
"scenario_name": "Outbound Sales Call (Agent Inbound = False)",
"test_profile_data": null
}
"2025-02-25T21:00:01.990052Z"