addedOutput schema / properties / steps / items / allOf
Added value: +[
+ {
+ "description": "One step within a scripted test config, as sent on create and update. The same fields as\nthe stored step (`TestStep`), except that `id` may be left out.\n\nOne step within a scripted test config. A `dtmf` / `audio` / `listen` step waits for an\nexpected transcript from the IVR, then optionally sends a DTMF digit or audio response.\n\nA `hold` step is different: it just stays on the line for `durationSecs` (for example\nwhile a call is transferred and hold music plays) and carries ONLY `id`, `name`, `type`,\n`durationSecs` and, optionally, `expectMusic`. `expected`, `threshold` and `timeout` do not apply to it and are\nabsent on a stored hold step.\n\nPer-type requirements: `dtmf` / `audio` / `listen` need `expected` (server defaults:\n`threshold` 90, `timeout` 30). `hold` needs `durationSecs`.\n",
+ "properties": {
+ "acceptAdditionalAnswers": {
+ "description": "`dtmf` / `audio` / `listen` steps only, optional. When true the step also passes on any\nwording in `additionalAnswers` (each scored with its own threshold). Missing or false\nmeans off. Create and update return 400 for a non-boolean. Ignored on other step types.\n",
+ "example": true,
+ "type": "boolean"
+ },
+ "additionalAnswers": {
+ "description": "`dtmf` / `audio` / `listen` steps only, optional. Other acceptable wordings of\n`expected`, used only when `acceptAdditionalAnswers` is true and kept when it is false.\nWhile on, the step waits up to the longest of its own `timeout` and the answers'\ntimeouts; a match on any wording ends the wait. At most 10. Create and update return 400\nfor an invalid entry. Ignored on other step types.\n",
+ "items": {
+ "description": "One other acceptable wording of a step's `expected` prompt.",
+ "properties": {
+ "expected": {
+ "description": "The wording. Must contain non-space text.",
+ "example": "Welcome to the NHS 111 service",
+ "minLength": 1,
+ "type": "string"
+ },
+ "threshold": {
+ "description": "Similarity percentage this wording needs. Defaults to the step's `threshold`.",
+ "example": 75,
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "timeout": {
+ "description": "Seconds this wording may take, counted from the start of the step. Defaults to the\nstep's `timeout`. It can lengthen the step's wait but never shorten it.\n",
+ "example": 35,
+ "minimum": 1,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "expected"
+ ],
+ "type": "object"
+ },
+ "maxItems": 10,
+ "type": "array"
+ },
+ "audioUrl": {
+ "description": "Audio URL when `type` is `audio` (manual entry; usually resolved via `profileItemId`).",
+ "type": "string"
+ },
+ "delay": {
+ "description": "Optional \"send DTMF anyway\" timer. If set, the action fires after this many seconds\neven if the threshold has not been met. Legacy field; prefer `timeout`.\n",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "dtmf": {
+ "description": "DTMF digits to send when `type` is `dtmf` (manual entry; usually resolved via `profileItemId`).",
+ "example": "1",
+ "type": "string"
+ },
+ "durationSecs": {
+ "description": "`hold` steps only (required there): seconds to stay on the line. A JSON number, fractions\nallowed, greater than 0 and at most 1800. It must also be no longer than the config's\n`maxDurationSecs` (300 when that is unset). That ceiling bounds the WHOLE call, not just\nthe hold, so this is necessary but not sufficient for the hold to complete. Create and\nupdate return 400 for a violation.\n",
+ "example": 30,
+ "exclusiveMinimum": 0,
+ "maximum": 1800,
+ "type": "number"
+ },
+ "expectMusic": {
+ "description": "`hold` steps only, optional. When true the step fails unless at least half of the hold\nwas queue music (judged per second from the call audio): use it to prove a transfer\nreached a queue. Every hold reports what it heard in its result either way. Stored only\nwhen true. Create and update return 400 for a non-boolean.\n",
+ "example": true,
+ "type": "boolean"
+ },
+ "expected": {
+ "description": "Expected transcript (or regex-like phrase) to match before the step succeeds.\nApplies to `dtmf` / `audio` / `listen`; absent on `hold` steps.\n",
+ "example": "Press 1 for sales",
+ "type": "string"
+ },
+ "id": {
+ "description": "Step identifier. Optional when sending a step: the server generates one when it is\nleft out. On update, send a step's existing `id` to keep it the same step; a step sent\nwithout one is stored with a new `id`. Always present on a stored step.\n",
+ "example": "<step-id>",
+ "format": "uuid",
+ "type": "string"
+ },
+ "isTransfer": {
+ "description": "Optional, any step type. Marks the script's transfer step, which load-test failure\npatterns use to tell \"not transferred\" from \"failed after transfer\". When no step is\nmarked, the first `hold` step with `expectMusic` is the transfer step. Stored only when\ntrue; at most one step may be marked. Create and update return 400 for a non-boolean or\nfor more than one marked step.\n",
+ "example": true,
+ "type": "boolean"
+ },
+ "name": {
+ "description": "Human-readable step label.",
+ "example": "Listen for main menu",
+ "type": "string"
+ },
+ "profileItemId": {
+ "description": "Profile item reference. Resolved server-side to the runtime DTMF / audio payload.",
+ "type": "string"
+ },
+ "replyDelayMs": {
+ "description": "`audio` steps only (optional): milliseconds to wait after the bot's end of turn before our\nclip plays. Omitted means no extra delay. Ignored on other step types.\n",
+ "example": 1500,
+ "maximum": 10000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "threshold": {
+ "default": 90,
+ "description": "Similarity percentage required for the transcript match to succeed. Server default 90\nfor `dtmf` / `audio` / `listen`; absent on `hold` steps.\n",
+ "example": 90,
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "timeout": {
+ "description": "Maximum seconds to wait for the expected match before failing the step. Server default 30\nfor `dtmf` / `audio` / `listen`; absent on `hold` steps.\n",
+ "example": 30,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "type": {
+ "description": "Step action type — keypad input, audio response, passive listen, wait for an inbound\ncallback, or hold (stay on the line for `durationSecs`).\n",
+ "enum": [
+ "dtmf",
+ "audio",
+ "listen",
+ "wait_for_callback",
+ "hold"
+ ],
+ "example": "dtmf",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "description": "Step identifier. Always present on a stored step.",
+ "format": "uuid",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "type": "object"
+ }
+]
changedOutput schema / properties / steps / items / description
Previous value: -"One step within a scripted test config. A `dtmf` / `audio` / `listen` step waits for an\nexpected transcript from the IVR, then optionally sends a DTMF digit or audio response.\n\nA `hold` step is different: it just stays on the line for `durationSecs` (for example\nwhile a call is transferred and hold music plays) and carries ONLY `id`, `name`, `type`,\n`durationSecs` and, optionally, `expectMusic`. `expected`, `threshold` and `timeout` do not apply to it and are\nabsent on a stored hold step.\n\nPer-type requirements: `dtmf` / `audio` / `listen` need `expected` (server defaults:\n`threshold` 90, `timeout` 30). `hold` needs `durationSecs`.\n"New value: +"A step as stored and returned: a `TestStepInput` that always carries its `id`.\n"
removedOutput schema / properties / steps / items / properties
Removed value: -{
- "acceptAdditionalAnswers": {
- "description": "`dtmf` / `audio` / `listen` steps only, optional. When true the step also passes on any\nwording in `additionalAnswers` (each scored with its own threshold). Missing or false\nmeans off. Create and update return 400 for a non-boolean. Ignored on other step types.\n",
- "example": true,
- "type": "boolean"
- },
- "additionalAnswers": {
- "description": "`dtmf` / `audio` / `listen` steps only, optional. Other acceptable wordings of\n`expected`, used only when `acceptAdditionalAnswers` is true and kept when it is false.\nWhile on, the step waits up to the longest of its own `timeout` and the answers'\ntimeouts; a match on any wording ends the wait. At most 10. Create and update return 400\nfor an invalid entry. Ignored on other step types.\n",
- "items": {
- "description": "One other acceptable wording of a step's `expected` prompt.",
- "properties": {
- "expected": {
- "description": "The wording. Must contain non-space text.",
- "example": "Welcome to the NHS 111 service",
- "minLength": 1,
- "type": "string"
- },
- "threshold": {
- "description": "Similarity percentage this wording needs. Defaults to the step's `threshold`.",
- "example": 75,
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "timeout": {
- "description": "Seconds this wording may take, counted from the start of the step. Defaults to the\nstep's `timeout`. It can lengthen the step's wait but never shorten it.\n",
- "example": 35,
- "minimum": 1,
- "type": "integer"
- }
- },
- "required": [
- "expected"
- ],
- "type": "object"
- },
- "maxItems": 10,
- "type": "array"
- },
- "audioUrl": {
- "description": "Audio URL when `type` is `audio` (manual entry; usually resolved via `profileItemId`).",
- "type": "string"
- },
- "delay": {
- "description": "Optional \"send DTMF anyway\" timer. If set, the action fires after this many seconds\neven if the threshold has not been met. Legacy field; prefer `timeout`.\n",
- "minimum": 0,
- "type": "integer"
- },
- "dtmf": {
- "description": "DTMF digits to send when `type` is `dtmf` (manual entry; usually resolved via `profileItemId`).",
- "example": "1",
- "type": "string"
- },
- "durationSecs": {
- "description": "`hold` steps only (required there): seconds to stay on the line. A JSON number, fractions\nallowed, greater than 0 and at most 1800. It must also be no longer than the config's\n`maxDurationSecs` (300 when that is unset). That ceiling bounds the WHOLE call, not just\nthe hold, so this is necessary but not sufficient for the hold to complete. Create and\nupdate return 400 for a violation.\n",
- "example": 30,
- "exclusiveMinimum": 0,
- "maximum": 1800,
- "type": "number"
- },
- "expectMusic": {
- "description": "`hold` steps only, optional. When true the step fails unless at least half of the hold\nwas queue music (judged per second from the call audio): use it to prove a transfer\nreached a queue. Every hold reports what it heard in its result either way. Stored only\nwhen true. Create and update return 400 for a non-boolean.\n",
- "example": true,
- "type": "boolean"
- },
- "expected": {
- "description": "Expected transcript (or regex-like phrase) to match before the step succeeds.\nApplies to `dtmf` / `audio` / `listen`; absent on `hold` steps.\n",
- "example": "Press 1 for sales",
- "type": "string"
- },
- "id": {
- "description": "Step identifier (server-generated on create if omitted).",
- "example": "<step-id>",
- "format": "uuid",
- "type": "string"
- },
- "isTransfer": {
- "description": "Optional, any step type. Marks the script's transfer step, which load-test failure\npatterns use to tell \"not transferred\" from \"failed after transfer\". When no step is\nmarked, the first `hold` step with `expectMusic` is the transfer step. Stored only when\ntrue; at most one step may be marked. Create and update return 400 for a non-boolean or\nfor more than one marked step.\n",
- "example": true,
- "type": "boolean"
- },
- "name": {
- "description": "Human-readable step label.",
- "example": "Listen for main menu",
- "type": "string"
- },
- "profileItemId": {
- "description": "Profile item reference. Resolved server-side to the runtime DTMF / audio payload.",
- "type": "string"
- },
- "replyDelayMs": {
- "description": "`audio` steps only (optional): milliseconds to wait after the bot's end of turn before our\nclip plays. Omitted means no extra delay. Ignored on other step types.\n",
- "example": 1500,
- "maximum": 10000,
- "minimum": 0,
- "type": "integer"
- },
- "threshold": {
- "default": 90,
- "description": "Similarity percentage required for the transcript match to succeed. Server default 90\nfor `dtmf` / `audio` / `listen`; absent on `hold` steps.\n",
- "example": 90,
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- "timeout": {
- "description": "Maximum seconds to wait for the expected match before failing the step. Server default 30\nfor `dtmf` / `audio` / `listen`; absent on `hold` steps.\n",
- "example": 30,
- "minimum": 1,
- "type": "integer"
- },
- "type": {
- "description": "Step action type — keypad input, audio response, passive listen, wait for an inbound\ncallback, or hold (stay on the line for `durationSecs`).\n",
- "enum": [
- "dtmf",
- "audio",
- "listen",
- "wait_for_callback",
- "hold"
- ],
- "example": "dtmf",
- "type": "string"
- }
-}
removedOutput schema / properties / steps / items / required
Removed value: -[
- "id",
- "name",
- "type"
-]
removedOutput schema / properties / steps / items / type
Removed value: -"object"