cURL
curl --request POST \ --url https://api.cekura.ai/test_framework/v1/scenarios/run_scenarios_with_websockets/ \ --header 'Content-Type: application/json' \ --header 'X-CEKURA-API-KEY: <api-key>' \ --data '{ "scenarios": [ { "scenario": 123, "websocket_url": "<string>" } ], "frequency": 50 }'
{ "id": 167, "agent": 1, "status": "pending", "success_rate": 0, "run_as_text": false, "runs": [ { "id": 274, "scenario": 1, "number": "+11234567890" }, { "id": 273, "scenario": 2, "number": "+11234567891" } ], "created_at": "2025-02-25T21:00:01.990052Z" }
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 response is of type object.
object