Skip to main content
Glama

Get Run Results

getRunResults
Read-onlyIdempotent

Get any test run (standard/param/mission/compliance) by id, including per-step results: outcome, transcript, similarity scores, words. Use when you need per-step breakdowns OR when you do not know if the run is mission or standard. For mission-specific shape (verdict, evidence, judgeReasoning) prefer getMissionTestRun. For listing across runs use listTestRuns; for counts use aggregateTestRuns. Returns 404 cross-workspace.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "getRunResults"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesTest run identifier.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / allOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "callDurationSecs": {
      -        "description": "Real call duration in seconds (post-answer → last node), surfaced from\n`callMetadata.callDurationSecs`. Preferred over the wall-clock diff\n(`completedAt − startedAt`), which inflates by 100–150s+ from queue wait,\ncontainer start, ringing and post-call stashing. Same field billing meters on.\nRows with no tester duration (mission runs) report the container's\ncomputed call length here instead.\n",
      -        "type": "number"
      -      },
      -      "callTelemetry": {
      -        "additionalProperties": true,
      -        "description": "Call-level telemetry captured during an IVR test call, nested onto\n`TestRun.callTelemetry`. Populated for standard, mission and compliance\nruns by the tester / mission-tester containers.\nnopaque's own carrier cost is internal and is never returned.\n",
      -        "properties": {
      -          "audio": {
      -            "additionalProperties": true,
      -            "properties": {
      -              "audioDurationSecs": {
      -                "type": "number"
      -              },
      -              "audioFormat": {
      -                "enum": [
      -                  "wav",
      -                  "mp3",
      -                  "wav-mp3-payload"
      -                ],
      -                "type": "string"
      -              },
      -              "audioId": {
      -                "type": "string"
      -              },
      -              "audioS3Key": {
      -                "type": "string"
      -              },
      -              "audioSizeBytes": {
      -                "type": "number"
      -              },
      -              "coverage": {
      -                "description": "Fraction of the call containing speech (0–1).",
      -                "type": "number"
      -              },
      -              "maxSilenceSecs": {
      -                "type": "number"
      -              },
      -              "noiseFloorEnergy": {
      -                "type": "number"
      -              },
      -              "speechChunks": {
      -                "type": "number"
      -              },
      -              "speechEndOffsetSecs": {
      -                "type": "number"
      -              },
      -              "telnyxRecordingId": {
      -                "type": "string"
      -              },
      -              "totalChunks": {
      -                "type": "number"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "backgroundNoise": {
      -            "description": "Standard tests: the background-noise bed the call played (see `BackgroundNoise`).\nAbsent when no noise was configured.\n",
      -            "example": "cafe",
      -            "type": "string"
      -          },
      -          "backgroundNoiseError": {
      -            "description": "Standard tests: why the background-noise bed failed to start. The call still ran,\nwithout noise. Absent when the bed started or no noise was configured.\n",
      -            "type": "string"
      -          },
      -          "mode": {
      -            "additionalProperties": true,
      -            "properties": {
      -              "detected": {
      -                "enum": [
      -                  "voice",
      -                  "dtmf",
      -                  "hybrid",
      -                  "unknown"
      -                ],
      -                "type": "string"
      -              },
      -              "dtmfInboundDetected": {
      -                "type": "boolean"
      -              },
      -              "dtmfTurnCount": {
      -                "type": "number"
      -              },
      -              "voiceTurnCount": {
      -                "type": "number"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "quality": {
      -            "additionalProperties": true,
      -            "description": "Voice-quality metrics (MOS, jitter, packet loss) per direction.",
      -            "properties": {
      -              "codec": {
      -                "type": "string"
      -              },
      -              "inboundJitterMaxVarianceMs": {
      -                "type": "number"
      -              },
      -              "inboundMos": {
      -                "description": "Inbound mean opinion score (call-quality estimate, ~1–5).",
      -                "type": "number"
      -              },
      -              "inboundPacketCount": {
      -                "type": "number"
      -              },
      -              "inboundPacketsLost": {
      -                "type": "number"
      -              },
      -              "outboundJitterMaxVarianceMs": {
      -                "type": "number"
      -              },
      -              "outboundMos": {
      -                "type": "number"
      -              },
      -              "outboundPacketCount": {
      -                "type": "number"
      -              },
      -              "outboundPacketsLost": {
      -                "type": "number"
      -              },
      -              "sampleRateHz": {
      -                "type": "number"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "schemaVersion": {
      -            "enum": [
      -              1
      -            ],
      -            "type": "integer"
      -          },
      -          "telephony": {
      -            "additionalProperties": true,
      -            "properties": {
      -              "callLegId": {
      -                "type": "string"
      -              },
      -              "callSessionId": {
      -                "type": "string"
      -              },
      -              "hangupCause": {
      -                "type": "string"
      -              },
      -              "hangupSource": {
      -                "type": "string"
      -              },
      -              "initiatedByUs": {
      -                "type": "boolean"
      -              },
      -              "sipHangupCause": {
      -                "type": "string"
      -              },
      -              "streamingFailureReason": {
      -                "type": "string"
      -              },
      -              "streamingFailures": {
      -                "description": "Times our audio stream to the call failed to connect (a test-platform fault, not the system under test).",
      -                "type": "integer"
      -              },
      -              "telnyxConnectionId": {
      -                "type": "string"
      -              },
      -              "terminalStatus": {
      -                "enum": [
      -                  "completed",
      -                  "failed",
      -                  "aborted_by_duration",
      -                  "aborted_by_cost",
      -                  "aborted_by_inactivity",
      -                  "aborted_mid_stream",
      -                  "aborted_by_reaper",
      -                  "no_answer"
      -                ],
      -                "type": "string"
      -              },
      -              "terminationReason": {
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "timing": {
      -            "additionalProperties": true,
      -            "description": "Call-level latency landmarks.",
      -            "properties": {
      -              "answerToFirstUtteranceMs": {
      -                "description": "Time-to-first-response — answer to first utterance, in milliseconds.",
      -                "type": "number"
      -              },
      -              "answeredAt": {
      -                "format": "date-time",
      -                "type": "string"
      -              },
      -              "dialToAnswerMs": {
      -                "description": "Ring latency — dial to answer, in milliseconds.",
      -                "type": "number"
      -              },
      -              "dialedAt": {
      -                "format": "date-time",
      -                "type": "string"
      -              },
      -              "endedAt": {
      -                "format": "date-time",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "turns": {
      -            "description": "Per-turn telemetry breakdown for turn-based containers.",
      -            "items": {
      -              "additionalProperties": true,
      -              "description": "Per-step / per-turn telemetry. Nested onto `TestStepResult.turnTelemetry`\n(per-step containers) and `CallTelemetry.turns[]` (turn-based containers\nsuch as mission-tester / voice-agent).\n",
      -              "properties": {
      -                "conversationTurn": {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "role": {
      -                      "enum": [
      -                        "user",
      -                        "assistant",
      -                        "system"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    "text": {
      -                      "type": "string"
      -                    },
      -                    "timestamp": {
      -                      "format": "date-time",
      -                      "type": "string"
      -                    },
      -                    "turnIndex": {
      -                      "type": "number"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "dtmf": {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "completedAt": {
      -                      "format": "date-time",
      -                      "type": "string"
      -                    },
      -                    "digitsReceived": {
      -                      "type": "string"
      -                    },
      -                    "digitsSent": {
      -                      "type": "string"
      -                    },
      -                    "sendDurationMs": {
      -                      "type": "number"
      -                    },
      -                    "sentOnDelay": {
      -                      "type": "boolean"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "hold": {
      -                  "additionalProperties": true,
      -                  "description": "Emitted on `hold` step results. `endedBy` is `elapsed` (the full hold was served) or\n`call_ended` (the far end hung up first); it is a plain string, not an enum, so a future\ncontainer value cannot fail strict client validation.\n",
      -                  "properties": {
      -                    "endedBy": {
      -                      "description": "`elapsed` or `call_ended`.",
      -                      "type": "string"
      -                    },
      -                    "heldSecs": {
      -                      "type": "number"
      -                    },
      -                    "inboundAudioActiveRatio": {
      -                      "type": "number"
      -                    },
      -                    "inboundChunks": {
      -                      "type": "number"
      -                    },
      -                    "requestedSecs": {
      -                      "type": "number"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "llmExtraction": {
      -                  "additionalProperties": true,
      -                  "description": "LLM extraction telemetry — model, token counts, latency and hallucination flag.",
      -                  "properties": {
      -                    "hallucinationDetected": {
      -                      "type": "boolean"
      -                    },
      -                    "inputTokens": {
      -                      "type": "number"
      -                    },
      -                    "latencyMs": {
      -                      "type": "number"
      -                    },
      -                    "model": {
      -                      "type": "string"
      -                    },
      -                    "operation": {
      -                      "type": "string"
      -                    },
      -                    "outputTokens": {
      -                      "type": "number"
      -                    },
      -                    "reasoning": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "schemaVersion": {
      -                  "enum": [
      -                    1
      -                  ],
      -                  "type": "integer"
      -                },
      -                "timing": {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "durationMs": {
      -                      "type": "number"
      -                    },
      -                    "endedAt": {
      -                      "format": "date-time",
      -                      "type": "string"
      -                    },
      -                    "responseLatencyMs": {
      -                      "description": "Per-turn response latency (bot/IVR turn-around) in milliseconds.",
      -                      "type": "number"
      -                    },
      -                    "startedAt": {
      -                      "format": "date-time",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "transcript": {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "avgWordConfidence": {
      -                      "type": "number"
      -                    },
      -                    "detectedLanguage": {
      -                      "type": "string"
      -                    },
      -                    "minWordConfidence": {
      -                      "type": "number"
      -                    },
      -                    "wordCount": {
      -                      "type": "number"
      -                    },
      -                    "words": {
      -                      "items": {
      -                        "properties": {
      -                          "confidence": {
      -                            "type": "number"
      -                          },
      -                          "endMs": {
      -                            "type": "number"
      -                          },
      -                          "startMs": {
      -                            "type": "number"
      -                          },
      -                          "word": {
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "word",
      -                          "startMs",
      -                          "endMs"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      "type": "array"
      -                    }
      -                  },
      -                  "type": "object"
      -                }
      -              },
      -              "required": [
      -                "schemaVersion"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "schemaVersion"
      -        ],
      -        "type": "object"
      -      },
      -      "carrier": {
      -        "description": "Bring-your-own-carrier (invite-only): the carrier route this run was dialled through,\nrecorded when the run was dispatched. It still names that route after the config's\n`carrierRouteId` is changed or removed. Absent when the run was dialled normally. See\n`GET /testing/carrier-integrations` for the route's name and settings.\n",
      -        "properties": {
      -          "integrationId": {
      -            "type": "string"
      -          },
      -          "routeId": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "integrationId",
      -          "routeId"
      -        ],
      -        "type": "object"
      -      },
      -      "carrierDetail": {
      -        "additionalProperties": true,
      -        "description": "Telnyx's record of this call, fetched once a few minutes after the call ends and stored\non the run (absent until then). `status` is `not_found` when Telnyx had no record after\nthree tries. Give `sipCallId` to your carrier or SBC team to find this exact call in\ntheir logs.\n",
      -        "properties": {
      -          "answeredAt": {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          "billedSecs": {
      -            "type": "number"
      -          },
      -          "callSecs": {
      -            "type": "number"
      -          },
      -          "codec": {
      -            "type": "string"
      -          },
      -          "destination": {
      -            "additionalProperties": true,
      -            "description": "The number dialled, from a carrier lookup (refreshed every 90 days).",
      -            "properties": {
      -              "carrier": {
      -                "type": "string"
      -              },
      -              "countryCode": {
      -                "type": "string"
      -              },
      -              "lookedUpAt": {
      -                "format": "date-time",
      -                "type": "string"
      -              },
      -              "nationalFormat": {
      -                "type": "string"
      -              },
      -              "numberType": {
      -                "description": "e.g. uan (UK non-geographic), fixed line, mobile, voip.",
      -                "type": "string"
      -              },
      -              "valid": {
      -                "type": "boolean"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "destinationType": {
      -            "type": "string"
      -          },
      -          "fetchedAt": {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          "finishedAt": {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          "hangupCauseName": {
      -            "type": "string"
      -          },
      -          "hangupCode": {
      -            "description": "Q.850 cause code.",
      -            "type": "string"
      -          },
      -          "hangupDetails": {
      -            "description": "Who ended the call at the SIP level: send_bye (us) or recv_bye (the far end).",
      -            "type": "string"
      -          },
      -          "localCall": {
      -            "type": "boolean"
      -          },
      -          "mos": {
      -            "type": "number"
      -          },
      -          "onNet": {
      -            "type": "boolean"
      -          },
      -          "retriedInternally": {
      -            "description": "The network re-routed the call before it connected (adds to dial-to-answer time).",
      -            "type": "boolean"
      -          },
      -          "route": {
      -            "type": "string"
      -          },
      -          "shakenStir": {
      -            "description": "STIR/SHAKEN attestation of the caller ID: A, B or C.",
      -            "type": "string"
      -          },
      -          "sipCallId": {
      -            "description": "SIP Call-ID of the call.",
      -            "type": "string"
      -          },
      -          "sipInviteFailureStatus": {
      -            "description": "SIP status when the call never connected (e.g. 486, 503).",
      -            "type": "string"
      -          },
      -          "source": {
      -            "enum": [
      -              "telnyx-detail-records"
      -            ],
      -            "type": "string"
      -          },
      -          "startedAt": {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          "status": {
      -            "enum": [
      -              "found",
      -              "not_found"
      -            ],
      -            "type": "string"
      -          },
      -          "telnyxErrorCode": {
      -            "type": "string"
      -          },
      -          "version": {
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "version",
      -          "status",
      -          "fetchedAt",
      -          "source"
      -        ],
      -        "type": "object"
      -      },
      -      "carrierEvents": {
      -        "additionalProperties": true,
      -        "description": "What the carrier's event log and the call recording say about this call, derived once a\nfew minutes after the call ends and stored on the run (absent until then). Times named\n`...Secs` are seconds after the call was answered. `status` is `not_found` when the carrier\nhad no events for the call after three tries, `error` when they could not be read. A source\nthat could not be read is named in `errors`; the others are still filled.\n",
      -        "properties": {
      -          "answeredAt": {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          "callLegId": {
      -            "type": "string"
      -          },
      -          "commandsFailed": {
      -            "items": {
      -              "properties": {
      -                "at": {
      -                  "format": "date-time",
      -                  "type": "string"
      -                },
      -                "name": {
      -                  "type": "string"
      -                },
      -                "secs": {
      -                  "type": "number"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "dial": {
      -            "description": "Where the carrier was told to send the call's events and audio (host, port and path only).",
      -            "properties": {
      -              "stream": {
      -                "properties": {
      -                  "host": {
      -                    "type": "string"
      -                  },
      -                  "path": {
      -                    "type": "string"
      -                  },
      -                  "port": {
      -                    "type": "integer"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "streamTrack": {
      -                "type": "string"
      -              },
      -              "webhook": {
      -                "properties": {
      -                  "host": {
      -                    "type": "string"
      -                  },
      -                  "path": {
      -                    "type": "string"
      -                  },
      -                  "port": {
      -                    "type": "integer"
      -                  }
      -                },
      -                "type": "object"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "errors": {
      -            "properties": {
      -              "callEvents": {
      -                "type": "string"
      -              },
      -              "recording": {
      -                "type": "string"
      -              },
      -              "webhooks": {
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "eventCount": {
      -            "type": "integer"
      -          },
      -          "failedWebhooks": {
      -            "description": "Carrier events about this call that could not be delivered to the test platform.",
      -            "items": {
      -              "properties": {
      -                "attempts": {
      -                  "type": "integer"
      -                },
      -                "errorCodes": {
      -                  "items": {
      -                    "type": "integer"
      -                  },
      -                  "type": "array"
      -                },
      -                "eventType": {
      -                  "type": "string"
      -                },
      -                "occurredAt": {
      -                  "format": "date-time",
      -                  "type": "string"
      -                },
      -                "secs": {
      -                  "type": "number"
      -                },
      -                "target": {
      -                  "properties": {
      -                    "host": {
      -                      "type": "string"
      -                    },
      -                    "path": {
      -                      "type": "string"
      -                    },
      -                    "port": {
      -                      "type": "integer"
      -                    }
      -                  },
      -                  "type": "object"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "fetchedAt": {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          "hangupSecs": {
      -            "type": "number"
      -          },
      -          "playbacks": {
      -            "description": "Each audio clip we asked the carrier to play, in order.",
      -            "items": {
      -              "properties": {
      -                "commandAt": {
      -                  "format": "date-time",
      -                  "type": "string"
      -                },
      -                "commandSecs": {
      -                  "type": "number"
      -                },
      -                "commandToStartMs": {
      -                  "type": "integer"
      -                },
      -                "durationMs": {
      -                  "type": "integer"
      -                },
      -                "endedAt": {
      -                  "format": "date-time",
      -                  "type": "string"
      -                },
      -                "endedSecs": {
      -                  "type": "number"
      -                },
      -                "media": {
      -                  "description": "File name of the clip.",
      -                  "type": "string"
      -                },
      -                "startedAt": {
      -                  "format": "date-time",
      -                  "type": "string"
      -                },
      -                "startedSecs": {
      -                  "type": "number"
      -                },
      -                "status": {
      -                  "description": "How the playback ended, e.g. completed. Absent when no end was reported.",
      -                  "type": "string"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "recording": {
      -            "description": "Answer timing measured on the two-channel call recording (the system under test on one\nchannel, us on the other). Seconds from the start of the recording, which starts at answer.\n",
      -            "properties": {
      -              "durationSecs": {
      -                "type": "number"
      -              },
      -              "ivrFirstAudioSecs": {
      -                "description": "When the system under test first made sound.",
      -                "type": "number"
      -              },
      -              "ivrSegments": {
      -                "description": "Speech from the system under test, as [start, end] pairs in seconds.",
      -                "items": {
      -                  "items": {
      -                    "type": "number"
      -                  },
      -                  "maxItems": 2,
      -                  "minItems": 2,
      -                  "type": "array"
      -                },
      -                "type": "array"
      -              },
      -              "ourChannel": {
      -                "type": "integer"
      -              },
      -              "status": {
      -                "description": "stereo: measured. mono: one side of the recording was lost. missing / none: no recording.",
      -                "enum": [
      -                  "stereo",
      -                  "mono",
      -                  "missing",
      -                  "unsupported",
      -                  "none"
      -                ],
      -                "type": "string"
      -              },
      -              "turns": {
      -                "description": "One per stretch of our audio.",
      -                "items": {
      -                  "properties": {
      -                    "answerGapSecs": {
      -                      "description": "ourOnsetSecs minus ivrPromptEndSecs. About 1 s is normal.",
      -                      "type": "number"
      -                    },
      -                    "ivrPromptEndSecs": {
      -                      "description": "End of the last prompt that had finished before we started.",
      -                      "type": "number"
      -                    },
      -                    "ivrSpeakingSinceSecs": {
      -                      "description": "Present when the system under test was already speaking when we started: when it began.",
      -                      "type": "number"
      -                    },
      -                    "ourEndSecs": {
      -                      "type": "number"
      -                    },
      -                    "ourOnsetSecs": {
      -                      "type": "number"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "source": {
      -            "enum": [
      -              "telnyx-call-events"
      -            ],
      -            "type": "string"
      -          },
      -          "status": {
      -            "enum": [
      -              "found",
      -              "not_found",
      -              "error"
      -            ],
      -            "type": "string"
      -          },
      -          "streaming": {
      -            "description": "The media stream to the test platform starting, stopping or failing.",
      -            "items": {
      -              "properties": {
      -                "at": {
      -                  "format": "date-time",
      -                  "type": "string"
      -                },
      -                "event": {
      -                  "enum": [
      -                    "started",
      -                    "stopped",
      -                    "failed"
      -                  ],
      -                  "type": "string"
      -                },
      -                "failureReason": {
      -                  "type": "string"
      -                },
      -                "secs": {
      -                  "type": "number"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "version": {
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "version",
      -          "status",
      -          "fetchedAt",
      -          "source",
      -          "callLegId"
      -        ],
      -        "type": "object"
      -      },
      -      "completedAt": {
      -        "example": "2026-05-13T10:05:00Z",
      -        "format": "date-time",
      -        "type": "string"
      -      },
      -      "createdAt": {
      -        "example": "2026-05-13T10:00:00Z",
      -        "format": "date-time",
      -        "type": "string"
      -      },
      -      "failurePattern": {
      -        "description": "Load-test calls that did not pass: why the call failed, as a named pattern with an owner and\nthe values that put it there (`evidence`). Absent on passed calls, and on calls not yet\nclassified. `rulesVersion` says which version of the rules produced it.\n",
      -        "properties": {
      -          "evidence": {
      -            "additionalProperties": {
      -              "type": [
      -                "string",
      -                "number",
      -                "boolean",
      -                "null"
      -              ]
      -            },
      -            "type": "object"
      -          },
      -          "failedStepIndex": {
      -            "type": "integer"
      -          },
      -          "id": {
      -            "enum": [
      -              "P1",
      -              "P2",
      -              "P2a",
      -              "P2b",
      -              "P2c",
      -              "P2d",
      -              "P3",
      -              "P4",
      -              "P5",
      -              "P6",
      -              "P7",
      -              "P7a",
      -              "P8",
      -              "P9",
      -              "P10",
      -              "UNCLASSIFIED"
      -            ],
      -            "type": "string"
      -          },
      -          "label": {
      -            "example": "Late answer, straight to hold",
      -            "type": "string"
      -          },
      -          "owner": {
      -            "enum": [
      -              "platform",
      -              "carrier",
      -              "system-under-test",
      -              "test-definition",
      -              "unknown"
      -            ],
      -            "type": "string"
      -          },
      -          "rulesVersion": {
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "owner",
      -          "label",
      -          "rulesVersion",
      -          "evidence"
      -        ],
      -        "type": "object"
      -      },
      -      "id": {
      -        "example": "<run-id>",
      -        "format": "uuid",
      -        "type": "string"
      -      },
      -      "lateStart": {
      -        "description": "Load-test calls: true when the system under test first spoke later after answer than the\ntest's late-answer threshold (6 s by default), on passed and failed calls alike. Absent\nwhen nothing measured it.\n",
      -        "type": "boolean"
      -      },
      -      "originalOutcome": {
      -        "description": "Passed with note: the call's outcome before a `verdictNote` changed it to `PASS`. Absent\nunless a note changed the outcome.\n",
      -        "enum": [
      -          "FAIL"
      -        ],
      -        "type": "string"
      -      },
      -      "outcome": {
      -        "description": "Unified run outcome — see MissionTestRun.outcome. Optional/nullable for historical rows pre-backfill.",
      -        "enum": [
      -          "PASS",
      -          "FAIL",
      -          "ERROR",
      -          "INCONCLUSIVE",
      -          "pending"
      -        ],
      -        "nullable": true,
      -        "type": "string"
      -      },
      -      "phoneNumber": {
      -        "example": "+442012345678",
      -        "type": "string"
      -      },
      -      "startedAt": {
      -        "example": "2026-05-13T10:00:00Z",
      -        "format": "date-time",
      -        "type": "string"
      -      },
      -      "status": {
      -        "enum": [
      -          "pending",
      -          "running",
      -          "completed",
      -          "failed",
      -          "cancelled",
      -          "awaiting_callback"
      -        ],
      -        "example": "pending",
      -        "type": "string"
      -      },
      -      "testConfigId": {
      -        "example": "<test-config-id>",
      -        "format": "uuid",
      -        "type": "string"
      -      },
      -      "verdictNote": {
      -        "description": "Passed with note: why a call (or step) that failed on its hold check counts as passed.\n`hold_unconfirmed`: the call reached hold and the line had sound on it, but the live check\ncould not confirm music (set by the tester, `by: live`). `hold_music_rechecked`: after the\nrun, the hold detector heard music in the call's recording (`by: recheck`). `outcome` is\n`PASS` and `originalOutcome` keeps the outcome before the note. Absent on calls and steps\nwithout a note.\n",
      -        "properties": {
      -          "at": {
      -            "description": "When the note was made.",
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          "by": {
      -            "enum": [
      -              "live",
      -              "recheck"
      -            ],
      -            "type": "string"
      -          },
      -          "detail": {
      -            "description": "One plain sentence, to show as it is.",
      -            "type": "string"
      -          },
      -          "evidence": {
      -            "properties": {
      -              "detector": {
      -                "description": "The version of the hold detector that judged it.",
      -                "type": "string"
      -              },
      -              "inboundAudioActiveRatio": {
      -                "type": "number"
      -              },
      -              "musicRatio": {
      -                "type": "number"
      -              },
      -              "noiseRatio": {
      -                "type": "number"
      -              },
      -              "silenceRatio": {
      -                "type": "number"
      -              },
      -              "speechRatio": {
      -                "type": "number"
      -              },
      -              "stepIndex": {
      -                "description": "The step the note is about.",
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "window": {
      -                "description": "The part of the recording checked, in seconds after answer (re-check).",
      -                "properties": {
      -                  "fromSecs": {
      -                    "type": "number"
      -                  },
      -                  "toSecs": {
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "fromSecs",
      -                  "toSecs"
      -                ],
      -                "type": "object"
      -              }
      -            },
      -            "required": [
      -              "stepIndex"
      -            ],
      -            "type": "object"
      -          },
      -          "kind": {
      -            "enum": [
      -              "hold_unconfirmed",
      -              "hold_music_rechecked"
      -            ],
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "kind",
      -          "by",
      -          "at",
      -          "detail",
      -          "evidence"
      -        ],
      -        "type": "object"
      -      },
      -      "workspaceId": {
      -        "example": "<workspace-id>",
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "workspaceId",
      -      "status",
      -      "startedAt"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "config": {
      -        "description": "Scripted regression test plan. A `TestConfig` is a reusable plan of ordered `TestStep`s\nthat callers re-run against a phone number via `POST /testing/runs`.\n",
      -        "properties": {
      -          "backgroundNoise": {
      -            "allOf": [
      -              {
      -                "description": "Caller background noise: café chatter, city street traffic, home (children and a\nbaby crying) or wind buffeting. The level is fixed per sound.\n",
      -                "enum": [
      -                  "cafe",
      -                  "street",
      -                  "home",
      -                  "wind"
      -                ],
      -                "example": "cafe",
      -                "type": "string"
      -              }
      -            ],
      -            "description": "Caller background noise played under the call. Omit for none.\n"
      -          },
      -          "carrierRouteId": {
      -            "description": "Bring-your-own-carrier (invite-only). Dial this config's calls through one of the\nworkspace's carrier routes, over the workspace's own SIP trunk, instead of nopaque's\nnetwork. Carrier routes are set up with nopaque. A config with a route dials through it\nor not at all: if the route cannot be dialled when a run starts, the run is refused and\nthe number is never called normally. A refused `POST /testing/runs` returns 409 (or 503);\na scheduled run, batch or sweep records a failed run whose `errorMessage` says why; a\nload test fails before it starts. Carrier calls are metered as `carrier_testing`\n(load tests: `carrier_load_testing`), not `testing`.\nOmitted when the config dials normally.\n",
      -            "example": "<carrier-route-id>",
      -            "maxLength": 128,
      -            "type": "string"
      -          },
      -          "createdAt": {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          "createdBy": {
      -            "description": "User ID of the creator.",
      -            "example": "<user-id>",
      -            "type": "string"
      -          },
      -          "description": {
      -            "type": "string"
      -          },
      -          "id": {
      -            "example": "<test-config-id>",
      -            "format": "uuid",
      -            "type": "string"
      -          },
      -          "language": {
      -            "allOf": [
      -              {
      -                "description": "The transcription language of a STANDARD test or a MAPPING run — the\nlanguage the callee is expected to speak, used to transcribe the call.\nAbsent means `en-GB`: every omit path is unchanged, so an existing\nconfig without the field transcribes as British English exactly as\nbefore. Anything outside this set is rejected with 400.\n\nThe English variants lead, then `multi` (code-switching), then the\nremaining languages alphabetically by display label. Mirrors\n`api/packages/core/transcription/languages.ts` (Zod) — the single\nsource of truth; a drift test keeps this enum equal to it.\n\nDISTINCT from `CallLanguage`, which is the language a MISSION test\ncall is held in. The two lists do not overlap cleanly and are not\ninterchangeable: bare `en` is a valid `CallLanguage` and is INVALID\nhere (use `en-GB` or `en-US`), and most codes here are not call\nlanguages at all.\n",
      -                "enum": [
      -                  "en-GB",
      -                  "en-US",
      -                  "en-AU",
      -                  "en-IN",
      -                  "en-NZ",
      -                  "multi",
      -                  "ar",
      -                  "be",
      -                  "bn",
      -                  "bs",
      -                  "bg",
      -                  "ca",
      -                  "zh-HK",
      -                  "zh",
      -                  "hr",
      -                  "cs",
      -                  "da",
      -                  "nl",
      -                  "et",
      -                  "fi",
      -                  "nl-BE",
      -                  "fr",
      -                  "de",
      -                  "el",
      -                  "gu",
      -                  "he",
      -                  "hi",
      -                  "hu",
      -                  "id",
      -                  "it",
      -                  "ja",
      -                  "kn",
      -                  "ko",
      -                  "lv",
      -                  "lt",
      -                  "mk",
      -                  "ms",
      -                  "mr",
      -                  "no",
      -                  "fa",
      -                  "pl",
      -                  "pt",
      -                  "ro",
      -                  "ru",
      -                  "sr",
      -                  "sk",
      -                  "sl",
      -                  "es",
      -                  "sv",
      -                  "tl",
      -                  "ta",
      -                  "te",
      -                  "th",
      -                  "tr",
      -                  "uk",
      -                  "ur",
      -                  "vi"
      -                ],
      -                "example": "en-GB",
      -                "type": "string"
      -              }
      -            ],
      -            "description": "Transcription language the config's calls are transcribed in.\nResolved to `en-GB` when the config was created without one, so\nevery config created since the field existed carries a value;\nconfigs saved before it have none, which also means `en-GB`.\n",
      -            "example": "en-GB"
      -          },
      -          "maxDurationSecs": {
      -            "description": "Whole-call ceiling in seconds. When omitted the tester applies its own default of 300.\nEvery `hold` step's `durationSecs` must fit inside it.\n",
      -            "example": 600,
      -            "maximum": 1800,
      -            "minimum": 30,
      -            "type": "integer"
      -          },
      -          "name": {
      -            "example": "Main menu regression",
      -            "type": "string"
      -          },
      -          "patternSettings": {
      -            "allOf": [
      -              {
      -                "additionalProperties": false,
      -                "description": "Thresholds and re-prompt phrases that load-test failure patterns use for this IVR. Every\nfield is optional; an omitted one uses the platform default.\n",
      -                "properties": {
      -                  "lateAnswerSecs": {
      -                    "description": "Seconds from answer to the IVR's first speech above which a call counts as a late start\n(and a failure can be \"late answer, straight to hold\"). Default 6.\n",
      -                    "example": 6,
      -                    "exclusiveMinimum": 0,
      -                    "maximum": 120,
      -                    "type": "number"
      -                  },
      -                  "repromptPhrases": {
      -                    "description": "Phrases that mean the IVR is re-prompting (\"did not understand us\"). Replace the\ndefaults: \"I didn't get that\", \"sorry, I didn't catch\", \"please say\".\n",
      -                    "example": [
      -                      "I didn't get that",
      -                      "please say"
      -                    ],
      -                    "items": {
      -                      "maxLength": 200,
      -                      "minLength": 1,
      -                      "type": "string"
      -                    },
      -                    "maxItems": 20,
      -                    "type": "array"
      -                  },
      -                  "silentTailSecs": {
      -                    "description": "Seconds of silence from the IVR, after our reply and up to hangup, for \"silent after our\nreply\". Default 10.\n",
      -                    "example": 10,
      -                    "exclusiveMinimum": 0,
      -                    "maximum": 600,
      -                    "type": "number"
      -                  }
      -                },
      -                "type": "object"
      -              }
      -            ],
      -            "description": "Load-test failure-pattern thresholds and re-prompt phrases for this IVR. Omit for the\nplatform defaults.\n"
      -          },
      -          "phoneNumber": {
      -            "description": "E.164-formatted phone number the test calls.",
      -            "example": "+442012345678",
      -            "type": "string"
      -          },
      -          "profileId": {
      -            "description": "Voice / data profile for `standard` configs only. Omitted for `parameterized`.",
      -            "type": "string"
      -          },
      -          "requiredParameters": {
      -            "description": "Required parameter labels for `parameterized` configs only.",
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "scheduleId": {
      -            "description": "Schedule that triggers automated runs (use `template:<id>` to create from a built-in template).",
      -            "type": "string"
      -          },
      -          "steps": {
      -            "items": {
      -              "allOf": [
      -                {
      -                  "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"
      -                }
      -              ],
      -              "description": "A step as stored and returned: a `TestStepInput` that always carries its `id`.\n"
      -            },
      -            "type": "array"
      -          },
      -          "type": {
      -            "description": "`standard` runs the steps as-is; `parameterized` requires `requiredParameters` filled\nat run-time (sweep / batch dispatchers supply them).\n",
      -            "enum": [
      -              "standard",
      -              "parameterized"
      -            ],
      -            "example": "standard",
      -            "type": "string"
      -          },
      -          "updatedAt": {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          "version": {
      -            "description": "Bumped on every update — clients can use for optimistic concurrency.",
      -            "example": 1,
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          "workspaceId": {
      -            "example": "<workspace-id>",
      -            "format": "uuid",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "workspaceId",
      -          "name",
      -          "phoneNumber",
      -          "steps",
      -          "version",
      -          "createdAt",
      -          "updatedAt",
      -          "createdBy"
      -        ],
      -        "type": "object"
      -      },
      -      "dtmfMarkers": {
      -        "description": "Standard tests only: when the tester sent DTMF, relative to the start of the\nrecording. Absent when the run sent no digits (never `null` or empty).\n",
      -        "items": {
      -          "description": "One DTMF send on a standard test. `spans` (one per tone) is present only when the\ncall's audio encoding is G711 (PCMA/PCMU), where tone timing is known.\n",
      -          "properties": {
      -            "digits": {
      -              "example": "1234#",
      -              "type": "string"
      -            },
      -            "durationMs": {
      -              "description": "Tone duration per digit in milliseconds.",
      -              "example": 500,
      -              "type": "number"
      -            },
      -            "encoding": {
      -              "description": "The call's stream encoding, e.g. `PCMA`.",
      -              "example": "PCMA",
      -              "type": "string"
      -            },
      -            "sentAtSec": {
      -              "description": "Seconds from the start of the recording when the digits were sent.",
      -              "example": 12.4,
      -              "type": "number"
      -            },
      -            "spans": {
      -              "items": {
      -                "properties": {
      -                  "digit": {
      -                    "example": "1",
      -                    "type": "string"
      -                  },
      -                  "endSec": {
      -                    "type": "number"
      -                  },
      -                  "startSec": {
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "digit",
      -                  "startSec",
      -                  "endSec"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "digits",
      -            "sentAtSec",
      -            "durationMs"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "stepResults": {
      -        "items": {
      -          "description": "Per-step execution outcome attached to a `TestRun`. Returned by `GET /testing/runs/{id}`.\n",
      -          "properties": {
      -            "actionType": {
      -              "description": "One of `dtmf`, `audio`, `listen`, `wait_for_callback` or `hold` if the step took an action.\n`hold` results carry `threshold` 0, `expectedTranscript` '' and `similarity` 0, which are\nplaceholders and not a match score. Outcome PASS means the hold elapsed; FAIL with\n`turnTelemetry.hold.endedBy` = `call_ended` means the far end hung up first.\n",
      -              "type": "string"
      -            },
      -            "actionValue": {
      -              "type": "string"
      -            },
      -            "actualTranscript": {
      -              "type": "string"
      -            },
      -            "createdAt": {
      -              "format": "date-time",
      -              "type": "string"
      -            },
      -            "duration": {
      -              "description": "Step duration in seconds (or `undefined` if the step did not run).",
      -              "type": "number"
      -            },
      -            "errorMessage": {
      -              "type": "string"
      -            },
      -            "expectedTranscript": {
      -              "type": "string"
      -            },
      -            "id": {
      -              "format": "uuid",
      -              "type": "string"
      -            },
      -            "matchedAnswer": {
      -              "description": "Which wording matched, set on a pass when the step's `acceptAdditionalAnswers` is on:\n0 is the step's `expected`, n is `additionalAnswers[n-1]`. Absent otherwise.\n",
      -              "example": 0,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "matcherScores": {
      -              "additionalProperties": {
      -                "type": "number"
      -              },
      -              "type": "object"
      -            },
      -            "originalOutcome": {
      -              "description": "Passed with note: the step's outcome before a `verdictNote` changed it to `PASS`. Absent\nunless a note changed the outcome.\n",
      -              "enum": [
      -                "FAIL",
      -                "TIMEOUT"
      -              ],
      -              "type": "string"
      -            },
      -            "outcome": {
      -              "enum": [
      -                "PASS",
      -                "FAIL",
      -                "TIMEOUT",
      -                "ERROR"
      -              ],
      -              "type": "string"
      -            },
      -            "runId": {
      -              "format": "uuid",
      -              "type": "string"
      -            },
      -            "similarity": {
      -              "maximum": 100,
      -              "minimum": 0,
      -              "type": "number"
      -            },
      -            "stepId": {
      -              "format": "uuid",
      -              "type": "string"
      -            },
      -            "stepIndex": {
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "stepName": {
      -              "type": "string"
      -            },
      -            "threshold": {
      -              "type": "integer"
      -            },
      -            "turnTelemetry": {
      -              "additionalProperties": true,
      -              "description": "Per-step / per-turn telemetry. Nested onto `TestStepResult.turnTelemetry`\n(per-step containers) and `CallTelemetry.turns[]` (turn-based containers\nsuch as mission-tester / voice-agent).\n",
      -              "properties": {
      -                "conversationTurn": {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "role": {
      -                      "enum": [
      -                        "user",
      -                        "assistant",
      -                        "system"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    "text": {
      -                      "type": "string"
      -                    },
      -                    "timestamp": {
      -                      "format": "date-time",
      -                      "type": "string"
      -                    },
      -                    "turnIndex": {
      -                      "type": "number"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "dtmf": {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "completedAt": {
      -                      "format": "date-time",
      -                      "type": "string"
      -                    },
      -                    "digitsReceived": {
      -                      "type": "string"
      -                    },
      -                    "digitsSent": {
      -                      "type": "string"
      -                    },
      -                    "sendDurationMs": {
      -                      "type": "number"
      -                    },
      -                    "sentOnDelay": {
      -                      "type": "boolean"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "hold": {
      -                  "additionalProperties": true,
      -                  "description": "Emitted on `hold` step results. `endedBy` is `elapsed` (the full hold was served) or\n`call_ended` (the far end hung up first); it is a plain string, not an enum, so a future\ncontainer value cannot fail strict client validation.\n",
      -                  "properties": {
      -                    "endedBy": {
      -                      "description": "`elapsed` or `call_ended`.",
      -                      "type": "string"
      -                    },
      -                    "heldSecs": {
      -                      "type": "number"
      -                    },
      -                    "inboundAudioActiveRatio": {
      -                      "type": "number"
      -                    },
      -                    "inboundChunks": {
      -                      "type": "number"
      -                    },
      -                    "requestedSecs": {
      -                      "type": "number"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "llmExtraction": {
      -                  "additionalProperties": true,
      -                  "description": "LLM extraction telemetry — model, token counts, latency and hallucination flag.",
      -                  "properties": {
      -                    "hallucinationDetected": {
      -                      "type": "boolean"
      -                    },
      -                    "inputTokens": {
      -                      "type": "number"
      -                    },
      -                    "latencyMs": {
      -                      "type": "number"
      -                    },
      -                    "model": {
      -                      "type": "string"
      -                    },
      -                    "operation": {
      -                      "type": "string"
      -                    },
      -                    "outputTokens": {
      -                      "type": "number"
      -                    },
      -                    "reasoning": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "schemaVersion": {
      -                  "enum": [
      -                    1
      -                  ],
      -                  "type": "integer"
      -                },
      -                "timing": {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "durationMs": {
      -                      "type": "number"
      -                    },
      -                    "endedAt": {
      -                      "format": "date-time",
      -                      "type": "string"
      -                    },
      -                    "responseLatencyMs": {
      -                      "description": "Per-turn response latency (bot/IVR turn-around) in milliseconds.",
      -                      "type": "number"
      -                    },
      -                    "startedAt": {
      -                      "format": "date-time",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "transcript": {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "avgWordConfidence": {
      -                      "type": "number"
      -                    },
      -                    "detectedLanguage": {
      -                      "type": "string"
      -                    },
      -                    "minWordConfidence": {
      -                      "type": "number"
      -                    },
      -                    "wordCount": {
      -                      "type": "number"
      -                    },
      -                    "words": {
      -                      "items": {
      -                        "properties": {
      -                          "confidence": {
      -                            "type": "number"
      -                          },
      -                          "endMs": {
      -                            "type": "number"
      -                          },
      -                          "startMs": {
      -                            "type": "number"
      -                          },
      -                          "word": {
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "word",
      -                          "startMs",
      -                          "endMs"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      "type": "array"
      -                    }
      -                  },
      -                  "type": "object"
      -                }
      -              },
      -              "required": [
      -                "schemaVersion"
      -              ],
      -              "type": "object"
      -            },
      -            "verdictNote": {
      -              "description": "Passed with note: why a call (or step) that failed on its hold check counts as passed.\n`hold_unconfirmed`: the call reached hold and the line had sound on it, but the live check\ncould not confirm music (set by the tester, `by: live`). `hold_music_rechecked`: after the\nrun, the hold detector heard music in the call's recording (`by: recheck`). `outcome` is\n`PASS` and `originalOutcome` keeps the outcome before the note. Absent on calls and steps\nwithout a note.\n",
      -              "properties": {
      -                "at": {
      -                  "description": "When the note was made.",
      -                  "format": "date-time",
      -                  "type": "string"
      -                },
      -                "by": {
      -                  "enum": [
      -                    "live",
      -                    "recheck"
      -                  ],
      -                  "type": "string"
      -                },
      -                "detail": {
      -                  "description": "One plain sentence, to show as it is.",
      -                  "type": "string"
      -                },
      -                "evidence": {
      -                  "properties": {
      -                    "detector": {
      -                      "description": "The version of the hold detector that judged it.",
      -                      "type": "string"
      -                    },
      -                    "inboundAudioActiveRatio": {
      -                      "type": "number"
      -                    },
      -                    "musicRatio": {
      -                      "type": "number"
      -                    },
      -                    "noiseRatio": {
      -                      "type": "number"
      -                    },
      -                    "silenceRatio": {
      -                      "type": "number"
      -                    },
      -                    "speechRatio": {
      -                      "type": "number"
      -                    },
      -                    "stepIndex": {
      -                      "description": "The step the note is about.",
      -                      "minimum": 0,
      -                      "type": "integer"
      -                    },
      -                    "window": {
      -                      "description": "The part of the recording checked, in seconds after answer (re-check).",
      -                      "properties": {
      -                        "fromSecs": {
      -                          "type": "number"
      -                        },
      -                        "toSecs": {
      -                          "type": "number"
      -                        }
      -                      },
      -                      "required": [
      -                        "fromSecs",
      -                        "toSecs"
      -                      ],
      -                      "type": "object"
      -                    }
      -                  },
      -                  "required": [
      -                    "stepIndex"
      -                  ],
      -                  "type": "object"
      -                },
      -                "kind": {
      -                  "enum": [
      -                    "hold_unconfirmed",
      -                    "hold_music_rechecked"
      -                  ],
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "kind",
      -                "by",
      -                "at",
      -                "detail",
      -                "evidence"
      -              ],
      -              "type": "object"
      -            },
      -            "words": {
      -              "items": {
      -                "properties": {
      -                  "confidence": {
      -                    "maximum": 1,
      -                    "minimum": 0,
      -                    "type": "number"
      -                  },
      -                  "end": {
      -                    "type": "number"
      -                  },
      -                  "start": {
      -                    "type": "number"
      -                  },
      -                  "word": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "word",
      -                  "start",
      -                  "end",
      -                  "confidence"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "id",
      -            "runId",
      -            "stepIndex",
      -            "stepId",
      -            "stepName",
      -            "outcome",
      -            "expectedTranscript",
      -            "threshold",
      -            "createdAt"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "callDurationSecs": {
      +        "description": "Real call duration in seconds (post-answer → last node), surfaced from\n`callMetadata.callDurationSecs`. Preferred over the wall-clock diff\n(`completedAt − startedAt`), which inflates by 100–150s+ from queue wait,\ncontainer start, ringing and post-call stashing. Same field billing meters on.\nRows with no tester duration (mission runs) report the container's\ncomputed call length here instead.\n",
      +        "type": "number"
      +      },
      +      "callTelemetry": {
      +        "additionalProperties": true,
      +        "description": "Call-level telemetry captured during an IVR test call, nested onto\n`TestRun.callTelemetry`. Populated for standard, mission and compliance\nruns by the tester / mission-tester containers.\nnopaque's own carrier cost is internal and is never returned.\n",
      +        "properties": {
      +          "audio": {
      +            "additionalProperties": true,
      +            "properties": {
      +              "audioDurationSecs": {
      +                "type": "number"
      +              },
      +              "audioFormat": {
      +                "enum": [
      +                  "wav",
      +                  "mp3",
      +                  "wav-mp3-payload"
      +                ],
      +                "type": "string"
      +              },
      +              "audioId": {
      +                "type": "string"
      +              },
      +              "audioS3Key": {
      +                "type": "string"
      +              },
      +              "audioSizeBytes": {
      +                "type": "number"
      +              },
      +              "coverage": {
      +                "description": "Fraction of the call containing speech (0–1).",
      +                "type": "number"
      +              },
      +              "maxSilenceSecs": {
      +                "type": "number"
      +              },
      +              "noiseFloorEnergy": {
      +                "type": "number"
      +              },
      +              "speechChunks": {
      +                "type": "number"
      +              },
      +              "speechEndOffsetSecs": {
      +                "type": "number"
      +              },
      +              "telnyxRecordingId": {
      +                "type": "string"
      +              },
      +              "totalChunks": {
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "backgroundNoise": {
      +            "description": "Standard tests: the background-noise bed the call played (see `BackgroundNoise`).\nAbsent when no noise was configured.\n",
      +            "example": "cafe",
      +            "type": "string"
      +          },
      +          "backgroundNoiseError": {
      +            "description": "Standard tests: why the background-noise bed failed to start. The call still ran,\nwithout noise. Absent when the bed started or no noise was configured.\n",
      +            "type": "string"
      +          },
      +          "mode": {
      +            "additionalProperties": true,
      +            "properties": {
      +              "detected": {
      +                "enum": [
      +                  "voice",
      +                  "dtmf",
      +                  "hybrid",
      +                  "unknown"
      +                ],
      +                "type": "string"
      +              },
      +              "dtmfInboundDetected": {
      +                "type": "boolean"
      +              },
      +              "dtmfTurnCount": {
      +                "type": "number"
      +              },
      +              "voiceTurnCount": {
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "quality": {
      +            "additionalProperties": true,
      +            "description": "Voice-quality metrics (MOS, jitter, packet loss) per direction.",
      +            "properties": {
      +              "codec": {
      +                "type": "string"
      +              },
      +              "inboundJitterMaxVarianceMs": {
      +                "type": "number"
      +              },
      +              "inboundMos": {
      +                "description": "Inbound mean opinion score (call-quality estimate, ~1–5).",
      +                "type": "number"
      +              },
      +              "inboundPacketCount": {
      +                "type": "number"
      +              },
      +              "inboundPacketsLost": {
      +                "type": "number"
      +              },
      +              "outboundJitterMaxVarianceMs": {
      +                "type": "number"
      +              },
      +              "outboundMos": {
      +                "type": "number"
      +              },
      +              "outboundPacketCount": {
      +                "type": "number"
      +              },
      +              "outboundPacketsLost": {
      +                "type": "number"
      +              },
      +              "sampleRateHz": {
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "schemaVersion": {
      +            "enum": [
      +              1
      +            ],
      +            "type": "integer"
      +          },
      +          "telephony": {
      +            "additionalProperties": true,
      +            "properties": {
      +              "callLegId": {
      +                "type": "string"
      +              },
      +              "callSessionId": {
      +                "type": "string"
      +              },
      +              "hangupCause": {
      +                "type": "string"
      +              },
      +              "hangupSource": {
      +                "type": "string"
      +              },
      +              "initiatedByUs": {
      +                "type": "boolean"
      +              },
      +              "sipHangupCause": {
      +                "type": "string"
      +              },
      +              "streamingFailureReason": {
      +                "type": "string"
      +              },
      +              "streamingFailures": {
      +                "description": "Times our audio stream to the call failed to connect (a test-platform fault, not the system under test).",
      +                "type": "integer"
      +              },
      +              "telnyxConnectionId": {
      +                "type": "string"
      +              },
      +              "terminalStatus": {
      +                "enum": [
      +                  "completed",
      +                  "failed",
      +                  "aborted_by_duration",
      +                  "aborted_by_cost",
      +                  "aborted_by_inactivity",
      +                  "aborted_mid_stream",
      +                  "aborted_by_reaper",
      +                  "no_answer"
      +                ],
      +                "type": "string"
      +              },
      +              "terminationReason": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "timing": {
      +            "additionalProperties": true,
      +            "description": "Call-level latency landmarks.",
      +            "properties": {
      +              "answerToFirstUtteranceMs": {
      +                "description": "Time-to-first-response — answer to first utterance, in milliseconds.",
      +                "type": "number"
      +              },
      +              "answeredAt": {
      +                "format": "date-time",
      +                "type": "string"
      +              },
      +              "dialToAnswerMs": {
      +                "description": "Ring latency — dial to answer, in milliseconds.",
      +                "type": "number"
      +              },
      +              "dialedAt": {
      +                "format": "date-time",
      +                "type": "string"
      +              },
      +              "endedAt": {
      +                "format": "date-time",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "turns": {
      +            "description": "Per-turn telemetry breakdown for turn-based containers.",
      +            "items": {
      +              "additionalProperties": true,
      +              "description": "Per-step / per-turn telemetry. Nested onto `TestStepResult.turnTelemetry`\n(per-step containers) and `CallTelemetry.turns[]` (turn-based containers\nsuch as mission-tester / voice-agent).\n",
      +              "properties": {
      +                "conversationTurn": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "role": {
      +                      "enum": [
      +                        "user",
      +                        "assistant",
      +                        "system"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "text": {
      +                      "type": "string"
      +                    },
      +                    "timestamp": {
      +                      "format": "date-time",
      +                      "type": "string"
      +                    },
      +                    "turnIndex": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "dtmf": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "completedAt": {
      +                      "format": "date-time",
      +                      "type": "string"
      +                    },
      +                    "digitsReceived": {
      +                      "type": "string"
      +                    },
      +                    "digitsSent": {
      +                      "type": "string"
      +                    },
      +                    "sendDurationMs": {
      +                      "type": "number"
      +                    },
      +                    "sentOnDelay": {
      +                      "type": "boolean"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "hold": {
      +                  "additionalProperties": true,
      +                  "description": "Emitted on `hold` step results. `endedBy` is `elapsed` (the full hold was served) or\n`call_ended` (the far end hung up first); it is a plain string, not an enum, so a future\ncontainer value cannot fail strict client validation.\n",
      +                  "properties": {
      +                    "endedBy": {
      +                      "description": "`elapsed` or `call_ended`.",
      +                      "type": "string"
      +                    },
      +                    "heldSecs": {
      +                      "type": "number"
      +                    },
      +                    "inboundAudioActiveRatio": {
      +                      "type": "number"
      +                    },
      +                    "inboundChunks": {
      +                      "type": "number"
      +                    },
      +                    "requestedSecs": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "llmExtraction": {
      +                  "additionalProperties": true,
      +                  "description": "LLM extraction telemetry — model, token counts, latency and hallucination flag.",
      +                  "properties": {
      +                    "hallucinationDetected": {
      +                      "type": "boolean"
      +                    },
      +                    "inputTokens": {
      +                      "type": "number"
      +                    },
      +                    "latencyMs": {
      +                      "type": "number"
      +                    },
      +                    "model": {
      +                      "type": "string"
      +                    },
      +                    "operation": {
      +                      "type": "string"
      +                    },
      +                    "outputTokens": {
      +                      "type": "number"
      +                    },
      +                    "reasoning": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "schemaVersion": {
      +                  "enum": [
      +                    1
      +                  ],
      +                  "type": "integer"
      +                },
      +                "timing": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "durationMs": {
      +                      "type": "number"
      +                    },
      +                    "endedAt": {
      +                      "format": "date-time",
      +                      "type": "string"
      +                    },
      +                    "responseLatencyMs": {
      +                      "description": "Per-turn response latency (bot/IVR turn-around) in milliseconds.",
      +                      "type": "number"
      +                    },
      +                    "startedAt": {
      +                      "format": "date-time",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "transcript": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "avgWordConfidence": {
      +                      "type": "number"
      +                    },
      +                    "detectedLanguage": {
      +                      "type": "string"
      +                    },
      +                    "minWordConfidence": {
      +                      "type": "number"
      +                    },
      +                    "wordCount": {
      +                      "type": "number"
      +                    },
      +                    "words": {
      +                      "items": {
      +                        "properties": {
      +                          "confidence": {
      +                            "type": "number"
      +                          },
      +                          "endMs": {
      +                            "type": "number"
      +                          },
      +                          "startMs": {
      +                            "type": "number"
      +                          },
      +                          "word": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "word",
      +                          "startMs",
      +                          "endMs"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    }
      +                  },
      +                  "type": "object"
      +                }
      +              },
      +              "required": [
      +                "schemaVersion"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "schemaVersion"
      +        ],
      +        "type": "object"
      +      },
      +      "carrier": {
      +        "description": "Bring-your-own-carrier (invite-only): the carrier route this run was dialled through,\nrecorded when the run was dispatched. It still names that route after the config's\n`carrierRouteId` is changed or removed. Absent when the run was dialled normally. See\n`GET /testing/carrier-integrations` for the route's name and settings.\n",
      +        "properties": {
      +          "integrationId": {
      +            "type": "string"
      +          },
      +          "routeId": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "integrationId",
      +          "routeId"
      +        ],
      +        "type": "object"
      +      },
      +      "carrierDetail": {
      +        "additionalProperties": true,
      +        "description": "Telnyx's record of this call, fetched once a few minutes after the call ends and stored\non the run (absent until then). `status` is `not_found` when Telnyx had no record after\nthree tries. Give `sipCallId` to your carrier or SBC team to find this exact call in\ntheir logs.\n",
      +        "properties": {
      +          "answeredAt": {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "billedSecs": {
      +            "type": "number"
      +          },
      +          "callSecs": {
      +            "type": "number"
      +          },
      +          "codec": {
      +            "type": "string"
      +          },
      +          "destination": {
      +            "additionalProperties": true,
      +            "description": "The number dialled, from a carrier lookup (refreshed every 90 days).",
      +            "properties": {
      +              "carrier": {
      +                "type": "string"
      +              },
      +              "countryCode": {
      +                "type": "string"
      +              },
      +              "lookedUpAt": {
      +                "format": "date-time",
      +                "type": "string"
      +              },
      +              "nationalFormat": {
      +                "type": "string"
      +              },
      +              "numberType": {
      +                "description": "e.g. uan (UK non-geographic), fixed line, mobile, voip.",
      +                "type": "string"
      +              },
      +              "valid": {
      +                "type": "boolean"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "destinationType": {
      +            "type": "string"
      +          },
      +          "fetchedAt": {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "finishedAt": {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "hangupCauseName": {
      +            "type": "string"
      +          },
      +          "hangupCode": {
      +            "description": "Q.850 cause code.",
      +            "type": "string"
      +          },
      +          "hangupDetails": {
      +            "description": "Who ended the call at the SIP level: send_bye (us) or recv_bye (the far end).",
      +            "type": "string"
      +          },
      +          "localCall": {
      +            "type": "boolean"
      +          },
      +          "mos": {
      +            "type": "number"
      +          },
      +          "onNet": {
      +            "type": "boolean"
      +          },
      +          "retriedInternally": {
      +            "description": "The network re-routed the call before it connected (adds to dial-to-answer time).",
      +            "type": "boolean"
      +          },
      +          "route": {
      +            "type": "string"
      +          },
      +          "shakenStir": {
      +            "description": "STIR/SHAKEN attestation of the caller ID: A, B or C.",
      +            "type": "string"
      +          },
      +          "sipCallId": {
      +            "description": "SIP Call-ID of the call.",
      +            "type": "string"
      +          },
      +          "sipInviteFailureStatus": {
      +            "description": "SIP status when the call never connected (e.g. 486, 503).",
      +            "type": "string"
      +          },
      +          "source": {
      +            "enum": [
      +              "telnyx-detail-records"
      +            ],
      +            "type": "string"
      +          },
      +          "startedAt": {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "status": {
      +            "enum": [
      +              "found",
      +              "not_found"
      +            ],
      +            "type": "string"
      +          },
      +          "telnyxErrorCode": {
      +            "type": "string"
      +          },
      +          "version": {
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "version",
      +          "status",
      +          "fetchedAt",
      +          "source"
      +        ],
      +        "type": "object"
      +      },
      +      "carrierEvents": {
      +        "additionalProperties": true,
      +        "description": "What the carrier's event log and the call recording say about this call, derived once a\nfew minutes after the call ends and stored on the run (absent until then). Times named\n`...Secs` are seconds after the call was answered. `status` is `not_found` when the carrier\nhad no events for the call after three tries, `error` when they could not be read. A source\nthat could not be read is named in `errors`; the others are still filled.\n",
      +        "properties": {
      +          "answeredAt": {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "callLegId": {
      +            "type": "string"
      +          },
      +          "commandsFailed": {
      +            "items": {
      +              "properties": {
      +                "at": {
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                "name": {
      +                  "type": "string"
      +                },
      +                "secs": {
      +                  "type": "number"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "dial": {
      +            "description": "Where the carrier was told to send the call's events and audio (host, port and path only).",
      +            "properties": {
      +              "stream": {
      +                "properties": {
      +                  "host": {
      +                    "type": "string"
      +                  },
      +                  "path": {
      +                    "type": "string"
      +                  },
      +                  "port": {
      +                    "type": "integer"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "streamTrack": {
      +                "type": "string"
      +              },
      +              "webhook": {
      +                "properties": {
      +                  "host": {
      +                    "type": "string"
      +                  },
      +                  "path": {
      +                    "type": "string"
      +                  },
      +                  "port": {
      +                    "type": "integer"
      +                  }
      +                },
      +                "type": "object"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "errors": {
      +            "properties": {
      +              "callEvents": {
      +                "type": "string"
      +              },
      +              "recording": {
      +                "type": "string"
      +              },
      +              "webhooks": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "eventCount": {
      +            "type": "integer"
      +          },
      +          "failedWebhooks": {
      +            "description": "Carrier events about this call that could not be delivered to the test platform.",
      +            "items": {
      +              "properties": {
      +                "attempts": {
      +                  "type": "integer"
      +                },
      +                "errorCodes": {
      +                  "items": {
      +                    "type": "integer"
      +                  },
      +                  "type": "array"
      +                },
      +                "eventType": {
      +                  "type": "string"
      +                },
      +                "occurredAt": {
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                "secs": {
      +                  "type": "number"
      +                },
      +                "target": {
      +                  "properties": {
      +                    "host": {
      +                      "type": "string"
      +                    },
      +                    "path": {
      +                      "type": "string"
      +                    },
      +                    "port": {
      +                      "type": "integer"
      +                    }
      +                  },
      +                  "type": "object"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "fetchedAt": {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "hangupSecs": {
      +            "type": "number"
      +          },
      +          "playbacks": {
      +            "description": "Each audio clip we asked the carrier to play, in order.",
      +            "items": {
      +              "properties": {
      +                "commandAt": {
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                "commandSecs": {
      +                  "type": "number"
      +                },
      +                "commandToStartMs": {
      +                  "type": "integer"
      +                },
      +                "durationMs": {
      +                  "type": "integer"
      +                },
      +                "endedAt": {
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                "endedSecs": {
      +                  "type": "number"
      +                },
      +                "media": {
      +                  "description": "File name of the clip.",
      +                  "type": "string"
      +                },
      +                "startedAt": {
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                "startedSecs": {
      +                  "type": "number"
      +                },
      +                "status": {
      +                  "description": "How the playback ended, e.g. completed. Absent when no end was reported.",
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "recording": {
      +            "description": "Answer timing measured on the two-channel call recording (the system under test on one\nchannel, us on the other). Seconds from the start of the recording, which starts at answer.\n",
      +            "properties": {
      +              "durationSecs": {
      +                "type": "number"
      +              },
      +              "ivrFirstAudioSecs": {
      +                "description": "When the system under test first made sound.",
      +                "type": "number"
      +              },
      +              "ivrSegments": {
      +                "description": "Speech from the system under test, as [start, end] pairs in seconds.",
      +                "items": {
      +                  "items": {
      +                    "type": "number"
      +                  },
      +                  "maxItems": 2,
      +                  "minItems": 2,
      +                  "type": "array"
      +                },
      +                "type": "array"
      +              },
      +              "ourChannel": {
      +                "type": "integer"
      +              },
      +              "status": {
      +                "description": "stereo: measured. mono: one side of the recording was lost. missing / none: no recording.",
      +                "enum": [
      +                  "stereo",
      +                  "mono",
      +                  "missing",
      +                  "unsupported",
      +                  "none"
      +                ],
      +                "type": "string"
      +              },
      +              "turns": {
      +                "description": "One per stretch of our audio.",
      +                "items": {
      +                  "properties": {
      +                    "answerGapSecs": {
      +                      "description": "ourOnsetSecs minus ivrPromptEndSecs. About 1 s is normal.",
      +                      "type": "number"
      +                    },
      +                    "ivrPromptEndSecs": {
      +                      "description": "End of the last prompt that had finished before we started.",
      +                      "type": "number"
      +                    },
      +                    "ivrSpeakingSinceSecs": {
      +                      "description": "Present when the system under test was already speaking when we started: when it began.",
      +                      "type": "number"
      +                    },
      +                    "ourEndSecs": {
      +                      "type": "number"
      +                    },
      +                    "ourOnsetSecs": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "source": {
      +            "enum": [
      +              "telnyx-call-events"
      +            ],
      +            "type": "string"
      +          },
      +          "status": {
      +            "enum": [
      +              "found",
      +              "not_found",
      +              "error"
      +            ],
      +            "type": "string"
      +          },
      +          "streaming": {
      +            "description": "The media stream to the test platform starting, stopping or failing.",
      +            "items": {
      +              "properties": {
      +                "at": {
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                "event": {
      +                  "enum": [
      +                    "started",
      +                    "stopped",
      +                    "failed"
      +                  ],
      +                  "type": "string"
      +                },
      +                "failureReason": {
      +                  "type": "string"
      +                },
      +                "secs": {
      +                  "type": "number"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "version": {
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "version",
      +          "status",
      +          "fetchedAt",
      +          "source",
      +          "callLegId"
      +        ],
      +        "type": "object"
      +      },
      +      "completedAt": {
      +        "example": "2026-05-13T10:05:00Z",
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "createdAt": {
      +        "example": "2026-05-13T10:00:00Z",
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "failurePattern": {
      +        "description": "Load-test calls that did not pass: why the call failed, as a named pattern with an owner and\nthe values that put it there (`evidence`). Absent on passed calls, and on calls not yet\nclassified. `rulesVersion` says which version of the rules produced it.\n",
      +        "properties": {
      +          "evidence": {
      +            "additionalProperties": {
      +              "type": [
      +                "string",
      +                "number",
      +                "boolean",
      +                "null"
      +              ]
      +            },
      +            "type": "object"
      +          },
      +          "failedStepIndex": {
      +            "type": "integer"
      +          },
      +          "id": {
      +            "enum": [
      +              "P1",
      +              "P2",
      +              "P2a",
      +              "P2b",
      +              "P2c",
      +              "P2d",
      +              "P3",
      +              "P4",
      +              "P5",
      +              "P6",
      +              "P7",
      +              "P7a",
      +              "P8",
      +              "P9",
      +              "P10",
      +              "UNCLASSIFIED"
      +            ],
      +            "type": "string"
      +          },
      +          "label": {
      +            "example": "Late answer, straight to hold",
      +            "type": "string"
      +          },
      +          "owner": {
      +            "enum": [
      +              "platform",
      +              "carrier",
      +              "system-under-test",
      +              "test-definition",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          },
      +          "rulesVersion": {
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "owner",
      +          "label",
      +          "rulesVersion",
      +          "evidence"
      +        ],
      +        "type": "object"
      +      },
      +      "id": {
      +        "example": "<run-id>",
      +        "format": "uuid",
      +        "type": "string"
      +      },
      +      "lateStart": {
      +        "description": "Load-test calls: true when the system under test first spoke later after answer than the\ntest's late-answer threshold (6 s by default), on passed and failed calls alike. Absent\nwhen nothing measured it.\n",
      +        "type": "boolean"
      +      },
      +      "originalOutcome": {
      +        "description": "Passed with note: the call's outcome before a `verdictNote` changed it to `PASS`. Absent\nunless a note changed the outcome.\n",
      +        "enum": [
      +          "FAIL"
      +        ],
      +        "type": "string"
      +      },
      +      "outcome": {
      +        "description": "Unified run outcome — see MissionTestRun.outcome. Optional/nullable for historical rows pre-backfill.",
      +        "enum": [
      +          "PASS",
      +          "FAIL",
      +          "ERROR",
      +          "INCONCLUSIVE",
      +          "pending"
      +        ],
      +        "nullable": true,
      +        "type": "string"
      +      },
      +      "phoneNumber": {
      +        "example": "+442012345678",
      +        "type": "string"
      +      },
      +      "startedAt": {
      +        "example": "2026-05-13T10:00:00Z",
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "status": {
      +        "enum": [
      +          "pending",
      +          "running",
      +          "completed",
      +          "failed",
      +          "cancelled",
      +          "awaiting_callback"
      +        ],
      +        "example": "pending",
      +        "type": "string"
      +      },
      +      "testConfigId": {
      +        "example": "<test-config-id>",
      +        "format": "uuid",
      +        "type": "string"
      +      },
      +      "verdictNote": {
      +        "description": "Passed with note: why a call (or step) that failed on its hold check counts as passed.\n`hold_unconfirmed`: the call reached hold and the line had sound on it, but the live check\ncould not confirm music (set by the tester, `by: live`). `hold_music_rechecked`: after the\nrun, the hold detector heard music in the call's recording (`by: recheck`). `outcome` is\n`PASS` and `originalOutcome` keeps the outcome before the note. Absent on calls and steps\nwithout a note.\n",
      +        "properties": {
      +          "at": {
      +            "description": "When the note was made.",
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "by": {
      +            "enum": [
      +              "live",
      +              "recheck"
      +            ],
      +            "type": "string"
      +          },
      +          "detail": {
      +            "description": "One plain sentence, to show as it is.",
      +            "type": "string"
      +          },
      +          "evidence": {
      +            "properties": {
      +              "detector": {
      +                "description": "The version of the hold detector that judged it.",
      +                "type": "string"
      +              },
      +              "inboundAudioActiveRatio": {
      +                "type": "number"
      +              },
      +              "musicRatio": {
      +                "type": "number"
      +              },
      +              "noiseRatio": {
      +                "type": "number"
      +              },
      +              "silenceRatio": {
      +                "type": "number"
      +              },
      +              "speechRatio": {
      +                "type": "number"
      +              },
      +              "stepIndex": {
      +                "description": "The step the note is about.",
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "window": {
      +                "description": "The part of the recording checked, in seconds after answer (re-check).",
      +                "properties": {
      +                  "fromSecs": {
      +                    "type": "number"
      +                  },
      +                  "toSecs": {
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "fromSecs",
      +                  "toSecs"
      +                ],
      +                "type": "object"
      +              }
      +            },
      +            "required": [
      +              "stepIndex"
      +            ],
      +            "type": "object"
      +          },
      +          "kind": {
      +            "enum": [
      +              "hold_unconfirmed",
      +              "hold_music_rechecked"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "kind",
      +          "by",
      +          "at",
      +          "detail",
      +          "evidence"
      +        ],
      +        "type": "object"
      +      },
      +      "workspaceId": {
      +        "example": "<workspace-id>",
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "workspaceId",
      +      "status",
      +      "startedAt"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "config": {
      +        "description": "Scripted regression test plan. A `TestConfig` is a reusable plan of ordered `TestStep`s\nthat callers re-run against a phone number via `POST /testing/runs`.\n",
      +        "properties": {
      +          "backgroundNoise": {
      +            "allOf": [
      +              {
      +                "description": "Caller background noise: café chatter, city street traffic, home (children and a\nbaby crying) or wind buffeting. The level is fixed per sound.\n",
      +                "enum": [
      +                  "cafe",
      +                  "street",
      +                  "home",
      +                  "wind"
      +                ],
      +                "example": "cafe",
      +                "type": "string"
      +              }
      +            ],
      +            "description": "Caller background noise played under the call. Omit for none.\n"
      +          },
      +          "carrierRouteId": {
      +            "description": "Bring-your-own-carrier (invite-only). Dial this config's calls through one of the\nworkspace's carrier routes, over the workspace's own SIP trunk, instead of nopaque's\nnetwork. Carrier routes are set up with nopaque. A config with a route dials through it\nor not at all: if the route cannot be dialled when a run starts, the run is refused and\nthe number is never called normally. A refused `POST /testing/runs` returns 409 (or 503);\na scheduled run, batch or sweep records a failed run whose `errorMessage` says why; a\nload test fails before it starts. Carrier calls are metered as `carrier_testing`\n(load tests: `carrier_load_testing`), not `testing`.\nOmitted when the config dials normally.\n",
      +            "example": "<carrier-route-id>",
      +            "maxLength": 128,
      +            "type": "string"
      +          },
      +          "createdAt": {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "createdBy": {
      +            "description": "User ID of the creator.",
      +            "example": "<user-id>",
      +            "type": "string"
      +          },
      +          "description": {
      +            "type": "string"
      +          },
      +          "id": {
      +            "example": "<test-config-id>",
      +            "format": "uuid",
      +            "type": "string"
      +          },
      +          "language": {
      +            "allOf": [
      +              {
      +                "description": "The transcription language of a STANDARD test or a MAPPING run — the\nlanguage the callee is expected to speak, used to transcribe the call.\nAbsent means `en-GB`: every omit path is unchanged, so an existing\nconfig without the field transcribes as British English exactly as\nbefore. Anything outside this set is rejected with 400.\n\nThe English variants lead, then `multi` (code-switching), then the\nremaining languages alphabetically by display label. Mirrors\n`api/packages/core/transcription/languages.ts` (Zod) — the single\nsource of truth; a drift test keeps this enum equal to it.\n\nDISTINCT from `CallLanguage`, which is the language a MISSION test\ncall is held in. The two lists do not overlap cleanly and are not\ninterchangeable: bare `en` is a valid `CallLanguage` and is INVALID\nhere (use `en-GB` or `en-US`), and most codes here are not call\nlanguages at all.\n",
      +                "enum": [
      +                  "en-GB",
      +                  "en-US",
      +                  "en-AU",
      +                  "en-IN",
      +                  "en-NZ",
      +                  "multi",
      +                  "ar",
      +                  "be",
      +                  "bn",
      +                  "bs",
      +                  "bg",
      +                  "ca",
      +                  "zh-HK",
      +                  "zh",
      +                  "hr",
      +                  "cs",
      +                  "da",
      +                  "nl",
      +                  "et",
      +                  "fi",
      +                  "nl-BE",
      +                  "fr",
      +                  "de",
      +                  "el",
      +                  "gu",
      +                  "he",
      +                  "hi",
      +                  "hu",
      +                  "id",
      +                  "it",
      +                  "ja",
      +                  "kn",
      +                  "ko",
      +                  "lv",
      +                  "lt",
      +                  "mk",
      +                  "ms",
      +                  "mr",
      +                  "no",
      +                  "fa",
      +                  "pl",
      +                  "pt",
      +                  "ro",
      +                  "ru",
      +                  "sr",
      +                  "sk",
      +                  "sl",
      +                  "es",
      +                  "sv",
      +                  "tl",
      +                  "ta",
      +                  "te",
      +                  "th",
      +                  "tr",
      +                  "uk",
      +                  "ur",
      +                  "vi"
      +                ],
      +                "example": "en-GB",
      +                "type": "string"
      +              }
      +            ],
      +            "description": "Transcription language the config's calls are transcribed in.\nResolved to `en-GB` when the config was created without one, so\nevery config created since the field existed carries a value;\nconfigs saved before it have none, which also means `en-GB`.\n",
      +            "example": "en-GB"
      +          },
      +          "lineNoise": {
      +            "description": "Quiet line noise (-60 dBFS) played under every call so the line is never digitally\nsilent. Absent or `true` means on (the default); `false` turns it off for this config.\n",
      +            "example": false,
      +            "type": "boolean"
      +          },
      +          "maxDurationSecs": {
      +            "description": "Whole-call ceiling in seconds. When omitted the tester applies its own default of 300.\nEvery `hold` step's `durationSecs` must fit inside it.\n",
      +            "example": 600,
      +            "maximum": 1800,
      +            "minimum": 30,
      +            "type": "integer"
      +          },
      +          "name": {
      +            "example": "Main menu regression",
      +            "type": "string"
      +          },
      +          "patternSettings": {
      +            "allOf": [
      +              {
      +                "additionalProperties": false,
      +                "description": "Thresholds and re-prompt phrases that load-test failure patterns use for this IVR. Every\nfield is optional; an omitted one uses the platform default.\n",
      +                "properties": {
      +                  "lateAnswerSecs": {
      +                    "description": "Seconds from answer to the IVR's first speech above which a call counts as a late start\n(and a failure can be \"late answer, straight to hold\"). Default 6.\n",
      +                    "example": 6,
      +                    "exclusiveMinimum": 0,
      +                    "maximum": 120,
      +                    "type": "number"
      +                  },
      +                  "repromptPhrases": {
      +                    "description": "Phrases that mean the IVR is re-prompting (\"did not understand us\"). Replace the\ndefaults: \"I didn't get that\", \"sorry, I didn't catch\", \"please say\".\n",
      +                    "example": [
      +                      "I didn't get that",
      +                      "please say"
      +                    ],
      +                    "items": {
      +                      "maxLength": 200,
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    "maxItems": 20,
      +                    "type": "array"
      +                  },
      +                  "silentTailSecs": {
      +                    "description": "Seconds of silence from the IVR, after our reply and up to hangup, for \"silent after our\nreply\". Default 10.\n",
      +                    "example": 10,
      +                    "exclusiveMinimum": 0,
      +                    "maximum": 600,
      +                    "type": "number"
      +                  }
      +                },
      +                "type": "object"
      +              }
      +            ],
      +            "description": "Load-test failure-pattern thresholds and re-prompt phrases for this IVR. Omit for the\nplatform defaults.\n"
      +          },
      +          "phoneNumber": {
      +            "description": "E.164-formatted phone number the test calls.",
      +            "example": "+442012345678",
      +            "type": "string"
      +          },
      +          "profileId": {
      +            "description": "Voice / data profile for `standard` configs only. Omitted for `parameterized`.",
      +            "type": "string"
      +          },
      +          "requiredParameters": {
      +            "description": "Required parameter labels for `parameterized` configs only.",
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "scheduleId": {
      +            "description": "Schedule that triggers automated runs (use `template:<id>` to create from a built-in template).",
      +            "type": "string"
      +          },
      +          "steps": {
      +            "items": {
      +              "allOf": [
      +                {
      +                  "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"
      +                }
      +              ],
      +              "description": "A step as stored and returned: a `TestStepInput` that always carries its `id`.\n"
      +            },
      +            "type": "array"
      +          },
      +          "type": {
      +            "description": "`standard` runs the steps as-is; `parameterized` requires `requiredParameters` filled\nat run-time (sweep / batch dispatchers supply them).\n",
      +            "enum": [
      +              "standard",
      +              "parameterized"
      +            ],
      +            "example": "standard",
      +            "type": "string"
      +          },
      +          "updatedAt": {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "version": {
      +            "description": "Bumped on every update — clients can use for optimistic concurrency.",
      +            "example": 1,
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "workspaceId": {
      +            "example": "<workspace-id>",
      +            "format": "uuid",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "workspaceId",
      +          "name",
      +          "phoneNumber",
      +          "steps",
      +          "version",
      +          "createdAt",
      +          "updatedAt",
      +          "createdBy"
      +        ],
      +        "type": "object"
      +      },
      +      "dtmfMarkers": {
      +        "description": "Standard tests only: when the tester sent DTMF, relative to the start of the\nrecording. Absent when the run sent no digits (never `null` or empty).\n",
      +        "items": {
      +          "description": "One DTMF send on a standard test. `spans` (one per tone) is present only when the\ncall's audio encoding is G711 (PCMA/PCMU), where tone timing is known.\n",
      +          "properties": {
      +            "digits": {
      +              "example": "1234#",
      +              "type": "string"
      +            },
      +            "durationMs": {
      +              "description": "Tone duration per digit in milliseconds.",
      +              "example": 500,
      +              "type": "number"
      +            },
      +            "encoding": {
      +              "description": "The call's stream encoding, e.g. `PCMA`.",
      +              "example": "PCMA",
      +              "type": "string"
      +            },
      +            "sentAtSec": {
      +              "description": "Seconds from the start of the recording when the digits were sent.",
      +              "example": 12.4,
      +              "type": "number"
      +            },
      +            "spans": {
      +              "items": {
      +                "properties": {
      +                  "digit": {
      +                    "example": "1",
      +                    "type": "string"
      +                  },
      +                  "endSec": {
      +                    "type": "number"
      +                  },
      +                  "startSec": {
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "digit",
      +                  "startSec",
      +                  "endSec"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "digits",
      +            "sentAtSec",
      +            "durationMs"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "stepResults": {
      +        "items": {
      +          "description": "Per-step execution outcome attached to a `TestRun`. Returned by `GET /testing/runs/{id}`.\n",
      +          "properties": {
      +            "actionType": {
      +              "description": "One of `dtmf`, `audio`, `listen`, `wait_for_callback` or `hold` if the step took an action.\n`hold` results carry `threshold` 0, `expectedTranscript` '' and `similarity` 0, which are\nplaceholders and not a match score. Outcome PASS means the hold elapsed; FAIL with\n`turnTelemetry.hold.endedBy` = `call_ended` means the far end hung up first.\n",
      +              "type": "string"
      +            },
      +            "actionValue": {
      +              "type": "string"
      +            },
      +            "actualTranscript": {
      +              "type": "string"
      +            },
      +            "createdAt": {
      +              "format": "date-time",
      +              "type": "string"
      +            },
      +            "duration": {
      +              "description": "Step duration in seconds (or `undefined` if the step did not run).",
      +              "type": "number"
      +            },
      +            "errorMessage": {
      +              "type": "string"
      +            },
      +            "expectedTranscript": {
      +              "type": "string"
      +            },
      +            "id": {
      +              "format": "uuid",
      +              "type": "string"
      +            },
      +            "matchedAnswer": {
      +              "description": "Which wording matched, set on a pass when the step's `acceptAdditionalAnswers` is on:\n0 is the step's `expected`, n is `additionalAnswers[n-1]`. Absent otherwise.\n",
      +              "example": 0,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "matcherScores": {
      +              "additionalProperties": {
      +                "type": "number"
      +              },
      +              "type": "object"
      +            },
      +            "originalOutcome": {
      +              "description": "Passed with note: the step's outcome before a `verdictNote` changed it to `PASS`. Absent\nunless a note changed the outcome.\n",
      +              "enum": [
      +                "FAIL",
      +                "TIMEOUT"
      +              ],
      +              "type": "string"
      +            },
      +            "outcome": {
      +              "enum": [
      +                "PASS",
      +                "FAIL",
      +                "TIMEOUT",
      +                "ERROR"
      +              ],
      +              "type": "string"
      +            },
      +            "runId": {
      +              "format": "uuid",
      +              "type": "string"
      +            },
      +            "similarity": {
      +              "maximum": 100,
      +              "minimum": 0,
      +              "type": "number"
      +            },
      +            "stepId": {
      +              "format": "uuid",
      +              "type": "string"
      +            },
      +            "stepIndex": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "stepName": {
      +              "type": "string"
      +            },
      +            "threshold": {
      +              "type": "integer"
      +            },
      +            "turnTelemetry": {
      +              "additionalProperties": true,
      +              "description": "Per-step / per-turn telemetry. Nested onto `TestStepResult.turnTelemetry`\n(per-step containers) and `CallTelemetry.turns[]` (turn-based containers\nsuch as mission-tester / voice-agent).\n",
      +              "properties": {
      +                "conversationTurn": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "role": {
      +                      "enum": [
      +                        "user",
      +                        "assistant",
      +                        "system"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "text": {
      +                      "type": "string"
      +                    },
      +                    "timestamp": {
      +                      "format": "date-time",
      +                      "type": "string"
      +                    },
      +                    "turnIndex": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "dtmf": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "completedAt": {
      +                      "format": "date-time",
      +                      "type": "string"
      +                    },
      +                    "digitsReceived": {
      +                      "type": "string"
      +                    },
      +                    "digitsSent": {
      +                      "type": "string"
      +                    },
      +                    "sendDurationMs": {
      +                      "type": "number"
      +                    },
      +                    "sentOnDelay": {
      +                      "type": "boolean"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "hold": {
      +                  "additionalProperties": true,
      +                  "description": "Emitted on `hold` step results. `endedBy` is `elapsed` (the full hold was served) or\n`call_ended` (the far end hung up first); it is a plain string, not an enum, so a future\ncontainer value cannot fail strict client validation.\n",
      +                  "properties": {
      +                    "endedBy": {
      +                      "description": "`elapsed` or `call_ended`.",
      +                      "type": "string"
      +                    },
      +                    "heldSecs": {
      +                      "type": "number"
      +                    },
      +                    "inboundAudioActiveRatio": {
      +                      "type": "number"
      +                    },
      +                    "inboundChunks": {
      +                      "type": "number"
      +                    },
      +                    "requestedSecs": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "llmExtraction": {
      +                  "additionalProperties": true,
      +                  "description": "LLM extraction telemetry — model, token counts, latency and hallucination flag.",
      +                  "properties": {
      +                    "hallucinationDetected": {
      +                      "type": "boolean"
      +                    },
      +                    "inputTokens": {
      +                      "type": "number"
      +                    },
      +                    "latencyMs": {
      +                      "type": "number"
      +                    },
      +                    "model": {
      +                      "type": "string"
      +                    },
      +                    "operation": {
      +                      "type": "string"
      +                    },
      +                    "outputTokens": {
      +                      "type": "number"
      +                    },
      +                    "reasoning": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "schemaVersion": {
      +                  "enum": [
      +                    1
      +                  ],
      +                  "type": "integer"
      +                },
      +                "timing": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "durationMs": {
      +                      "type": "number"
      +                    },
      +                    "endedAt": {
      +                      "format": "date-time",
      +                      "type": "string"
      +                    },
      +                    "responseLatencyMs": {
      +                      "description": "Per-turn response latency (bot/IVR turn-around) in milliseconds.",
      +                      "type": "number"
      +                    },
      +                    "startedAt": {
      +                      "format": "date-time",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "transcript": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "avgWordConfidence": {
      +                      "type": "number"
      +                    },
      +                    "detectedLanguage": {
      +                      "type": "string"
      +                    },
      +                    "minWordConfidence": {
      +                      "type": "number"
      +                    },
      +                    "wordCount": {
      +                      "type": "number"
      +                    },
      +                    "words": {
      +                      "items": {
      +                        "properties": {
      +                          "confidence": {
      +                            "type": "number"
      +                          },
      +                          "endMs": {
      +                            "type": "number"
      +                          },
      +                          "startMs": {
      +                            "type": "number"
      +                          },
      +                          "word": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "word",
      +                          "startMs",
      +                          "endMs"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    }
      +                  },
      +                  "type": "object"
      +                }
      +              },
      +              "required": [
      +                "schemaVersion"
      +              ],
      +              "type": "object"
      +            },
      +            "verdictNote": {
      +              "description": "Passed with note: why a call (or step) that failed on its hold check counts as passed.\n`hold_unconfirmed`: the call reached hold and the line had sound on it, but the live check\ncould not confirm music (set by the tester, `by: live`). `hold_music_rechecked`: after the\nrun, the hold detector heard music in the call's recording (`by: recheck`). `outcome` is\n`PASS` and `originalOutcome` keeps the outcome before the note. Absent on calls and steps\nwithout a note.\n",
      +              "properties": {
      +                "at": {
      +                  "description": "When the note was made.",
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                "by": {
      +                  "enum": [
      +                    "live",
      +                    "recheck"
      +                  ],
      +                  "type": "string"
      +                },
      +                "detail": {
      +                  "description": "One plain sentence, to show as it is.",
      +                  "type": "string"
      +                },
      +                "evidence": {
      +                  "properties": {
      +                    "detector": {
      +                      "description": "The version of the hold detector that judged it.",
      +                      "type": "string"
      +                    },
      +                    "inboundAudioActiveRatio": {
      +                      "type": "number"
      +                    },
      +                    "musicRatio": {
      +                      "type": "number"
      +                    },
      +                    "noiseRatio": {
      +                      "type": "number"
      +                    },
      +                    "silenceRatio": {
      +                      "type": "number"
      +                    },
      +                    "speechRatio": {
      +                      "type": "number"
      +                    },
      +                    "stepIndex": {
      +                      "description": "The step the note is about.",
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "window": {
      +                      "description": "The part of the recording checked, in seconds after answer (re-check).",
      +                      "properties": {
      +                        "fromSecs": {
      +                          "type": "number"
      +                        },
      +                        "toSecs": {
      +                          "type": "number"
      +                        }
      +                      },
      +                      "required": [
      +                        "fromSecs",
      +                        "toSecs"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  },
      +                  "required": [
      +                    "stepIndex"
      +                  ],
      +                  "type": "object"
      +                },
      +                "kind": {
      +                  "enum": [
      +                    "hold_unconfirmed",
      +                    "hold_music_rechecked"
      +                  ],
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "kind",
      +                "by",
      +                "at",
      +                "detail",
      +                "evidence"
      +              ],
      +              "type": "object"
      +            },
      +            "words": {
      +              "items": {
      +                "properties": {
      +                  "confidence": {
      +                    "maximum": 1,
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "end": {
      +                    "type": "number"
      +                  },
      +                  "start": {
      +                    "type": "number"
      +                  },
      +                  "word": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "word",
      +                  "start",
      +                  "end",
      +                  "confidence"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "runId",
      +            "stepIndex",
      +            "stepId",
      +            "stepName",
      +            "outcome",
      +            "expectedTranscript",
      +            "threshold",
      +            "createdAt"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changed
    • changedOutput schema / allOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "callDurationSecs": {
      -        "description": "Real call duration in seconds (post-answer → last node), surfaced from\n`callMetadata.callDurationSecs`. Preferred over the wall-clock diff\n(`completedAt − startedAt`), which inflates by 100–150s+ from queue wait,\ncontainer start, ringing and post-call stashing. Same field billing meters on.\nRows with no tester duration (mission runs) report the container's\ncomputed call length here instead.\n",
      -        "type": "number"
      -      },
      -      "callTelemetry": {
      -        "additionalProperties": true,
      -        "description": "Call-level telemetry captured during an IVR test call, nested onto\n`TestRun.callTelemetry`. Populated for standard, mission and compliance\nruns by the tester / mission-tester containers.\nnopaque's own carrier cost is internal and is never returned.\n",
      -        "properties": {
      -          "audio": {
      -            "additionalProperties": true,
      -            "properties": {
      -              "audioDurationSecs": {
      -                "type": "number"
      -              },
      -              "audioFormat": {
      -                "enum": [
      -                  "wav",
      -                  "mp3",
      -                  "wav-mp3-payload"
      -                ],
      -                "type": "string"
      -              },
      -              "audioId": {
      -                "type": "string"
      -              },
      -              "audioS3Key": {
      -                "type": "string"
      -              },
      -              "audioSizeBytes": {
      -                "type": "number"
      -              },
      -              "coverage": {
      -                "description": "Fraction of the call containing speech (0–1).",
      -                "type": "number"
      -              },
      -              "maxSilenceSecs": {
      -                "type": "number"
      -              },
      -              "noiseFloorEnergy": {
      -                "type": "number"
      -              },
      -              "speechChunks": {
      -                "type": "number"
      -              },
      -              "speechEndOffsetSecs": {
      -                "type": "number"
      -              },
      -              "telnyxRecordingId": {
      -                "type": "string"
      -              },
      -              "totalChunks": {
      -                "type": "number"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "backgroundNoise": {
      -            "description": "Standard tests: the background-noise bed the call played (see `BackgroundNoise`).\nAbsent when no noise was configured.\n",
      -            "example": "cafe",
      -            "type": "string"
      -          },
      -          "backgroundNoiseError": {
      -            "description": "Standard tests: why the background-noise bed failed to start. The call still ran,\nwithout noise. Absent when the bed started or no noise was configured.\n",
      -            "type": "string"
      -          },
      -          "mode": {
      -            "additionalProperties": true,
      -            "properties": {
      -              "detected": {
      -                "enum": [
      -                  "voice",
      -                  "dtmf",
      -                  "hybrid",
      -                  "unknown"
      -                ],
      -                "type": "string"
      -              },
      -              "dtmfInboundDetected": {
      -                "type": "boolean"
      -              },
      -              "dtmfTurnCount": {
      -                "type": "number"
      -              },
      -              "voiceTurnCount": {
      -                "type": "number"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "quality": {
      -            "additionalProperties": true,
      -            "description": "Voice-quality metrics (MOS, jitter, packet loss) per direction.",
      -            "properties": {
      -              "codec": {
      -                "type": "string"
      -              },
      -              "inboundJitterMaxVarianceMs": {
      -                "type": "number"
      -              },
      -              "inboundMos": {
      -                "description": "Inbound mean opinion score (call-quality estimate, ~1–5).",
      -                "type": "number"
      -              },
      -              "inboundPacketCount": {
      -                "type": "number"
      -              },
      -              "inboundPacketsLost": {
      -                "type": "number"
      -              },
      -              "outboundJitterMaxVarianceMs": {
      -                "type": "number"
      -              },
      -              "outboundMos": {
      -                "type": "number"
      -              },
      -              "outboundPacketCount": {
      -                "type": "number"
      -              },
      -              "outboundPacketsLost": {
      -                "type": "number"
      -              },
      -              "sampleRateHz": {
      -                "type": "number"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "schemaVersion": {
      -            "enum": [
      -              1
      -            ],
      -            "type": "integer"
      -          },
      -          "telephony": {
      -            "additionalProperties": true,
      -            "properties": {
      -              "callLegId": {
      -                "type": "string"
      -              },
      -              "callSessionId": {
      -                "type": "string"
      -              },
      -              "hangupCause": {
      -                "type": "string"
      -              },
      -              "hangupSource": {
      -                "type": "string"
      -              },
      -              "initiatedByUs": {
      -                "type": "boolean"
      -              },
      -              "sipHangupCause": {
      -                "type": "string"
      -              },
      -              "streamingFailureReason": {
      -                "type": "string"
      -              },
      -              "streamingFailures": {
      -                "description": "Times our audio stream to the call failed to connect (a test-platform fault, not the system under test).",
      -                "type": "integer"
      -              },
      -              "telnyxConnectionId": {
      -                "type": "string"
      -              },
      -              "terminalStatus": {
      -                "enum": [
      -                  "completed",
      -                  "failed",
      -                  "aborted_by_duration",
      -                  "aborted_by_cost",
      -                  "aborted_by_inactivity",
      -                  "aborted_mid_stream",
      -                  "aborted_by_reaper",
      -                  "no_answer"
      -                ],
      -                "type": "string"
      -              },
      -              "terminationReason": {
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "timing": {
      -            "additionalProperties": true,
      -            "description": "Call-level latency landmarks.",
      -            "properties": {
      -              "answerToFirstUtteranceMs": {
      -                "description": "Time-to-first-response — answer to first utterance, in milliseconds.",
      -                "type": "number"
      -              },
      -              "answeredAt": {
      -                "format": "date-time",
      -                "type": "string"
      -              },
      -              "dialToAnswerMs": {
      -                "description": "Ring latency — dial to answer, in milliseconds.",
      -                "type": "number"
      -              },
      -              "dialedAt": {
      -                "format": "date-time",
      -                "type": "string"
      -              },
      -              "endedAt": {
      -                "format": "date-time",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "turns": {
      -            "description": "Per-turn telemetry breakdown for turn-based containers.",
      -            "items": {
      -              "additionalProperties": true,
      -              "description": "Per-step / per-turn telemetry. Nested onto `TestStepResult.turnTelemetry`\n(per-step containers) and `CallTelemetry.turns[]` (turn-based containers\nsuch as mission-tester / voice-agent).\n",
      -              "properties": {
      -                "conversationTurn": {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "role": {
      -                      "enum": [
      -                        "user",
      -                        "assistant",
      -                        "system"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    "text": {
      -                      "type": "string"
      -                    },
      -                    "timestamp": {
      -                      "format": "date-time",
      -                      "type": "string"
      -                    },
      -                    "turnIndex": {
      -                      "type": "number"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "dtmf": {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "completedAt": {
      -                      "format": "date-time",
      -                      "type": "string"
      -                    },
      -                    "digitsReceived": {
      -                      "type": "string"
      -                    },
      -                    "digitsSent": {
      -                      "type": "string"
      -                    },
      -                    "sendDurationMs": {
      -                      "type": "number"
      -                    },
      -                    "sentOnDelay": {
      -                      "type": "boolean"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "hold": {
      -                  "additionalProperties": true,
      -                  "description": "Emitted on `hold` step results. `endedBy` is `elapsed` (the full hold was served) or\n`call_ended` (the far end hung up first); it is a plain string, not an enum, so a future\ncontainer value cannot fail strict client validation.\n",
      -                  "properties": {
      -                    "endedBy": {
      -                      "description": "`elapsed` or `call_ended`.",
      -                      "type": "string"
      -                    },
      -                    "heldSecs": {
      -                      "type": "number"
      -                    },
      -                    "inboundAudioActiveRatio": {
      -                      "type": "number"
      -                    },
      -                    "inboundChunks": {
      -                      "type": "number"
      -                    },
      -                    "requestedSecs": {
      -                      "type": "number"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "llmExtraction": {
      -                  "additionalProperties": true,
      -                  "description": "LLM extraction telemetry — model, token counts, latency and hallucination flag.",
      -                  "properties": {
      -                    "hallucinationDetected": {
      -                      "type": "boolean"
      -                    },
      -                    "inputTokens": {
      -                      "type": "number"
      -                    },
      -                    "latencyMs": {
      -                      "type": "number"
      -                    },
      -                    "model": {
      -                      "type": "string"
      -                    },
      -                    "operation": {
      -                      "type": "string"
      -                    },
      -                    "outputTokens": {
      -                      "type": "number"
      -                    },
      -                    "reasoning": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "schemaVersion": {
      -                  "enum": [
      -                    1
      -                  ],
      -                  "type": "integer"
      -                },
      -                "timing": {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "durationMs": {
      -                      "type": "number"
      -                    },
      -                    "endedAt": {
      -                      "format": "date-time",
      -                      "type": "string"
      -                    },
      -                    "responseLatencyMs": {
      -                      "description": "Per-turn response latency (bot/IVR turn-around) in milliseconds.",
      -                      "type": "number"
      -                    },
      -                    "startedAt": {
      -                      "format": "date-time",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "transcript": {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "avgWordConfidence": {
      -                      "type": "number"
      -                    },
      -                    "detectedLanguage": {
      -                      "type": "string"
      -                    },
      -                    "minWordConfidence": {
      -                      "type": "number"
      -                    },
      -                    "wordCount": {
      -                      "type": "number"
      -                    },
      -                    "words": {
      -                      "items": {
      -                        "properties": {
      -                          "confidence": {
      -                            "type": "number"
      -                          },
      -                          "endMs": {
      -                            "type": "number"
      -                          },
      -                          "startMs": {
      -                            "type": "number"
      -                          },
      -                          "word": {
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "word",
      -                          "startMs",
      -                          "endMs"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      "type": "array"
      -                    }
      -                  },
      -                  "type": "object"
      -                }
      -              },
      -              "required": [
      -                "schemaVersion"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "schemaVersion"
      -        ],
      -        "type": "object"
      -      },
      -      "carrier": {
      -        "description": "Bring-your-own-carrier (invite-only): the carrier route this run was dialled through,\nrecorded when the run was dispatched. It still names that route after the config's\n`carrierRouteId` is changed or removed. Absent when the run was dialled normally. See\n`GET /testing/carrier-integrations` for the route's name and settings.\n",
      -        "properties": {
      -          "integrationId": {
      -            "type": "string"
      -          },
      -          "routeId": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "integrationId",
      -          "routeId"
      -        ],
      -        "type": "object"
      -      },
      -      "carrierDetail": {
      -        "additionalProperties": true,
      -        "description": "Telnyx's record of this call, fetched once a few minutes after the call ends and stored\non the run (absent until then). `status` is `not_found` when Telnyx had no record after\nthree tries. Give `sipCallId` to your carrier or SBC team to find this exact call in\ntheir logs.\n",
      -        "properties": {
      -          "answeredAt": {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          "billedSecs": {
      -            "type": "number"
      -          },
      -          "callSecs": {
      -            "type": "number"
      -          },
      -          "codec": {
      -            "type": "string"
      -          },
      -          "destination": {
      -            "additionalProperties": true,
      -            "description": "The number dialled, from a carrier lookup (refreshed every 90 days).",
      -            "properties": {
      -              "carrier": {
      -                "type": "string"
      -              },
      -              "countryCode": {
      -                "type": "string"
      -              },
      -              "lookedUpAt": {
      -                "format": "date-time",
      -                "type": "string"
      -              },
      -              "nationalFormat": {
      -                "type": "string"
      -              },
      -              "numberType": {
      -                "description": "e.g. uan (UK non-geographic), fixed line, mobile, voip.",
      -                "type": "string"
      -              },
      -              "valid": {
      -                "type": "boolean"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "destinationType": {
      -            "type": "string"
      -          },
      -          "fetchedAt": {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          "finishedAt": {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          "hangupCauseName": {
      -            "type": "string"
      -          },
      -          "hangupCode": {
      -            "description": "Q.850 cause code.",
      -            "type": "string"
      -          },
      -          "hangupDetails": {
      -            "description": "Who ended the call at the SIP level: send_bye (us) or recv_bye (the far end).",
      -            "type": "string"
      -          },
      -          "localCall": {
      -            "type": "boolean"
      -          },
      -          "mos": {
      -            "type": "number"
      -          },
      -          "onNet": {
      -            "type": "boolean"
      -          },
      -          "retriedInternally": {
      -            "description": "The network re-routed the call before it connected (adds to dial-to-answer time).",
      -            "type": "boolean"
      -          },
      -          "route": {
      -            "type": "string"
      -          },
      -          "shakenStir": {
      -            "description": "STIR/SHAKEN attestation of the caller ID: A, B or C.",
      -            "type": "string"
      -          },
      -          "sipCallId": {
      -            "description": "SIP Call-ID of the call.",
      -            "type": "string"
      -          },
      -          "sipInviteFailureStatus": {
      -            "description": "SIP status when the call never connected (e.g. 486, 503).",
      -            "type": "string"
      -          },
      -          "source": {
      -            "enum": [
      -              "telnyx-detail-records"
      -            ],
      -            "type": "string"
      -          },
      -          "startedAt": {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          "status": {
      -            "enum": [
      -              "found",
      -              "not_found"
      -            ],
      -            "type": "string"
      -          },
      -          "telnyxErrorCode": {
      -            "type": "string"
      -          },
      -          "version": {
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "version",
      -          "status",
      -          "fetchedAt",
      -          "source"
      -        ],
      -        "type": "object"
      -      },
      -      "carrierEvents": {
      -        "additionalProperties": true,
      -        "description": "What the carrier's event log and the call recording say about this call, derived once a\nfew minutes after the call ends and stored on the run (absent until then). Times named\n`...Secs` are seconds after the call was answered. `status` is `not_found` when the carrier\nhad no events for the call after three tries, `error` when they could not be read. A source\nthat could not be read is named in `errors`; the others are still filled.\n",
      -        "properties": {
      -          "answeredAt": {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          "callLegId": {
      -            "type": "string"
      -          },
      -          "commandsFailed": {
      -            "items": {
      -              "properties": {
      -                "at": {
      -                  "format": "date-time",
      -                  "type": "string"
      -                },
      -                "name": {
      -                  "type": "string"
      -                },
      -                "secs": {
      -                  "type": "number"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "dial": {
      -            "description": "Where the carrier was told to send the call's events and audio (host, port and path only).",
      -            "properties": {
      -              "stream": {
      -                "properties": {
      -                  "host": {
      -                    "type": "string"
      -                  },
      -                  "path": {
      -                    "type": "string"
      -                  },
      -                  "port": {
      -                    "type": "integer"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "streamTrack": {
      -                "type": "string"
      -              },
      -              "webhook": {
      -                "properties": {
      -                  "host": {
      -                    "type": "string"
      -                  },
      -                  "path": {
      -                    "type": "string"
      -                  },
      -                  "port": {
      -                    "type": "integer"
      -                  }
      -                },
      -                "type": "object"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "errors": {
      -            "properties": {
      -              "callEvents": {
      -                "type": "string"
      -              },
      -              "recording": {
      -                "type": "string"
      -              },
      -              "webhooks": {
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "eventCount": {
      -            "type": "integer"
      -          },
      -          "failedWebhooks": {
      -            "description": "Carrier events about this call that could not be delivered to the test platform.",
      -            "items": {
      -              "properties": {
      -                "attempts": {
      -                  "type": "integer"
      -                },
      -                "errorCodes": {
      -                  "items": {
      -                    "type": "integer"
      -                  },
      -                  "type": "array"
      -                },
      -                "eventType": {
      -                  "type": "string"
      -                },
      -                "occurredAt": {
      -                  "format": "date-time",
      -                  "type": "string"
      -                },
      -                "secs": {
      -                  "type": "number"
      -                },
      -                "target": {
      -                  "properties": {
      -                    "host": {
      -                      "type": "string"
      -                    },
      -                    "path": {
      -                      "type": "string"
      -                    },
      -                    "port": {
      -                      "type": "integer"
      -                    }
      -                  },
      -                  "type": "object"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "fetchedAt": {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          "hangupSecs": {
      -            "type": "number"
      -          },
      -          "playbacks": {
      -            "description": "Each audio clip we asked the carrier to play, in order.",
      -            "items": {
      -              "properties": {
      -                "commandAt": {
      -                  "format": "date-time",
      -                  "type": "string"
      -                },
      -                "commandSecs": {
      -                  "type": "number"
      -                },
      -                "commandToStartMs": {
      -                  "type": "integer"
      -                },
      -                "durationMs": {
      -                  "type": "integer"
      -                },
      -                "endedAt": {
      -                  "format": "date-time",
      -                  "type": "string"
      -                },
      -                "endedSecs": {
      -                  "type": "number"
      -                },
      -                "media": {
      -                  "description": "File name of the clip.",
      -                  "type": "string"
      -                },
      -                "startedAt": {
      -                  "format": "date-time",
      -                  "type": "string"
      -                },
      -                "startedSecs": {
      -                  "type": "number"
      -                },
      -                "status": {
      -                  "description": "How the playback ended, e.g. completed. Absent when no end was reported.",
      -                  "type": "string"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "recording": {
      -            "description": "Answer timing measured on the two-channel call recording (the system under test on one\nchannel, us on the other). Seconds from the start of the recording, which starts at answer.\n",
      -            "properties": {
      -              "durationSecs": {
      -                "type": "number"
      -              },
      -              "ivrFirstAudioSecs": {
      -                "description": "When the system under test first made sound.",
      -                "type": "number"
      -              },
      -              "ivrSegments": {
      -                "description": "Speech from the system under test, as [start, end] pairs in seconds.",
      -                "items": {
      -                  "items": {
      -                    "type": "number"
      -                  },
      -                  "maxItems": 2,
      -                  "minItems": 2,
      -                  "type": "array"
      -                },
      -                "type": "array"
      -              },
      -              "ourChannel": {
      -                "type": "integer"
      -              },
      -              "status": {
      -                "description": "stereo: measured. mono: one side of the recording was lost. missing / none: no recording.",
      -                "enum": [
      -                  "stereo",
      -                  "mono",
      -                  "missing",
      -                  "unsupported",
      -                  "none"
      -                ],
      -                "type": "string"
      -              },
      -              "turns": {
      -                "description": "One per stretch of our audio.",
      -                "items": {
      -                  "properties": {
      -                    "answerGapSecs": {
      -                      "description": "ourOnsetSecs minus ivrPromptEndSecs. About 1 s is normal.",
      -                      "type": "number"
      -                    },
      -                    "ivrPromptEndSecs": {
      -                      "description": "End of the last prompt that had finished before we started.",
      -                      "type": "number"
      -                    },
      -                    "ivrSpeakingSinceSecs": {
      -                      "description": "Present when the system under test was already speaking when we started: when it began.",
      -                      "type": "number"
      -                    },
      -                    "ourEndSecs": {
      -                      "type": "number"
      -                    },
      -                    "ourOnsetSecs": {
      -                      "type": "number"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "source": {
      -            "enum": [
      -              "telnyx-call-events"
      -            ],
      -            "type": "string"
      -          },
      -          "status": {
      -            "enum": [
      -              "found",
      -              "not_found",
      -              "error"
      -            ],
      -            "type": "string"
      -          },
      -          "streaming": {
      -            "description": "The media stream to the test platform starting, stopping or failing.",
      -            "items": {
      -              "properties": {
      -                "at": {
      -                  "format": "date-time",
      -                  "type": "string"
      -                },
      -                "event": {
      -                  "enum": [
      -                    "started",
      -                    "stopped",
      -                    "failed"
      -                  ],
      -                  "type": "string"
      -                },
      -                "failureReason": {
      -                  "type": "string"
      -                },
      -                "secs": {
      -                  "type": "number"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "version": {
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "version",
      -          "status",
      -          "fetchedAt",
      -          "source",
      -          "callLegId"
      -        ],
      -        "type": "object"
      -      },
      -      "completedAt": {
      -        "example": "2026-05-13T10:05:00Z",
      -        "format": "date-time",
      -        "type": "string"
      -      },
      -      "createdAt": {
      -        "example": "2026-05-13T10:00:00Z",
      -        "format": "date-time",
      -        "type": "string"
      -      },
      -      "failurePattern": {
      -        "description": "Load-test calls that did not pass: why the call failed, as a named pattern with an owner and\nthe values that put it there (`evidence`). Absent on passed calls, and on calls not yet\nclassified. `rulesVersion` says which version of the rules produced it.\n",
      -        "properties": {
      -          "evidence": {
      -            "additionalProperties": {
      -              "type": [
      -                "string",
      -                "number",
      -                "boolean",
      -                "null"
      -              ]
      -            },
      -            "type": "object"
      -          },
      -          "failedStepIndex": {
      -            "type": "integer"
      -          },
      -          "id": {
      -            "enum": [
      -              "P1",
      -              "P2",
      -              "P2a",
      -              "P2b",
      -              "P2c",
      -              "P2d",
      -              "P3",
      -              "P4",
      -              "P5",
      -              "P6",
      -              "P7",
      -              "P7a",
      -              "P8",
      -              "P9",
      -              "P10",
      -              "UNCLASSIFIED"
      -            ],
      -            "type": "string"
      -          },
      -          "label": {
      -            "example": "Late answer, straight to hold",
      -            "type": "string"
      -          },
      -          "owner": {
      -            "enum": [
      -              "platform",
      -              "carrier",
      -              "system-under-test",
      -              "test-definition",
      -              "unknown"
      -            ],
      -            "type": "string"
      -          },
      -          "rulesVersion": {
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "owner",
      -          "label",
      -          "rulesVersion",
      -          "evidence"
      -        ],
      -        "type": "object"
      -      },
      -      "id": {
      -        "example": "<run-id>",
      -        "format": "uuid",
      -        "type": "string"
      -      },
      -      "lateStart": {
      -        "description": "Load-test calls: true when the system under test first spoke later after answer than the\ntest's late-answer threshold (6 s by default), on passed and failed calls alike. Absent\nwhen nothing measured it.\n",
      -        "type": "boolean"
      -      },
      -      "originalOutcome": {
      -        "description": "Passed with note: the call's outcome before a `verdictNote` changed it to `PASS`. Absent\nunless a note changed the outcome.\n",
      -        "enum": [
      -          "FAIL"
      -        ],
      -        "type": "string"
      -      },
      -      "outcome": {
      -        "description": "Unified run outcome — see MissionTestRun.outcome. Optional/nullable for historical rows pre-backfill.",
      -        "enum": [
      -          "PASS",
      -          "FAIL",
      -          "ERROR",
      -          "INCONCLUSIVE",
      -          "pending"
      -        ],
      -        "nullable": true,
      -        "type": "string"
      -      },
      -      "phoneNumber": {
      -        "example": "+442012345678",
      -        "type": "string"
      -      },
      -      "startedAt": {
      -        "example": "2026-05-13T10:00:00Z",
      -        "format": "date-time",
      -        "type": "string"
      -      },
      -      "status": {
      -        "enum": [
      -          "pending",
      -          "running",
      -          "completed",
      -          "failed",
      -          "cancelled",
      -          "awaiting_callback"
      -        ],
      -        "example": "pending",
      -        "type": "string"
      -      },
      -      "testConfigId": {
      -        "example": "<test-config-id>",
      -        "format": "uuid",
      -        "type": "string"
      -      },
      -      "verdictNote": {
      -        "description": "Passed with note: why a call (or step) that failed on its hold check counts as passed.\n`hold_unconfirmed`: the call reached hold and the line had sound on it, but the live check\ncould not confirm music (set by the tester, `by: live`). `hold_music_rechecked`: after the\nrun, the hold detector heard music in the call's recording (`by: recheck`). `outcome` is\n`PASS` and `originalOutcome` keeps the outcome before the note. Absent on calls and steps\nwithout a note.\n",
      -        "properties": {
      -          "at": {
      -            "description": "When the note was made.",
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          "by": {
      -            "enum": [
      -              "live",
      -              "recheck"
      -            ],
      -            "type": "string"
      -          },
      -          "detail": {
      -            "description": "One plain sentence, to show as it is.",
      -            "type": "string"
      -          },
      -          "evidence": {
      -            "properties": {
      -              "detector": {
      -                "description": "The version of the hold detector that judged it.",
      -                "type": "string"
      -              },
      -              "inboundAudioActiveRatio": {
      -                "type": "number"
      -              },
      -              "musicRatio": {
      -                "type": "number"
      -              },
      -              "noiseRatio": {
      -                "type": "number"
      -              },
      -              "silenceRatio": {
      -                "type": "number"
      -              },
      -              "speechRatio": {
      -                "type": "number"
      -              },
      -              "stepIndex": {
      -                "description": "The step the note is about.",
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "window": {
      -                "description": "The part of the recording checked, in seconds after answer (re-check).",
      -                "properties": {
      -                  "fromSecs": {
      -                    "type": "number"
      -                  },
      -                  "toSecs": {
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "fromSecs",
      -                  "toSecs"
      -                ],
      -                "type": "object"
      -              }
      -            },
      -            "required": [
      -              "stepIndex"
      -            ],
      -            "type": "object"
      -          },
      -          "kind": {
      -            "enum": [
      -              "hold_unconfirmed",
      -              "hold_music_rechecked"
      -            ],
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "kind",
      -          "by",
      -          "at",
      -          "detail",
      -          "evidence"
      -        ],
      -        "type": "object"
      -      },
      -      "workspaceId": {
      -        "example": "<workspace-id>",
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "workspaceId",
      -      "status",
      -      "startedAt"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "config": {
      -        "description": "Scripted regression test plan. A `TestConfig` is a reusable plan of ordered `TestStep`s\nthat callers re-run against a phone number via `POST /testing/runs`.\n",
      -        "properties": {
      -          "backgroundNoise": {
      -            "allOf": [
      -              {
      -                "description": "Caller background noise: café chatter, city street traffic, home (children and a\nbaby crying) or wind buffeting. The level is fixed per sound.\n",
      -                "enum": [
      -                  "cafe",
      -                  "street",
      -                  "home",
      -                  "wind"
      -                ],
      -                "example": "cafe",
      -                "type": "string"
      -              }
      -            ],
      -            "description": "Caller background noise played under the call. Omit for none.\n"
      -          },
      -          "carrierRouteId": {
      -            "description": "Bring-your-own-carrier (invite-only). Dial this config's calls through one of the\nworkspace's carrier routes, over the workspace's own SIP trunk, instead of nopaque's\nnetwork. Carrier routes are set up with nopaque. A config with a route dials through it\nor not at all: if the route cannot be dialled when a run starts, the run is refused and\nthe number is never called normally. A refused `POST /testing/runs` returns 409 (or 503);\na scheduled run, batch or sweep records a failed run whose `errorMessage` says why; a\nload test fails before it starts. Carrier calls are metered as `carrier_testing`\n(load tests: `carrier_load_testing`), not `testing`.\nOmitted when the config dials normally.\n",
      -            "example": "<carrier-route-id>",
      -            "maxLength": 128,
      -            "type": "string"
      -          },
      -          "createdAt": {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          "createdBy": {
      -            "description": "User ID of the creator.",
      -            "example": "<user-id>",
      -            "type": "string"
      -          },
      -          "description": {
      -            "type": "string"
      -          },
      -          "id": {
      -            "example": "<test-config-id>",
      -            "format": "uuid",
      -            "type": "string"
      -          },
      -          "language": {
      -            "allOf": [
      -              {
      -                "description": "The transcription language of a STANDARD test or a MAPPING run — the\nlanguage the callee is expected to speak, used to transcribe the call.\nAbsent means `en-GB`: every omit path is unchanged, so an existing\nconfig without the field transcribes as British English exactly as\nbefore. Anything outside this set is rejected with 400.\n\nThe English variants lead, then `multi` (code-switching), then the\nremaining languages alphabetically by display label. Mirrors\n`api/packages/core/transcription/languages.ts` (Zod) — the single\nsource of truth; a drift test keeps this enum equal to it.\n\nDISTINCT from `CallLanguage`, which is the language a MISSION test\ncall is held in. The two lists do not overlap cleanly and are not\ninterchangeable: bare `en` is a valid `CallLanguage` and is INVALID\nhere (use `en-GB` or `en-US`), and most codes here are not call\nlanguages at all.\n",
      -                "enum": [
      -                  "en-GB",
      -                  "en-US",
      -                  "en-AU",
      -                  "en-IN",
      -                  "en-NZ",
      -                  "multi",
      -                  "ar",
      -                  "be",
      -                  "bn",
      -                  "bs",
      -                  "bg",
      -                  "ca",
      -                  "zh-HK",
      -                  "zh",
      -                  "hr",
      -                  "cs",
      -                  "da",
      -                  "nl",
      -                  "et",
      -                  "fi",
      -                  "nl-BE",
      -                  "fr",
      -                  "de",
      -                  "el",
      -                  "gu",
      -                  "he",
      -                  "hi",
      -                  "hu",
      -                  "id",
      -                  "it",
      -                  "ja",
      -                  "kn",
      -                  "ko",
      -                  "lv",
      -                  "lt",
      -                  "mk",
      -                  "ms",
      -                  "mr",
      -                  "no",
      -                  "fa",
      -                  "pl",
      -                  "pt",
      -                  "ro",
      -                  "ru",
      -                  "sr",
      -                  "sk",
      -                  "sl",
      -                  "es",
      -                  "sv",
      -                  "tl",
      -                  "ta",
      -                  "te",
      -                  "th",
      -                  "tr",
      -                  "uk",
      -                  "ur",
      -                  "vi"
      -                ],
      -                "example": "en-GB",
      -                "type": "string"
      -              }
      -            ],
      -            "description": "Transcription language the config's calls are transcribed in.\nResolved to `en-GB` when the config was created without one, so\nevery config created since the field existed carries a value;\nconfigs saved before it have none, which also means `en-GB`.\n",
      -            "example": "en-GB"
      -          },
      -          "maxDurationSecs": {
      -            "description": "Whole-call ceiling in seconds. When omitted the tester applies its own default of 300.\nEvery `hold` step's `durationSecs` must fit inside it.\n",
      -            "example": 600,
      -            "maximum": 1800,
      -            "minimum": 30,
      -            "type": "integer"
      -          },
      -          "name": {
      -            "example": "Main menu regression",
      -            "type": "string"
      -          },
      -          "patternSettings": {
      -            "allOf": [
      -              {
      -                "additionalProperties": false,
      -                "description": "Thresholds and re-prompt phrases that load-test failure patterns use for this IVR. Every\nfield is optional; an omitted one uses the platform default.\n",
      -                "properties": {
      -                  "lateAnswerSecs": {
      -                    "description": "Seconds from answer to the IVR's first speech above which a call counts as a late start\n(and a failure can be \"late answer, straight to hold\"). Default 6.\n",
      -                    "example": 6,
      -                    "exclusiveMinimum": 0,
      -                    "maximum": 120,
      -                    "type": "number"
      -                  },
      -                  "repromptPhrases": {
      -                    "description": "Phrases that mean the IVR is re-prompting (\"did not understand us\"). Replace the\ndefaults: \"I didn't get that\", \"sorry, I didn't catch\", \"please say\".\n",
      -                    "example": [
      -                      "I didn't get that",
      -                      "please say"
      -                    ],
      -                    "items": {
      -                      "maxLength": 200,
      -                      "minLength": 1,
      -                      "type": "string"
      -                    },
      -                    "maxItems": 20,
      -                    "type": "array"
      -                  },
      -                  "silentTailSecs": {
      -                    "description": "Seconds of silence from the IVR, after our reply and up to hangup, for \"silent after our\nreply\". Default 10.\n",
      -                    "example": 10,
      -                    "exclusiveMinimum": 0,
      -                    "maximum": 600,
      -                    "type": "number"
      -                  }
      -                },
      -                "type": "object"
      -              }
      -            ],
      -            "description": "Load-test failure-pattern thresholds and re-prompt phrases for this IVR. Omit for the\nplatform defaults.\n"
      -          },
      -          "phoneNumber": {
      -            "description": "E.164-formatted phone number the test calls.",
      -            "example": "+442012345678",
      -            "type": "string"
      -          },
      -          "profileId": {
      -            "description": "Voice / data profile for `standard` configs only. Omitted for `parameterized`.",
      -            "type": "string"
      -          },
      -          "requiredParameters": {
      -            "description": "Required parameter labels for `parameterized` configs only.",
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "scheduleId": {
      -            "description": "Schedule that triggers automated runs (use `template:<id>` to create from a built-in template).",
      -            "type": "string"
      -          },
      -          "steps": {
      -            "items": {
      -              "description": "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",
      -              "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 (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"
      -                }
      -              },
      -              "required": [
      -                "id",
      -                "name",
      -                "type"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "type": {
      -            "description": "`standard` runs the steps as-is; `parameterized` requires `requiredParameters` filled\nat run-time (sweep / batch dispatchers supply them).\n",
      -            "enum": [
      -              "standard",
      -              "parameterized"
      -            ],
      -            "example": "standard",
      -            "type": "string"
      -          },
      -          "updatedAt": {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          "version": {
      -            "description": "Bumped on every update — clients can use for optimistic concurrency.",
      -            "example": 1,
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          "workspaceId": {
      -            "example": "<workspace-id>",
      -            "format": "uuid",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "workspaceId",
      -          "name",
      -          "phoneNumber",
      -          "steps",
      -          "version",
      -          "createdAt",
      -          "updatedAt",
      -          "createdBy"
      -        ],
      -        "type": "object"
      -      },
      -      "dtmfMarkers": {
      -        "description": "Standard tests only: when the tester sent DTMF, relative to the start of the\nrecording. Absent when the run sent no digits (never `null` or empty).\n",
      -        "items": {
      -          "description": "One DTMF send on a standard test. `spans` (one per tone) is present only when the\ncall's audio encoding is G711 (PCMA/PCMU), where tone timing is known.\n",
      -          "properties": {
      -            "digits": {
      -              "example": "1234#",
      -              "type": "string"
      -            },
      -            "durationMs": {
      -              "description": "Tone duration per digit in milliseconds.",
      -              "example": 500,
      -              "type": "number"
      -            },
      -            "encoding": {
      -              "description": "The call's stream encoding, e.g. `PCMA`.",
      -              "example": "PCMA",
      -              "type": "string"
      -            },
      -            "sentAtSec": {
      -              "description": "Seconds from the start of the recording when the digits were sent.",
      -              "example": 12.4,
      -              "type": "number"
      -            },
      -            "spans": {
      -              "items": {
      -                "properties": {
      -                  "digit": {
      -                    "example": "1",
      -                    "type": "string"
      -                  },
      -                  "endSec": {
      -                    "type": "number"
      -                  },
      -                  "startSec": {
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "digit",
      -                  "startSec",
      -                  "endSec"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "digits",
      -            "sentAtSec",
      -            "durationMs"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "stepResults": {
      -        "items": {
      -          "description": "Per-step execution outcome attached to a `TestRun`. Returned by `GET /testing/runs/{id}`.\n",
      -          "properties": {
      -            "actionType": {
      -              "description": "One of `dtmf`, `audio`, `listen`, `wait_for_callback` or `hold` if the step took an action.\n`hold` results carry `threshold` 0, `expectedTranscript` '' and `similarity` 0, which are\nplaceholders and not a match score. Outcome PASS means the hold elapsed; FAIL with\n`turnTelemetry.hold.endedBy` = `call_ended` means the far end hung up first.\n",
      -              "type": "string"
      -            },
      -            "actionValue": {
      -              "type": "string"
      -            },
      -            "actualTranscript": {
      -              "type": "string"
      -            },
      -            "createdAt": {
      -              "format": "date-time",
      -              "type": "string"
      -            },
      -            "duration": {
      -              "description": "Step duration in seconds (or `undefined` if the step did not run).",
      -              "type": "number"
      -            },
      -            "errorMessage": {
      -              "type": "string"
      -            },
      -            "expectedTranscript": {
      -              "type": "string"
      -            },
      -            "id": {
      -              "format": "uuid",
      -              "type": "string"
      -            },
      -            "matchedAnswer": {
      -              "description": "Which wording matched, set on a pass when the step's `acceptAdditionalAnswers` is on:\n0 is the step's `expected`, n is `additionalAnswers[n-1]`. Absent otherwise.\n",
      -              "example": 0,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "matcherScores": {
      -              "additionalProperties": {
      -                "type": "number"
      -              },
      -              "type": "object"
      -            },
      -            "originalOutcome": {
      -              "description": "Passed with note: the step's outcome before a `verdictNote` changed it to `PASS`. Absent\nunless a note changed the outcome.\n",
      -              "enum": [
      -                "FAIL",
      -                "TIMEOUT"
      -              ],
      -              "type": "string"
      -            },
      -            "outcome": {
      -              "enum": [
      -                "PASS",
      -                "FAIL",
      -                "TIMEOUT",
      -                "ERROR"
      -              ],
      -              "type": "string"
      -            },
      -            "runId": {
      -              "format": "uuid",
      -              "type": "string"
      -            },
      -            "similarity": {
      -              "maximum": 100,
      -              "minimum": 0,
      -              "type": "number"
      -            },
      -            "stepId": {
      -              "format": "uuid",
      -              "type": "string"
      -            },
      -            "stepIndex": {
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "stepName": {
      -              "type": "string"
      -            },
      -            "threshold": {
      -              "type": "integer"
      -            },
      -            "turnTelemetry": {
      -              "additionalProperties": true,
      -              "description": "Per-step / per-turn telemetry. Nested onto `TestStepResult.turnTelemetry`\n(per-step containers) and `CallTelemetry.turns[]` (turn-based containers\nsuch as mission-tester / voice-agent).\n",
      -              "properties": {
      -                "conversationTurn": {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "role": {
      -                      "enum": [
      -                        "user",
      -                        "assistant",
      -                        "system"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    "text": {
      -                      "type": "string"
      -                    },
      -                    "timestamp": {
      -                      "format": "date-time",
      -                      "type": "string"
      -                    },
      -                    "turnIndex": {
      -                      "type": "number"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "dtmf": {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "completedAt": {
      -                      "format": "date-time",
      -                      "type": "string"
      -                    },
      -                    "digitsReceived": {
      -                      "type": "string"
      -                    },
      -                    "digitsSent": {
      -                      "type": "string"
      -                    },
      -                    "sendDurationMs": {
      -                      "type": "number"
      -                    },
      -                    "sentOnDelay": {
      -                      "type": "boolean"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "hold": {
      -                  "additionalProperties": true,
      -                  "description": "Emitted on `hold` step results. `endedBy` is `elapsed` (the full hold was served) or\n`call_ended` (the far end hung up first); it is a plain string, not an enum, so a future\ncontainer value cannot fail strict client validation.\n",
      -                  "properties": {
      -                    "endedBy": {
      -                      "description": "`elapsed` or `call_ended`.",
      -                      "type": "string"
      -                    },
      -                    "heldSecs": {
      -                      "type": "number"
      -                    },
      -                    "inboundAudioActiveRatio": {
      -                      "type": "number"
      -                    },
      -                    "inboundChunks": {
      -                      "type": "number"
      -                    },
      -                    "requestedSecs": {
      -                      "type": "number"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "llmExtraction": {
      -                  "additionalProperties": true,
      -                  "description": "LLM extraction telemetry — model, token counts, latency and hallucination flag.",
      -                  "properties": {
      -                    "hallucinationDetected": {
      -                      "type": "boolean"
      -                    },
      -                    "inputTokens": {
      -                      "type": "number"
      -                    },
      -                    "latencyMs": {
      -                      "type": "number"
      -                    },
      -                    "model": {
      -                      "type": "string"
      -                    },
      -                    "operation": {
      -                      "type": "string"
      -                    },
      -                    "outputTokens": {
      -                      "type": "number"
      -                    },
      -                    "reasoning": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "schemaVersion": {
      -                  "enum": [
      -                    1
      -                  ],
      -                  "type": "integer"
      -                },
      -                "timing": {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "durationMs": {
      -                      "type": "number"
      -                    },
      -                    "endedAt": {
      -                      "format": "date-time",
      -                      "type": "string"
      -                    },
      -                    "responseLatencyMs": {
      -                      "description": "Per-turn response latency (bot/IVR turn-around) in milliseconds.",
      -                      "type": "number"
      -                    },
      -                    "startedAt": {
      -                      "format": "date-time",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "transcript": {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "avgWordConfidence": {
      -                      "type": "number"
      -                    },
      -                    "detectedLanguage": {
      -                      "type": "string"
      -                    },
      -                    "minWordConfidence": {
      -                      "type": "number"
      -                    },
      -                    "wordCount": {
      -                      "type": "number"
      -                    },
      -                    "words": {
      -                      "items": {
      -                        "properties": {
      -                          "confidence": {
      -                            "type": "number"
      -                          },
      -                          "endMs": {
      -                            "type": "number"
      -                          },
      -                          "startMs": {
      -                            "type": "number"
      -                          },
      -                          "word": {
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "word",
      -                          "startMs",
      -                          "endMs"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      "type": "array"
      -                    }
      -                  },
      -                  "type": "object"
      -                }
      -              },
      -              "required": [
      -                "schemaVersion"
      -              ],
      -              "type": "object"
      -            },
      -            "verdictNote": {
      -              "description": "Passed with note: why a call (or step) that failed on its hold check counts as passed.\n`hold_unconfirmed`: the call reached hold and the line had sound on it, but the live check\ncould not confirm music (set by the tester, `by: live`). `hold_music_rechecked`: after the\nrun, the hold detector heard music in the call's recording (`by: recheck`). `outcome` is\n`PASS` and `originalOutcome` keeps the outcome before the note. Absent on calls and steps\nwithout a note.\n",
      -              "properties": {
      -                "at": {
      -                  "description": "When the note was made.",
      -                  "format": "date-time",
      -                  "type": "string"
      -                },
      -                "by": {
      -                  "enum": [
      -                    "live",
      -                    "recheck"
      -                  ],
      -                  "type": "string"
      -                },
      -                "detail": {
      -                  "description": "One plain sentence, to show as it is.",
      -                  "type": "string"
      -                },
      -                "evidence": {
      -                  "properties": {
      -                    "detector": {
      -                      "description": "The version of the hold detector that judged it.",
      -                      "type": "string"
      -                    },
      -                    "inboundAudioActiveRatio": {
      -                      "type": "number"
      -                    },
      -                    "musicRatio": {
      -                      "type": "number"
      -                    },
      -                    "noiseRatio": {
      -                      "type": "number"
      -                    },
      -                    "silenceRatio": {
      -                      "type": "number"
      -                    },
      -                    "speechRatio": {
      -                      "type": "number"
      -                    },
      -                    "stepIndex": {
      -                      "description": "The step the note is about.",
      -                      "minimum": 0,
      -                      "type": "integer"
      -                    },
      -                    "window": {
      -                      "description": "The part of the recording checked, in seconds after answer (re-check).",
      -                      "properties": {
      -                        "fromSecs": {
      -                          "type": "number"
      -                        },
      -                        "toSecs": {
      -                          "type": "number"
      -                        }
      -                      },
      -                      "required": [
      -                        "fromSecs",
      -                        "toSecs"
      -                      ],
      -                      "type": "object"
      -                    }
      -                  },
      -                  "required": [
      -                    "stepIndex"
      -                  ],
      -                  "type": "object"
      -                },
      -                "kind": {
      -                  "enum": [
      -                    "hold_unconfirmed",
      -                    "hold_music_rechecked"
      -                  ],
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "kind",
      -                "by",
      -                "at",
      -                "detail",
      -                "evidence"
      -              ],
      -              "type": "object"
      -            },
      -            "words": {
      -              "items": {
      -                "properties": {
      -                  "confidence": {
      -                    "maximum": 1,
      -                    "minimum": 0,
      -                    "type": "number"
      -                  },
      -                  "end": {
      -                    "type": "number"
      -                  },
      -                  "start": {
      -                    "type": "number"
      -                  },
      -                  "word": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "word",
      -                  "start",
      -                  "end",
      -                  "confidence"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "id",
      -            "runId",
      -            "stepIndex",
      -            "stepId",
      -            "stepName",
      -            "outcome",
      -            "expectedTranscript",
      -            "threshold",
      -            "createdAt"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "callDurationSecs": {
      +        "description": "Real call duration in seconds (post-answer → last node), surfaced from\n`callMetadata.callDurationSecs`. Preferred over the wall-clock diff\n(`completedAt − startedAt`), which inflates by 100–150s+ from queue wait,\ncontainer start, ringing and post-call stashing. Same field billing meters on.\nRows with no tester duration (mission runs) report the container's\ncomputed call length here instead.\n",
      +        "type": "number"
      +      },
      +      "callTelemetry": {
      +        "additionalProperties": true,
      +        "description": "Call-level telemetry captured during an IVR test call, nested onto\n`TestRun.callTelemetry`. Populated for standard, mission and compliance\nruns by the tester / mission-tester containers.\nnopaque's own carrier cost is internal and is never returned.\n",
      +        "properties": {
      +          "audio": {
      +            "additionalProperties": true,
      +            "properties": {
      +              "audioDurationSecs": {
      +                "type": "number"
      +              },
      +              "audioFormat": {
      +                "enum": [
      +                  "wav",
      +                  "mp3",
      +                  "wav-mp3-payload"
      +                ],
      +                "type": "string"
      +              },
      +              "audioId": {
      +                "type": "string"
      +              },
      +              "audioS3Key": {
      +                "type": "string"
      +              },
      +              "audioSizeBytes": {
      +                "type": "number"
      +              },
      +              "coverage": {
      +                "description": "Fraction of the call containing speech (0–1).",
      +                "type": "number"
      +              },
      +              "maxSilenceSecs": {
      +                "type": "number"
      +              },
      +              "noiseFloorEnergy": {
      +                "type": "number"
      +              },
      +              "speechChunks": {
      +                "type": "number"
      +              },
      +              "speechEndOffsetSecs": {
      +                "type": "number"
      +              },
      +              "telnyxRecordingId": {
      +                "type": "string"
      +              },
      +              "totalChunks": {
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "backgroundNoise": {
      +            "description": "Standard tests: the background-noise bed the call played (see `BackgroundNoise`).\nAbsent when no noise was configured.\n",
      +            "example": "cafe",
      +            "type": "string"
      +          },
      +          "backgroundNoiseError": {
      +            "description": "Standard tests: why the background-noise bed failed to start. The call still ran,\nwithout noise. Absent when the bed started or no noise was configured.\n",
      +            "type": "string"
      +          },
      +          "mode": {
      +            "additionalProperties": true,
      +            "properties": {
      +              "detected": {
      +                "enum": [
      +                  "voice",
      +                  "dtmf",
      +                  "hybrid",
      +                  "unknown"
      +                ],
      +                "type": "string"
      +              },
      +              "dtmfInboundDetected": {
      +                "type": "boolean"
      +              },
      +              "dtmfTurnCount": {
      +                "type": "number"
      +              },
      +              "voiceTurnCount": {
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "quality": {
      +            "additionalProperties": true,
      +            "description": "Voice-quality metrics (MOS, jitter, packet loss) per direction.",
      +            "properties": {
      +              "codec": {
      +                "type": "string"
      +              },
      +              "inboundJitterMaxVarianceMs": {
      +                "type": "number"
      +              },
      +              "inboundMos": {
      +                "description": "Inbound mean opinion score (call-quality estimate, ~1–5).",
      +                "type": "number"
      +              },
      +              "inboundPacketCount": {
      +                "type": "number"
      +              },
      +              "inboundPacketsLost": {
      +                "type": "number"
      +              },
      +              "outboundJitterMaxVarianceMs": {
      +                "type": "number"
      +              },
      +              "outboundMos": {
      +                "type": "number"
      +              },
      +              "outboundPacketCount": {
      +                "type": "number"
      +              },
      +              "outboundPacketsLost": {
      +                "type": "number"
      +              },
      +              "sampleRateHz": {
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "schemaVersion": {
      +            "enum": [
      +              1
      +            ],
      +            "type": "integer"
      +          },
      +          "telephony": {
      +            "additionalProperties": true,
      +            "properties": {
      +              "callLegId": {
      +                "type": "string"
      +              },
      +              "callSessionId": {
      +                "type": "string"
      +              },
      +              "hangupCause": {
      +                "type": "string"
      +              },
      +              "hangupSource": {
      +                "type": "string"
      +              },
      +              "initiatedByUs": {
      +                "type": "boolean"
      +              },
      +              "sipHangupCause": {
      +                "type": "string"
      +              },
      +              "streamingFailureReason": {
      +                "type": "string"
      +              },
      +              "streamingFailures": {
      +                "description": "Times our audio stream to the call failed to connect (a test-platform fault, not the system under test).",
      +                "type": "integer"
      +              },
      +              "telnyxConnectionId": {
      +                "type": "string"
      +              },
      +              "terminalStatus": {
      +                "enum": [
      +                  "completed",
      +                  "failed",
      +                  "aborted_by_duration",
      +                  "aborted_by_cost",
      +                  "aborted_by_inactivity",
      +                  "aborted_mid_stream",
      +                  "aborted_by_reaper",
      +                  "no_answer"
      +                ],
      +                "type": "string"
      +              },
      +              "terminationReason": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "timing": {
      +            "additionalProperties": true,
      +            "description": "Call-level latency landmarks.",
      +            "properties": {
      +              "answerToFirstUtteranceMs": {
      +                "description": "Time-to-first-response — answer to first utterance, in milliseconds.",
      +                "type": "number"
      +              },
      +              "answeredAt": {
      +                "format": "date-time",
      +                "type": "string"
      +              },
      +              "dialToAnswerMs": {
      +                "description": "Ring latency — dial to answer, in milliseconds.",
      +                "type": "number"
      +              },
      +              "dialedAt": {
      +                "format": "date-time",
      +                "type": "string"
      +              },
      +              "endedAt": {
      +                "format": "date-time",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "turns": {
      +            "description": "Per-turn telemetry breakdown for turn-based containers.",
      +            "items": {
      +              "additionalProperties": true,
      +              "description": "Per-step / per-turn telemetry. Nested onto `TestStepResult.turnTelemetry`\n(per-step containers) and `CallTelemetry.turns[]` (turn-based containers\nsuch as mission-tester / voice-agent).\n",
      +              "properties": {
      +                "conversationTurn": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "role": {
      +                      "enum": [
      +                        "user",
      +                        "assistant",
      +                        "system"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "text": {
      +                      "type": "string"
      +                    },
      +                    "timestamp": {
      +                      "format": "date-time",
      +                      "type": "string"
      +                    },
      +                    "turnIndex": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "dtmf": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "completedAt": {
      +                      "format": "date-time",
      +                      "type": "string"
      +                    },
      +                    "digitsReceived": {
      +                      "type": "string"
      +                    },
      +                    "digitsSent": {
      +                      "type": "string"
      +                    },
      +                    "sendDurationMs": {
      +                      "type": "number"
      +                    },
      +                    "sentOnDelay": {
      +                      "type": "boolean"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "hold": {
      +                  "additionalProperties": true,
      +                  "description": "Emitted on `hold` step results. `endedBy` is `elapsed` (the full hold was served) or\n`call_ended` (the far end hung up first); it is a plain string, not an enum, so a future\ncontainer value cannot fail strict client validation.\n",
      +                  "properties": {
      +                    "endedBy": {
      +                      "description": "`elapsed` or `call_ended`.",
      +                      "type": "string"
      +                    },
      +                    "heldSecs": {
      +                      "type": "number"
      +                    },
      +                    "inboundAudioActiveRatio": {
      +                      "type": "number"
      +                    },
      +                    "inboundChunks": {
      +                      "type": "number"
      +                    },
      +                    "requestedSecs": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "llmExtraction": {
      +                  "additionalProperties": true,
      +                  "description": "LLM extraction telemetry — model, token counts, latency and hallucination flag.",
      +                  "properties": {
      +                    "hallucinationDetected": {
      +                      "type": "boolean"
      +                    },
      +                    "inputTokens": {
      +                      "type": "number"
      +                    },
      +                    "latencyMs": {
      +                      "type": "number"
      +                    },
      +                    "model": {
      +                      "type": "string"
      +                    },
      +                    "operation": {
      +                      "type": "string"
      +                    },
      +                    "outputTokens": {
      +                      "type": "number"
      +                    },
      +                    "reasoning": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "schemaVersion": {
      +                  "enum": [
      +                    1
      +                  ],
      +                  "type": "integer"
      +                },
      +                "timing": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "durationMs": {
      +                      "type": "number"
      +                    },
      +                    "endedAt": {
      +                      "format": "date-time",
      +                      "type": "string"
      +                    },
      +                    "responseLatencyMs": {
      +                      "description": "Per-turn response latency (bot/IVR turn-around) in milliseconds.",
      +                      "type": "number"
      +                    },
      +                    "startedAt": {
      +                      "format": "date-time",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "transcript": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "avgWordConfidence": {
      +                      "type": "number"
      +                    },
      +                    "detectedLanguage": {
      +                      "type": "string"
      +                    },
      +                    "minWordConfidence": {
      +                      "type": "number"
      +                    },
      +                    "wordCount": {
      +                      "type": "number"
      +                    },
      +                    "words": {
      +                      "items": {
      +                        "properties": {
      +                          "confidence": {
      +                            "type": "number"
      +                          },
      +                          "endMs": {
      +                            "type": "number"
      +                          },
      +                          "startMs": {
      +                            "type": "number"
      +                          },
      +                          "word": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "word",
      +                          "startMs",
      +                          "endMs"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    }
      +                  },
      +                  "type": "object"
      +                }
      +              },
      +              "required": [
      +                "schemaVersion"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "schemaVersion"
      +        ],
      +        "type": "object"
      +      },
      +      "carrier": {
      +        "description": "Bring-your-own-carrier (invite-only): the carrier route this run was dialled through,\nrecorded when the run was dispatched. It still names that route after the config's\n`carrierRouteId` is changed or removed. Absent when the run was dialled normally. See\n`GET /testing/carrier-integrations` for the route's name and settings.\n",
      +        "properties": {
      +          "integrationId": {
      +            "type": "string"
      +          },
      +          "routeId": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "integrationId",
      +          "routeId"
      +        ],
      +        "type": "object"
      +      },
      +      "carrierDetail": {
      +        "additionalProperties": true,
      +        "description": "Telnyx's record of this call, fetched once a few minutes after the call ends and stored\non the run (absent until then). `status` is `not_found` when Telnyx had no record after\nthree tries. Give `sipCallId` to your carrier or SBC team to find this exact call in\ntheir logs.\n",
      +        "properties": {
      +          "answeredAt": {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "billedSecs": {
      +            "type": "number"
      +          },
      +          "callSecs": {
      +            "type": "number"
      +          },
      +          "codec": {
      +            "type": "string"
      +          },
      +          "destination": {
      +            "additionalProperties": true,
      +            "description": "The number dialled, from a carrier lookup (refreshed every 90 days).",
      +            "properties": {
      +              "carrier": {
      +                "type": "string"
      +              },
      +              "countryCode": {
      +                "type": "string"
      +              },
      +              "lookedUpAt": {
      +                "format": "date-time",
      +                "type": "string"
      +              },
      +              "nationalFormat": {
      +                "type": "string"
      +              },
      +              "numberType": {
      +                "description": "e.g. uan (UK non-geographic), fixed line, mobile, voip.",
      +                "type": "string"
      +              },
      +              "valid": {
      +                "type": "boolean"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "destinationType": {
      +            "type": "string"
      +          },
      +          "fetchedAt": {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "finishedAt": {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "hangupCauseName": {
      +            "type": "string"
      +          },
      +          "hangupCode": {
      +            "description": "Q.850 cause code.",
      +            "type": "string"
      +          },
      +          "hangupDetails": {
      +            "description": "Who ended the call at the SIP level: send_bye (us) or recv_bye (the far end).",
      +            "type": "string"
      +          },
      +          "localCall": {
      +            "type": "boolean"
      +          },
      +          "mos": {
      +            "type": "number"
      +          },
      +          "onNet": {
      +            "type": "boolean"
      +          },
      +          "retriedInternally": {
      +            "description": "The network re-routed the call before it connected (adds to dial-to-answer time).",
      +            "type": "boolean"
      +          },
      +          "route": {
      +            "type": "string"
      +          },
      +          "shakenStir": {
      +            "description": "STIR/SHAKEN attestation of the caller ID: A, B or C.",
      +            "type": "string"
      +          },
      +          "sipCallId": {
      +            "description": "SIP Call-ID of the call.",
      +            "type": "string"
      +          },
      +          "sipInviteFailureStatus": {
      +            "description": "SIP status when the call never connected (e.g. 486, 503).",
      +            "type": "string"
      +          },
      +          "source": {
      +            "enum": [
      +              "telnyx-detail-records"
      +            ],
      +            "type": "string"
      +          },
      +          "startedAt": {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "status": {
      +            "enum": [
      +              "found",
      +              "not_found"
      +            ],
      +            "type": "string"
      +          },
      +          "telnyxErrorCode": {
      +            "type": "string"
      +          },
      +          "version": {
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "version",
      +          "status",
      +          "fetchedAt",
      +          "source"
      +        ],
      +        "type": "object"
      +      },
      +      "carrierEvents": {
      +        "additionalProperties": true,
      +        "description": "What the carrier's event log and the call recording say about this call, derived once a\nfew minutes after the call ends and stored on the run (absent until then). Times named\n`...Secs` are seconds after the call was answered. `status` is `not_found` when the carrier\nhad no events for the call after three tries, `error` when they could not be read. A source\nthat could not be read is named in `errors`; the others are still filled.\n",
      +        "properties": {
      +          "answeredAt": {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "callLegId": {
      +            "type": "string"
      +          },
      +          "commandsFailed": {
      +            "items": {
      +              "properties": {
      +                "at": {
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                "name": {
      +                  "type": "string"
      +                },
      +                "secs": {
      +                  "type": "number"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "dial": {
      +            "description": "Where the carrier was told to send the call's events and audio (host, port and path only).",
      +            "properties": {
      +              "stream": {
      +                "properties": {
      +                  "host": {
      +                    "type": "string"
      +                  },
      +                  "path": {
      +                    "type": "string"
      +                  },
      +                  "port": {
      +                    "type": "integer"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "streamTrack": {
      +                "type": "string"
      +              },
      +              "webhook": {
      +                "properties": {
      +                  "host": {
      +                    "type": "string"
      +                  },
      +                  "path": {
      +                    "type": "string"
      +                  },
      +                  "port": {
      +                    "type": "integer"
      +                  }
      +                },
      +                "type": "object"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "errors": {
      +            "properties": {
      +              "callEvents": {
      +                "type": "string"
      +              },
      +              "recording": {
      +                "type": "string"
      +              },
      +              "webhooks": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "eventCount": {
      +            "type": "integer"
      +          },
      +          "failedWebhooks": {
      +            "description": "Carrier events about this call that could not be delivered to the test platform.",
      +            "items": {
      +              "properties": {
      +                "attempts": {
      +                  "type": "integer"
      +                },
      +                "errorCodes": {
      +                  "items": {
      +                    "type": "integer"
      +                  },
      +                  "type": "array"
      +                },
      +                "eventType": {
      +                  "type": "string"
      +                },
      +                "occurredAt": {
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                "secs": {
      +                  "type": "number"
      +                },
      +                "target": {
      +                  "properties": {
      +                    "host": {
      +                      "type": "string"
      +                    },
      +                    "path": {
      +                      "type": "string"
      +                    },
      +                    "port": {
      +                      "type": "integer"
      +                    }
      +                  },
      +                  "type": "object"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "fetchedAt": {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "hangupSecs": {
      +            "type": "number"
      +          },
      +          "playbacks": {
      +            "description": "Each audio clip we asked the carrier to play, in order.",
      +            "items": {
      +              "properties": {
      +                "commandAt": {
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                "commandSecs": {
      +                  "type": "number"
      +                },
      +                "commandToStartMs": {
      +                  "type": "integer"
      +                },
      +                "durationMs": {
      +                  "type": "integer"
      +                },
      +                "endedAt": {
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                "endedSecs": {
      +                  "type": "number"
      +                },
      +                "media": {
      +                  "description": "File name of the clip.",
      +                  "type": "string"
      +                },
      +                "startedAt": {
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                "startedSecs": {
      +                  "type": "number"
      +                },
      +                "status": {
      +                  "description": "How the playback ended, e.g. completed. Absent when no end was reported.",
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "recording": {
      +            "description": "Answer timing measured on the two-channel call recording (the system under test on one\nchannel, us on the other). Seconds from the start of the recording, which starts at answer.\n",
      +            "properties": {
      +              "durationSecs": {
      +                "type": "number"
      +              },
      +              "ivrFirstAudioSecs": {
      +                "description": "When the system under test first made sound.",
      +                "type": "number"
      +              },
      +              "ivrSegments": {
      +                "description": "Speech from the system under test, as [start, end] pairs in seconds.",
      +                "items": {
      +                  "items": {
      +                    "type": "number"
      +                  },
      +                  "maxItems": 2,
      +                  "minItems": 2,
      +                  "type": "array"
      +                },
      +                "type": "array"
      +              },
      +              "ourChannel": {
      +                "type": "integer"
      +              },
      +              "status": {
      +                "description": "stereo: measured. mono: one side of the recording was lost. missing / none: no recording.",
      +                "enum": [
      +                  "stereo",
      +                  "mono",
      +                  "missing",
      +                  "unsupported",
      +                  "none"
      +                ],
      +                "type": "string"
      +              },
      +              "turns": {
      +                "description": "One per stretch of our audio.",
      +                "items": {
      +                  "properties": {
      +                    "answerGapSecs": {
      +                      "description": "ourOnsetSecs minus ivrPromptEndSecs. About 1 s is normal.",
      +                      "type": "number"
      +                    },
      +                    "ivrPromptEndSecs": {
      +                      "description": "End of the last prompt that had finished before we started.",
      +                      "type": "number"
      +                    },
      +                    "ivrSpeakingSinceSecs": {
      +                      "description": "Present when the system under test was already speaking when we started: when it began.",
      +                      "type": "number"
      +                    },
      +                    "ourEndSecs": {
      +                      "type": "number"
      +                    },
      +                    "ourOnsetSecs": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "source": {
      +            "enum": [
      +              "telnyx-call-events"
      +            ],
      +            "type": "string"
      +          },
      +          "status": {
      +            "enum": [
      +              "found",
      +              "not_found",
      +              "error"
      +            ],
      +            "type": "string"
      +          },
      +          "streaming": {
      +            "description": "The media stream to the test platform starting, stopping or failing.",
      +            "items": {
      +              "properties": {
      +                "at": {
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                "event": {
      +                  "enum": [
      +                    "started",
      +                    "stopped",
      +                    "failed"
      +                  ],
      +                  "type": "string"
      +                },
      +                "failureReason": {
      +                  "type": "string"
      +                },
      +                "secs": {
      +                  "type": "number"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "version": {
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "version",
      +          "status",
      +          "fetchedAt",
      +          "source",
      +          "callLegId"
      +        ],
      +        "type": "object"
      +      },
      +      "completedAt": {
      +        "example": "2026-05-13T10:05:00Z",
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "createdAt": {
      +        "example": "2026-05-13T10:00:00Z",
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "failurePattern": {
      +        "description": "Load-test calls that did not pass: why the call failed, as a named pattern with an owner and\nthe values that put it there (`evidence`). Absent on passed calls, and on calls not yet\nclassified. `rulesVersion` says which version of the rules produced it.\n",
      +        "properties": {
      +          "evidence": {
      +            "additionalProperties": {
      +              "type": [
      +                "string",
      +                "number",
      +                "boolean",
      +                "null"
      +              ]
      +            },
      +            "type": "object"
      +          },
      +          "failedStepIndex": {
      +            "type": "integer"
      +          },
      +          "id": {
      +            "enum": [
      +              "P1",
      +              "P2",
      +              "P2a",
      +              "P2b",
      +              "P2c",
      +              "P2d",
      +              "P3",
      +              "P4",
      +              "P5",
      +              "P6",
      +              "P7",
      +              "P7a",
      +              "P8",
      +              "P9",
      +              "P10",
      +              "UNCLASSIFIED"
      +            ],
      +            "type": "string"
      +          },
      +          "label": {
      +            "example": "Late answer, straight to hold",
      +            "type": "string"
      +          },
      +          "owner": {
      +            "enum": [
      +              "platform",
      +              "carrier",
      +              "system-under-test",
      +              "test-definition",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          },
      +          "rulesVersion": {
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "owner",
      +          "label",
      +          "rulesVersion",
      +          "evidence"
      +        ],
      +        "type": "object"
      +      },
      +      "id": {
      +        "example": "<run-id>",
      +        "format": "uuid",
      +        "type": "string"
      +      },
      +      "lateStart": {
      +        "description": "Load-test calls: true when the system under test first spoke later after answer than the\ntest's late-answer threshold (6 s by default), on passed and failed calls alike. Absent\nwhen nothing measured it.\n",
      +        "type": "boolean"
      +      },
      +      "originalOutcome": {
      +        "description": "Passed with note: the call's outcome before a `verdictNote` changed it to `PASS`. Absent\nunless a note changed the outcome.\n",
      +        "enum": [
      +          "FAIL"
      +        ],
      +        "type": "string"
      +      },
      +      "outcome": {
      +        "description": "Unified run outcome — see MissionTestRun.outcome. Optional/nullable for historical rows pre-backfill.",
      +        "enum": [
      +          "PASS",
      +          "FAIL",
      +          "ERROR",
      +          "INCONCLUSIVE",
      +          "pending"
      +        ],
      +        "nullable": true,
      +        "type": "string"
      +      },
      +      "phoneNumber": {
      +        "example": "+442012345678",
      +        "type": "string"
      +      },
      +      "startedAt": {
      +        "example": "2026-05-13T10:00:00Z",
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "status": {
      +        "enum": [
      +          "pending",
      +          "running",
      +          "completed",
      +          "failed",
      +          "cancelled",
      +          "awaiting_callback"
      +        ],
      +        "example": "pending",
      +        "type": "string"
      +      },
      +      "testConfigId": {
      +        "example": "<test-config-id>",
      +        "format": "uuid",
      +        "type": "string"
      +      },
      +      "verdictNote": {
      +        "description": "Passed with note: why a call (or step) that failed on its hold check counts as passed.\n`hold_unconfirmed`: the call reached hold and the line had sound on it, but the live check\ncould not confirm music (set by the tester, `by: live`). `hold_music_rechecked`: after the\nrun, the hold detector heard music in the call's recording (`by: recheck`). `outcome` is\n`PASS` and `originalOutcome` keeps the outcome before the note. Absent on calls and steps\nwithout a note.\n",
      +        "properties": {
      +          "at": {
      +            "description": "When the note was made.",
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "by": {
      +            "enum": [
      +              "live",
      +              "recheck"
      +            ],
      +            "type": "string"
      +          },
      +          "detail": {
      +            "description": "One plain sentence, to show as it is.",
      +            "type": "string"
      +          },
      +          "evidence": {
      +            "properties": {
      +              "detector": {
      +                "description": "The version of the hold detector that judged it.",
      +                "type": "string"
      +              },
      +              "inboundAudioActiveRatio": {
      +                "type": "number"
      +              },
      +              "musicRatio": {
      +                "type": "number"
      +              },
      +              "noiseRatio": {
      +                "type": "number"
      +              },
      +              "silenceRatio": {
      +                "type": "number"
      +              },
      +              "speechRatio": {
      +                "type": "number"
      +              },
      +              "stepIndex": {
      +                "description": "The step the note is about.",
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "window": {
      +                "description": "The part of the recording checked, in seconds after answer (re-check).",
      +                "properties": {
      +                  "fromSecs": {
      +                    "type": "number"
      +                  },
      +                  "toSecs": {
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "fromSecs",
      +                  "toSecs"
      +                ],
      +                "type": "object"
      +              }
      +            },
      +            "required": [
      +              "stepIndex"
      +            ],
      +            "type": "object"
      +          },
      +          "kind": {
      +            "enum": [
      +              "hold_unconfirmed",
      +              "hold_music_rechecked"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "kind",
      +          "by",
      +          "at",
      +          "detail",
      +          "evidence"
      +        ],
      +        "type": "object"
      +      },
      +      "workspaceId": {
      +        "example": "<workspace-id>",
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "workspaceId",
      +      "status",
      +      "startedAt"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "config": {
      +        "description": "Scripted regression test plan. A `TestConfig` is a reusable plan of ordered `TestStep`s\nthat callers re-run against a phone number via `POST /testing/runs`.\n",
      +        "properties": {
      +          "backgroundNoise": {
      +            "allOf": [
      +              {
      +                "description": "Caller background noise: café chatter, city street traffic, home (children and a\nbaby crying) or wind buffeting. The level is fixed per sound.\n",
      +                "enum": [
      +                  "cafe",
      +                  "street",
      +                  "home",
      +                  "wind"
      +                ],
      +                "example": "cafe",
      +                "type": "string"
      +              }
      +            ],
      +            "description": "Caller background noise played under the call. Omit for none.\n"
      +          },
      +          "carrierRouteId": {
      +            "description": "Bring-your-own-carrier (invite-only). Dial this config's calls through one of the\nworkspace's carrier routes, over the workspace's own SIP trunk, instead of nopaque's\nnetwork. Carrier routes are set up with nopaque. A config with a route dials through it\nor not at all: if the route cannot be dialled when a run starts, the run is refused and\nthe number is never called normally. A refused `POST /testing/runs` returns 409 (or 503);\na scheduled run, batch or sweep records a failed run whose `errorMessage` says why; a\nload test fails before it starts. Carrier calls are metered as `carrier_testing`\n(load tests: `carrier_load_testing`), not `testing`.\nOmitted when the config dials normally.\n",
      +            "example": "<carrier-route-id>",
      +            "maxLength": 128,
      +            "type": "string"
      +          },
      +          "createdAt": {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "createdBy": {
      +            "description": "User ID of the creator.",
      +            "example": "<user-id>",
      +            "type": "string"
      +          },
      +          "description": {
      +            "type": "string"
      +          },
      +          "id": {
      +            "example": "<test-config-id>",
      +            "format": "uuid",
      +            "type": "string"
      +          },
      +          "language": {
      +            "allOf": [
      +              {
      +                "description": "The transcription language of a STANDARD test or a MAPPING run — the\nlanguage the callee is expected to speak, used to transcribe the call.\nAbsent means `en-GB`: every omit path is unchanged, so an existing\nconfig without the field transcribes as British English exactly as\nbefore. Anything outside this set is rejected with 400.\n\nThe English variants lead, then `multi` (code-switching), then the\nremaining languages alphabetically by display label. Mirrors\n`api/packages/core/transcription/languages.ts` (Zod) — the single\nsource of truth; a drift test keeps this enum equal to it.\n\nDISTINCT from `CallLanguage`, which is the language a MISSION test\ncall is held in. The two lists do not overlap cleanly and are not\ninterchangeable: bare `en` is a valid `CallLanguage` and is INVALID\nhere (use `en-GB` or `en-US`), and most codes here are not call\nlanguages at all.\n",
      +                "enum": [
      +                  "en-GB",
      +                  "en-US",
      +                  "en-AU",
      +                  "en-IN",
      +                  "en-NZ",
      +                  "multi",
      +                  "ar",
      +                  "be",
      +                  "bn",
      +                  "bs",
      +                  "bg",
      +                  "ca",
      +                  "zh-HK",
      +                  "zh",
      +                  "hr",
      +                  "cs",
      +                  "da",
      +                  "nl",
      +                  "et",
      +                  "fi",
      +                  "nl-BE",
      +                  "fr",
      +                  "de",
      +                  "el",
      +                  "gu",
      +                  "he",
      +                  "hi",
      +                  "hu",
      +                  "id",
      +                  "it",
      +                  "ja",
      +                  "kn",
      +                  "ko",
      +                  "lv",
      +                  "lt",
      +                  "mk",
      +                  "ms",
      +                  "mr",
      +                  "no",
      +                  "fa",
      +                  "pl",
      +                  "pt",
      +                  "ro",
      +                  "ru",
      +                  "sr",
      +                  "sk",
      +                  "sl",
      +                  "es",
      +                  "sv",
      +                  "tl",
      +                  "ta",
      +                  "te",
      +                  "th",
      +                  "tr",
      +                  "uk",
      +                  "ur",
      +                  "vi"
      +                ],
      +                "example": "en-GB",
      +                "type": "string"
      +              }
      +            ],
      +            "description": "Transcription language the config's calls are transcribed in.\nResolved to `en-GB` when the config was created without one, so\nevery config created since the field existed carries a value;\nconfigs saved before it have none, which also means `en-GB`.\n",
      +            "example": "en-GB"
      +          },
      +          "maxDurationSecs": {
      +            "description": "Whole-call ceiling in seconds. When omitted the tester applies its own default of 300.\nEvery `hold` step's `durationSecs` must fit inside it.\n",
      +            "example": 600,
      +            "maximum": 1800,
      +            "minimum": 30,
      +            "type": "integer"
      +          },
      +          "name": {
      +            "example": "Main menu regression",
      +            "type": "string"
      +          },
      +          "patternSettings": {
      +            "allOf": [
      +              {
      +                "additionalProperties": false,
      +                "description": "Thresholds and re-prompt phrases that load-test failure patterns use for this IVR. Every\nfield is optional; an omitted one uses the platform default.\n",
      +                "properties": {
      +                  "lateAnswerSecs": {
      +                    "description": "Seconds from answer to the IVR's first speech above which a call counts as a late start\n(and a failure can be \"late answer, straight to hold\"). Default 6.\n",
      +                    "example": 6,
      +                    "exclusiveMinimum": 0,
      +                    "maximum": 120,
      +                    "type": "number"
      +                  },
      +                  "repromptPhrases": {
      +                    "description": "Phrases that mean the IVR is re-prompting (\"did not understand us\"). Replace the\ndefaults: \"I didn't get that\", \"sorry, I didn't catch\", \"please say\".\n",
      +                    "example": [
      +                      "I didn't get that",
      +                      "please say"
      +                    ],
      +                    "items": {
      +                      "maxLength": 200,
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    "maxItems": 20,
      +                    "type": "array"
      +                  },
      +                  "silentTailSecs": {
      +                    "description": "Seconds of silence from the IVR, after our reply and up to hangup, for \"silent after our\nreply\". Default 10.\n",
      +                    "example": 10,
      +                    "exclusiveMinimum": 0,
      +                    "maximum": 600,
      +                    "type": "number"
      +                  }
      +                },
      +                "type": "object"
      +              }
      +            ],
      +            "description": "Load-test failure-pattern thresholds and re-prompt phrases for this IVR. Omit for the\nplatform defaults.\n"
      +          },
      +          "phoneNumber": {
      +            "description": "E.164-formatted phone number the test calls.",
      +            "example": "+442012345678",
      +            "type": "string"
      +          },
      +          "profileId": {
      +            "description": "Voice / data profile for `standard` configs only. Omitted for `parameterized`.",
      +            "type": "string"
      +          },
      +          "requiredParameters": {
      +            "description": "Required parameter labels for `parameterized` configs only.",
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "scheduleId": {
      +            "description": "Schedule that triggers automated runs (use `template:<id>` to create from a built-in template).",
      +            "type": "string"
      +          },
      +          "steps": {
      +            "items": {
      +              "allOf": [
      +                {
      +                  "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"
      +                }
      +              ],
      +              "description": "A step as stored and returned: a `TestStepInput` that always carries its `id`.\n"
      +            },
      +            "type": "array"
      +          },
      +          "type": {
      +            "description": "`standard` runs the steps as-is; `parameterized` requires `requiredParameters` filled\nat run-time (sweep / batch dispatchers supply them).\n",
      +            "enum": [
      +              "standard",
      +              "parameterized"
      +            ],
      +            "example": "standard",
      +            "type": "string"
      +          },
      +          "updatedAt": {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "version": {
      +            "description": "Bumped on every update — clients can use for optimistic concurrency.",
      +            "example": 1,
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "workspaceId": {
      +            "example": "<workspace-id>",
      +            "format": "uuid",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "workspaceId",
      +          "name",
      +          "phoneNumber",
      +          "steps",
      +          "version",
      +          "createdAt",
      +          "updatedAt",
      +          "createdBy"
      +        ],
      +        "type": "object"
      +      },
      +      "dtmfMarkers": {
      +        "description": "Standard tests only: when the tester sent DTMF, relative to the start of the\nrecording. Absent when the run sent no digits (never `null` or empty).\n",
      +        "items": {
      +          "description": "One DTMF send on a standard test. `spans` (one per tone) is present only when the\ncall's audio encoding is G711 (PCMA/PCMU), where tone timing is known.\n",
      +          "properties": {
      +            "digits": {
      +              "example": "1234#",
      +              "type": "string"
      +            },
      +            "durationMs": {
      +              "description": "Tone duration per digit in milliseconds.",
      +              "example": 500,
      +              "type": "number"
      +            },
      +            "encoding": {
      +              "description": "The call's stream encoding, e.g. `PCMA`.",
      +              "example": "PCMA",
      +              "type": "string"
      +            },
      +            "sentAtSec": {
      +              "description": "Seconds from the start of the recording when the digits were sent.",
      +              "example": 12.4,
      +              "type": "number"
      +            },
      +            "spans": {
      +              "items": {
      +                "properties": {
      +                  "digit": {
      +                    "example": "1",
      +                    "type": "string"
      +                  },
      +                  "endSec": {
      +                    "type": "number"
      +                  },
      +                  "startSec": {
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "digit",
      +                  "startSec",
      +                  "endSec"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "digits",
      +            "sentAtSec",
      +            "durationMs"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "stepResults": {
      +        "items": {
      +          "description": "Per-step execution outcome attached to a `TestRun`. Returned by `GET /testing/runs/{id}`.\n",
      +          "properties": {
      +            "actionType": {
      +              "description": "One of `dtmf`, `audio`, `listen`, `wait_for_callback` or `hold` if the step took an action.\n`hold` results carry `threshold` 0, `expectedTranscript` '' and `similarity` 0, which are\nplaceholders and not a match score. Outcome PASS means the hold elapsed; FAIL with\n`turnTelemetry.hold.endedBy` = `call_ended` means the far end hung up first.\n",
      +              "type": "string"
      +            },
      +            "actionValue": {
      +              "type": "string"
      +            },
      +            "actualTranscript": {
      +              "type": "string"
      +            },
      +            "createdAt": {
      +              "format": "date-time",
      +              "type": "string"
      +            },
      +            "duration": {
      +              "description": "Step duration in seconds (or `undefined` if the step did not run).",
      +              "type": "number"
      +            },
      +            "errorMessage": {
      +              "type": "string"
      +            },
      +            "expectedTranscript": {
      +              "type": "string"
      +            },
      +            "id": {
      +              "format": "uuid",
      +              "type": "string"
      +            },
      +            "matchedAnswer": {
      +              "description": "Which wording matched, set on a pass when the step's `acceptAdditionalAnswers` is on:\n0 is the step's `expected`, n is `additionalAnswers[n-1]`. Absent otherwise.\n",
      +              "example": 0,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "matcherScores": {
      +              "additionalProperties": {
      +                "type": "number"
      +              },
      +              "type": "object"
      +            },
      +            "originalOutcome": {
      +              "description": "Passed with note: the step's outcome before a `verdictNote` changed it to `PASS`. Absent\nunless a note changed the outcome.\n",
      +              "enum": [
      +                "FAIL",
      +                "TIMEOUT"
      +              ],
      +              "type": "string"
      +            },
      +            "outcome": {
      +              "enum": [
      +                "PASS",
      +                "FAIL",
      +                "TIMEOUT",
      +                "ERROR"
      +              ],
      +              "type": "string"
      +            },
      +            "runId": {
      +              "format": "uuid",
      +              "type": "string"
      +            },
      +            "similarity": {
      +              "maximum": 100,
      +              "minimum": 0,
      +              "type": "number"
      +            },
      +            "stepId": {
      +              "format": "uuid",
      +              "type": "string"
      +            },
      +            "stepIndex": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "stepName": {
      +              "type": "string"
      +            },
      +            "threshold": {
      +              "type": "integer"
      +            },
      +            "turnTelemetry": {
      +              "additionalProperties": true,
      +              "description": "Per-step / per-turn telemetry. Nested onto `TestStepResult.turnTelemetry`\n(per-step containers) and `CallTelemetry.turns[]` (turn-based containers\nsuch as mission-tester / voice-agent).\n",
      +              "properties": {
      +                "conversationTurn": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "role": {
      +                      "enum": [
      +                        "user",
      +                        "assistant",
      +                        "system"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "text": {
      +                      "type": "string"
      +                    },
      +                    "timestamp": {
      +                      "format": "date-time",
      +                      "type": "string"
      +                    },
      +                    "turnIndex": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "dtmf": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "completedAt": {
      +                      "format": "date-time",
      +                      "type": "string"
      +                    },
      +                    "digitsReceived": {
      +                      "type": "string"
      +                    },
      +                    "digitsSent": {
      +                      "type": "string"
      +                    },
      +                    "sendDurationMs": {
      +                      "type": "number"
      +                    },
      +                    "sentOnDelay": {
      +                      "type": "boolean"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "hold": {
      +                  "additionalProperties": true,
      +                  "description": "Emitted on `hold` step results. `endedBy` is `elapsed` (the full hold was served) or\n`call_ended` (the far end hung up first); it is a plain string, not an enum, so a future\ncontainer value cannot fail strict client validation.\n",
      +                  "properties": {
      +                    "endedBy": {
      +                      "description": "`elapsed` or `call_ended`.",
      +                      "type": "string"
      +                    },
      +                    "heldSecs": {
      +                      "type": "number"
      +                    },
      +                    "inboundAudioActiveRatio": {
      +                      "type": "number"
      +                    },
      +                    "inboundChunks": {
      +                      "type": "number"
      +                    },
      +                    "requestedSecs": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "llmExtraction": {
      +                  "additionalProperties": true,
      +                  "description": "LLM extraction telemetry — model, token counts, latency and hallucination flag.",
      +                  "properties": {
      +                    "hallucinationDetected": {
      +                      "type": "boolean"
      +                    },
      +                    "inputTokens": {
      +                      "type": "number"
      +                    },
      +                    "latencyMs": {
      +                      "type": "number"
      +                    },
      +                    "model": {
      +                      "type": "string"
      +                    },
      +                    "operation": {
      +                      "type": "string"
      +                    },
      +                    "outputTokens": {
      +                      "type": "number"
      +                    },
      +                    "reasoning": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "schemaVersion": {
      +                  "enum": [
      +                    1
      +                  ],
      +                  "type": "integer"
      +                },
      +                "timing": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "durationMs": {
      +                      "type": "number"
      +                    },
      +                    "endedAt": {
      +                      "format": "date-time",
      +                      "type": "string"
      +                    },
      +                    "responseLatencyMs": {
      +                      "description": "Per-turn response latency (bot/IVR turn-around) in milliseconds.",
      +                      "type": "number"
      +                    },
      +                    "startedAt": {
      +                      "format": "date-time",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "transcript": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "avgWordConfidence": {
      +                      "type": "number"
      +                    },
      +                    "detectedLanguage": {
      +                      "type": "string"
      +                    },
      +                    "minWordConfidence": {
      +                      "type": "number"
      +                    },
      +                    "wordCount": {
      +                      "type": "number"
      +                    },
      +                    "words": {
      +                      "items": {
      +                        "properties": {
      +                          "confidence": {
      +                            "type": "number"
      +                          },
      +                          "endMs": {
      +                            "type": "number"
      +                          },
      +                          "startMs": {
      +                            "type": "number"
      +                          },
      +                          "word": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "word",
      +                          "startMs",
      +                          "endMs"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    }
      +                  },
      +                  "type": "object"
      +                }
      +              },
      +              "required": [
      +                "schemaVersion"
      +              ],
      +              "type": "object"
      +            },
      +            "verdictNote": {
      +              "description": "Passed with note: why a call (or step) that failed on its hold check counts as passed.\n`hold_unconfirmed`: the call reached hold and the line had sound on it, but the live check\ncould not confirm music (set by the tester, `by: live`). `hold_music_rechecked`: after the\nrun, the hold detector heard music in the call's recording (`by: recheck`). `outcome` is\n`PASS` and `originalOutcome` keeps the outcome before the note. Absent on calls and steps\nwithout a note.\n",
      +              "properties": {
      +                "at": {
      +                  "description": "When the note was made.",
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                "by": {
      +                  "enum": [
      +                    "live",
      +                    "recheck"
      +                  ],
      +                  "type": "string"
      +                },
      +                "detail": {
      +                  "description": "One plain sentence, to show as it is.",
      +                  "type": "string"
      +                },
      +                "evidence": {
      +                  "properties": {
      +                    "detector": {
      +                      "description": "The version of the hold detector that judged it.",
      +                      "type": "string"
      +                    },
      +                    "inboundAudioActiveRatio": {
      +                      "type": "number"
      +                    },
      +                    "musicRatio": {
      +                      "type": "number"
      +                    },
      +                    "noiseRatio": {
      +                      "type": "number"
      +                    },
      +                    "silenceRatio": {
      +                      "type": "number"
      +                    },
      +                    "speechRatio": {
      +                      "type": "number"
      +                    },
      +                    "stepIndex": {
      +                      "description": "The step the note is about.",
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "window": {
      +                      "description": "The part of the recording checked, in seconds after answer (re-check).",
      +                      "properties": {
      +                        "fromSecs": {
      +                          "type": "number"
      +                        },
      +                        "toSecs": {
      +                          "type": "number"
      +                        }
      +                      },
      +                      "required": [
      +                        "fromSecs",
      +                        "toSecs"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  },
      +                  "required": [
      +                    "stepIndex"
      +                  ],
      +                  "type": "object"
      +                },
      +                "kind": {
      +                  "enum": [
      +                    "hold_unconfirmed",
      +                    "hold_music_rechecked"
      +                  ],
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "kind",
      +                "by",
      +                "at",
      +                "detail",
      +                "evidence"
      +              ],
      +              "type": "object"
      +            },
      +            "words": {
      +              "items": {
      +                "properties": {
      +                  "confidence": {
      +                    "maximum": 1,
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "end": {
      +                    "type": "number"
      +                  },
      +                  "start": {
      +                    "type": "number"
      +                  },
      +                  "word": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "word",
      +                  "start",
      +                  "end",
      +                  "confidence"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "runId",
      +            "stepIndex",
      +            "stepId",
      +            "stepName",
      +            "outcome",
      +            "expectedTranscript",
      +            "threshold",
      +            "createdAt"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "type": "object"
      +  }
      +]
  3. Changed1 schema field changed
    • changedOutput schema / allOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "callDurationSecs": {
      -        "description": "Real call duration in seconds (post-answer → last node), surfaced from\n`callMetadata.callDurationSecs`. Preferred over the wall-clock diff\n(`completedAt − startedAt`), which inflates by 100–150s+ from queue wait,\ncontainer start, ringing and post-call stashing. Same field billing meters on.\nRows with no tester duration (mission runs) report the container's\ncomputed call length here instead.\n",
      -        "type": "number"
      -      },
      -      "callTelemetry": {
      -        "additionalProperties": true,
      -        "description": "Call-level telemetry captured during an IVR test call, nested onto\n`TestRun.callTelemetry`. Populated for standard, mission and compliance\nruns by the tester / mission-tester containers.\nnopaque's own carrier cost is internal and is never returned.\n",
      -        "properties": {
      -          "audio": {
      -            "additionalProperties": true,
      -            "properties": {
      -              "audioDurationSecs": {
      -                "type": "number"
      -              },
      -              "audioFormat": {
      -                "enum": [
      -                  "wav",
      -                  "mp3",
      -                  "wav-mp3-payload"
      -                ],
      -                "type": "string"
      -              },
      -              "audioId": {
      -                "type": "string"
      -              },
      -              "audioS3Key": {
      -                "type": "string"
      -              },
      -              "audioSizeBytes": {
      -                "type": "number"
      -              },
      -              "coverage": {
      -                "description": "Fraction of the call containing speech (0–1).",
      -                "type": "number"
      -              },
      -              "maxSilenceSecs": {
      -                "type": "number"
      -              },
      -              "noiseFloorEnergy": {
      -                "type": "number"
      -              },
      -              "speechChunks": {
      -                "type": "number"
      -              },
      -              "speechEndOffsetSecs": {
      -                "type": "number"
      -              },
      -              "telnyxRecordingId": {
      -                "type": "string"
      -              },
      -              "totalChunks": {
      -                "type": "number"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "backgroundNoise": {
      -            "description": "Standard tests: the background-noise bed the call played (see `BackgroundNoise`).\nAbsent when no noise was configured.\n",
      -            "example": "cafe",
      -            "type": "string"
      -          },
      -          "backgroundNoiseError": {
      -            "description": "Standard tests: why the background-noise bed failed to start. The call still ran,\nwithout noise. Absent when the bed started or no noise was configured.\n",
      -            "type": "string"
      -          },
      -          "mode": {
      -            "additionalProperties": true,
      -            "properties": {
      -              "detected": {
      -                "enum": [
      -                  "voice",
      -                  "dtmf",
      -                  "hybrid",
      -                  "unknown"
      -                ],
      -                "type": "string"
      -              },
      -              "dtmfInboundDetected": {
      -                "type": "boolean"
      -              },
      -              "dtmfTurnCount": {
      -                "type": "number"
      -              },
      -              "voiceTurnCount": {
      -                "type": "number"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "quality": {
      -            "additionalProperties": true,
      -            "description": "Voice-quality metrics (MOS, jitter, packet loss) per direction.",
      -            "properties": {
      -              "codec": {
      -                "type": "string"
      -              },
      -              "inboundJitterMaxVarianceMs": {
      -                "type": "number"
      -              },
      -              "inboundMos": {
      -                "description": "Inbound mean opinion score (call-quality estimate, ~1–5).",
      -                "type": "number"
      -              },
      -              "inboundPacketCount": {
      -                "type": "number"
      -              },
      -              "inboundPacketsLost": {
      -                "type": "number"
      -              },
      -              "outboundJitterMaxVarianceMs": {
      -                "type": "number"
      -              },
      -              "outboundMos": {
      -                "type": "number"
      -              },
      -              "outboundPacketCount": {
      -                "type": "number"
      -              },
      -              "outboundPacketsLost": {
      -                "type": "number"
      -              },
      -              "sampleRateHz": {
      -                "type": "number"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "schemaVersion": {
      -            "enum": [
      -              1
      -            ],
      -            "type": "integer"
      -          },
      -          "telephony": {
      -            "additionalProperties": true,
      -            "properties": {
      -              "callLegId": {
      -                "type": "string"
      -              },
      -              "callSessionId": {
      -                "type": "string"
      -              },
      -              "hangupCause": {
      -                "type": "string"
      -              },
      -              "hangupSource": {
      -                "type": "string"
      -              },
      -              "initiatedByUs": {
      -                "type": "boolean"
      -              },
      -              "sipHangupCause": {
      -                "type": "string"
      -              },
      -              "streamingFailureReason": {
      -                "type": "string"
      -              },
      -              "streamingFailures": {
      -                "description": "Times our audio stream to the call failed to connect (a test-platform fault, not the system under test).",
      -                "type": "integer"
      -              },
      -              "telnyxConnectionId": {
      -                "type": "string"
      -              },
      -              "terminalStatus": {
      -                "enum": [
      -                  "completed",
      -                  "failed",
      -                  "aborted_by_duration",
      -                  "aborted_by_cost",
      -                  "aborted_by_inactivity",
      -                  "aborted_mid_stream",
      -                  "aborted_by_reaper",
      -                  "no_answer"
      -                ],
      -                "type": "string"
      -              },
      -              "terminationReason": {
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "timing": {
      -            "additionalProperties": true,
      -            "description": "Call-level latency landmarks.",
      -            "properties": {
      -              "answerToFirstUtteranceMs": {
      -                "description": "Time-to-first-response — answer to first utterance, in milliseconds.",
      -                "type": "number"
      -              },
      -              "answeredAt": {
      -                "format": "date-time",
      -                "type": "string"
      -              },
      -              "dialToAnswerMs": {
      -                "description": "Ring latency — dial to answer, in milliseconds.",
      -                "type": "number"
      -              },
      -              "dialedAt": {
      -                "format": "date-time",
      -                "type": "string"
      -              },
      -              "endedAt": {
      -                "format": "date-time",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "turns": {
      -            "description": "Per-turn telemetry breakdown for turn-based containers.",
      -            "items": {
      -              "additionalProperties": true,
      -              "description": "Per-step / per-turn telemetry. Nested onto `TestStepResult.turnTelemetry`\n(per-step containers) and `CallTelemetry.turns[]` (turn-based containers\nsuch as mission-tester / voice-agent).\n",
      -              "properties": {
      -                "conversationTurn": {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "role": {
      -                      "enum": [
      -                        "user",
      -                        "assistant",
      -                        "system"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    "text": {
      -                      "type": "string"
      -                    },
      -                    "timestamp": {
      -                      "format": "date-time",
      -                      "type": "string"
      -                    },
      -                    "turnIndex": {
      -                      "type": "number"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "dtmf": {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "completedAt": {
      -                      "format": "date-time",
      -                      "type": "string"
      -                    },
      -                    "digitsReceived": {
      -                      "type": "string"
      -                    },
      -                    "digitsSent": {
      -                      "type": "string"
      -                    },
      -                    "sendDurationMs": {
      -                      "type": "number"
      -                    },
      -                    "sentOnDelay": {
      -                      "type": "boolean"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "hold": {
      -                  "additionalProperties": true,
      -                  "description": "Emitted on `hold` step results. `endedBy` is `elapsed` (the full hold was served) or\n`call_ended` (the far end hung up first); it is a plain string, not an enum, so a future\ncontainer value cannot fail strict client validation.\n",
      -                  "properties": {
      -                    "endedBy": {
      -                      "description": "`elapsed` or `call_ended`.",
      -                      "type": "string"
      -                    },
      -                    "heldSecs": {
      -                      "type": "number"
      -                    },
      -                    "inboundAudioActiveRatio": {
      -                      "type": "number"
      -                    },
      -                    "inboundChunks": {
      -                      "type": "number"
      -                    },
      -                    "requestedSecs": {
      -                      "type": "number"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "llmExtraction": {
      -                  "additionalProperties": true,
      -                  "description": "LLM extraction telemetry — model, token counts, latency and hallucination flag.",
      -                  "properties": {
      -                    "hallucinationDetected": {
      -                      "type": "boolean"
      -                    },
      -                    "inputTokens": {
      -                      "type": "number"
      -                    },
      -                    "latencyMs": {
      -                      "type": "number"
      -                    },
      -                    "model": {
      -                      "type": "string"
      -                    },
      -                    "operation": {
      -                      "type": "string"
      -                    },
      -                    "outputTokens": {
      -                      "type": "number"
      -                    },
      -                    "reasoning": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "schemaVersion": {
      -                  "enum": [
      -                    1
      -                  ],
      -                  "type": "integer"
      -                },
      -                "timing": {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "durationMs": {
      -                      "type": "number"
      -                    },
      -                    "endedAt": {
      -                      "format": "date-time",
      -                      "type": "string"
      -                    },
      -                    "responseLatencyMs": {
      -                      "description": "Per-turn response latency (bot/IVR turn-around) in milliseconds.",
      -                      "type": "number"
      -                    },
      -                    "startedAt": {
      -                      "format": "date-time",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "transcript": {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "avgWordConfidence": {
      -                      "type": "number"
      -                    },
      -                    "detectedLanguage": {
      -                      "type": "string"
      -                    },
      -                    "minWordConfidence": {
      -                      "type": "number"
      -                    },
      -                    "wordCount": {
      -                      "type": "number"
      -                    },
      -                    "words": {
      -                      "items": {
      -                        "properties": {
      -                          "confidence": {
      -                            "type": "number"
      -                          },
      -                          "endMs": {
      -                            "type": "number"
      -                          },
      -                          "startMs": {
      -                            "type": "number"
      -                          },
      -                          "word": {
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "word",
      -                          "startMs",
      -                          "endMs"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      "type": "array"
      -                    }
      -                  },
      -                  "type": "object"
      -                }
      -              },
      -              "required": [
      -                "schemaVersion"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "schemaVersion"
      -        ],
      -        "type": "object"
      -      },
      -      "carrier": {
      -        "description": "Bring-your-own-carrier (invite-only): the carrier route this run was dialled through,\nrecorded when the run was dispatched. It still names that route after the config's\n`carrierRouteId` is changed or removed. Absent when the run was dialled normally. See\n`GET /testing/carrier-integrations` for the route's name and settings.\n",
      -        "properties": {
      -          "integrationId": {
      -            "type": "string"
      -          },
      -          "routeId": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "integrationId",
      -          "routeId"
      -        ],
      -        "type": "object"
      -      },
      -      "carrierDetail": {
      -        "additionalProperties": true,
      -        "description": "Telnyx's record of this call, fetched once a few minutes after the call ends and stored\non the run (absent until then). `status` is `not_found` when Telnyx had no record after\nthree tries. Give `sipCallId` to your carrier or SBC team to find this exact call in\ntheir logs.\n",
      -        "properties": {
      -          "answeredAt": {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          "billedSecs": {
      -            "type": "number"
      -          },
      -          "callSecs": {
      -            "type": "number"
      -          },
      -          "codec": {
      -            "type": "string"
      -          },
      -          "destination": {
      -            "additionalProperties": true,
      -            "description": "The number dialled, from a carrier lookup (refreshed every 90 days).",
      -            "properties": {
      -              "carrier": {
      -                "type": "string"
      -              },
      -              "countryCode": {
      -                "type": "string"
      -              },
      -              "lookedUpAt": {
      -                "format": "date-time",
      -                "type": "string"
      -              },
      -              "nationalFormat": {
      -                "type": "string"
      -              },
      -              "numberType": {
      -                "description": "e.g. uan (UK non-geographic), fixed line, mobile, voip.",
      -                "type": "string"
      -              },
      -              "valid": {
      -                "type": "boolean"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "destinationType": {
      -            "type": "string"
      -          },
      -          "fetchedAt": {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          "finishedAt": {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          "hangupCauseName": {
      -            "type": "string"
      -          },
      -          "hangupCode": {
      -            "description": "Q.850 cause code.",
      -            "type": "string"
      -          },
      -          "hangupDetails": {
      -            "description": "Who ended the call at the SIP level: send_bye (us) or recv_bye (the far end).",
      -            "type": "string"
      -          },
      -          "localCall": {
      -            "type": "boolean"
      -          },
      -          "mos": {
      -            "type": "number"
      -          },
      -          "onNet": {
      -            "type": "boolean"
      -          },
      -          "retriedInternally": {
      -            "description": "The network re-routed the call before it connected (adds to dial-to-answer time).",
      -            "type": "boolean"
      -          },
      -          "route": {
      -            "type": "string"
      -          },
      -          "shakenStir": {
      -            "description": "STIR/SHAKEN attestation of the caller ID: A, B or C.",
      -            "type": "string"
      -          },
      -          "sipCallId": {
      -            "description": "SIP Call-ID of the call.",
      -            "type": "string"
      -          },
      -          "sipInviteFailureStatus": {
      -            "description": "SIP status when the call never connected (e.g. 486, 503).",
      -            "type": "string"
      -          },
      -          "source": {
      -            "enum": [
      -              "telnyx-detail-records"
      -            ],
      -            "type": "string"
      -          },
      -          "startedAt": {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          "status": {
      -            "enum": [
      -              "found",
      -              "not_found"
      -            ],
      -            "type": "string"
      -          },
      -          "telnyxErrorCode": {
      -            "type": "string"
      -          },
      -          "version": {
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "version",
      -          "status",
      -          "fetchedAt",
      -          "source"
      -        ],
      -        "type": "object"
      -      },
      -      "carrierEvents": {
      -        "additionalProperties": true,
      -        "description": "What the carrier's event log and the call recording say about this call, derived once a\nfew minutes after the call ends and stored on the run (absent until then). Times named\n`...Secs` are seconds after the call was answered. `status` is `not_found` when the carrier\nhad no events for the call after three tries, `error` when they could not be read. A source\nthat could not be read is named in `errors`; the others are still filled.\n",
      -        "properties": {
      -          "answeredAt": {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          "callLegId": {
      -            "type": "string"
      -          },
      -          "commandsFailed": {
      -            "items": {
      -              "properties": {
      -                "at": {
      -                  "format": "date-time",
      -                  "type": "string"
      -                },
      -                "name": {
      -                  "type": "string"
      -                },
      -                "secs": {
      -                  "type": "number"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "dial": {
      -            "description": "Where the carrier was told to send the call's events and audio (host, port and path only).",
      -            "properties": {
      -              "stream": {
      -                "properties": {
      -                  "host": {
      -                    "type": "string"
      -                  },
      -                  "path": {
      -                    "type": "string"
      -                  },
      -                  "port": {
      -                    "type": "integer"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "streamTrack": {
      -                "type": "string"
      -              },
      -              "webhook": {
      -                "properties": {
      -                  "host": {
      -                    "type": "string"
      -                  },
      -                  "path": {
      -                    "type": "string"
      -                  },
      -                  "port": {
      -                    "type": "integer"
      -                  }
      -                },
      -                "type": "object"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "errors": {
      -            "properties": {
      -              "callEvents": {
      -                "type": "string"
      -              },
      -              "recording": {
      -                "type": "string"
      -              },
      -              "webhooks": {
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "eventCount": {
      -            "type": "integer"
      -          },
      -          "failedWebhooks": {
      -            "description": "Carrier events about this call that could not be delivered to the test platform.",
      -            "items": {
      -              "properties": {
      -                "attempts": {
      -                  "type": "integer"
      -                },
      -                "errorCodes": {
      -                  "items": {
      -                    "type": "integer"
      -                  },
      -                  "type": "array"
      -                },
      -                "eventType": {
      -                  "type": "string"
      -                },
      -                "occurredAt": {
      -                  "format": "date-time",
      -                  "type": "string"
      -                },
      -                "secs": {
      -                  "type": "number"
      -                },
      -                "target": {
      -                  "properties": {
      -                    "host": {
      -                      "type": "string"
      -                    },
      -                    "path": {
      -                      "type": "string"
      -                    },
      -                    "port": {
      -                      "type": "integer"
      -                    }
      -                  },
      -                  "type": "object"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "fetchedAt": {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          "hangupSecs": {
      -            "type": "number"
      -          },
      -          "playbacks": {
      -            "description": "Each audio clip we asked the carrier to play, in order.",
      -            "items": {
      -              "properties": {
      -                "commandAt": {
      -                  "format": "date-time",
      -                  "type": "string"
      -                },
      -                "commandSecs": {
      -                  "type": "number"
      -                },
      -                "commandToStartMs": {
      -                  "type": "integer"
      -                },
      -                "durationMs": {
      -                  "type": "integer"
      -                },
      -                "endedAt": {
      -                  "format": "date-time",
      -                  "type": "string"
      -                },
      -                "endedSecs": {
      -                  "type": "number"
      -                },
      -                "media": {
      -                  "description": "File name of the clip.",
      -                  "type": "string"
      -                },
      -                "startedAt": {
      -                  "format": "date-time",
      -                  "type": "string"
      -                },
      -                "startedSecs": {
      -                  "type": "number"
      -                },
      -                "status": {
      -                  "description": "How the playback ended, e.g. completed. Absent when no end was reported.",
      -                  "type": "string"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "recording": {
      -            "description": "Answer timing measured on the two-channel call recording (the system under test on one\nchannel, us on the other). Seconds from the start of the recording, which starts at answer.\n",
      -            "properties": {
      -              "durationSecs": {
      -                "type": "number"
      -              },
      -              "ivrFirstAudioSecs": {
      -                "description": "When the system under test first made sound.",
      -                "type": "number"
      -              },
      -              "ivrSegments": {
      -                "description": "Speech from the system under test, as [start, end] pairs in seconds.",
      -                "items": {
      -                  "items": {
      -                    "type": "number"
      -                  },
      -                  "maxItems": 2,
      -                  "minItems": 2,
      -                  "type": "array"
      -                },
      -                "type": "array"
      -              },
      -              "ourChannel": {
      -                "type": "integer"
      -              },
      -              "status": {
      -                "description": "stereo: measured. mono: one side of the recording was lost. missing / none: no recording.",
      -                "enum": [
      -                  "stereo",
      -                  "mono",
      -                  "missing",
      -                  "unsupported",
      -                  "none"
      -                ],
      -                "type": "string"
      -              },
      -              "turns": {
      -                "description": "One per stretch of our audio.",
      -                "items": {
      -                  "properties": {
      -                    "answerGapSecs": {
      -                      "description": "ourOnsetSecs minus ivrPromptEndSecs. About 1 s is normal.",
      -                      "type": "number"
      -                    },
      -                    "ivrPromptEndSecs": {
      -                      "description": "End of the last prompt that had finished before we started.",
      -                      "type": "number"
      -                    },
      -                    "ivrSpeakingSinceSecs": {
      -                      "description": "Present when the system under test was already speaking when we started: when it began.",
      -                      "type": "number"
      -                    },
      -                    "ourEndSecs": {
      -                      "type": "number"
      -                    },
      -                    "ourOnsetSecs": {
      -                      "type": "number"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "source": {
      -            "enum": [
      -              "telnyx-call-events"
      -            ],
      -            "type": "string"
      -          },
      -          "status": {
      -            "enum": [
      -              "found",
      -              "not_found",
      -              "error"
      -            ],
      -            "type": "string"
      -          },
      -          "streaming": {
      -            "description": "The media stream to the test platform starting, stopping or failing.",
      -            "items": {
      -              "properties": {
      -                "at": {
      -                  "format": "date-time",
      -                  "type": "string"
      -                },
      -                "event": {
      -                  "enum": [
      -                    "started",
      -                    "stopped",
      -                    "failed"
      -                  ],
      -                  "type": "string"
      -                },
      -                "failureReason": {
      -                  "type": "string"
      -                },
      -                "secs": {
      -                  "type": "number"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "version": {
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "version",
      -          "status",
      -          "fetchedAt",
      -          "source",
      -          "callLegId"
      -        ],
      -        "type": "object"
      -      },
      -      "completedAt": {
      -        "example": "2026-05-13T10:05:00Z",
      -        "format": "date-time",
      -        "type": "string"
      -      },
      -      "createdAt": {
      -        "example": "2026-05-13T10:00:00Z",
      -        "format": "date-time",
      -        "type": "string"
      -      },
      -      "failurePattern": {
      -        "description": "Load-test calls that did not pass: why the call failed, as a named pattern with an owner and\nthe values that put it there (`evidence`). Absent on passed calls, and on calls not yet\nclassified. `rulesVersion` says which version of the rules produced it.\n",
      -        "properties": {
      -          "evidence": {
      -            "additionalProperties": {
      -              "type": [
      -                "string",
      -                "number",
      -                "boolean",
      -                "null"
      -              ]
      -            },
      -            "type": "object"
      -          },
      -          "failedStepIndex": {
      -            "type": "integer"
      -          },
      -          "id": {
      -            "enum": [
      -              "P1",
      -              "P2",
      -              "P2a",
      -              "P2b",
      -              "P2c",
      -              "P2d",
      -              "P3",
      -              "P4",
      -              "P5",
      -              "P6",
      -              "P7",
      -              "P7a",
      -              "P8",
      -              "P9",
      -              "P10",
      -              "UNCLASSIFIED"
      -            ],
      -            "type": "string"
      -          },
      -          "label": {
      -            "example": "Late answer, straight to hold",
      -            "type": "string"
      -          },
      -          "owner": {
      -            "enum": [
      -              "platform",
      -              "carrier",
      -              "system-under-test",
      -              "test-definition",
      -              "unknown"
      -            ],
      -            "type": "string"
      -          },
      -          "rulesVersion": {
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "owner",
      -          "label",
      -          "rulesVersion",
      -          "evidence"
      -        ],
      -        "type": "object"
      -      },
      -      "id": {
      -        "example": "<run-id>",
      -        "format": "uuid",
      -        "type": "string"
      -      },
      -      "lateStart": {
      -        "description": "Load-test calls: true when the system under test first spoke later after answer than the\ntest's late-answer threshold (6 s by default), on passed and failed calls alike. Absent\nwhen nothing measured it.\n",
      -        "type": "boolean"
      -      },
      -      "outcome": {
      -        "description": "Unified run outcome — see MissionTestRun.outcome. Optional/nullable for historical rows pre-backfill.",
      -        "enum": [
      -          "PASS",
      -          "FAIL",
      -          "ERROR",
      -          "INCONCLUSIVE",
      -          "pending"
      -        ],
      -        "nullable": true,
      -        "type": "string"
      -      },
      -      "phoneNumber": {
      -        "example": "+442012345678",
      -        "type": "string"
      -      },
      -      "startedAt": {
      -        "example": "2026-05-13T10:00:00Z",
      -        "format": "date-time",
      -        "type": "string"
      -      },
      -      "status": {
      -        "enum": [
      -          "pending",
      -          "running",
      -          "completed",
      -          "failed",
      -          "cancelled",
      -          "awaiting_callback"
      -        ],
      -        "example": "pending",
      -        "type": "string"
      -      },
      -      "testConfigId": {
      -        "example": "<test-config-id>",
      -        "format": "uuid",
      -        "type": "string"
      -      },
      -      "workspaceId": {
      -        "example": "<workspace-id>",
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "workspaceId",
      -      "status",
      -      "startedAt"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "config": {
      -        "description": "Scripted regression test plan. A `TestConfig` is a reusable plan of ordered `TestStep`s\nthat callers re-run against a phone number via `POST /testing/runs`.\n",
      -        "properties": {
      -          "backgroundNoise": {
      -            "allOf": [
      -              {
      -                "description": "Caller background noise: café chatter, city street traffic, home (children and a\nbaby crying) or wind buffeting. The level is fixed per sound.\n",
      -                "enum": [
      -                  "cafe",
      -                  "street",
      -                  "home",
      -                  "wind"
      -                ],
      -                "example": "cafe",
      -                "type": "string"
      -              }
      -            ],
      -            "description": "Caller background noise played under the call. Omit for none.\n"
      -          },
      -          "carrierRouteId": {
      -            "description": "Bring-your-own-carrier (invite-only). Dial this config's calls through one of the\nworkspace's carrier routes, over the workspace's own SIP trunk, instead of nopaque's\nnetwork. Carrier routes are set up with nopaque. A config with a route dials through it\nor not at all: if the route cannot be dialled when a run starts, the run is refused and\nthe number is never called normally. A refused `POST /testing/runs` returns 409 (or 503);\na scheduled run, batch or sweep records a failed run whose `errorMessage` says why; a\nload test fails before it starts. Carrier calls are metered as `carrier_testing`\n(load tests: `carrier_load_testing`), not `testing`.\nOmitted when the config dials normally.\n",
      -            "example": "<carrier-route-id>",
      -            "maxLength": 128,
      -            "type": "string"
      -          },
      -          "createdAt": {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          "createdBy": {
      -            "description": "User ID of the creator.",
      -            "example": "<user-id>",
      -            "type": "string"
      -          },
      -          "description": {
      -            "type": "string"
      -          },
      -          "id": {
      -            "example": "<test-config-id>",
      -            "format": "uuid",
      -            "type": "string"
      -          },
      -          "language": {
      -            "allOf": [
      -              {
      -                "description": "The transcription language of a STANDARD test or a MAPPING run — the\nlanguage the callee is expected to speak, used to transcribe the call.\nAbsent means `en-GB`: every omit path is unchanged, so an existing\nconfig without the field transcribes as British English exactly as\nbefore. Anything outside this set is rejected with 400.\n\nThe English variants lead, then `multi` (code-switching), then the\nremaining languages alphabetically by display label. Mirrors\n`api/packages/core/transcription/languages.ts` (Zod) — the single\nsource of truth; a drift test keeps this enum equal to it.\n\nDISTINCT from `CallLanguage`, which is the language a MISSION test\ncall is held in. The two lists do not overlap cleanly and are not\ninterchangeable: bare `en` is a valid `CallLanguage` and is INVALID\nhere (use `en-GB` or `en-US`), and most codes here are not call\nlanguages at all.\n",
      -                "enum": [
      -                  "en-GB",
      -                  "en-US",
      -                  "en-AU",
      -                  "en-IN",
      -                  "en-NZ",
      -                  "multi",
      -                  "ar",
      -                  "be",
      -                  "bn",
      -                  "bs",
      -                  "bg",
      -                  "ca",
      -                  "zh-HK",
      -                  "zh",
      -                  "hr",
      -                  "cs",
      -                  "da",
      -                  "nl",
      -                  "et",
      -                  "fi",
      -                  "nl-BE",
      -                  "fr",
      -                  "de",
      -                  "el",
      -                  "gu",
      -                  "he",
      -                  "hi",
      -                  "hu",
      -                  "id",
      -                  "it",
      -                  "ja",
      -                  "kn",
      -                  "ko",
      -                  "lv",
      -                  "lt",
      -                  "mk",
      -                  "ms",
      -                  "mr",
      -                  "no",
      -                  "fa",
      -                  "pl",
      -                  "pt",
      -                  "ro",
      -                  "ru",
      -                  "sr",
      -                  "sk",
      -                  "sl",
      -                  "es",
      -                  "sv",
      -                  "tl",
      -                  "ta",
      -                  "te",
      -                  "th",
      -                  "tr",
      -                  "uk",
      -                  "ur",
      -                  "vi"
      -                ],
      -                "example": "en-GB",
      -                "type": "string"
      -              }
      -            ],
      -            "description": "Transcription language the config's calls are transcribed in.\nResolved to `en-GB` when the config was created without one, so\nevery config created since the field existed carries a value;\nconfigs saved before it have none, which also means `en-GB`.\n",
      -            "example": "en-GB"
      -          },
      -          "maxDurationSecs": {
      -            "description": "Whole-call ceiling in seconds. When omitted the tester applies its own default of 300.\nEvery `hold` step's `durationSecs` must fit inside it.\n",
      -            "example": 600,
      -            "maximum": 1800,
      -            "minimum": 30,
      -            "type": "integer"
      -          },
      -          "name": {
      -            "example": "Main menu regression",
      -            "type": "string"
      -          },
      -          "patternSettings": {
      -            "allOf": [
      -              {
      -                "additionalProperties": false,
      -                "description": "Thresholds and re-prompt phrases that load-test failure patterns use for this IVR. Every\nfield is optional; an omitted one uses the platform default.\n",
      -                "properties": {
      -                  "lateAnswerSecs": {
      -                    "description": "Seconds from answer to the IVR's first speech above which a call counts as a late start\n(and a failure can be \"late answer, straight to hold\"). Default 6.\n",
      -                    "example": 6,
      -                    "exclusiveMinimum": 0,
      -                    "maximum": 120,
      -                    "type": "number"
      -                  },
      -                  "repromptPhrases": {
      -                    "description": "Phrases that mean the IVR is re-prompting (\"did not understand us\"). Replace the\ndefaults: \"I didn't get that\", \"sorry, I didn't catch\", \"please say\".\n",
      -                    "example": [
      -                      "I didn't get that",
      -                      "please say"
      -                    ],
      -                    "items": {
      -                      "maxLength": 200,
      -                      "minLength": 1,
      -                      "type": "string"
      -                    },
      -                    "maxItems": 20,
      -                    "type": "array"
      -                  },
      -                  "silentTailSecs": {
      -                    "description": "Seconds of silence from the IVR, after our reply and up to hangup, for \"silent after our\nreply\". Default 10.\n",
      -                    "example": 10,
      -                    "exclusiveMinimum": 0,
      -                    "maximum": 600,
      -                    "type": "number"
      -                  }
      -                },
      -                "type": "object"
      -              }
      -            ],
      -            "description": "Load-test failure-pattern thresholds and re-prompt phrases for this IVR. Omit for the\nplatform defaults.\n"
      -          },
      -          "phoneNumber": {
      -            "description": "E.164-formatted phone number the test calls.",
      -            "example": "+442012345678",
      -            "type": "string"
      -          },
      -          "profileId": {
      -            "description": "Voice / data profile for `standard` configs only. Omitted for `parameterized`.",
      -            "type": "string"
      -          },
      -          "requiredParameters": {
      -            "description": "Required parameter labels for `parameterized` configs only.",
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "scheduleId": {
      -            "description": "Schedule that triggers automated runs (use `template:<id>` to create from a built-in template).",
      -            "type": "string"
      -          },
      -          "steps": {
      -            "items": {
      -              "description": "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",
      -              "properties": {
      -                "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"
      -                }
      -              },
      -              "required": [
      -                "id",
      -                "name",
      -                "type"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "type": {
      -            "description": "`standard` runs the steps as-is; `parameterized` requires `requiredParameters` filled\nat run-time (sweep / batch dispatchers supply them).\n",
      -            "enum": [
      -              "standard",
      -              "parameterized"
      -            ],
      -            "example": "standard",
      -            "type": "string"
      -          },
      -          "updatedAt": {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          "version": {
      -            "description": "Bumped on every update — clients can use for optimistic concurrency.",
      -            "example": 1,
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          "workspaceId": {
      -            "example": "<workspace-id>",
      -            "format": "uuid",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "workspaceId",
      -          "name",
      -          "phoneNumber",
      -          "steps",
      -          "version",
      -          "createdAt",
      -          "updatedAt",
      -          "createdBy"
      -        ],
      -        "type": "object"
      -      },
      -      "dtmfMarkers": {
      -        "description": "Standard tests only: when the tester sent DTMF, relative to the start of the\nrecording. Absent when the run sent no digits (never `null` or empty).\n",
      -        "items": {
      -          "description": "One DTMF send on a standard test. `spans` (one per tone) is present only when the\ncall's audio encoding is G711 (PCMA/PCMU), where tone timing is known.\n",
      -          "properties": {
      -            "digits": {
      -              "example": "1234#",
      -              "type": "string"
      -            },
      -            "durationMs": {
      -              "description": "Tone duration per digit in milliseconds.",
      -              "example": 500,
      -              "type": "number"
      -            },
      -            "encoding": {
      -              "description": "The call's stream encoding, e.g. `PCMA`.",
      -              "example": "PCMA",
      -              "type": "string"
      -            },
      -            "sentAtSec": {
      -              "description": "Seconds from the start of the recording when the digits were sent.",
      -              "example": 12.4,
      -              "type": "number"
      -            },
      -            "spans": {
      -              "items": {
      -                "properties": {
      -                  "digit": {
      -                    "example": "1",
      -                    "type": "string"
      -                  },
      -                  "endSec": {
      -                    "type": "number"
      -                  },
      -                  "startSec": {
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "digit",
      -                  "startSec",
      -                  "endSec"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "digits",
      -            "sentAtSec",
      -            "durationMs"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "stepResults": {
      -        "items": {
      -          "description": "Per-step execution outcome attached to a `TestRun`. Returned by `GET /testing/runs/{id}`.\n",
      -          "properties": {
      -            "actionType": {
      -              "description": "One of `dtmf`, `audio`, `listen`, `wait_for_callback` or `hold` if the step took an action.\n`hold` results carry `threshold` 0, `expectedTranscript` '' and `similarity` 0, which are\nplaceholders and not a match score. Outcome PASS means the hold elapsed; FAIL with\n`turnTelemetry.hold.endedBy` = `call_ended` means the far end hung up first.\n",
      -              "type": "string"
      -            },
      -            "actionValue": {
      -              "type": "string"
      -            },
      -            "actualTranscript": {
      -              "type": "string"
      -            },
      -            "createdAt": {
      -              "format": "date-time",
      -              "type": "string"
      -            },
      -            "duration": {
      -              "description": "Step duration in seconds (or `undefined` if the step did not run).",
      -              "type": "number"
      -            },
      -            "errorMessage": {
      -              "type": "string"
      -            },
      -            "expectedTranscript": {
      -              "type": "string"
      -            },
      -            "id": {
      -              "format": "uuid",
      -              "type": "string"
      -            },
      -            "matcherScores": {
      -              "additionalProperties": {
      -                "type": "number"
      -              },
      -              "type": "object"
      -            },
      -            "outcome": {
      -              "enum": [
      -                "PASS",
      -                "FAIL",
      -                "TIMEOUT",
      -                "ERROR"
      -              ],
      -              "type": "string"
      -            },
      -            "runId": {
      -              "format": "uuid",
      -              "type": "string"
      -            },
      -            "similarity": {
      -              "maximum": 100,
      -              "minimum": 0,
      -              "type": "number"
      -            },
      -            "stepId": {
      -              "format": "uuid",
      -              "type": "string"
      -            },
      -            "stepIndex": {
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "stepName": {
      -              "type": "string"
      -            },
      -            "threshold": {
      -              "type": "integer"
      -            },
      -            "turnTelemetry": {
      -              "additionalProperties": true,
      -              "description": "Per-step / per-turn telemetry. Nested onto `TestStepResult.turnTelemetry`\n(per-step containers) and `CallTelemetry.turns[]` (turn-based containers\nsuch as mission-tester / voice-agent).\n",
      -              "properties": {
      -                "conversationTurn": {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "role": {
      -                      "enum": [
      -                        "user",
      -                        "assistant",
      -                        "system"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    "text": {
      -                      "type": "string"
      -                    },
      -                    "timestamp": {
      -                      "format": "date-time",
      -                      "type": "string"
      -                    },
      -                    "turnIndex": {
      -                      "type": "number"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "dtmf": {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "completedAt": {
      -                      "format": "date-time",
      -                      "type": "string"
      -                    },
      -                    "digitsReceived": {
      -                      "type": "string"
      -                    },
      -                    "digitsSent": {
      -                      "type": "string"
      -                    },
      -                    "sendDurationMs": {
      -                      "type": "number"
      -                    },
      -                    "sentOnDelay": {
      -                      "type": "boolean"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "hold": {
      -                  "additionalProperties": true,
      -                  "description": "Emitted on `hold` step results. `endedBy` is `elapsed` (the full hold was served) or\n`call_ended` (the far end hung up first); it is a plain string, not an enum, so a future\ncontainer value cannot fail strict client validation.\n",
      -                  "properties": {
      -                    "endedBy": {
      -                      "description": "`elapsed` or `call_ended`.",
      -                      "type": "string"
      -                    },
      -                    "heldSecs": {
      -                      "type": "number"
      -                    },
      -                    "inboundAudioActiveRatio": {
      -                      "type": "number"
      -                    },
      -                    "inboundChunks": {
      -                      "type": "number"
      -                    },
      -                    "requestedSecs": {
      -                      "type": "number"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "llmExtraction": {
      -                  "additionalProperties": true,
      -                  "description": "LLM extraction telemetry — model, token counts, latency and hallucination flag.",
      -                  "properties": {
      -                    "hallucinationDetected": {
      -                      "type": "boolean"
      -                    },
      -                    "inputTokens": {
      -                      "type": "number"
      -                    },
      -                    "latencyMs": {
      -                      "type": "number"
      -                    },
      -                    "model": {
      -                      "type": "string"
      -                    },
      -                    "operation": {
      -                      "type": "string"
      -                    },
      -                    "outputTokens": {
      -                      "type": "number"
      -                    },
      -                    "reasoning": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "schemaVersion": {
      -                  "enum": [
      -                    1
      -                  ],
      -                  "type": "integer"
      -                },
      -                "timing": {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "durationMs": {
      -                      "type": "number"
      -                    },
      -                    "endedAt": {
      -                      "format": "date-time",
      -                      "type": "string"
      -                    },
      -                    "responseLatencyMs": {
      -                      "description": "Per-turn response latency (bot/IVR turn-around) in milliseconds.",
      -                      "type": "number"
      -                    },
      -                    "startedAt": {
      -                      "format": "date-time",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "transcript": {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "avgWordConfidence": {
      -                      "type": "number"
      -                    },
      -                    "detectedLanguage": {
      -                      "type": "string"
      -                    },
      -                    "minWordConfidence": {
      -                      "type": "number"
      -                    },
      -                    "wordCount": {
      -                      "type": "number"
      -                    },
      -                    "words": {
      -                      "items": {
      -                        "properties": {
      -                          "confidence": {
      -                            "type": "number"
      -                          },
      -                          "endMs": {
      -                            "type": "number"
      -                          },
      -                          "startMs": {
      -                            "type": "number"
      -                          },
      -                          "word": {
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "word",
      -                          "startMs",
      -                          "endMs"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      "type": "array"
      -                    }
      -                  },
      -                  "type": "object"
      -                }
      -              },
      -              "required": [
      -                "schemaVersion"
      -              ],
      -              "type": "object"
      -            },
      -            "words": {
      -              "items": {
      -                "properties": {
      -                  "confidence": {
      -                    "maximum": 1,
      -                    "minimum": 0,
      -                    "type": "number"
      -                  },
      -                  "end": {
      -                    "type": "number"
      -                  },
      -                  "start": {
      -                    "type": "number"
      -                  },
      -                  "word": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "word",
      -                  "start",
      -                  "end",
      -                  "confidence"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "id",
      -            "runId",
      -            "stepIndex",
      -            "stepId",
      -            "stepName",
      -            "outcome",
      -            "expectedTranscript",
      -            "threshold",
      -            "createdAt"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "callDurationSecs": {
      +        "description": "Real call duration in seconds (post-answer → last node), surfaced from\n`callMetadata.callDurationSecs`. Preferred over the wall-clock diff\n(`completedAt − startedAt`), which inflates by 100–150s+ from queue wait,\ncontainer start, ringing and post-call stashing. Same field billing meters on.\nRows with no tester duration (mission runs) report the container's\ncomputed call length here instead.\n",
      +        "type": "number"
      +      },
      +      "callTelemetry": {
      +        "additionalProperties": true,
      +        "description": "Call-level telemetry captured during an IVR test call, nested onto\n`TestRun.callTelemetry`. Populated for standard, mission and compliance\nruns by the tester / mission-tester containers.\nnopaque's own carrier cost is internal and is never returned.\n",
      +        "properties": {
      +          "audio": {
      +            "additionalProperties": true,
      +            "properties": {
      +              "audioDurationSecs": {
      +                "type": "number"
      +              },
      +              "audioFormat": {
      +                "enum": [
      +                  "wav",
      +                  "mp3",
      +                  "wav-mp3-payload"
      +                ],
      +                "type": "string"
      +              },
      +              "audioId": {
      +                "type": "string"
      +              },
      +              "audioS3Key": {
      +                "type": "string"
      +              },
      +              "audioSizeBytes": {
      +                "type": "number"
      +              },
      +              "coverage": {
      +                "description": "Fraction of the call containing speech (0–1).",
      +                "type": "number"
      +              },
      +              "maxSilenceSecs": {
      +                "type": "number"
      +              },
      +              "noiseFloorEnergy": {
      +                "type": "number"
      +              },
      +              "speechChunks": {
      +                "type": "number"
      +              },
      +              "speechEndOffsetSecs": {
      +                "type": "number"
      +              },
      +              "telnyxRecordingId": {
      +                "type": "string"
      +              },
      +              "totalChunks": {
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "backgroundNoise": {
      +            "description": "Standard tests: the background-noise bed the call played (see `BackgroundNoise`).\nAbsent when no noise was configured.\n",
      +            "example": "cafe",
      +            "type": "string"
      +          },
      +          "backgroundNoiseError": {
      +            "description": "Standard tests: why the background-noise bed failed to start. The call still ran,\nwithout noise. Absent when the bed started or no noise was configured.\n",
      +            "type": "string"
      +          },
      +          "mode": {
      +            "additionalProperties": true,
      +            "properties": {
      +              "detected": {
      +                "enum": [
      +                  "voice",
      +                  "dtmf",
      +                  "hybrid",
      +                  "unknown"
      +                ],
      +                "type": "string"
      +              },
      +              "dtmfInboundDetected": {
      +                "type": "boolean"
      +              },
      +              "dtmfTurnCount": {
      +                "type": "number"
      +              },
      +              "voiceTurnCount": {
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "quality": {
      +            "additionalProperties": true,
      +            "description": "Voice-quality metrics (MOS, jitter, packet loss) per direction.",
      +            "properties": {
      +              "codec": {
      +                "type": "string"
      +              },
      +              "inboundJitterMaxVarianceMs": {
      +                "type": "number"
      +              },
      +              "inboundMos": {
      +                "description": "Inbound mean opinion score (call-quality estimate, ~1–5).",
      +                "type": "number"
      +              },
      +              "inboundPacketCount": {
      +                "type": "number"
      +              },
      +              "inboundPacketsLost": {
      +                "type": "number"
      +              },
      +              "outboundJitterMaxVarianceMs": {
      +                "type": "number"
      +              },
      +              "outboundMos": {
      +                "type": "number"
      +              },
      +              "outboundPacketCount": {
      +                "type": "number"
      +              },
      +              "outboundPacketsLost": {
      +                "type": "number"
      +              },
      +              "sampleRateHz": {
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "schemaVersion": {
      +            "enum": [
      +              1
      +            ],
      +            "type": "integer"
      +          },
      +          "telephony": {
      +            "additionalProperties": true,
      +            "properties": {
      +              "callLegId": {
      +                "type": "string"
      +              },
      +              "callSessionId": {
      +                "type": "string"
      +              },
      +              "hangupCause": {
      +                "type": "string"
      +              },
      +              "hangupSource": {
      +                "type": "string"
      +              },
      +              "initiatedByUs": {
      +                "type": "boolean"
      +              },
      +              "sipHangupCause": {
      +                "type": "string"
      +              },
      +              "streamingFailureReason": {
      +                "type": "string"
      +              },
      +              "streamingFailures": {
      +                "description": "Times our audio stream to the call failed to connect (a test-platform fault, not the system under test).",
      +                "type": "integer"
      +              },
      +              "telnyxConnectionId": {
      +                "type": "string"
      +              },
      +              "terminalStatus": {
      +                "enum": [
      +                  "completed",
      +                  "failed",
      +                  "aborted_by_duration",
      +                  "aborted_by_cost",
      +                  "aborted_by_inactivity",
      +                  "aborted_mid_stream",
      +                  "aborted_by_reaper",
      +                  "no_answer"
      +                ],
      +                "type": "string"
      +              },
      +              "terminationReason": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "timing": {
      +            "additionalProperties": true,
      +            "description": "Call-level latency landmarks.",
      +            "properties": {
      +              "answerToFirstUtteranceMs": {
      +                "description": "Time-to-first-response — answer to first utterance, in milliseconds.",
      +                "type": "number"
      +              },
      +              "answeredAt": {
      +                "format": "date-time",
      +                "type": "string"
      +              },
      +              "dialToAnswerMs": {
      +                "description": "Ring latency — dial to answer, in milliseconds.",
      +                "type": "number"
      +              },
      +              "dialedAt": {
      +                "format": "date-time",
      +                "type": "string"
      +              },
      +              "endedAt": {
      +                "format": "date-time",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "turns": {
      +            "description": "Per-turn telemetry breakdown for turn-based containers.",
      +            "items": {
      +              "additionalProperties": true,
      +              "description": "Per-step / per-turn telemetry. Nested onto `TestStepResult.turnTelemetry`\n(per-step containers) and `CallTelemetry.turns[]` (turn-based containers\nsuch as mission-tester / voice-agent).\n",
      +              "properties": {
      +                "conversationTurn": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "role": {
      +                      "enum": [
      +                        "user",
      +                        "assistant",
      +                        "system"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "text": {
      +                      "type": "string"
      +                    },
      +                    "timestamp": {
      +                      "format": "date-time",
      +                      "type": "string"
      +                    },
      +                    "turnIndex": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "dtmf": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "completedAt": {
      +                      "format": "date-time",
      +                      "type": "string"
      +                    },
      +                    "digitsReceived": {
      +                      "type": "string"
      +                    },
      +                    "digitsSent": {
      +                      "type": "string"
      +                    },
      +                    "sendDurationMs": {
      +                      "type": "number"
      +                    },
      +                    "sentOnDelay": {
      +                      "type": "boolean"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "hold": {
      +                  "additionalProperties": true,
      +                  "description": "Emitted on `hold` step results. `endedBy` is `elapsed` (the full hold was served) or\n`call_ended` (the far end hung up first); it is a plain string, not an enum, so a future\ncontainer value cannot fail strict client validation.\n",
      +                  "properties": {
      +                    "endedBy": {
      +                      "description": "`elapsed` or `call_ended`.",
      +                      "type": "string"
      +                    },
      +                    "heldSecs": {
      +                      "type": "number"
      +                    },
      +                    "inboundAudioActiveRatio": {
      +                      "type": "number"
      +                    },
      +                    "inboundChunks": {
      +                      "type": "number"
      +                    },
      +                    "requestedSecs": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "llmExtraction": {
      +                  "additionalProperties": true,
      +                  "description": "LLM extraction telemetry — model, token counts, latency and hallucination flag.",
      +                  "properties": {
      +                    "hallucinationDetected": {
      +                      "type": "boolean"
      +                    },
      +                    "inputTokens": {
      +                      "type": "number"
      +                    },
      +                    "latencyMs": {
      +                      "type": "number"
      +                    },
      +                    "model": {
      +                      "type": "string"
      +                    },
      +                    "operation": {
      +                      "type": "string"
      +                    },
      +                    "outputTokens": {
      +                      "type": "number"
      +                    },
      +                    "reasoning": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "schemaVersion": {
      +                  "enum": [
      +                    1
      +                  ],
      +                  "type": "integer"
      +                },
      +                "timing": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "durationMs": {
      +                      "type": "number"
      +                    },
      +                    "endedAt": {
      +                      "format": "date-time",
      +                      "type": "string"
      +                    },
      +                    "responseLatencyMs": {
      +                      "description": "Per-turn response latency (bot/IVR turn-around) in milliseconds.",
      +                      "type": "number"
      +                    },
      +                    "startedAt": {
      +                      "format": "date-time",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "transcript": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "avgWordConfidence": {
      +                      "type": "number"
      +                    },
      +                    "detectedLanguage": {
      +                      "type": "string"
      +                    },
      +                    "minWordConfidence": {
      +                      "type": "number"
      +                    },
      +                    "wordCount": {
      +                      "type": "number"
      +                    },
      +                    "words": {
      +                      "items": {
      +                        "properties": {
      +                          "confidence": {
      +                            "type": "number"
      +                          },
      +                          "endMs": {
      +                            "type": "number"
      +                          },
      +                          "startMs": {
      +                            "type": "number"
      +                          },
      +                          "word": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "word",
      +                          "startMs",
      +                          "endMs"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    }
      +                  },
      +                  "type": "object"
      +                }
      +              },
      +              "required": [
      +                "schemaVersion"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "schemaVersion"
      +        ],
      +        "type": "object"
      +      },
      +      "carrier": {
      +        "description": "Bring-your-own-carrier (invite-only): the carrier route this run was dialled through,\nrecorded when the run was dispatched. It still names that route after the config's\n`carrierRouteId` is changed or removed. Absent when the run was dialled normally. See\n`GET /testing/carrier-integrations` for the route's name and settings.\n",
      +        "properties": {
      +          "integrationId": {
      +            "type": "string"
      +          },
      +          "routeId": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "integrationId",
      +          "routeId"
      +        ],
      +        "type": "object"
      +      },
      +      "carrierDetail": {
      +        "additionalProperties": true,
      +        "description": "Telnyx's record of this call, fetched once a few minutes after the call ends and stored\non the run (absent until then). `status` is `not_found` when Telnyx had no record after\nthree tries. Give `sipCallId` to your carrier or SBC team to find this exact call in\ntheir logs.\n",
      +        "properties": {
      +          "answeredAt": {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "billedSecs": {
      +            "type": "number"
      +          },
      +          "callSecs": {
      +            "type": "number"
      +          },
      +          "codec": {
      +            "type": "string"
      +          },
      +          "destination": {
      +            "additionalProperties": true,
      +            "description": "The number dialled, from a carrier lookup (refreshed every 90 days).",
      +            "properties": {
      +              "carrier": {
      +                "type": "string"
      +              },
      +              "countryCode": {
      +                "type": "string"
      +              },
      +              "lookedUpAt": {
      +                "format": "date-time",
      +                "type": "string"
      +              },
      +              "nationalFormat": {
      +                "type": "string"
      +              },
      +              "numberType": {
      +                "description": "e.g. uan (UK non-geographic), fixed line, mobile, voip.",
      +                "type": "string"
      +              },
      +              "valid": {
      +                "type": "boolean"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "destinationType": {
      +            "type": "string"
      +          },
      +          "fetchedAt": {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "finishedAt": {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "hangupCauseName": {
      +            "type": "string"
      +          },
      +          "hangupCode": {
      +            "description": "Q.850 cause code.",
      +            "type": "string"
      +          },
      +          "hangupDetails": {
      +            "description": "Who ended the call at the SIP level: send_bye (us) or recv_bye (the far end).",
      +            "type": "string"
      +          },
      +          "localCall": {
      +            "type": "boolean"
      +          },
      +          "mos": {
      +            "type": "number"
      +          },
      +          "onNet": {
      +            "type": "boolean"
      +          },
      +          "retriedInternally": {
      +            "description": "The network re-routed the call before it connected (adds to dial-to-answer time).",
      +            "type": "boolean"
      +          },
      +          "route": {
      +            "type": "string"
      +          },
      +          "shakenStir": {
      +            "description": "STIR/SHAKEN attestation of the caller ID: A, B or C.",
      +            "type": "string"
      +          },
      +          "sipCallId": {
      +            "description": "SIP Call-ID of the call.",
      +            "type": "string"
      +          },
      +          "sipInviteFailureStatus": {
      +            "description": "SIP status when the call never connected (e.g. 486, 503).",
      +            "type": "string"
      +          },
      +          "source": {
      +            "enum": [
      +              "telnyx-detail-records"
      +            ],
      +            "type": "string"
      +          },
      +          "startedAt": {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "status": {
      +            "enum": [
      +              "found",
      +              "not_found"
      +            ],
      +            "type": "string"
      +          },
      +          "telnyxErrorCode": {
      +            "type": "string"
      +          },
      +          "version": {
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "version",
      +          "status",
      +          "fetchedAt",
      +          "source"
      +        ],
      +        "type": "object"
      +      },
      +      "carrierEvents": {
      +        "additionalProperties": true,
      +        "description": "What the carrier's event log and the call recording say about this call, derived once a\nfew minutes after the call ends and stored on the run (absent until then). Times named\n`...Secs` are seconds after the call was answered. `status` is `not_found` when the carrier\nhad no events for the call after three tries, `error` when they could not be read. A source\nthat could not be read is named in `errors`; the others are still filled.\n",
      +        "properties": {
      +          "answeredAt": {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "callLegId": {
      +            "type": "string"
      +          },
      +          "commandsFailed": {
      +            "items": {
      +              "properties": {
      +                "at": {
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                "name": {
      +                  "type": "string"
      +                },
      +                "secs": {
      +                  "type": "number"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "dial": {
      +            "description": "Where the carrier was told to send the call's events and audio (host, port and path only).",
      +            "properties": {
      +              "stream": {
      +                "properties": {
      +                  "host": {
      +                    "type": "string"
      +                  },
      +                  "path": {
      +                    "type": "string"
      +                  },
      +                  "port": {
      +                    "type": "integer"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "streamTrack": {
      +                "type": "string"
      +              },
      +              "webhook": {
      +                "properties": {
      +                  "host": {
      +                    "type": "string"
      +                  },
      +                  "path": {
      +                    "type": "string"
      +                  },
      +                  "port": {
      +                    "type": "integer"
      +                  }
      +                },
      +                "type": "object"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "errors": {
      +            "properties": {
      +              "callEvents": {
      +                "type": "string"
      +              },
      +              "recording": {
      +                "type": "string"
      +              },
      +              "webhooks": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "eventCount": {
      +            "type": "integer"
      +          },
      +          "failedWebhooks": {
      +            "description": "Carrier events about this call that could not be delivered to the test platform.",
      +            "items": {
      +              "properties": {
      +                "attempts": {
      +                  "type": "integer"
      +                },
      +                "errorCodes": {
      +                  "items": {
      +                    "type": "integer"
      +                  },
      +                  "type": "array"
      +                },
      +                "eventType": {
      +                  "type": "string"
      +                },
      +                "occurredAt": {
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                "secs": {
      +                  "type": "number"
      +                },
      +                "target": {
      +                  "properties": {
      +                    "host": {
      +                      "type": "string"
      +                    },
      +                    "path": {
      +                      "type": "string"
      +                    },
      +                    "port": {
      +                      "type": "integer"
      +                    }
      +                  },
      +                  "type": "object"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "fetchedAt": {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "hangupSecs": {
      +            "type": "number"
      +          },
      +          "playbacks": {
      +            "description": "Each audio clip we asked the carrier to play, in order.",
      +            "items": {
      +              "properties": {
      +                "commandAt": {
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                "commandSecs": {
      +                  "type": "number"
      +                },
      +                "commandToStartMs": {
      +                  "type": "integer"
      +                },
      +                "durationMs": {
      +                  "type": "integer"
      +                },
      +                "endedAt": {
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                "endedSecs": {
      +                  "type": "number"
      +                },
      +                "media": {
      +                  "description": "File name of the clip.",
      +                  "type": "string"
      +                },
      +                "startedAt": {
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                "startedSecs": {
      +                  "type": "number"
      +                },
      +                "status": {
      +                  "description": "How the playback ended, e.g. completed. Absent when no end was reported.",
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "recording": {
      +            "description": "Answer timing measured on the two-channel call recording (the system under test on one\nchannel, us on the other). Seconds from the start of the recording, which starts at answer.\n",
      +            "properties": {
      +              "durationSecs": {
      +                "type": "number"
      +              },
      +              "ivrFirstAudioSecs": {
      +                "description": "When the system under test first made sound.",
      +                "type": "number"
      +              },
      +              "ivrSegments": {
      +                "description": "Speech from the system under test, as [start, end] pairs in seconds.",
      +                "items": {
      +                  "items": {
      +                    "type": "number"
      +                  },
      +                  "maxItems": 2,
      +                  "minItems": 2,
      +                  "type": "array"
      +                },
      +                "type": "array"
      +              },
      +              "ourChannel": {
      +                "type": "integer"
      +              },
      +              "status": {
      +                "description": "stereo: measured. mono: one side of the recording was lost. missing / none: no recording.",
      +                "enum": [
      +                  "stereo",
      +                  "mono",
      +                  "missing",
      +                  "unsupported",
      +                  "none"
      +                ],
      +                "type": "string"
      +              },
      +              "turns": {
      +                "description": "One per stretch of our audio.",
      +                "items": {
      +                  "properties": {
      +                    "answerGapSecs": {
      +                      "description": "ourOnsetSecs minus ivrPromptEndSecs. About 1 s is normal.",
      +                      "type": "number"
      +                    },
      +                    "ivrPromptEndSecs": {
      +                      "description": "End of the last prompt that had finished before we started.",
      +                      "type": "number"
      +                    },
      +                    "ivrSpeakingSinceSecs": {
      +                      "description": "Present when the system under test was already speaking when we started: when it began.",
      +                      "type": "number"
      +                    },
      +                    "ourEndSecs": {
      +                      "type": "number"
      +                    },
      +                    "ourOnsetSecs": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "source": {
      +            "enum": [
      +              "telnyx-call-events"
      +            ],
      +            "type": "string"
      +          },
      +          "status": {
      +            "enum": [
      +              "found",
      +              "not_found",
      +              "error"
      +            ],
      +            "type": "string"
      +          },
      +          "streaming": {
      +            "description": "The media stream to the test platform starting, stopping or failing.",
      +            "items": {
      +              "properties": {
      +                "at": {
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                "event": {
      +                  "enum": [
      +                    "started",
      +                    "stopped",
      +                    "failed"
      +                  ],
      +                  "type": "string"
      +                },
      +                "failureReason": {
      +                  "type": "string"
      +                },
      +                "secs": {
      +                  "type": "number"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "version": {
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "version",
      +          "status",
      +          "fetchedAt",
      +          "source",
      +          "callLegId"
      +        ],
      +        "type": "object"
      +      },
      +      "completedAt": {
      +        "example": "2026-05-13T10:05:00Z",
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "createdAt": {
      +        "example": "2026-05-13T10:00:00Z",
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "failurePattern": {
      +        "description": "Load-test calls that did not pass: why the call failed, as a named pattern with an owner and\nthe values that put it there (`evidence`). Absent on passed calls, and on calls not yet\nclassified. `rulesVersion` says which version of the rules produced it.\n",
      +        "properties": {
      +          "evidence": {
      +            "additionalProperties": {
      +              "type": [
      +                "string",
      +                "number",
      +                "boolean",
      +                "null"
      +              ]
      +            },
      +            "type": "object"
      +          },
      +          "failedStepIndex": {
      +            "type": "integer"
      +          },
      +          "id": {
      +            "enum": [
      +              "P1",
      +              "P2",
      +              "P2a",
      +              "P2b",
      +              "P2c",
      +              "P2d",
      +              "P3",
      +              "P4",
      +              "P5",
      +              "P6",
      +              "P7",
      +              "P7a",
      +              "P8",
      +              "P9",
      +              "P10",
      +              "UNCLASSIFIED"
      +            ],
      +            "type": "string"
      +          },
      +          "label": {
      +            "example": "Late answer, straight to hold",
      +            "type": "string"
      +          },
      +          "owner": {
      +            "enum": [
      +              "platform",
      +              "carrier",
      +              "system-under-test",
      +              "test-definition",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          },
      +          "rulesVersion": {
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "owner",
      +          "label",
      +          "rulesVersion",
      +          "evidence"
      +        ],
      +        "type": "object"
      +      },
      +      "id": {
      +        "example": "<run-id>",
      +        "format": "uuid",
      +        "type": "string"
      +      },
      +      "lateStart": {
      +        "description": "Load-test calls: true when the system under test first spoke later after answer than the\ntest's late-answer threshold (6 s by default), on passed and failed calls alike. Absent\nwhen nothing measured it.\n",
      +        "type": "boolean"
      +      },
      +      "originalOutcome": {
      +        "description": "Passed with note: the call's outcome before a `verdictNote` changed it to `PASS`. Absent\nunless a note changed the outcome.\n",
      +        "enum": [
      +          "FAIL"
      +        ],
      +        "type": "string"
      +      },
      +      "outcome": {
      +        "description": "Unified run outcome — see MissionTestRun.outcome. Optional/nullable for historical rows pre-backfill.",
      +        "enum": [
      +          "PASS",
      +          "FAIL",
      +          "ERROR",
      +          "INCONCLUSIVE",
      +          "pending"
      +        ],
      +        "nullable": true,
      +        "type": "string"
      +      },
      +      "phoneNumber": {
      +        "example": "+442012345678",
      +        "type": "string"
      +      },
      +      "startedAt": {
      +        "example": "2026-05-13T10:00:00Z",
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "status": {
      +        "enum": [
      +          "pending",
      +          "running",
      +          "completed",
      +          "failed",
      +          "cancelled",
      +          "awaiting_callback"
      +        ],
      +        "example": "pending",
      +        "type": "string"
      +      },
      +      "testConfigId": {
      +        "example": "<test-config-id>",
      +        "format": "uuid",
      +        "type": "string"
      +      },
      +      "verdictNote": {
      +        "description": "Passed with note: why a call (or step) that failed on its hold check counts as passed.\n`hold_unconfirmed`: the call reached hold and the line had sound on it, but the live check\ncould not confirm music (set by the tester, `by: live`). `hold_music_rechecked`: after the\nrun, the hold detector heard music in the call's recording (`by: recheck`). `outcome` is\n`PASS` and `originalOutcome` keeps the outcome before the note. Absent on calls and steps\nwithout a note.\n",
      +        "properties": {
      +          "at": {
      +            "description": "When the note was made.",
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "by": {
      +            "enum": [
      +              "live",
      +              "recheck"
      +            ],
      +            "type": "string"
      +          },
      +          "detail": {
      +            "description": "One plain sentence, to show as it is.",
      +            "type": "string"
      +          },
      +          "evidence": {
      +            "properties": {
      +              "detector": {
      +                "description": "The version of the hold detector that judged it.",
      +                "type": "string"
      +              },
      +              "inboundAudioActiveRatio": {
      +                "type": "number"
      +              },
      +              "musicRatio": {
      +                "type": "number"
      +              },
      +              "noiseRatio": {
      +                "type": "number"
      +              },
      +              "silenceRatio": {
      +                "type": "number"
      +              },
      +              "speechRatio": {
      +                "type": "number"
      +              },
      +              "stepIndex": {
      +                "description": "The step the note is about.",
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "window": {
      +                "description": "The part of the recording checked, in seconds after answer (re-check).",
      +                "properties": {
      +                  "fromSecs": {
      +                    "type": "number"
      +                  },
      +                  "toSecs": {
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "fromSecs",
      +                  "toSecs"
      +                ],
      +                "type": "object"
      +              }
      +            },
      +            "required": [
      +              "stepIndex"
      +            ],
      +            "type": "object"
      +          },
      +          "kind": {
      +            "enum": [
      +              "hold_unconfirmed",
      +              "hold_music_rechecked"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "kind",
      +          "by",
      +          "at",
      +          "detail",
      +          "evidence"
      +        ],
      +        "type": "object"
      +      },
      +      "workspaceId": {
      +        "example": "<workspace-id>",
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "workspaceId",
      +      "status",
      +      "startedAt"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "config": {
      +        "description": "Scripted regression test plan. A `TestConfig` is a reusable plan of ordered `TestStep`s\nthat callers re-run against a phone number via `POST /testing/runs`.\n",
      +        "properties": {
      +          "backgroundNoise": {
      +            "allOf": [
      +              {
      +                "description": "Caller background noise: café chatter, city street traffic, home (children and a\nbaby crying) or wind buffeting. The level is fixed per sound.\n",
      +                "enum": [
      +                  "cafe",
      +                  "street",
      +                  "home",
      +                  "wind"
      +                ],
      +                "example": "cafe",
      +                "type": "string"
      +              }
      +            ],
      +            "description": "Caller background noise played under the call. Omit for none.\n"
      +          },
      +          "carrierRouteId": {
      +            "description": "Bring-your-own-carrier (invite-only). Dial this config's calls through one of the\nworkspace's carrier routes, over the workspace's own SIP trunk, instead of nopaque's\nnetwork. Carrier routes are set up with nopaque. A config with a route dials through it\nor not at all: if the route cannot be dialled when a run starts, the run is refused and\nthe number is never called normally. A refused `POST /testing/runs` returns 409 (or 503);\na scheduled run, batch or sweep records a failed run whose `errorMessage` says why; a\nload test fails before it starts. Carrier calls are metered as `carrier_testing`\n(load tests: `carrier_load_testing`), not `testing`.\nOmitted when the config dials normally.\n",
      +            "example": "<carrier-route-id>",
      +            "maxLength": 128,
      +            "type": "string"
      +          },
      +          "createdAt": {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "createdBy": {
      +            "description": "User ID of the creator.",
      +            "example": "<user-id>",
      +            "type": "string"
      +          },
      +          "description": {
      +            "type": "string"
      +          },
      +          "id": {
      +            "example": "<test-config-id>",
      +            "format": "uuid",
      +            "type": "string"
      +          },
      +          "language": {
      +            "allOf": [
      +              {
      +                "description": "The transcription language of a STANDARD test or a MAPPING run — the\nlanguage the callee is expected to speak, used to transcribe the call.\nAbsent means `en-GB`: every omit path is unchanged, so an existing\nconfig without the field transcribes as British English exactly as\nbefore. Anything outside this set is rejected with 400.\n\nThe English variants lead, then `multi` (code-switching), then the\nremaining languages alphabetically by display label. Mirrors\n`api/packages/core/transcription/languages.ts` (Zod) — the single\nsource of truth; a drift test keeps this enum equal to it.\n\nDISTINCT from `CallLanguage`, which is the language a MISSION test\ncall is held in. The two lists do not overlap cleanly and are not\ninterchangeable: bare `en` is a valid `CallLanguage` and is INVALID\nhere (use `en-GB` or `en-US`), and most codes here are not call\nlanguages at all.\n",
      +                "enum": [
      +                  "en-GB",
      +                  "en-US",
      +                  "en-AU",
      +                  "en-IN",
      +                  "en-NZ",
      +                  "multi",
      +                  "ar",
      +                  "be",
      +                  "bn",
      +                  "bs",
      +                  "bg",
      +                  "ca",
      +                  "zh-HK",
      +                  "zh",
      +                  "hr",
      +                  "cs",
      +                  "da",
      +                  "nl",
      +                  "et",
      +                  "fi",
      +                  "nl-BE",
      +                  "fr",
      +                  "de",
      +                  "el",
      +                  "gu",
      +                  "he",
      +                  "hi",
      +                  "hu",
      +                  "id",
      +                  "it",
      +                  "ja",
      +                  "kn",
      +                  "ko",
      +                  "lv",
      +                  "lt",
      +                  "mk",
      +                  "ms",
      +                  "mr",
      +                  "no",
      +                  "fa",
      +                  "pl",
      +                  "pt",
      +                  "ro",
      +                  "ru",
      +                  "sr",
      +                  "sk",
      +                  "sl",
      +                  "es",
      +                  "sv",
      +                  "tl",
      +                  "ta",
      +                  "te",
      +                  "th",
      +                  "tr",
      +                  "uk",
      +                  "ur",
      +                  "vi"
      +                ],
      +                "example": "en-GB",
      +                "type": "string"
      +              }
      +            ],
      +            "description": "Transcription language the config's calls are transcribed in.\nResolved to `en-GB` when the config was created without one, so\nevery config created since the field existed carries a value;\nconfigs saved before it have none, which also means `en-GB`.\n",
      +            "example": "en-GB"
      +          },
      +          "maxDurationSecs": {
      +            "description": "Whole-call ceiling in seconds. When omitted the tester applies its own default of 300.\nEvery `hold` step's `durationSecs` must fit inside it.\n",
      +            "example": 600,
      +            "maximum": 1800,
      +            "minimum": 30,
      +            "type": "integer"
      +          },
      +          "name": {
      +            "example": "Main menu regression",
      +            "type": "string"
      +          },
      +          "patternSettings": {
      +            "allOf": [
      +              {
      +                "additionalProperties": false,
      +                "description": "Thresholds and re-prompt phrases that load-test failure patterns use for this IVR. Every\nfield is optional; an omitted one uses the platform default.\n",
      +                "properties": {
      +                  "lateAnswerSecs": {
      +                    "description": "Seconds from answer to the IVR's first speech above which a call counts as a late start\n(and a failure can be \"late answer, straight to hold\"). Default 6.\n",
      +                    "example": 6,
      +                    "exclusiveMinimum": 0,
      +                    "maximum": 120,
      +                    "type": "number"
      +                  },
      +                  "repromptPhrases": {
      +                    "description": "Phrases that mean the IVR is re-prompting (\"did not understand us\"). Replace the\ndefaults: \"I didn't get that\", \"sorry, I didn't catch\", \"please say\".\n",
      +                    "example": [
      +                      "I didn't get that",
      +                      "please say"
      +                    ],
      +                    "items": {
      +                      "maxLength": 200,
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    "maxItems": 20,
      +                    "type": "array"
      +                  },
      +                  "silentTailSecs": {
      +                    "description": "Seconds of silence from the IVR, after our reply and up to hangup, for \"silent after our\nreply\". Default 10.\n",
      +                    "example": 10,
      +                    "exclusiveMinimum": 0,
      +                    "maximum": 600,
      +                    "type": "number"
      +                  }
      +                },
      +                "type": "object"
      +              }
      +            ],
      +            "description": "Load-test failure-pattern thresholds and re-prompt phrases for this IVR. Omit for the\nplatform defaults.\n"
      +          },
      +          "phoneNumber": {
      +            "description": "E.164-formatted phone number the test calls.",
      +            "example": "+442012345678",
      +            "type": "string"
      +          },
      +          "profileId": {
      +            "description": "Voice / data profile for `standard` configs only. Omitted for `parameterized`.",
      +            "type": "string"
      +          },
      +          "requiredParameters": {
      +            "description": "Required parameter labels for `parameterized` configs only.",
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "scheduleId": {
      +            "description": "Schedule that triggers automated runs (use `template:<id>` to create from a built-in template).",
      +            "type": "string"
      +          },
      +          "steps": {
      +            "items": {
      +              "description": "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",
      +              "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 (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"
      +                }
      +              },
      +              "required": [
      +                "id",
      +                "name",
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "type": {
      +            "description": "`standard` runs the steps as-is; `parameterized` requires `requiredParameters` filled\nat run-time (sweep / batch dispatchers supply them).\n",
      +            "enum": [
      +              "standard",
      +              "parameterized"
      +            ],
      +            "example": "standard",
      +            "type": "string"
      +          },
      +          "updatedAt": {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "version": {
      +            "description": "Bumped on every update — clients can use for optimistic concurrency.",
      +            "example": 1,
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "workspaceId": {
      +            "example": "<workspace-id>",
      +            "format": "uuid",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "workspaceId",
      +          "name",
      +          "phoneNumber",
      +          "steps",
      +          "version",
      +          "createdAt",
      +          "updatedAt",
      +          "createdBy"
      +        ],
      +        "type": "object"
      +      },
      +      "dtmfMarkers": {
      +        "description": "Standard tests only: when the tester sent DTMF, relative to the start of the\nrecording. Absent when the run sent no digits (never `null` or empty).\n",
      +        "items": {
      +          "description": "One DTMF send on a standard test. `spans` (one per tone) is present only when the\ncall's audio encoding is G711 (PCMA/PCMU), where tone timing is known.\n",
      +          "properties": {
      +            "digits": {
      +              "example": "1234#",
      +              "type": "string"
      +            },
      +            "durationMs": {
      +              "description": "Tone duration per digit in milliseconds.",
      +              "example": 500,
      +              "type": "number"
      +            },
      +            "encoding": {
      +              "description": "The call's stream encoding, e.g. `PCMA`.",
      +              "example": "PCMA",
      +              "type": "string"
      +            },
      +            "sentAtSec": {
      +              "description": "Seconds from the start of the recording when the digits were sent.",
      +              "example": 12.4,
      +              "type": "number"
      +            },
      +            "spans": {
      +              "items": {
      +                "properties": {
      +                  "digit": {
      +                    "example": "1",
      +                    "type": "string"
      +                  },
      +                  "endSec": {
      +                    "type": "number"
      +                  },
      +                  "startSec": {
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "digit",
      +                  "startSec",
      +                  "endSec"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "digits",
      +            "sentAtSec",
      +            "durationMs"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "stepResults": {
      +        "items": {
      +          "description": "Per-step execution outcome attached to a `TestRun`. Returned by `GET /testing/runs/{id}`.\n",
      +          "properties": {
      +            "actionType": {
      +              "description": "One of `dtmf`, `audio`, `listen`, `wait_for_callback` or `hold` if the step took an action.\n`hold` results carry `threshold` 0, `expectedTranscript` '' and `similarity` 0, which are\nplaceholders and not a match score. Outcome PASS means the hold elapsed; FAIL with\n`turnTelemetry.hold.endedBy` = `call_ended` means the far end hung up first.\n",
      +              "type": "string"
      +            },
      +            "actionValue": {
      +              "type": "string"
      +            },
      +            "actualTranscript": {
      +              "type": "string"
      +            },
      +            "createdAt": {
      +              "format": "date-time",
      +              "type": "string"
      +            },
      +            "duration": {
      +              "description": "Step duration in seconds (or `undefined` if the step did not run).",
      +              "type": "number"
      +            },
      +            "errorMessage": {
      +              "type": "string"
      +            },
      +            "expectedTranscript": {
      +              "type": "string"
      +            },
      +            "id": {
      +              "format": "uuid",
      +              "type": "string"
      +            },
      +            "matchedAnswer": {
      +              "description": "Which wording matched, set on a pass when the step's `acceptAdditionalAnswers` is on:\n0 is the step's `expected`, n is `additionalAnswers[n-1]`. Absent otherwise.\n",
      +              "example": 0,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "matcherScores": {
      +              "additionalProperties": {
      +                "type": "number"
      +              },
      +              "type": "object"
      +            },
      +            "originalOutcome": {
      +              "description": "Passed with note: the step's outcome before a `verdictNote` changed it to `PASS`. Absent\nunless a note changed the outcome.\n",
      +              "enum": [
      +                "FAIL",
      +                "TIMEOUT"
      +              ],
      +              "type": "string"
      +            },
      +            "outcome": {
      +              "enum": [
      +                "PASS",
      +                "FAIL",
      +                "TIMEOUT",
      +                "ERROR"
      +              ],
      +              "type": "string"
      +            },
      +            "runId": {
      +              "format": "uuid",
      +              "type": "string"
      +            },
      +            "similarity": {
      +              "maximum": 100,
      +              "minimum": 0,
      +              "type": "number"
      +            },
      +            "stepId": {
      +              "format": "uuid",
      +              "type": "string"
      +            },
      +            "stepIndex": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "stepName": {
      +              "type": "string"
      +            },
      +            "threshold": {
      +              "type": "integer"
      +            },
      +            "turnTelemetry": {
      +              "additionalProperties": true,
      +              "description": "Per-step / per-turn telemetry. Nested onto `TestStepResult.turnTelemetry`\n(per-step containers) and `CallTelemetry.turns[]` (turn-based containers\nsuch as mission-tester / voice-agent).\n",
      +              "properties": {
      +                "conversationTurn": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "role": {
      +                      "enum": [
      +                        "user",
      +                        "assistant",
      +                        "system"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "text": {
      +                      "type": "string"
      +                    },
      +                    "timestamp": {
      +                      "format": "date-time",
      +                      "type": "string"
      +                    },
      +                    "turnIndex": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "dtmf": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "completedAt": {
      +                      "format": "date-time",
      +                      "type": "string"
      +                    },
      +                    "digitsReceived": {
      +                      "type": "string"
      +                    },
      +                    "digitsSent": {
      +                      "type": "string"
      +                    },
      +                    "sendDurationMs": {
      +                      "type": "number"
      +                    },
      +                    "sentOnDelay": {
      +                      "type": "boolean"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "hold": {
      +                  "additionalProperties": true,
      +                  "description": "Emitted on `hold` step results. `endedBy` is `elapsed` (the full hold was served) or\n`call_ended` (the far end hung up first); it is a plain string, not an enum, so a future\ncontainer value cannot fail strict client validation.\n",
      +                  "properties": {
      +                    "endedBy": {
      +                      "description": "`elapsed` or `call_ended`.",
      +                      "type": "string"
      +                    },
      +                    "heldSecs": {
      +                      "type": "number"
      +                    },
      +                    "inboundAudioActiveRatio": {
      +                      "type": "number"
      +                    },
      +                    "inboundChunks": {
      +                      "type": "number"
      +                    },
      +                    "requestedSecs": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "llmExtraction": {
      +                  "additionalProperties": true,
      +                  "description": "LLM extraction telemetry — model, token counts, latency and hallucination flag.",
      +                  "properties": {
      +                    "hallucinationDetected": {
      +                      "type": "boolean"
      +                    },
      +                    "inputTokens": {
      +                      "type": "number"
      +                    },
      +                    "latencyMs": {
      +                      "type": "number"
      +                    },
      +                    "model": {
      +                      "type": "string"
      +                    },
      +                    "operation": {
      +                      "type": "string"
      +                    },
      +                    "outputTokens": {
      +                      "type": "number"
      +                    },
      +                    "reasoning": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "schemaVersion": {
      +                  "enum": [
      +                    1
      +                  ],
      +                  "type": "integer"
      +                },
      +                "timing": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "durationMs": {
      +                      "type": "number"
      +                    },
      +                    "endedAt": {
      +                      "format": "date-time",
      +                      "type": "string"
      +                    },
      +                    "responseLatencyMs": {
      +                      "description": "Per-turn response latency (bot/IVR turn-around) in milliseconds.",
      +                      "type": "number"
      +                    },
      +                    "startedAt": {
      +                      "format": "date-time",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "transcript": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "avgWordConfidence": {
      +                      "type": "number"
      +                    },
      +                    "detectedLanguage": {
      +                      "type": "string"
      +                    },
      +                    "minWordConfidence": {
      +                      "type": "number"
      +                    },
      +                    "wordCount": {
      +                      "type": "number"
      +                    },
      +                    "words": {
      +                      "items": {
      +                        "properties": {
      +                          "confidence": {
      +                            "type": "number"
      +                          },
      +                          "endMs": {
      +                            "type": "number"
      +                          },
      +                          "startMs": {
      +                            "type": "number"
      +                          },
      +                          "word": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "word",
      +                          "startMs",
      +                          "endMs"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    }
      +                  },
      +                  "type": "object"
      +                }
      +              },
      +              "required": [
      +                "schemaVersion"
      +              ],
      +              "type": "object"
      +            },
      +            "verdictNote": {
      +              "description": "Passed with note: why a call (or step) that failed on its hold check counts as passed.\n`hold_unconfirmed`: the call reached hold and the line had sound on it, but the live check\ncould not confirm music (set by the tester, `by: live`). `hold_music_rechecked`: after the\nrun, the hold detector heard music in the call's recording (`by: recheck`). `outcome` is\n`PASS` and `originalOutcome` keeps the outcome before the note. Absent on calls and steps\nwithout a note.\n",
      +              "properties": {
      +                "at": {
      +                  "description": "When the note was made.",
      +                  "format": "date-time",
      +                  "type": "string"
      +                },
      +                "by": {
      +                  "enum": [
      +                    "live",
      +                    "recheck"
      +                  ],
      +                  "type": "string"
      +                },
      +                "detail": {
      +                  "description": "One plain sentence, to show as it is.",
      +                  "type": "string"
      +                },
      +                "evidence": {
      +                  "properties": {
      +                    "detector": {
      +                      "description": "The version of the hold detector that judged it.",
      +                      "type": "string"
      +                    },
      +                    "inboundAudioActiveRatio": {
      +                      "type": "number"
      +                    },
      +                    "musicRatio": {
      +                      "type": "number"
      +                    },
      +                    "noiseRatio": {
      +                      "type": "number"
      +                    },
      +                    "silenceRatio": {
      +                      "type": "number"
      +                    },
      +                    "speechRatio": {
      +                      "type": "number"
      +                    },
      +                    "stepIndex": {
      +                      "description": "The step the note is about.",
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "window": {
      +                      "description": "The part of the recording checked, in seconds after answer (re-check).",
      +                      "properties": {
      +                        "fromSecs": {
      +                          "type": "number"
      +                        },
      +                        "toSecs": {
      +                          "type": "number"
      +                        }
      +                      },
      +                      "required": [
      +                        "fromSecs",
      +                        "toSecs"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  },
      +                  "required": [
      +                    "stepIndex"
      +                  ],
      +                  "type": "object"
      +                },
      +                "kind": {
      +                  "enum": [
      +                    "hold_unconfirmed",
      +                    "hold_music_rechecked"
      +                  ],
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "kind",
      +                "by",
      +                "at",
      +                "detail",
      +                "evidence"
      +              ],
      +              "type": "object"
      +            },
      +            "words": {
      +              "items": {
      +                "properties": {
      +                  "confidence": {
      +                    "maximum": 1,
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "end": {
      +                    "type": "number"
      +                  },
      +                  "start": {
      +                    "type": "number"
      +                  },
      +                  "word": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "word",
      +                  "start",
      +                  "end",
      +                  "confidence"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "runId",
      +            "stepIndex",
      +            "stepId",
      +            "stepName",
      +            "outcome",
      +            "expectedTranscript",
      +            "threshold",
      +            "createdAt"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "type": "object"
      +  }
      +]
  4. First observed

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds genuinely new behavior: what the response contains per step (outcome, transcript, similarity scores, words) and the failure mode 'Returns 404 cross-workspace'. It does not discuss pagination or size limits on transcripts, which is the remaining gap for a read tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core verb and scope, then routing rules, then the error condition – each sentence contributes. The style is telegraphic ('words', 'Returns 404 cross-workspace'), which is dense but slightly clipped rather than wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read tool with an output schema, annotations, and full schema coverage, the description supplies everything an agent needs: scope, selection rules against three siblings, and the cross-workspace failure mode. Return-value detail is correctly left to the output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is a single required parameter with 100% schema description coverage ('Test run identifier', uuid format), so the schema carries the semantics. The description only reinforces that the id spans multiple run types; it adds no format, aliasing, or lookup guidance beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Get any test run... by id') and enumerates the covered run types (standard/param/mission/compliance), plus what comes back (per-step outcome, transcript, similarity scores, words). It is clearly distinguishable from getMissionTestRun, listTestRuns, and aggregateTestRuns, which it names explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit selection rules: use this for per-step breakdowns or when the run type is unknown, prefer getMissionTestRun for mission-specific shape (verdict, evidence, judgeReasoning), use listTestRuns for listing and aggregateTestRuns for counts. Both when-to-use and when-not-to-use are stated, with the named alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.