TestConfig
Scripted regression test plan. A `TestConfig` is a reusable plan of ordered `TestStep`s that callers re-run against a phone number via `POST /testing/runs`.
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| workspaceId | string | |
| name | string | |
| description | string | |
| phoneNumber | string | E.164-formatted phone number the test calls. |
| type | string | `standard` runs the steps as-is; `parameterized` requires `requiredParameters` filled at run-time (sweep / batch dispatchers supply them). |
| profileId | string | Voice / data profile for `standard` configs only. Omitted for `parameterized`. |
| requiredParameters | array | Required parameter labels for `parameterized` configs only. |
| scheduleId | string | Schedule that triggers automated runs (use `template: |
| language | object | Transcription language the config's calls are transcribed in. Resolved to `en-GB` when the config was created without one, so every config created since the field existed carries a value; configs save |
| patternSettings | object | Load-test failure-pattern thresholds and re-prompt phrases for this IVR. Omit for the platform defaults. |
| backgroundNoise | object | Caller background noise played under the call. Omit for none. |
| lineNoise | boolean | Quiet line noise (-60 dBFS) played under every call so the line is never digitally silent. Absent or `true` means on (the default); `false` turns it off for this config. |
| maxDurationSecs | integer | Whole-call ceiling in seconds. When omitted the tester applies its own default of 300. Every `hold` step's `durationSecs` must fit inside it. |
| carrierRouteId | string | Bring-your-own-carrier (invite-only). Dial this config's calls through one of the workspace's carrier routes, over the workspace's own SIP trunk, instead of nopaque's network. Carrier routes are set u |
| steps | array | |
| version | integer | Bumped on every update — clients can use for optimistic concurrency. |
| createdAt | string | |
| updatedAt | string | |
| createdBy | string | User ID of the creator. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/nopaque-co-uk/json-schema/nopaque-co-uk-test-config-schema.json",
"title": "TestConfig",
"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",
"x-generated": "2026-11-29",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/nopaque-co-uk-openapi.json#/components/schemas/TestConfig",
"type": "object",
"required": [
"id",
"workspaceId",
"name",
"phoneNumber",
"steps",
"version",
"createdAt",
"updatedAt",
"createdBy"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"phoneNumber": {
"type": "string",
"description": "E.164-formatted phone number the test calls."
},
"type": {
"type": "string",
"enum": [
"standard",
"parameterized"
],
"description": "`standard` runs the steps as-is; `parameterized` requires `requiredParameters` filled\nat run-time (sweep / batch dispatchers supply them).\n"
},
"profileId": {
"type": "string",
"description": "Voice / data profile for `standard` configs only. Omitted for `parameterized`."
},
"requiredParameters": {
"type": "array",
"items": {
"type": "string"
},
"description": "Required parameter labels for `parameterized` configs only."
},
"scheduleId": {
"type": "string",
"description": "Schedule that triggers automated runs (use `template:<id>` to create from a built-in template)."
},
"language": {
"allOf": [
{
"$ref": "#/$defs/TranscriptionLanguage"
}
],
"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"
},
"patternSettings": {
"allOf": [
{
"$ref": "#/$defs/PatternSettings"
}
],
"description": "Load-test failure-pattern thresholds and re-prompt phrases for this IVR. Omit for the\nplatform defaults.\n"
},
"backgroundNoise": {
"allOf": [
{
"$ref": "#/$defs/BackgroundNoise"
}
],
"description": "Caller background noise played under the call. Omit for none.\n"
},
"lineNoise": {
"type": "boolean",
"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"
},
"maxDurationSecs": {
"type": "integer",
"minimum": 30,
"maximum": 1800,
"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"
},
"carrierRouteId": {
"type": "string",
"maxLength": 128,
"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"
},
"steps": {
"type": "array",
"items": {
"$ref": "#/$defs/TestStep"
}
},
"version": {
"type": "integer",
"minimum": 1,
"description": "Bumped on every update — clients can use for optimistic concurrency."
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"createdBy": {
"type": "string",
"description": "User ID of the creator."
}
},
"$defs": {
"BackgroundNoise": {
"type": "string",
"enum": [
"cafe",
"street",
"home",
"wind"
],
"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"
},
"PatternSettings": {
"type": "object",
"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": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 120,
"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"
},
"silentTailSecs": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 600,
"description": "Seconds of silence from the IVR, after our reply and up to hangup, for \"silent after our\nreply\". Default 10.\n"
},
"repromptPhrases": {
"type": "array",
"maxItems": 20,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"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"
}
}
},
"TestStep": {
"description": "A step as stored and returned: a `TestStepInput` that always carries its `id`.\n",
"allOf": [
{
"$ref": "#/$defs/TestStepInput"
},
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "Step identifier. Always present on a stored step."
}
}
}
]
},
"TestStepAdditionalAnswer": {
"type": "object",
"description": "One other acceptable wording of a step's `expected` prompt.",
"required": [
"expected"
],
"properties": {
"expected": {
"type": "string",
"minLength": 1,
"description": "The wording. Must contain non-space text."
},
"threshold": {
"type": "number",
"minimum": 0,
"maximum": 100,
"description": "Similarity percentage this wording needs. Defaults to the step's `threshold`."
},
"timeout": {
"type": "integer",
"minimum": 1,
"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"
}
}
},
"TestStepInput": {
"type": "object",
"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",
"required": [
"name",
"type"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"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"
},
"name": {
"type": "string",
"description": "Human-readable step label."
},
"type": {
"type": "string",
"enum": [
"dtmf",
"audio",
"listen",
"wait_for_callback",
"hold"
],
"description": "Step action type — keypad input, audio response, passive listen, wait for an inbound\ncallback, or hold (stay on the line for `durationSecs`).\n"
},
"expected": {
"type": "string",
"description": "Expected transcript (or regex-like phrase) to match before the step succeeds.\nApplies to `dtmf` / `audio` / `listen`; absent on `hold` steps.\n"
},
"threshold": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"default": 90,
"description": "Similarity percentage required for the transcript match to succeed. Server default 90\nfor `dtmf` / `audio` / `listen`; absent on `hold` steps.\n"
},
"timeout": {
"type": "integer",
"minimum": 1,
"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"
},
"durationSecs": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1800,
"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"
},
"expectMusic": {
"type": "boolean",
"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"
},
"isTransfer": {
"type": "boolean",
"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"
},
"replyDelayMs": {
"type": "integer",
"minimum": 0,
"maximum": 10000,
"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"
},
"acceptAdditionalAnswers": {
"type": "boolean",
"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"
},
"additionalAnswers": {
"type": "array",
"maxItems": 10,
"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": {
"$ref": "#/$defs/TestStepAdditionalAnswer"
}
},
"delay": {
"type": "integer",
"minimum": 0,
"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"
},
"dtmf": {
"type": "string",
"description": "DTMF digits to send when `type` is `dtmf` (manual entry; usually resolved via `profileItemId`)."
},
"audioUrl": {
"type": "string",
"description": "Audio URL when `type` is `audio` (manual entry; usually resolved via `profileItemId`)."
},
"profileItemId": {
"type": "string",
"description": "Profile item reference. Resolved server-side to the runtime DTMF / audio payload."
}
}
},
"TranscriptionLanguage": {
"type": "string",
"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"
]
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/nopaque-co-uk-test-config"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.