curl --request GET \
--url https://api.bland.ai/v1/agent-testing/scenarios/{id} \
--header 'authorization: <authorization>'{
"id": "a1b2c3d4-5678-9abc-def0-1234567890ab",
"org_id": "b2c3d4e5-6789-abcd-ef01-234567890abc",
"pathway_id": "c3d4e5f6-789a-bcde-f012-34567890abcd",
"persona_id": null,
"name": "Angry Caller Test",
"description": "Tests the agent's ability to de-escalate an angry caller",
"category": "ANGRY_CALLER",
"scenario_type": "AGENT",
"tester_persona_prompt": "You are a frustrated customer who has been waiting on hold for 30 minutes. You are upset about a billing error on your account.",
"tester_persona_name": "Frustrated Customer",
"max_turns": 15,
"request_data": null,
"start_node_id": null,
"bland_tone_enabled": true,
"is_required_for_promotion": false,
"enabled": true,
"input_messages": null,
"advanced_instructions": null,
"metadata": null,
"assertions": [
{
"id": "d4e5f6a7-89ab-cdef-0123-4567890abcde",
"type": "LLM_JUDGE",
"name": "De-escalation",
"config": {
"prompt": "Did the agent successfully de-escalate the situation and address the customer's concerns?",
"output_type": "score",
"threshold": 0.7
},
"is_required": true,
"weight": 1.5,
"order": 0
}
],
"created_at": "2026-04-10T12:00:00.000Z",
"updated_at": "2026-04-13T18:30:00.000Z"
}
Retrieve a specific test scenario with its assertions.
curl --request GET \
--url https://api.bland.ai/v1/agent-testing/scenarios/{id} \
--header 'authorization: <authorization>'{
"id": "a1b2c3d4-5678-9abc-def0-1234567890ab",
"org_id": "b2c3d4e5-6789-abcd-ef01-234567890abc",
"pathway_id": "c3d4e5f6-789a-bcde-f012-34567890abcd",
"persona_id": null,
"name": "Angry Caller Test",
"description": "Tests the agent's ability to de-escalate an angry caller",
"category": "ANGRY_CALLER",
"scenario_type": "AGENT",
"tester_persona_prompt": "You are a frustrated customer who has been waiting on hold for 30 minutes. You are upset about a billing error on your account.",
"tester_persona_name": "Frustrated Customer",
"max_turns": 15,
"request_data": null,
"start_node_id": null,
"bland_tone_enabled": true,
"is_required_for_promotion": false,
"enabled": true,
"input_messages": null,
"advanced_instructions": null,
"metadata": null,
"assertions": [
{
"id": "d4e5f6a7-89ab-cdef-0123-4567890abcde",
"type": "LLM_JUDGE",
"name": "De-escalation",
"config": {
"prompt": "Did the agent successfully de-escalate the situation and address the customer's concerns?",
"output_type": "score",
"threshold": 0.7
},
"is_required": true,
"weight": 1.5,
"order": 0
}
],
"created_at": "2026-04-10T12:00:00.000Z",
"updated_at": "2026-04-13T18:30:00.000Z"
}
Show assertion object
{
"id": "a1b2c3d4-5678-9abc-def0-1234567890ab",
"org_id": "b2c3d4e5-6789-abcd-ef01-234567890abc",
"pathway_id": "c3d4e5f6-789a-bcde-f012-34567890abcd",
"persona_id": null,
"name": "Angry Caller Test",
"description": "Tests the agent's ability to de-escalate an angry caller",
"category": "ANGRY_CALLER",
"scenario_type": "AGENT",
"tester_persona_prompt": "You are a frustrated customer who has been waiting on hold for 30 minutes. You are upset about a billing error on your account.",
"tester_persona_name": "Frustrated Customer",
"max_turns": 15,
"request_data": null,
"start_node_id": null,
"bland_tone_enabled": true,
"is_required_for_promotion": false,
"enabled": true,
"input_messages": null,
"advanced_instructions": null,
"metadata": null,
"assertions": [
{
"id": "d4e5f6a7-89ab-cdef-0123-4567890abcde",
"type": "LLM_JUDGE",
"name": "De-escalation",
"config": {
"prompt": "Did the agent successfully de-escalate the situation and address the customer's concerns?",
"output_type": "score",
"threshold": 0.7
},
"is_required": true,
"weight": 1.5,
"order": 0
}
],
"created_at": "2026-04-10T12:00:00.000Z",
"updated_at": "2026-04-13T18:30:00.000Z"
}
Was this page helpful?