POST
/
api
/
v1
/
testing-lab
/
scenarios
/
run
Run testing lab scenarios
curl --request POST \
  --url https://prod.featherhq.com/api/v1/testing-lab/scenarios/run \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "agent_id": 123,
  "assistant_id": "<string>",
  "scenarios": [
    123
  ],
  "tags": [
    "<string>"
  ],
  "frequency": 123,
  "name": "<string>",
  "outbound_phone_number": "<string>"
}'
{
  "id": 123,
  "agent": 123,
  "status": "<string>",
  "success_rate": 123,
  "run_as_text": true,
  "runs": [
    {
      "id": 123,
      "scenario": 123,
      "number": "<string>"
    }
  ],
  "created_at": "<string>"
}

Authorizations

X-API-Key
string
header
required

Body

application/json

Response

201
application/json

Scenarios run initiated successfully

The response is of type object.