GET
/
test_framework
/
v1
/
scenarios
/
{id}
/
cURL
curl --request GET \
  --url https://api.cekura.ai/test_framework/v1/scenarios/{id}/ \
  --header 'X-CEKURA-API-KEY: <api-key>'
{
  "id": 123,
  "name": "<string>",
  "agent": 123,
  "personality": 123,
  "personality_name": "<string>",
  "tags": [
    "<string>"
  ],
  "tool_ids": "<any>",
  "runs": [
    123
  ],
  "metrics": [
    123
  ],
  "metric_names": [
    "<string>"
  ],
  "phone_number": "<string>",
  "first_message": "<string>",
  "inbound_phone_number": 123,
  "inbound_phone_number_data": {
    "id": 123,
    "number": "<string>",
    "phone_number_id": "<string>",
    "common": "<string>"
  },
  "instructions": "<string>",
  "simulation_description": "<string>",
  "information_fields": {},
  "expected_outcome_prompt": "<string>",
  "scenario_language": "ar",
  "test_profile": 123,
  "test_profile_data": {
    "id": 123,
    "agent": 123,
    "name": "<string>",
    "information": {}
  }
}

Authorizations

X-CEKURA-API-KEY
string
header
required

API Key Authentication. It should be included in the header of each request.

Path Parameters

id
integer
required

A unique integer value identifying this scenario.

Response

id
integer
required
inbound_phone_number_data
object
required

Details of the phone number used for inbound calls

test_profile_data
object
required

Details of the test profile associated with this scenario

name
string

Name of the evaluator

agent
integer

ID of the AI agent this scenario belongs to

personality
integer

ID of the personality

personality_name
string

Name of the personality

tags
string[]

List of tags of the evaluators

tool_ids
any

List of tool IDs to associate with this scenario

runs
integer[]

List of run IDs

metrics
integer[]

List of metric IDs

metric_names
string[]

List of metric names

phone_number
string

Phone number eg: +17776666333

first_message
string

First message of the evaluator

inbound_phone_number
integer | null
instructions
string

Instructions of the evaluator

simulation_description
string
information_fields
object

Information fields of the evaluator

expected_outcome_prompt
string

Expected outcome prompt of the evaluator

scenario_language
enum<string>

Language of the scenario

  • ar - Arabic
  • bg - Bulgarian
  • zh - Chinese Simplified
  • cs - Czech
  • da - Danish
  • nl - Dutch
  • en - English
  • fi - Finnish
  • fr - French
  • de - German
  • el - Greek
  • hi - Hindi
  • hu - Hungarian
  • id - Indonesian
  • it - Italian
  • ja - Japanese
  • ko - Korean
  • ms - Malay
  • multi - Multilingual
  • no - Norwegian
  • pl - Polish
  • pt - Portuguese
  • ro - Romanian
  • ru - Russian
  • sk - Slovak
  • es - Spanish
  • sv - Swedish
  • tr - Turkish
  • uk - Ukrainian
  • vi - Vietnamese
Available options:
ar,
bg,
zh,
cs,
da,
nl,
en,
fi,
fr,
de,
el,
hi,
hu,
id,
it,
ja,
ko,
ms,
multi,
no,
pl,
pt,
ro,
ru,
sk,
es,
sv,
tr,
uk,
vi
test_profile
integer | null