curl --request POST \
--url https://api.cekura.ai/test_framework/v1/scenarios-external/ \
--header 'Content-Type: application/json' \
--header 'X-CEKURA-API-KEY: <api-key>' \
--data '{
"agent": 123,
"assistant_id": "<string>",
"name": "<string>",
"personality": 123,
"instructions": "<string>",
"expected_outcome_prompt": "<string>",
"metrics": {},
"tags": [
"<string>"
],
"tool_ids": [
"<string>"
]
}'
{
"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": {}
}
}
External API view set for managing scenarios. This view set provides endpoints to list, create, and manage scenarios associated with a specific organization, authenticated via API key.
curl --request POST \
--url https://api.cekura.ai/test_framework/v1/scenarios-external/ \
--header 'Content-Type: application/json' \
--header 'X-CEKURA-API-KEY: <api-key>' \
--data '{
"agent": 123,
"assistant_id": "<string>",
"name": "<string>",
"personality": 123,
"instructions": "<string>",
"expected_outcome_prompt": "<string>",
"metrics": {},
"tags": [
"<string>"
],
"tool_ids": [
"<string>"
]
}'
{
"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": {}
}
}
API Key Authentication. It should be included in the header of each request.
The response is of type object
.