CumulusDocs
Open Studio
On this page

Get case results

Read case results and each trial’s assertion verdicts.

Operation ID: test_runs.results.

Request

GET /api/v1/test-runs/{test_run_id}/results

  • TypeScript SDK: client.test_runs.results (path arguments use path).
  • MCP tool: sdk_client_call with operationId: "test_runs.results" (path arguments use input.path). Legacy alias: test_runs_results. Connect to your authenticated /mcp endpoint with an API key for the same environment.
  • Minimum API key role: viewer.
  • Idempotency: No idempotency header required.

Read resource IDs from earlier responses and use a key for the same environment.

Request example

Set each path variable to an ID returned by an earlier API request.

Set CUMULUS_BASE_URL to your workspace API URL and CUMULUS_API_KEY to a key for that environment. Example values are synthetic.

cURL

curl
curl --fail-with-body -sS "${CUMULUS_BASE_URL%/}/api/v1/test-runs/${TEST_RUN_ID}/results" \
  -H "Authorization: Bearer $CUMULUS_API_KEY"

TypeScript

typescript
import { Cumulus } from "@cumulus/sdk";

const baseUrl = process.env.CUMULUS_BASE_URL;
const apiKey = process.env.CUMULUS_API_KEY;
if (!baseUrl || !apiKey) throw new Error("Set CUMULUS_BASE_URL and CUMULUS_API_KEY");
const client = new Cumulus({ baseUrl, apiKey });

const response = await client.test_runs.results({
  "path": {
    "test_run_id": "<test_run_id>"
  }
});

Input schema

Path, query and header parameters

test_run_id

path parameter · Required.

Type: string (uuid). pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$.

status

query parameter · Optional.

Type: "passed" · "flaky_passed" · "failed" · "errored" · "invalid".

suite_id

query parameter · Optional.

Type: string (uuid). pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$.

cursor

query parameter · Optional.

Type: string. maxLength: 1024.

limit

query parameter · Optional.

Type: integer. At least 1. At most 200. Default: 50.

JSON request body

This operation has no JSON request body.

Complete OpenAPI schema
OpenAPI JSON
{
  "parameters": [
    {
      "name": "test_run_id",
      "in": "path",
      "required": true,
      "schema": {
        "type": "string",
        "format": "uuid",
        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
      }
    },
    {
      "name": "status",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string",
        "enum": [
          "passed",
          "flaky_passed",
          "failed",
          "errored",
          "invalid"
        ]
      }
    },
    {
      "name": "suite_id",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string",
        "format": "uuid",
        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
      }
    },
    {
      "name": "cursor",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string",
        "maxLength": 1024
      }
    },
    {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
        "default": 50,
        "type": "integer",
        "minimum": 1,
        "maximum": 200
      }
    }
  ],
  "requestBody": null
}

Responses

HTTP 200

List a test run's case results with each trial's assertion verdicts

application/json

FieldType or valuesRequiredDescription and limits
itemsarray of objectRequired—
items[].suite_idstring (uuid)RequiredIdentifier of the test suite. pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$.
items[].case_idstringRequiredminLength: 1. maxLength: 64. pattern: ^[a-z0-9][a-z0-9_-]*$.
items[].namestringRequiredminLength: 1. maxLength: 200.
items[].verdict"passed" · "flaky_passed" · "failed" · "errored" · "invalid" or nullRequired—
items[].change"fixed" · "regressed" · "unchanged" · "new" · "removed" or nullRequired—
items[].blockingbooleanRequired—
items[].diagnosticsarray of objectRequiredmaxItems: 50.
items[].diagnostics[].codestringRequiredminLength: 1. maxLength: 128.
items[].diagnostics[].pathstringRequiredmaxLength: 1024.
items[].diagnostics[].messagestringRequiredmaxLength: 4096.
items[].diagnostics[].severity"warning" · "error"Required—
items[].diagnostics[].fixesarray of objectOptionalmaxItems: 8.
items[].diagnostics[].fixes[].idstringRequiredminLength: 1. maxLength: 64.
items[].diagnostics[].fixes[].labelstringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].editsarray of objectRequiredminItems: 1. maxItems: 100.
items[].diagnostics[].fixes[].edits[] · variant 1object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"agent.name"Required—
items[].diagnostics[].fixes[].edits[].namestringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[] · variant 2object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"agent.settings"Required—
items[].diagnostics[].fixes[].edits[].valuesobjectRequired—
items[].diagnostics[].fixes[].edits[].values.voiceIdstringOptionalminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].values.voiceModelstringOptionalminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].values.voiceSpeednumberOptionalAt least 0.5. At most 2.
items[].diagnostics[].fixes[].edits[].values.voiceTemperaturenumberOptionalAt least 0. At most 2.
items[].diagnostics[].fixes[].edits[].values.volumenumberOptionalAt least 0. At most 2.
items[].diagnostics[].fixes[].edits[].values.languagestring or array of stringOptional—
items[].diagnostics[].fixes[].edits[].values.language · variant 1string—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].values.language · variant 2array of string—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].values.responsivenessnumberOptionalAt least 0. At most 1.
items[].diagnostics[].fixes[].edits[].values.interruptionSensitivitynumberOptionalAt least 0. At most 1.
items[].diagnostics[].fixes[].edits[].values.enableBackchannelbooleanOptional—
items[].diagnostics[].fixes[].edits[].values.backchannelFrequencynumberOptionalAt least 0. At most 1.
items[].diagnostics[].fixes[].edits[].values.backchannelWordsarray of stringOptional—
items[].diagnostics[].fixes[].edits[].values.reminderTriggerMsintegerOptionalAt least 0. At most 3600000.
items[].diagnostics[].fixes[].edits[].values.reminderMaxCountintegerOptionalAt least 0. At most 100.
items[].diagnostics[].fixes[].edits[].values.maxCallDurationMsintegerOptionalAt least 1000. At most 86400000.
items[].diagnostics[].fixes[].edits[].values.endCallAfterSilenceMsintegerOptionalAt least 1000. At most 3600000.
items[].diagnostics[].fixes[].edits[].values.ringDurationMsintegerOptionalAt least 1000. At most 300000.
items[].diagnostics[].fixes[].edits[].values.beginMessageDelayMsintegerOptionalAt least 0. At most 60000.
items[].diagnostics[].fixes[].edits[].values.normalizeForSpeechbooleanOptional—
items[].diagnostics[].fixes[].edits[].values.openerWaitsForCalleebooleanOptional—
items[].diagnostics[].fixes[].edits[].values.voicemailobjectOptional—
items[].diagnostics[].fixes[].edits[].values.voicemail.enabledbooleanRequired—
items[].diagnostics[].fixes[].edits[].values.voicemail.detectionTimeoutMsintegerOptionalGreater than 0. At most 9007199254740991.
items[].diagnostics[].fixes[].edits[].values.voicemail.action"hangup" · "leave_message"Optional—
items[].diagnostics[].fixes[].edits[].values.voicemail.messageobjectOptional—
items[].diagnostics[].fixes[].edits[].values.voicemail.message.type"prompt" · "static_text"Required—
items[].diagnostics[].fixes[].edits[].values.voicemail.message.textstringRequired—
items[].diagnostics[].fixes[].edits[].values.ambientSoundstringOptional—
items[].diagnostics[].fixes[].edits[].values.ambientSoundVolumenumberOptionalAt least 0. At most 2.
items[].diagnostics[].fixes[].edits[].values.boostedKeywordsarray of stringOptional—
items[].diagnostics[].fixes[].edits[].values.pronunciationDictionaryarray of objectOptional—
items[].diagnostics[].fixes[].edits[].values.pronunciationDictionary[].wordstringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].values.pronunciationDictionary[].alphabet"ipa" · "cmu"Required—
items[].diagnostics[].fixes[].edits[].values.pronunciationDictionary[].phonemestringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].values.denoisingModestringOptional—
items[].diagnostics[].fixes[].edits[].values.sttModestringOptional—
items[].diagnostics[].fixes[].edits[].values.allowUserDtmfbooleanOptional—
items[].diagnostics[].fixes[].edits[].values.allowDtmfInterruptionbooleanOptional—
items[].diagnostics[].fixes[].edits[].values.userDtmfOptionsobject or nullOptional—
items[].diagnostics[].fixes[].edits[].values.userDtmfOptions.digitLimitinteger or nullOptionalGreater than 0. At most 9007199254740991.
items[].diagnostics[].fixes[].edits[].values.userDtmfOptions.terminationKey"0" · "1" · "2" · "3" · "4" · "5" · "6" · "7" · "8" · "9" · "*" · "#" or nullOptional—
items[].diagnostics[].fixes[].edits[].values.userDtmfOptions.timeoutMsintegerOptionalGreater than 0. At most 9007199254740991.
items[].diagnostics[].fixes[].edits[].values.dataStorageSetting"everything" · "everything_except_pii" · "basic_attributes_only"Optional—
items[].diagnostics[].fixes[].edits[].values.optInSignedUrlbooleanOptional—
items[].diagnostics[].fixes[].edits[].values.piiConfigobjectOptional—
items[].diagnostics[].fixes[].edits[].values.piiConfig.mode"post_call"Required—
items[].diagnostics[].fixes[].edits[].values.piiConfig.categoriesarray of "person_name" · "address" · "email" · "phone_number" · "ssn" · "passport" · "driver_license" · "credit_card" · "bank_account" · "password" · "pin" · "medical_id" · "date_of_birth" · "customer_account_number"Required—
items[].diagnostics[].fixes[].edits[].values.handbookConfigobjectOptional—
items[].diagnostics[].fixes[].edits[].values.handbookConfig.defaultPersonalitybooleanOptional—
items[].diagnostics[].fixes[].edits[].values.handbookConfig.conversationalPersonalitybooleanOptional—
items[].diagnostics[].fixes[].edits[].values.handbookConfig.naturalFillerWordsbooleanOptional—
items[].diagnostics[].fixes[].edits[].values.handbookConfig.highEmpathybooleanOptional—
items[].diagnostics[].fixes[].edits[].values.handbookConfig.echoVerificationbooleanOptional—
items[].diagnostics[].fixes[].edits[].values.handbookConfig.natoPhoneticAlphabetbooleanOptional—
items[].diagnostics[].fixes[].edits[].values.handbookConfig.speechNormalizationbooleanOptional—
items[].diagnostics[].fixes[].edits[].values.handbookConfig.smartMatchingbooleanOptional—
items[].diagnostics[].fixes[].edits[].values.handbookConfig.aiDisclosurebooleanOptional—
items[].diagnostics[].fixes[].edits[].values.handbookConfig.scopeBoundariesbooleanOptional—
items[].diagnostics[].fixes[].edits[].values.ivrobjectOptional—
items[].diagnostics[].fixes[].edits[].values.ivr · variant 1object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].values.ivr.enabledfalseRequired—
items[].diagnostics[].fixes[].edits[].values.ivr · variant 2object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].values.ivr.enabledtrueRequired—
items[].diagnostics[].fixes[].edits[].values.ivr.action"hangup"Required—
items[].diagnostics[].fixes[].edits[].values.ivr.detectionWindowMs180000Required—
items[].diagnostics[].fixes[].edits[].values.ivr.detectionPromptstring or nullOptional—
items[].diagnostics[].fixes[].edits[].values.screenerobjectOptional—
items[].diagnostics[].fixes[].edits[].values.screener · variant 1object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].values.screener.action"hangup"Required—
items[].diagnostics[].fixes[].edits[].values.screener · variant 2object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].values.screener.action"wait"Required—
items[].diagnostics[].fixes[].edits[].values.screener.waitMsintegerOptionalAt least 5000. At most 120000.
items[].diagnostics[].fixes[].edits[].values.screener · variant 3object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].values.screener.action"play_line"Required—
items[].diagnostics[].fixes[].edits[].values.screener.waitMsintegerOptionalAt least 5000. At most 120000.
items[].diagnostics[].fixes[].edits[].values.screener.lineobjectRequired—
items[].diagnostics[].fixes[].edits[].values.screener.line.enstringOptionalminLength: 1. maxLength: 500.
items[].diagnostics[].fixes[].edits[].values.screener.line.esstringOptionalminLength: 1. maxLength: 500.
items[].diagnostics[].fixes[].edits[].values.screener · variant 4object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].values.screener.action"treat_as_human"Required—
items[].diagnostics[].fixes[].edits[].values.postCallAnalysisModelobjectOptional—
items[].diagnostics[].fixes[].edits[].values.postCallAnalysisModel.modelobjectRequired—
items[].diagnostics[].fixes[].edits[].values.postCallAnalysisModel.model.model_idstringRequiredminLength: 1. pattern: \S.
items[].diagnostics[].fixes[].edits[].values.postCallAnalysisModel.model.providerstringRequiredminLength: 1. pattern: \S.
items[].diagnostics[].fixes[].edits[].values.postCallAnalysisModel.model.tier"frontier" · "cumulus-served" · "customer-gpu"Required—
items[].diagnostics[].fixes[].edits[].values.postCallAnalysisModel.credentialobjectOptional—
items[].diagnostics[].fixes[].edits[].values.postCallAnalysisModel.credential.idstringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].values.postCallAnalysisModel.credential.versionstringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].values.postCallAnalysisModel.credential.providerstringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].values.complianceobjectOptional—
items[].diagnostics[].fixes[].edits[].values.compliance.profile"fdcpa"Optional—
items[].diagnostics[].fixes[].edits[].cleararray of "voiceId" · "voiceModel" · "voiceSpeed" · "voiceTemperature" · "volume" · "language" · "responsiveness" · "interruptionSensitivity" · "enableBackchannel" · "backchannelFrequency" · "backchannelWords" · "reminderTriggerMs" · "reminderMaxCount" · "maxCallDurationMs" · "endCallAfterSilenceMs" · "ringDurationMs" · "beginMessageDelayMs" · "normalizeForSpeech" · "openerWaitsForCallee" · "voicemail" · "ambientSound" · "ambientSoundVolume" · "boostedKeywords" · "pronunciationDictionary" · "denoisingMode" · "sttMode" · "allowUserDtmf" · "allowDtmfInterruption" · "userDtmfOptions" · "dataStorageSetting" · "optInSignedUrl" · "piiConfig" · "handbookConfig" · "ivr" · "screener" · "postCallAnalysisModel" · "compliance"Required—
items[].diagnostics[].fixes[].edits[] · variant 3object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"agent.analysis"Required—
items[].diagnostics[].fixes[].edits[].fieldsarray of objectRequired—
items[].diagnostics[].fixes[].edits[].fields[].namestringRequiredmaxLength: 256.
items[].diagnostics[].fixes[].edits[].fields[].type"string" · "number" · "boolean" · "enum"Required—
items[].diagnostics[].fixes[].edits[].fields[].descriptionstringRequired—
items[].diagnostics[].fixes[].edits[].fields[].choicesarray of stringOptional—
items[].diagnostics[].fixes[].edits[].fields[].examplesarray of stringOptional—
items[].diagnostics[].fixes[].edits[] · variant 4object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"agent.provider"Required—
items[].diagnostics[].fixes[].edits[].role"stt" · "llm" · "tts"Required—
items[].diagnostics[].fixes[].edits[].changesobjectRequired—
items[].diagnostics[].fixes[].edits[].changes · variant 1object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].changes.providerstringOptionalminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].changes.modelstringOptionalminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].changes.voiceIdstring or nullOptionalminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].changes.endpointstring (uri) or nullOptional—
items[].diagnostics[].fixes[].edits[].changes.credentialobject or nullOptional—
items[].diagnostics[].fixes[].edits[].changes.credential.idstringRequired in a non-null parentminLength: 1. maxLength: 128.
items[].diagnostics[].fixes[].edits[].changes.credential.versionstringRequired in a non-null parentminLength: 1. maxLength: 128.
items[].diagnostics[].fixes[].edits[].changes · variant 2object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].changes.modelobjectOptional—
items[].diagnostics[].fixes[].edits[].changes.model · combined section 1object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].changes.model.model_idstringRequiredminLength: 1. pattern: \S.
items[].diagnostics[].fixes[].edits[].changes.model.providerstringRequiredminLength: 1. pattern: \S.
items[].diagnostics[].fixes[].edits[].changes.model.tier"frontier" · "cumulus-served" · "customer-gpu"Required—
items[].diagnostics[].fixes[].edits[].changes.credentialobject or nullOptional—
items[].diagnostics[].fixes[].edits[].changes.credential.idstringRequired in a non-null parentminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].changes.credential.versionstringRequired in a non-null parentminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].changes.credential.providerstringRequired in a non-null parentminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].changes.provider"openai" · "simulated_openai" · "self_hosted" · "simulated_self_hosted"Optional—
items[].diagnostics[].fixes[].edits[].changes.endpointstring (uri) or nullOptional—
items[].diagnostics[].fixes[].edits[] · variant 5object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"agent.telephony"Required—
items[].diagnostics[].fixes[].edits[].valueobjectRequired—
items[].diagnostics[].fixes[].edits[].value.trunkIdstringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].value.fromstringOptionalpattern: ^+[1-9][0-9]{6,14}$.
items[].diagnostics[].fixes[].edits[] · variant 6object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"agent.recording"Required—
items[].diagnostics[].fixes[].edits[].valueobjectRequired—
items[].diagnostics[].fixes[].edits[].value.requiredbooleanRequired—
items[].diagnostics[].fixes[].edits[].value.channels"dual"Required—
items[].diagnostics[].fixes[].edits[] · variant 7object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"phone.inbound_context"Required—
items[].diagnostics[].fixes[].edits[].valueobject or nullRequired—
items[].diagnostics[].fixes[].edits[].value.action_idstringRequired in a non-null parentpattern: ^[a-z][a-z0-9_]{0,62}$.
items[].diagnostics[].fixes[].edits[].value.variablesarray of stringRequired in a non-null parentminItems: 1. maxItems: 256.
items[].diagnostics[].fixes[].edits[] · variant 8object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"flow.prompt"Required—
items[].diagnostics[].fixes[].edits[].textstringRequired—
items[].diagnostics[].fixes[].edits[] · variant 9object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"node.name"Required—
items[].diagnostics[].fixes[].edits[].component_idstring or nullRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].node_idstringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].namestring or nullRequired—
items[].diagnostics[].fixes[].edits[] · variant 10object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"node.instruction"Required—
items[].diagnostics[].fixes[].edits[].component_idstring or nullRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].node_idstringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].instructionobject or nullRequired—
items[].diagnostics[].fixes[].edits[].instruction.type"prompt" · "static_text"Required in a non-null parent—
items[].diagnostics[].fixes[].edits[].instruction.textstringRequired in a non-null parent—
items[].diagnostics[].fixes[].edits[] · variant 11object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"node.transitions"Required—
items[].diagnostics[].fixes[].edits[].component_idstring or nullRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].node_idstringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].edgesarray of objectRequired—
items[].diagnostics[].fixes[].edits[].edges[].idstringOptionalminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].edges[].destinationNodeIdstringOptionalminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].edges[].slot"edges" · "else_edge" · "skip_response_edge" · "always_edge" · "edge" · "success_edge"Required—
items[].diagnostics[].fixes[].edits[].edges[].conditionobjectRequired—
items[].diagnostics[].fixes[].edits[].edges[].condition · variant 1object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].edges[].condition.type"always"Required—
items[].diagnostics[].fixes[].edits[].edges[].condition · variant 2object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].edges[].condition.type"conversation_language"Required—
items[].diagnostics[].fixes[].edits[].edges[].condition.language"en" · "es"Required—
items[].diagnostics[].fixes[].edits[].edges[].condition · variant 3object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].edges[].condition.type"prompt"Required—
items[].diagnostics[].fixes[].edits[].edges[].condition.promptstringRequired—
items[].diagnostics[].fixes[].edits[].edges[].condition · variant 4object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].edges[].condition.type"equation"Required—
items[].diagnostics[].fixes[].edits[].edges[].condition.operator"&&" · "||"Required—
items[].diagnostics[].fixes[].edits[].edges[].condition.equationsarray of objectRequiredminItems: 1.
items[].diagnostics[].fixes[].edits[].edges[].condition.equations[].leftstringRequired—
items[].diagnostics[].fixes[].edits[].edges[].condition.equations[].operator"==" · "!=" · ">" · "<" · ">=" · "<=" · "contains" · "is_set" · "is_not_set"Required—
items[].diagnostics[].fixes[].edits[].edges[].condition.equations[].rightstringRequired—
items[].diagnostics[].fixes[].edits[].edges[].complianceobjectOptional—
items[].diagnostics[].fixes[].edits[].edges[].compliance.setsarray of "rpc_confirmed"RequiredminItems: 1.
items[].diagnostics[].fixes[].edits[] · variant 12object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"node.configure"Required—
items[].diagnostics[].fixes[].edits[].component_idstring or nullRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].node_idstringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].changesobjectRequired—
items[].diagnostics[].fixes[].edits[].changes.namestring or nullOptional—
items[].diagnostics[].fixes[].edits[].changes.instructionobject or nullOptional—
items[].diagnostics[].fixes[].edits[].changes.instruction.type"prompt" · "static_text"Required in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.instruction.textstringRequired in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.startSpeaker"agent" · "user" or nullOptional—
items[].diagnostics[].fixes[].edits[].changes.interruptionSensitivitynumber or nullOptionalAt least 0. At most 1.
items[].diagnostics[].fixes[].edits[].changes.voiceSpeednumber or nullOptionalAt least 0.5. At most 2.
items[].diagnostics[].fixes[].edits[].changes.languageLockedboolean or nullOptional—
items[].diagnostics[].fixes[].edits[].changes.globalNodeSettingobject or nullOptional—
items[].diagnostics[].fixes[].edits[].changes.globalNodeSetting.conditionstringRequired in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.globalNodeSetting.coolDownnumberOptionalAt least 0.
items[].diagnostics[].fixes[].edits[].changes.toolIdstring or nullOptionalminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].changes.waitForResultboolean or nullOptional—
items[].diagnostics[].fixes[].edits[].changes.speakDuringExecutionboolean or nullOptional—
items[].diagnostics[].fixes[].edits[].changes.executionMessageobject or nullOptional—
items[].diagnostics[].fixes[].edits[].changes.executionMessage.type"prompt" · "static_text"Required in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.executionMessage.textstringRequired in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.transferobject or nullOptional—
items[].diagnostics[].fixes[].edits[].changes.transfer.destinationobjectRequired in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.transfer.destination · variant 1object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].changes.transfer.destination.type"predefined"Required in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.transfer.destination.numberstringRequired in a non-null parentmaxLength: 256.
items[].diagnostics[].fixes[].edits[].changes.transfer.destination · variant 2object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].changes.transfer.destination.type"inferred"Required in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.transfer.destination.promptstringRequired in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.transfer.optionobjectRequired in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.transfer.option.type"cold_transfer" · "warm_transfer"Required in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.transfer.option.showTransfereeAsCallerbooleanOptional—
items[].diagnostics[].fixes[].edits[].changes.transfer.option.optOutHumanDetectionbooleanOptional—
items[].diagnostics[].fixes[].edits[].changes.transfer.option.enableBridgeAudioCuebooleanOptional—
items[].diagnostics[].fixes[].edits[].changes.transfer.option.onHoldMusicstringOptional—
items[].diagnostics[].fixes[].edits[].changes.transfer.option.agentDetectionTimeoutMsintegerOptionalAt least 0. At most 9007199254740991.
items[].diagnostics[].fixes[].edits[].changes.transfer.option.agentDetectionPromptstringOptional—
items[].diagnostics[].fixes[].edits[].changes.transfer.option.transferMessageobjectOptional—
items[].diagnostics[].fixes[].edits[].changes.transfer.option.transferMessage.type"prompt" · "static_text"Required in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.transfer.option.transferMessage.textstringRequired in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.transfer.option.privateHandoffMessageobjectOptional—
items[].diagnostics[].fixes[].edits[].changes.transfer.option.privateHandoffMessage.type"prompt" · "static_text"Required in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.transfer.option.privateHandoffMessage.textstringRequired in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.transfer.option.coldTransferModestringOptional—
items[].diagnostics[].fixes[].edits[].changes.transfer.ignoreE164ValidationbooleanRequired in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.variablesarray of object or nullOptional—
items[].diagnostics[].fixes[].edits[].changes.variables[].namestringRequired in a non-null parentmaxLength: 256.
items[].diagnostics[].fixes[].edits[].changes.variables[].type"string" · "number" · "boolean" · "enum"Required in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.variables[].descriptionstringRequired in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.variables[].choicesarray of stringOptional—
items[].diagnostics[].fixes[].edits[].changes.modelChoiceobject or nullOptional—
items[].diagnostics[].fixes[].edits[].changes.modelChoice.modelobjectRequired in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.modelChoice.model.model_idstringRequired in a non-null parentminLength: 1. pattern: \S.
items[].diagnostics[].fixes[].edits[].changes.modelChoice.model.providerstringRequired in a non-null parentminLength: 1. pattern: \S.
items[].diagnostics[].fixes[].edits[].changes.modelChoice.model.tier"frontier" · "cumulus-served" · "customer-gpu"Required in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.modelChoice.credentialobjectOptional—
items[].diagnostics[].fixes[].edits[].changes.modelChoice.credential.idstringRequired in a non-null parentminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].changes.modelChoice.credential.versionstringRequired in a non-null parentminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].changes.modelChoice.credential.providerstringRequired in a non-null parentminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].changes.modelChoice.type"cascading"Required in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.modelChoice.highPrioritybooleanRequired in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.modelChoice.reasoningEffort"low" · "medium" · "high"Optional—
items[].diagnostics[].fixes[].edits[].changes.componentIdstring or nullOptionalminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].changes.verificationobject or nullOptional—
items[].diagnostics[].fixes[].edits[].changes.verification.subjectVariablestringRequired in a non-null parentpattern: ^[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].changes.verification.fieldsarray of objectRequired in a non-null parentmaxItems: 8.
items[].diagnostics[].fixes[].edits[].changes.verification.fields[].idstringRequired in a non-null parentpattern: ^[A-Za-z_][A-Za-z0-9_]{0,63}$.
items[].diagnostics[].fixes[].edits[].changes.verification.fields[].expectedVariablestringRequired in a non-null parentpattern: ^[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].changes.verification.fields[].privateAliasesarray of stringOptionalmaxItems: 16.
items[].diagnostics[].fixes[].edits[].changes.verification.fields[].enabledVariablestringRequired in a non-null parentpattern: ^[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].changes.verification.fields[].formatobjectRequired in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.verification.fields[].format · variant 1object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].changes.verification.fields[].format.kind"digits"Required in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.verification.fields[].format.lengthintegerRequired in a non-null parentAt least 1. At most 32.
items[].diagnostics[].fixes[].edits[].changes.verification.fields[].format · variant 2object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].changes.verification.fields[].format.kind"date_yyyymmdd"Required in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.verification.fields[].promptobjectRequired in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.verification.fields[].prompt.enstringRequired in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.verification.fields[].prompt.esstringOptional—
items[].diagnostics[].fixes[].edits[].changes.verification.requiredobjectRequired in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.verification.required · variant 1object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].changes.verification.required.kind"fixed"Required in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.verification.required.countintegerRequired in a non-null parentAt least 1. At most 8.
items[].diagnostics[].fixes[].edits[].changes.verification.required · variant 2object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].changes.verification.required.kind"variable"Required in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.verification.required.namestringRequired in a non-null parentpattern: ^[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].changes.verification.timeoutMsintegerRequired in a non-null parentAt least 1000. At most 180000.
items[].diagnostics[].fixes[].edits[].changes.verification.lookupobjectOptional—
items[].diagnostics[].fixes[].edits[].changes.verification.lookup.toolIdstringRequired in a non-null parentminLength: 1.
items[].diagnostics[].fixes[].edits[].changes.verification.lookup.fieldIdstringRequired in a non-null parentpattern: ^[A-Za-z_][A-Za-z0-9_]{0,63}$.
items[].diagnostics[].fixes[].edits[].changes.verification.lookup.parameterstringRequired in a non-null parentpattern: ^[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].changes.verification.lookup.argumentsarray of objectRequired in a non-null parentmaxItems: 64.
items[].diagnostics[].fixes[].edits[].changes.verification.lookup.arguments[].parameterstringRequired in a non-null parentpattern: ^[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].changes.verification.lookup.arguments[].variablestringRequired in a non-null parentpattern: ^[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].changes.tokenizationobject or nullOptional—
items[].diagnostics[].fixes[].edits[].changes.tokenization.toolIdstringRequired in a non-null parentmaxLength: 256.
items[].diagnostics[].fixes[].edits[].changes.tokenization.subjectVariablestringRequired in a non-null parentpattern: ^(?!(?:proto|constructor|prototype)$)[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].changes.tokenization.consentPromptobjectRequired in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.tokenization.consentPrompt.enstringRequired in a non-null parentmaxLength: 4096.
items[].diagnostics[].fixes[].edits[].changes.tokenization.consentPrompt.esstringOptionalmaxLength: 4096.
items[].diagnostics[].fixes[].edits[].changes.tokenization.timeoutMsintegerRequired in a non-null parentAt least 1000. At most 180000.
items[].diagnostics[].fixes[].edits[].changes.tokenization.fieldsarray of objectRequired in a non-null parentmaxItems: 7.
items[].diagnostics[].fixes[].edits[].changes.tokenization.fields[].idstringRequired in a non-null parentpattern: ^[A-Za-z_][A-Za-z0-9_]{0,63}$.
items[].diagnostics[].fixes[].edits[].changes.tokenization.fields[].parameterstringRequired in a non-null parentmaxLength: 256. pattern: ^(?!(?:proto|constructor|prototype)(?:.|$))[A-Za-z_][A-Za-z0-9_](?:.(?!(?:proto|constructor|prototype)(?:.|$))[A-Za-z_][A-Za-z0-9_]){0,7}$.
items[].diagnostics[].fixes[].edits[].changes.tokenization.fields[].minDigitsintegerRequired in a non-null parentAt least 1. At most 32.
items[].diagnostics[].fixes[].edits[].changes.tokenization.fields[].maxDigitsintegerRequired in a non-null parentAt least 1. At most 32.
items[].diagnostics[].fixes[].edits[].changes.tokenization.fields[].encoding"string" · "integer"Required in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.tokenization.fields[].minimumintegerOptionalAt least 0. At most 999999999.
items[].diagnostics[].fixes[].edits[].changes.tokenization.fields[].maximumintegerOptionalAt least 0. At most 999999999.
items[].diagnostics[].fixes[].edits[].changes.tokenization.fields[].promptobjectRequired in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.tokenization.fields[].prompt.enstringRequired in a non-null parentmaxLength: 4096.
items[].diagnostics[].fixes[].edits[].changes.tokenization.fields[].prompt.esstringOptionalmaxLength: 4096.
items[].diagnostics[].fixes[].edits[].changes.tokenization.argumentsarray of objectRequired in a non-null parentmaxItems: 64.
items[].diagnostics[].fixes[].edits[].changes.tokenization.arguments[].parameterstringRequired in a non-null parentmaxLength: 256. pattern: ^(?!(?:proto|constructor|prototype)(?:.|$))[A-Za-z_][A-Za-z0-9_](?:.(?!(?:proto|constructor|prototype)(?:.|$))[A-Za-z_][A-Za-z0-9_]){0,7}$.
items[].diagnostics[].fixes[].edits[].changes.tokenization.arguments[].sourceobjectRequired in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.tokenization.arguments[].source · variant 1object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].changes.tokenization.arguments[].source.kind"variable"Required in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.tokenization.arguments[].source.namestringRequired in a non-null parentpattern: ^(?!(?:proto|constructor|prototype)$)[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].changes.tokenization.arguments[].source · variant 2object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].changes.tokenization.arguments[].source.kind"constant"Required in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.tokenization.arguments[].source.valuestring or number or boolean or nullRequired in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.tokenization.arguments[].source.value · variant 1string—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].changes.tokenization.arguments[].source.value · variant 2number—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].changes.tokenization.arguments[].source.value · variant 3boolean—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].changes.tokenization.tokenIdPathstringRequired in a non-null parentmaxLength: 256. pattern: ^(?!(?:proto|constructor|prototype)(?:.|$))[A-Za-z_][A-Za-z0-9_](?:.(?!(?:proto|constructor|prototype)(?:.|$))[A-Za-z_][A-Za-z0-9_]){0,7}$.
items[].diagnostics[].fixes[].edits[].changes.tokenization.tokenVariablestringRequired in a non-null parentpattern: ^(?!(?:proto|constructor|prototype)$)[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].changes.tokenization.last4VariablestringRequired in a non-null parentpattern: ^(?!(?:proto|constructor|prototype)$)[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].changes.tokenization.last4FieldstringRequired in a non-null parentmaxLength: 64.
items[].diagnostics[].fixes[].edits[] · variant 13object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"node.create"Required—
items[].diagnostics[].fixes[].edits[].component_idstring or nullRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].nodeobjectRequired—
items[].diagnostics[].fixes[].edits[].node.idstringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].node.kind"conversation" · "end" · "branch" · "transfer_call" · "function" · "extract_dynamic_variables" · "verify_identity" · "tokenize_private" · "component"Required—
items[].diagnostics[].fixes[].edits[].node.edgesarray of objectRequired—
items[].diagnostics[].fixes[].edits[].node.edges[].idstringOptionalminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].node.edges[].destinationNodeIdstringOptionalminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].node.edges[].slot"edges" · "else_edge" · "skip_response_edge" · "always_edge" · "edge" · "success_edge"Required—
items[].diagnostics[].fixes[].edits[].node.edges[].conditionobjectRequired—
items[].diagnostics[].fixes[].edits[].node.edges[].condition · variant 1object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].node.edges[].condition.type"always"Required—
items[].diagnostics[].fixes[].edits[].node.edges[].condition · variant 2object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].node.edges[].condition.type"conversation_language"Required—
items[].diagnostics[].fixes[].edits[].node.edges[].condition.language"en" · "es"Required—
items[].diagnostics[].fixes[].edits[].node.edges[].condition · variant 3object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].node.edges[].condition.type"prompt"Required—
items[].diagnostics[].fixes[].edits[].node.edges[].condition.promptstringRequired—
items[].diagnostics[].fixes[].edits[].node.edges[].condition · variant 4object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].node.edges[].condition.type"equation"Required—
items[].diagnostics[].fixes[].edits[].node.edges[].condition.operator"&&" · "||"Required—
items[].diagnostics[].fixes[].edits[].node.edges[].condition.equationsarray of objectRequiredminItems: 1.
items[].diagnostics[].fixes[].edits[].node.edges[].condition.equations[].leftstringRequired—
items[].diagnostics[].fixes[].edits[].node.edges[].condition.equations[].operator"==" · "!=" · ">" · "<" · ">=" · "<=" · "contains" · "is_set" · "is_not_set"Required—
items[].diagnostics[].fixes[].edits[].node.edges[].condition.equations[].rightstringRequired—
items[].diagnostics[].fixes[].edits[].node.edges[].complianceobjectOptional—
items[].diagnostics[].fixes[].edits[].node.edges[].compliance.setsarray of "rpc_confirmed"RequiredminItems: 1.
items[].diagnostics[].fixes[].edits[].node.namestringOptional—
items[].diagnostics[].fixes[].edits[].node.instructionobjectOptional—
items[].diagnostics[].fixes[].edits[].node.instruction.type"prompt" · "static_text"Required—
items[].diagnostics[].fixes[].edits[].node.instruction.textstringRequired—
items[].diagnostics[].fixes[].edits[].node.startSpeaker"agent" · "user"Optional—
items[].diagnostics[].fixes[].edits[].node.interruptionSensitivitynumberOptionalAt least 0. At most 1.
items[].diagnostics[].fixes[].edits[].node.voiceSpeednumberOptionalAt least 0.5. At most 2.
items[].diagnostics[].fixes[].edits[].node.languageLockedbooleanOptional—
items[].diagnostics[].fixes[].edits[].node.globalNodeSettingobjectOptional—
items[].diagnostics[].fixes[].edits[].node.globalNodeSetting.conditionstringRequired—
items[].diagnostics[].fixes[].edits[].node.globalNodeSetting.coolDownnumberOptionalAt least 0.
items[].diagnostics[].fixes[].edits[].node.toolIdstringOptionalminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].node.waitForResultbooleanOptional—
items[].diagnostics[].fixes[].edits[].node.speakDuringExecutionbooleanOptional—
items[].diagnostics[].fixes[].edits[].node.executionMessageobjectOptional—
items[].diagnostics[].fixes[].edits[].node.executionMessage.type"prompt" · "static_text"Required—
items[].diagnostics[].fixes[].edits[].node.executionMessage.textstringRequired—
items[].diagnostics[].fixes[].edits[].node.transferobjectOptional—
items[].diagnostics[].fixes[].edits[].node.transfer.destinationobjectRequired—
items[].diagnostics[].fixes[].edits[].node.transfer.destination · variant 1object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].node.transfer.destination.type"predefined"Required—
items[].diagnostics[].fixes[].edits[].node.transfer.destination.numberstringRequiredmaxLength: 256.
items[].diagnostics[].fixes[].edits[].node.transfer.destination · variant 2object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].node.transfer.destination.type"inferred"Required—
items[].diagnostics[].fixes[].edits[].node.transfer.destination.promptstringRequired—
items[].diagnostics[].fixes[].edits[].node.transfer.optionobjectRequired—
items[].diagnostics[].fixes[].edits[].node.transfer.option.type"cold_transfer" · "warm_transfer"Required—
items[].diagnostics[].fixes[].edits[].node.transfer.option.showTransfereeAsCallerbooleanOptional—
items[].diagnostics[].fixes[].edits[].node.transfer.option.optOutHumanDetectionbooleanOptional—
items[].diagnostics[].fixes[].edits[].node.transfer.option.enableBridgeAudioCuebooleanOptional—
items[].diagnostics[].fixes[].edits[].node.transfer.option.onHoldMusicstringOptional—
items[].diagnostics[].fixes[].edits[].node.transfer.option.agentDetectionTimeoutMsintegerOptionalAt least 0. At most 9007199254740991.
items[].diagnostics[].fixes[].edits[].node.transfer.option.agentDetectionPromptstringOptional—
items[].diagnostics[].fixes[].edits[].node.transfer.option.transferMessageobjectOptional—
items[].diagnostics[].fixes[].edits[].node.transfer.option.transferMessage.type"prompt" · "static_text"Required—
items[].diagnostics[].fixes[].edits[].node.transfer.option.transferMessage.textstringRequired—
items[].diagnostics[].fixes[].edits[].node.transfer.option.privateHandoffMessageobjectOptional—
items[].diagnostics[].fixes[].edits[].node.transfer.option.privateHandoffMessage.type"prompt" · "static_text"Required—
items[].diagnostics[].fixes[].edits[].node.transfer.option.privateHandoffMessage.textstringRequired—
items[].diagnostics[].fixes[].edits[].node.transfer.option.coldTransferModestringOptional—
items[].diagnostics[].fixes[].edits[].node.transfer.ignoreE164ValidationbooleanRequired—
items[].diagnostics[].fixes[].edits[].node.variablesarray of objectOptional—
items[].diagnostics[].fixes[].edits[].node.variables[].namestringRequiredmaxLength: 256.
items[].diagnostics[].fixes[].edits[].node.variables[].type"string" · "number" · "boolean" · "enum"Required—
items[].diagnostics[].fixes[].edits[].node.variables[].descriptionstringRequired—
items[].diagnostics[].fixes[].edits[].node.variables[].choicesarray of stringOptional—
items[].diagnostics[].fixes[].edits[].node.modelChoiceobjectOptional—
items[].diagnostics[].fixes[].edits[].node.modelChoice.modelobjectRequired—
items[].diagnostics[].fixes[].edits[].node.modelChoice.model.model_idstringRequiredminLength: 1. pattern: \S.
items[].diagnostics[].fixes[].edits[].node.modelChoice.model.providerstringRequiredminLength: 1. pattern: \S.
items[].diagnostics[].fixes[].edits[].node.modelChoice.model.tier"frontier" · "cumulus-served" · "customer-gpu"Required—
items[].diagnostics[].fixes[].edits[].node.modelChoice.credentialobjectOptional—
items[].diagnostics[].fixes[].edits[].node.modelChoice.credential.idstringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].node.modelChoice.credential.versionstringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].node.modelChoice.credential.providerstringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].node.modelChoice.type"cascading"Required—
items[].diagnostics[].fixes[].edits[].node.modelChoice.highPrioritybooleanRequired—
items[].diagnostics[].fixes[].edits[].node.modelChoice.reasoningEffort"low" · "medium" · "high"Optional—
items[].diagnostics[].fixes[].edits[].node.componentIdstringOptionalminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].node.verificationobjectOptional—
items[].diagnostics[].fixes[].edits[].node.verification.subjectVariablestringRequiredpattern: ^[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].node.verification.fieldsarray of objectRequiredmaxItems: 8.
items[].diagnostics[].fixes[].edits[].node.verification.fields[].idstringRequiredpattern: ^[A-Za-z_][A-Za-z0-9_]{0,63}$.
items[].diagnostics[].fixes[].edits[].node.verification.fields[].expectedVariablestringRequiredpattern: ^[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].node.verification.fields[].privateAliasesarray of stringOptionalmaxItems: 16.
items[].diagnostics[].fixes[].edits[].node.verification.fields[].enabledVariablestringRequiredpattern: ^[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].node.verification.fields[].formatobjectRequired—
items[].diagnostics[].fixes[].edits[].node.verification.fields[].format · variant 1object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].node.verification.fields[].format.kind"digits"Required—
items[].diagnostics[].fixes[].edits[].node.verification.fields[].format.lengthintegerRequiredAt least 1. At most 32.
items[].diagnostics[].fixes[].edits[].node.verification.fields[].format · variant 2object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].node.verification.fields[].format.kind"date_yyyymmdd"Required—
items[].diagnostics[].fixes[].edits[].node.verification.fields[].promptobjectRequired—
items[].diagnostics[].fixes[].edits[].node.verification.fields[].prompt.enstringRequired—
items[].diagnostics[].fixes[].edits[].node.verification.fields[].prompt.esstringOptional—
items[].diagnostics[].fixes[].edits[].node.verification.requiredobjectRequired—
items[].diagnostics[].fixes[].edits[].node.verification.required · variant 1object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].node.verification.required.kind"fixed"Required—
items[].diagnostics[].fixes[].edits[].node.verification.required.countintegerRequiredAt least 1. At most 8.
items[].diagnostics[].fixes[].edits[].node.verification.required · variant 2object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].node.verification.required.kind"variable"Required—
items[].diagnostics[].fixes[].edits[].node.verification.required.namestringRequiredpattern: ^[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].node.verification.timeoutMsintegerRequiredAt least 1000. At most 180000.
items[].diagnostics[].fixes[].edits[].node.verification.lookupobjectOptional—
items[].diagnostics[].fixes[].edits[].node.verification.lookup.toolIdstringRequiredminLength: 1.
items[].diagnostics[].fixes[].edits[].node.verification.lookup.fieldIdstringRequiredpattern: ^[A-Za-z_][A-Za-z0-9_]{0,63}$.
items[].diagnostics[].fixes[].edits[].node.verification.lookup.parameterstringRequiredpattern: ^[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].node.verification.lookup.argumentsarray of objectRequiredmaxItems: 64.
items[].diagnostics[].fixes[].edits[].node.verification.lookup.arguments[].parameterstringRequiredpattern: ^[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].node.verification.lookup.arguments[].variablestringRequiredpattern: ^[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].node.tokenizationobjectOptional—
items[].diagnostics[].fixes[].edits[].node.tokenization.toolIdstringRequiredmaxLength: 256.
items[].diagnostics[].fixes[].edits[].node.tokenization.subjectVariablestringRequiredpattern: ^(?!(?:proto|constructor|prototype)$)[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].node.tokenization.consentPromptobjectRequired—
items[].diagnostics[].fixes[].edits[].node.tokenization.consentPrompt.enstringRequiredmaxLength: 4096.
items[].diagnostics[].fixes[].edits[].node.tokenization.consentPrompt.esstringOptionalmaxLength: 4096.
items[].diagnostics[].fixes[].edits[].node.tokenization.timeoutMsintegerRequiredAt least 1000. At most 180000.
items[].diagnostics[].fixes[].edits[].node.tokenization.fieldsarray of objectRequiredmaxItems: 7.
items[].diagnostics[].fixes[].edits[].node.tokenization.fields[].idstringRequiredpattern: ^[A-Za-z_][A-Za-z0-9_]{0,63}$.
items[].diagnostics[].fixes[].edits[].node.tokenization.fields[].parameterstringRequiredmaxLength: 256. pattern: ^(?!(?:proto|constructor|prototype)(?:.|$))[A-Za-z_][A-Za-z0-9_](?:.(?!(?:proto|constructor|prototype)(?:.|$))[A-Za-z_][A-Za-z0-9_]){0,7}$.
items[].diagnostics[].fixes[].edits[].node.tokenization.fields[].minDigitsintegerRequiredAt least 1. At most 32.
items[].diagnostics[].fixes[].edits[].node.tokenization.fields[].maxDigitsintegerRequiredAt least 1. At most 32.
items[].diagnostics[].fixes[].edits[].node.tokenization.fields[].encoding"string" · "integer"Required—
items[].diagnostics[].fixes[].edits[].node.tokenization.fields[].minimumintegerOptionalAt least 0. At most 999999999.
items[].diagnostics[].fixes[].edits[].node.tokenization.fields[].maximumintegerOptionalAt least 0. At most 999999999.
items[].diagnostics[].fixes[].edits[].node.tokenization.fields[].promptobjectRequired—
items[].diagnostics[].fixes[].edits[].node.tokenization.fields[].prompt.enstringRequiredmaxLength: 4096.
items[].diagnostics[].fixes[].edits[].node.tokenization.fields[].prompt.esstringOptionalmaxLength: 4096.
items[].diagnostics[].fixes[].edits[].node.tokenization.argumentsarray of objectRequiredmaxItems: 64.
items[].diagnostics[].fixes[].edits[].node.tokenization.arguments[].parameterstringRequiredmaxLength: 256. pattern: ^(?!(?:proto|constructor|prototype)(?:.|$))[A-Za-z_][A-Za-z0-9_](?:.(?!(?:proto|constructor|prototype)(?:.|$))[A-Za-z_][A-Za-z0-9_]){0,7}$.
items[].diagnostics[].fixes[].edits[].node.tokenization.arguments[].sourceobjectRequired—
items[].diagnostics[].fixes[].edits[].node.tokenization.arguments[].source · variant 1object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].node.tokenization.arguments[].source.kind"variable"Required—
items[].diagnostics[].fixes[].edits[].node.tokenization.arguments[].source.namestringRequiredpattern: ^(?!(?:proto|constructor|prototype)$)[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].node.tokenization.arguments[].source · variant 2object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].node.tokenization.arguments[].source.kind"constant"Required—
items[].diagnostics[].fixes[].edits[].node.tokenization.arguments[].source.valuestring or number or boolean or nullRequired—
items[].diagnostics[].fixes[].edits[].node.tokenization.arguments[].source.value · variant 1string—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].node.tokenization.arguments[].source.value · variant 2number—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].node.tokenization.arguments[].source.value · variant 3boolean—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].node.tokenization.tokenIdPathstringRequiredmaxLength: 256. pattern: ^(?!(?:proto|constructor|prototype)(?:.|$))[A-Za-z_][A-Za-z0-9_](?:.(?!(?:proto|constructor|prototype)(?:.|$))[A-Za-z_][A-Za-z0-9_]){0,7}$.
items[].diagnostics[].fixes[].edits[].node.tokenization.tokenVariablestringRequiredpattern: ^(?!(?:proto|constructor|prototype)$)[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].node.tokenization.last4VariablestringRequiredpattern: ^(?!(?:proto|constructor|prototype)$)[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].node.tokenization.last4FieldstringRequiredmaxLength: 64.
items[].diagnostics[].fixes[].edits[] · variant 14object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"node.remove"Required—
items[].diagnostics[].fixes[].edits[].component_idstring or nullRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].node_idstringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[] · variant 15object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"flow.configure"Required—
items[].diagnostics[].fixes[].edits[].changesobjectRequired—
items[].diagnostics[].fixes[].edits[].changes.startNodeIdstringOptionalminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].changes.startSpeaker"agent" · "user"Optional—
items[].diagnostics[].fixes[].edits[].changes.globalPromptstringOptional—
items[].diagnostics[].fixes[].edits[].changes.defaultDynamicVariablesobjectOptional—
items[].diagnostics[].fixes[].edits[].changes.defaultDynamicVariables.*stringOptionalAdditional keys are allowed.
items[].diagnostics[].fixes[].edits[].changes.callContextVariablesarray of stringOptional—
items[].diagnostics[].fixes[].edits[].changes.modelChoiceobject or nullOptional—
items[].diagnostics[].fixes[].edits[].changes.modelChoice.modelobjectRequired in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.modelChoice.model.model_idstringRequired in a non-null parentminLength: 1. pattern: \S.
items[].diagnostics[].fixes[].edits[].changes.modelChoice.model.providerstringRequired in a non-null parentminLength: 1. pattern: \S.
items[].diagnostics[].fixes[].edits[].changes.modelChoice.model.tier"frontier" · "cumulus-served" · "customer-gpu"Required in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.modelChoice.credentialobjectOptional—
items[].diagnostics[].fixes[].edits[].changes.modelChoice.credential.idstringRequired in a non-null parentminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].changes.modelChoice.credential.versionstringRequired in a non-null parentminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].changes.modelChoice.credential.providerstringRequired in a non-null parentminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].changes.modelChoice.type"cascading"Required in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.modelChoice.highPrioritybooleanRequired in a non-null parent—
items[].diagnostics[].fixes[].edits[].changes.modelChoice.reasoningEffort"low" · "medium" · "high"Optional—
items[].diagnostics[].fixes[].edits[].changes.toolCallStrictModebooleanOptional—
items[].diagnostics[].fixes[].edits[] · variant 16object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"component.create"Required—
items[].diagnostics[].fixes[].edits[].componentobjectRequired—
items[].diagnostics[].fixes[].edits[].component.idstringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].component.startNodeIdstringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].component.nodesarray of objectRequiredminItems: 1.
items[].diagnostics[].fixes[].edits[].component.nodes[].idstringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].component.nodes[].kind"conversation" · "end" · "branch" · "transfer_call" · "function" · "extract_dynamic_variables" · "verify_identity" · "tokenize_private" · "component"Required—
items[].diagnostics[].fixes[].edits[].component.nodes[].edgesarray of objectRequired—
items[].diagnostics[].fixes[].edits[].component.nodes[].edges[].idstringOptionalminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].component.nodes[].edges[].destinationNodeIdstringOptionalminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].component.nodes[].edges[].slot"edges" · "else_edge" · "skip_response_edge" · "always_edge" · "edge" · "success_edge"Required—
items[].diagnostics[].fixes[].edits[].component.nodes[].edges[].conditionobjectRequired—
items[].diagnostics[].fixes[].edits[].component.nodes[].edges[].condition · variant 1object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].component.nodes[].edges[].condition.type"always"Required—
items[].diagnostics[].fixes[].edits[].component.nodes[].edges[].condition · variant 2object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].component.nodes[].edges[].condition.type"conversation_language"Required—
items[].diagnostics[].fixes[].edits[].component.nodes[].edges[].condition.language"en" · "es"Required—
items[].diagnostics[].fixes[].edits[].component.nodes[].edges[].condition · variant 3object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].component.nodes[].edges[].condition.type"prompt"Required—
items[].diagnostics[].fixes[].edits[].component.nodes[].edges[].condition.promptstringRequired—
items[].diagnostics[].fixes[].edits[].component.nodes[].edges[].condition · variant 4object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].component.nodes[].edges[].condition.type"equation"Required—
items[].diagnostics[].fixes[].edits[].component.nodes[].edges[].condition.operator"&&" · "||"Required—
items[].diagnostics[].fixes[].edits[].component.nodes[].edges[].condition.equationsarray of objectRequiredminItems: 1.
items[].diagnostics[].fixes[].edits[].component.nodes[].edges[].condition.equations[].leftstringRequired—
items[].diagnostics[].fixes[].edits[].component.nodes[].edges[].condition.equations[].operator"==" · "!=" · ">" · "<" · ">=" · "<=" · "contains" · "is_set" · "is_not_set"Required—
items[].diagnostics[].fixes[].edits[].component.nodes[].edges[].condition.equations[].rightstringRequired—
items[].diagnostics[].fixes[].edits[].component.nodes[].edges[].complianceobjectOptional—
items[].diagnostics[].fixes[].edits[].component.nodes[].edges[].compliance.setsarray of "rpc_confirmed"RequiredminItems: 1.
items[].diagnostics[].fixes[].edits[].component.nodes[].namestringOptional—
items[].diagnostics[].fixes[].edits[].component.nodes[].instructionobjectOptional—
items[].diagnostics[].fixes[].edits[].component.nodes[].instruction.type"prompt" · "static_text"Required—
items[].diagnostics[].fixes[].edits[].component.nodes[].instruction.textstringRequired—
items[].diagnostics[].fixes[].edits[].component.nodes[].startSpeaker"agent" · "user"Optional—
items[].diagnostics[].fixes[].edits[].component.nodes[].interruptionSensitivitynumberOptionalAt least 0. At most 1.
items[].diagnostics[].fixes[].edits[].component.nodes[].voiceSpeednumberOptionalAt least 0.5. At most 2.
items[].diagnostics[].fixes[].edits[].component.nodes[].languageLockedbooleanOptional—
items[].diagnostics[].fixes[].edits[].component.nodes[].globalNodeSettingobjectOptional—
items[].diagnostics[].fixes[].edits[].component.nodes[].globalNodeSetting.conditionstringRequired—
items[].diagnostics[].fixes[].edits[].component.nodes[].globalNodeSetting.coolDownnumberOptionalAt least 0.
items[].diagnostics[].fixes[].edits[].component.nodes[].toolIdstringOptionalminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].component.nodes[].waitForResultbooleanOptional—
items[].diagnostics[].fixes[].edits[].component.nodes[].speakDuringExecutionbooleanOptional—
items[].diagnostics[].fixes[].edits[].component.nodes[].executionMessageobjectOptional—
items[].diagnostics[].fixes[].edits[].component.nodes[].executionMessage.type"prompt" · "static_text"Required—
items[].diagnostics[].fixes[].edits[].component.nodes[].executionMessage.textstringRequired—
items[].diagnostics[].fixes[].edits[].component.nodes[].transferobjectOptional—
items[].diagnostics[].fixes[].edits[].component.nodes[].transfer.destinationobjectRequired—
items[].diagnostics[].fixes[].edits[].component.nodes[].transfer.destination · variant 1object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].component.nodes[].transfer.destination.type"predefined"Required—
items[].diagnostics[].fixes[].edits[].component.nodes[].transfer.destination.numberstringRequiredmaxLength: 256.
items[].diagnostics[].fixes[].edits[].component.nodes[].transfer.destination · variant 2object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].component.nodes[].transfer.destination.type"inferred"Required—
items[].diagnostics[].fixes[].edits[].component.nodes[].transfer.destination.promptstringRequired—
items[].diagnostics[].fixes[].edits[].component.nodes[].transfer.optionobjectRequired—
items[].diagnostics[].fixes[].edits[].component.nodes[].transfer.option.type"cold_transfer" · "warm_transfer"Required—
items[].diagnostics[].fixes[].edits[].component.nodes[].transfer.option.showTransfereeAsCallerbooleanOptional—
items[].diagnostics[].fixes[].edits[].component.nodes[].transfer.option.optOutHumanDetectionbooleanOptional—
items[].diagnostics[].fixes[].edits[].component.nodes[].transfer.option.enableBridgeAudioCuebooleanOptional—
items[].diagnostics[].fixes[].edits[].component.nodes[].transfer.option.onHoldMusicstringOptional—
items[].diagnostics[].fixes[].edits[].component.nodes[].transfer.option.agentDetectionTimeoutMsintegerOptionalAt least 0. At most 9007199254740991.
items[].diagnostics[].fixes[].edits[].component.nodes[].transfer.option.agentDetectionPromptstringOptional—
items[].diagnostics[].fixes[].edits[].component.nodes[].transfer.option.transferMessageobjectOptional—
items[].diagnostics[].fixes[].edits[].component.nodes[].transfer.option.transferMessage.type"prompt" · "static_text"Required—
items[].diagnostics[].fixes[].edits[].component.nodes[].transfer.option.transferMessage.textstringRequired—
items[].diagnostics[].fixes[].edits[].component.nodes[].transfer.option.privateHandoffMessageobjectOptional—
items[].diagnostics[].fixes[].edits[].component.nodes[].transfer.option.privateHandoffMessage.type"prompt" · "static_text"Required—
items[].diagnostics[].fixes[].edits[].component.nodes[].transfer.option.privateHandoffMessage.textstringRequired—
items[].diagnostics[].fixes[].edits[].component.nodes[].transfer.option.coldTransferModestringOptional—
items[].diagnostics[].fixes[].edits[].component.nodes[].transfer.ignoreE164ValidationbooleanRequired—
items[].diagnostics[].fixes[].edits[].component.nodes[].variablesarray of objectOptional—
items[].diagnostics[].fixes[].edits[].component.nodes[].variables[].namestringRequiredmaxLength: 256.
items[].diagnostics[].fixes[].edits[].component.nodes[].variables[].type"string" · "number" · "boolean" · "enum"Required—
items[].diagnostics[].fixes[].edits[].component.nodes[].variables[].descriptionstringRequired—
items[].diagnostics[].fixes[].edits[].component.nodes[].variables[].choicesarray of stringOptional—
items[].diagnostics[].fixes[].edits[].component.nodes[].modelChoiceobjectOptional—
items[].diagnostics[].fixes[].edits[].component.nodes[].modelChoice.modelobjectRequired—
items[].diagnostics[].fixes[].edits[].component.nodes[].modelChoice.model.model_idstringRequiredminLength: 1. pattern: \S.
items[].diagnostics[].fixes[].edits[].component.nodes[].modelChoice.model.providerstringRequiredminLength: 1. pattern: \S.
items[].diagnostics[].fixes[].edits[].component.nodes[].modelChoice.model.tier"frontier" · "cumulus-served" · "customer-gpu"Required—
items[].diagnostics[].fixes[].edits[].component.nodes[].modelChoice.credentialobjectOptional—
items[].diagnostics[].fixes[].edits[].component.nodes[].modelChoice.credential.idstringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].component.nodes[].modelChoice.credential.versionstringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].component.nodes[].modelChoice.credential.providerstringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].component.nodes[].modelChoice.type"cascading"Required—
items[].diagnostics[].fixes[].edits[].component.nodes[].modelChoice.highPrioritybooleanRequired—
items[].diagnostics[].fixes[].edits[].component.nodes[].modelChoice.reasoningEffort"low" · "medium" · "high"Optional—
items[].diagnostics[].fixes[].edits[].component.nodes[].componentIdstringOptionalminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].component.nodes[].verificationobjectOptional—
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.subjectVariablestringRequiredpattern: ^[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.fieldsarray of objectRequiredmaxItems: 8.
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.fields[].idstringRequiredpattern: ^[A-Za-z_][A-Za-z0-9_]{0,63}$.
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.fields[].expectedVariablestringRequiredpattern: ^[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.fields[].privateAliasesarray of stringOptionalmaxItems: 16.
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.fields[].enabledVariablestringRequiredpattern: ^[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.fields[].formatobjectRequired—
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.fields[].format · variant 1object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.fields[].format.kind"digits"Required—
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.fields[].format.lengthintegerRequiredAt least 1. At most 32.
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.fields[].format · variant 2object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.fields[].format.kind"date_yyyymmdd"Required—
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.fields[].promptobjectRequired—
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.fields[].prompt.enstringRequired—
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.fields[].prompt.esstringOptional—
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.requiredobjectRequired—
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.required · variant 1object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.required.kind"fixed"Required—
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.required.countintegerRequiredAt least 1. At most 8.
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.required · variant 2object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.required.kind"variable"Required—
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.required.namestringRequiredpattern: ^[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.timeoutMsintegerRequiredAt least 1000. At most 180000.
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.lookupobjectOptional—
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.lookup.toolIdstringRequiredminLength: 1.
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.lookup.fieldIdstringRequiredpattern: ^[A-Za-z_][A-Za-z0-9_]{0,63}$.
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.lookup.parameterstringRequiredpattern: ^[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.lookup.argumentsarray of objectRequiredmaxItems: 64.
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.lookup.arguments[].parameterstringRequiredpattern: ^[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].component.nodes[].verification.lookup.arguments[].variablestringRequiredpattern: ^[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenizationobjectOptional—
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.toolIdstringRequiredmaxLength: 256.
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.subjectVariablestringRequiredpattern: ^(?!(?:proto|constructor|prototype)$)[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.consentPromptobjectRequired—
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.consentPrompt.enstringRequiredmaxLength: 4096.
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.consentPrompt.esstringOptionalmaxLength: 4096.
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.timeoutMsintegerRequiredAt least 1000. At most 180000.
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.fieldsarray of objectRequiredmaxItems: 7.
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.fields[].idstringRequiredpattern: ^[A-Za-z_][A-Za-z0-9_]{0,63}$.
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.fields[].parameterstringRequiredmaxLength: 256. pattern: ^(?!(?:proto|constructor|prototype)(?:.|$))[A-Za-z_][A-Za-z0-9_](?:.(?!(?:proto|constructor|prototype)(?:.|$))[A-Za-z_][A-Za-z0-9_]){0,7}$.
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.fields[].minDigitsintegerRequiredAt least 1. At most 32.
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.fields[].maxDigitsintegerRequiredAt least 1. At most 32.
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.fields[].encoding"string" · "integer"Required—
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.fields[].minimumintegerOptionalAt least 0. At most 999999999.
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.fields[].maximumintegerOptionalAt least 0. At most 999999999.
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.fields[].promptobjectRequired—
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.fields[].prompt.enstringRequiredmaxLength: 4096.
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.fields[].prompt.esstringOptionalmaxLength: 4096.
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.argumentsarray of objectRequiredmaxItems: 64.
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.arguments[].parameterstringRequiredmaxLength: 256. pattern: ^(?!(?:proto|constructor|prototype)(?:.|$))[A-Za-z_][A-Za-z0-9_](?:.(?!(?:proto|constructor|prototype)(?:.|$))[A-Za-z_][A-Za-z0-9_]){0,7}$.
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.arguments[].sourceobjectRequired—
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.arguments[].source · variant 1object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.arguments[].source.kind"variable"Required—
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.arguments[].source.namestringRequiredpattern: ^(?!(?:proto|constructor|prototype)$)[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.arguments[].source · variant 2object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.arguments[].source.kind"constant"Required—
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.arguments[].source.valuestring or number or boolean or nullRequired—
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.arguments[].source.value · variant 1string—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.arguments[].source.value · variant 2number—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.arguments[].source.value · variant 3boolean—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.tokenIdPathstringRequiredmaxLength: 256. pattern: ^(?!(?:proto|constructor|prototype)(?:.|$))[A-Za-z_][A-Za-z0-9_](?:.(?!(?:proto|constructor|prototype)(?:.|$))[A-Za-z_][A-Za-z0-9_]){0,7}$.
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.tokenVariablestringRequiredpattern: ^(?!(?:proto|constructor|prototype)$)[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.last4VariablestringRequiredpattern: ^(?!(?:proto|constructor|prototype)$)[A-Za-z_][A-Za-z0-9_]{0,255}$.
items[].diagnostics[].fixes[].edits[].component.nodes[].tokenization.last4FieldstringRequiredmaxLength: 64.
items[].diagnostics[].fixes[].edits[].component.toolsarray of objectRequired—
items[].diagnostics[].fixes[].edits[].component.tools[].namestringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].component.tools[].descriptionstringRequired—
items[].diagnostics[].fixes[].edits[].component.tools[].urlstring (uri)Required—
items[].diagnostics[].fixes[].edits[].component.tools[].method"GET" · "POST" · "PUT" · "PATCH" · "DELETE"Required—
items[].diagnostics[].fixes[].edits[].component.tools[].parametersobjectRequired—
items[].diagnostics[].fixes[].edits[].component.tools[].parameters.*any JSON valueOptionalAdditional keys are allowed.
items[].diagnostics[].fixes[].edits[].component.tools[].responseVariablesobjectRequired—
items[].diagnostics[].fixes[].edits[].component.tools[].responseVariables.*stringOptionalAdditional keys are allowed.
items[].diagnostics[].fixes[].edits[].component.tools[].timeoutMsintegerRequiredGreater than 0. At most 9007199254740991.
items[].diagnostics[].fixes[].edits[].component.tools[].responseVariablePolicy"required" · "replace_available"Optional—
items[].diagnostics[].fixes[].edits[].component.tools[].argsAtRootbooleanRequired—
items[].diagnostics[].fixes[].edits[].component.tools[].parameterType"json"Required—
items[].diagnostics[].fixes[].edits[].component.tools[].speakAfterExecutionbooleanOptional—
items[].diagnostics[].fixes[].edits[].component.tools[].idstringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].component.tools[].credentialobjectOptional—
items[].diagnostics[].fixes[].edits[].component.tools[].credential.idstring (uuid)Requiredpattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$.
items[].diagnostics[].fixes[].edits[].component.tools[].credential.versionstringRequiredpattern: ^[a-f0-9]{64}$.
items[].diagnostics[].fixes[].edits[].component.flexModebooleanOptional—
items[].diagnostics[].fixes[].edits[] · variant 17object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"component.start"Required—
items[].diagnostics[].fixes[].edits[].component_idstringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].start_node_idstringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[] · variant 18object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"component.remove"Required—
items[].diagnostics[].fixes[].edits[].component_idstringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[] · variant 19object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"transfer.credential"Required—
items[].diagnostics[].fixes[].edits[].component_idstring or nullRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].node_idstringRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].credentialobjectRequired—
items[].diagnostics[].fixes[].edits[].credential · variant 1object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].credential.action"keep"Required—
items[].diagnostics[].fixes[].edits[].credential · variant 2object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].credential.action"replace"Required—
items[].diagnostics[].fixes[].edits[].credential.referenceobjectRequired—
items[].diagnostics[].fixes[].edits[].credential.reference.idstringRequiredminLength: 1. maxLength: 128.
items[].diagnostics[].fixes[].edits[].credential.reference.versionstringRequiredminLength: 1. maxLength: 128.
items[].diagnostics[].fixes[].edits[].credential · variant 3object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].credential.action"remove"Required—
items[].diagnostics[].fixes[].edits[].clear_inlinebooleanRequired—
items[].diagnostics[].fixes[].edits[] · variant 20object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"channels.set"Required—
items[].diagnostics[].fixes[].edits[].channelsarray of "cloud" · "phone"RequiredminItems: 1. maxItems: 2.
items[].diagnostics[].fixes[].edits[] · variant 21object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"languages.set"Required—
items[].diagnostics[].fixes[].edits[].languagesarray of "en" · "es"RequiredminItems: 1. maxItems: 2.
items[].diagnostics[].fixes[].edits[] · variant 22object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"trigger.put"Required—
items[].diagnostics[].fixes[].edits[].triggerobjectRequired—
items[].diagnostics[].fixes[].edits[].trigger · variant 1object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].trigger.kind"schedule"Required—
items[].diagnostics[].fixes[].edits[].trigger.idstringRequiredminLength: 1. maxLength: 128.
items[].diagnostics[].fixes[].edits[].trigger.cronstringRequiredpattern: ^(\S+\s+){4}\S+$.
items[].diagnostics[].fixes[].edits[].trigger.timezonestringRequiredminLength: 1. maxLength: 64.
items[].diagnostics[].fixes[].edits[].trigger.inputobjectRequired—
items[].diagnostics[].fixes[].edits[].trigger.input.*any JSON valueOptionalAdditional keys are allowed.
items[].diagnostics[].fixes[].edits[].trigger · variant 2object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].trigger.kind"event"Required—
items[].diagnostics[].fixes[].edits[].trigger.idstringRequiredminLength: 1. maxLength: 128.
items[].diagnostics[].fixes[].edits[].trigger.event_type"run.ended" · "analysis.updated"Required—
items[].diagnostics[].fixes[].edits[].trigger.sourceobjectRequired—
items[].diagnostics[].fixes[].edits[].trigger.source.agent_idstringOptionalAgent identifier in the environment selected by your API key. minLength: 1. maxLength: 256. pattern: ^[A-Za-z0-9][A-Za-z0-9_.:-]*$.
items[].diagnostics[].fixes[].edits[].trigger.source.channel"cloud" · "phone" · "web"Optional—
items[].diagnostics[].fixes[].edits[].trigger.source.dispositionsarray of stringOptionalmaxItems: 32.
items[].diagnostics[].fixes[].edits[].trigger.input_mappingobjectRequired—
items[].diagnostics[].fixes[].edits[].trigger.input_mapping.*stringOptionalAdditional keys are allowed.
items[].diagnostics[].fixes[].edits[] · variant 23object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"trigger.remove"Required—
items[].diagnostics[].fixes[].edits[].trigger_idstringRequiredminLength: 1. maxLength: 128.
items[].diagnostics[].fixes[].edits[] · variant 24object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"action.put"Required—
items[].diagnostics[].fixes[].edits[].actionobjectRequired—
items[].diagnostics[].fixes[].edits[].action.purpose"tokenization"Optional—
items[].diagnostics[].fixes[].edits[].action.namestringRequiredpattern: ^[a-z][a-z0-9_]{0,62}$.
items[].diagnostics[].fixes[].edits[].action.descriptionstringRequiredminLength: 1. maxLength: 1024.
items[].diagnostics[].fixes[].edits[].action.channelsarray of "cloud" · "phone"RequiredminItems: 1.
items[].diagnostics[].fixes[].edits[].action.method"GET" · "POST" · "PUT" · "PATCH" · "DELETE"Required—
items[].diagnostics[].fixes[].edits[].action.urlstring (uri)Required—
items[].diagnostics[].fixes[].edits[].action.headersobjectOptionalDefault: {}.
items[].diagnostics[].fixes[].edits[].action.headers.*stringOptionalAdditional keys are allowed.
items[].diagnostics[].fixes[].edits[].action.authobjectRequired—
items[].diagnostics[].fixes[].edits[].action.auth · variant 1object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].action.auth.scheme"none"Required—
items[].diagnostics[].fixes[].edits[].action.auth · variant 2object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].action.auth.scheme"bearer" · "basic"Required—
items[].diagnostics[].fixes[].edits[].action.auth.secret_refobjectRequired—
items[].diagnostics[].fixes[].edits[].action.auth.secret_ref.idstringRequiredminLength: 1. maxLength: 128.
items[].diagnostics[].fixes[].edits[].action.auth.secret_ref.versionstringRequiredminLength: 1. maxLength: 128.
items[].diagnostics[].fixes[].edits[].action.auth · variant 3object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].action.auth.scheme"retell_signature"Required—
items[].diagnostics[].fixes[].edits[].action.auth.secret_refobjectRequired—
items[].diagnostics[].fixes[].edits[].action.auth.secret_ref.idstringRequiredminLength: 1. maxLength: 128.
items[].diagnostics[].fixes[].edits[].action.auth.secret_ref.versionstringRequiredminLength: 1. maxLength: 128.
items[].diagnostics[].fixes[].edits[].action.auth · variant 4object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].action.auth.scheme"header"Required—
items[].diagnostics[].fixes[].edits[].action.auth.header_namestringRequiredminLength: 1. maxLength: 128.
items[].diagnostics[].fixes[].edits[].action.auth.secret_refobjectRequired—
items[].diagnostics[].fixes[].edits[].action.auth.secret_ref.idstringRequiredminLength: 1. maxLength: 128.
items[].diagnostics[].fixes[].edits[].action.auth.secret_ref.versionstringRequiredminLength: 1. maxLength: 128.
items[].diagnostics[].fixes[].edits[].action.input_schemaobjectRequired—
items[].diagnostics[].fixes[].edits[].action.input_schema.*any JSON valueOptionalAdditional keys are allowed.
items[].diagnostics[].fixes[].edits[].action.output_schemaobjectRequired—
items[].diagnostics[].fixes[].edits[].action.output_schema.*any JSON valueOptionalAdditional keys are allowed.
items[].diagnostics[].fixes[].edits[].action.idempotencyobjectRequired—
items[].diagnostics[].fixes[].edits[].action.idempotency · variant 1object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].action.idempotency.mode"effect_key"Required—
items[].diagnostics[].fixes[].edits[].action.idempotency · variant 2object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].action.idempotency.mode"template"Required—
items[].diagnostics[].fixes[].edits[].action.idempotency.headerstringOptionalDefault: "Idempotency-Key".
items[].diagnostics[].fixes[].edits[].action.idempotency.templatestringRequiredminLength: 1. maxLength: 512.
items[].diagnostics[].fixes[].edits[].action.idempotency · variant 3object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].action.idempotency.mode"none_read_only"Required—
items[].diagnostics[].fixes[].edits[].action.timeout_msintegerRequiredAt least 500. At most 120000.
items[].diagnostics[].fixes[].edits[].action.on_uncertain"failure_edge" · "uncertain_edge"OptionalDefault: "failure_edge".
items[].diagnostics[].fixes[].edits[].response_variablesobjectOptionalFlow variables set from the action's 2xx JSON response, name to path ($.account.balance). Omitted keeps the current ones; {} removes them.
items[].diagnostics[].fixes[].edits[].response_variables.*stringOptionalAdditional keys are allowed.
items[].diagnostics[].fixes[].edits[].response_variable_policy"required" · "replace_available"OptionalRequired (default) rejects missing mapped outputs. Replace_available replaces the mapped variable set with present scalar outputs and clears missing/null values, for conditional lookup responses. Objects and arrays are rejected in both modes. Omitted preserves the current policy.
items[].diagnostics[].fixes[].edits[].speak_after_executionbooleanOptionalGenerate a spoken response after the action result. False continues routing without an extra reply; omitted preserves the current setting.
items[].diagnostics[].fixes[].edits[] · variant 25object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"action.remove"Required—
items[].diagnostics[].fixes[].edits[].namestringRequiredpattern: ^[a-z][a-z0-9_]{0,62}$.
items[].diagnostics[].fixes[].edits[] · variant 26object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"notification.put"Required—
items[].diagnostics[].fixes[].edits[].notificationobjectRequired—
items[].diagnostics[].fixes[].edits[].notification.idstringRequiredminLength: 1. maxLength: 128.
items[].diagnostics[].fixes[].edits[].notification.urlstring (uri)Required—
items[].diagnostics[].fixes[].edits[].notification.secret_refobjectRequired—
items[].diagnostics[].fixes[].edits[].notification.secret_ref.idstringRequiredminLength: 1. maxLength: 128.
items[].diagnostics[].fixes[].edits[].notification.secret_ref.versionstringRequiredminLength: 1. maxLength: 128.
items[].diagnostics[].fixes[].edits[].notification.format"semantic.v1"Required—
items[].diagnostics[].fixes[].edits[].notification.eventsarray of "run.admitted" · "run.ended" · "recording.updated" · "analysis.updated"RequiredminItems: 1.
items[].diagnostics[].fixes[].edits[] · variant 27object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"notification.remove"Required—
items[].diagnostics[].fixes[].edits[].notification_idstringRequiredminLength: 1. maxLength: 128.
items[].diagnostics[].fixes[].edits[] · variant 28object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"knowledge.set"Required—
items[].diagnostics[].fixes[].edits[].document_idsarray of string (uuid) or nullRequiredminItems: 1. maxItems: 200.
items[].diagnostics[].fixes[].edits[] · variant 29object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"cloud.io.set"Required—
items[].diagnostics[].fixes[].edits[].cloudobject or nullRequired—
items[].diagnostics[].fixes[].edits[].cloud.modesarray of "task" · "chat" · "background"Required in a non-null parentminItems: 1.
items[].diagnostics[].fixes[].edits[].cloud.input_schemaobjectRequired in a non-null parent—
items[].diagnostics[].fixes[].edits[].cloud.input_schema.*any JSON valueOptionalAdditional keys are allowed.
items[].diagnostics[].fixes[].edits[].cloud.output_schemaobjectRequired in a non-null parent—
items[].diagnostics[].fixes[].edits[].cloud.output_schema.*any JSON valueOptionalAdditional keys are allowed.
items[].diagnostics[].fixes[].edits[].cloud.max_turnsintegerRequired in a non-null parentAt least 1. At most 200.
items[].diagnostics[].fixes[].edits[].cloud.idle_timeout_msintegerRequired in a non-null parentAt least 10000. At most 86400000.
items[].diagnostics[].fixes[].edits[].cloud.deadline_msintegerRequired in a non-null parentAt least 1000. At most 3600000.
items[].diagnostics[].fixes[].edits[] · variant 30object—Fields for this schema branch.
items[].diagnostics[].fixes[].edits[].type"layout.set"Required—
items[].diagnostics[].fixes[].edits[].component_idstring or nullRequiredminLength: 1. maxLength: 256.
items[].diagnostics[].fixes[].edits[].nodesobjectOptional—
items[].diagnostics[].fixes[].edits[].nodes.*object or nullOptionalAdditional keys are allowed.
items[].diagnostics[].fixes[].edits[].startobject or nullOptional—
items[].diagnostics[].fixes[].edits[].start.xnumberRequired in a non-null parentAt least -10000000. At most 10000000.
items[].diagnostics[].fixes[].edits[].start.ynumberRequired in a non-null parentAt least -10000000. At most 10000000.
items[].diagnostics[].fixes[].edits[].viewportobject or nullOptional—
items[].diagnostics[].fixes[].edits[].viewport.xnumberRequired in a non-null parentAt least -10000000. At most 10000000.
items[].diagnostics[].fixes[].edits[].viewport.ynumberRequired in a non-null parentAt least -10000000. At most 10000000.
items[].diagnostics[].fixes[].edits[].viewport.zoomnumberRequired in a non-null parentAt least 0.01. At most 100.
items[].trialsarray of objectRequiredmaxItems: 30.
items[].trials[].case_idstringRequiredminLength: 1. maxLength: 64. pattern: ^[a-z0-9][a-z0-9_-]*$.
items[].trials[].trialintegerRequiredGreater than 0. At most 9007199254740991.
items[].trials[].attemptintegerRequiredGreater than 0. At most 9007199254740991.
items[].trials[].run_idstring (uuid) or nullRequiredRun identifier returned when the run was admitted. pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$.
items[].trials[].state"pending" · "running" · "evaluating" · "settled" · "cancelled"Required—
items[].trials[].verdict"passed" · "failed" · "errored" or nullRequired—
items[].trials[].reasonstring or nullRequiredpattern: ^[a-z][a-z0-9_.:-]{0,127}$.
items[].trials[].assertionsarray of objectRequiredmaxItems: 25.
items[].trials[].assertions[].assertion_idstringRequiredminLength: 1. maxLength: 64. pattern: ^[A-Za-z0-9][A-Za-z0-9_.-]*$.
items[].trials[].assertions[].typestringRequiredminLength: 1. maxLength: 64.
items[].trials[].assertions[].verdict"passed" · "failed" · "not_applicable" · "insufficient_data" · "errored"Required—
items[].trials[].assertions[].measuredobjectRequired—
items[].trials[].assertions[].measured.*string or number or boolean or nullOptionalAdditional keys are allowed.
items[].trials[].assertions[].evidenceobjectRequired—
items[].trials[].assertions[].evidence.turnsarray of integerRequiredmaxItems: 50.
items[].trials[].assertions[].evidence.node_idsarray of stringRequiredmaxItems: 50.
items[].trials[].assertions[].evidence.effect_idsarray of string (uuid)RequiredmaxItems: 20.
items[].trials[].assertions[].judgeobject or nullRequired—
items[].trials[].assertions[].judge.scorenumberRequired in a non-null parentAt least 0. At most 1.
items[].trials[].assertions[].judge.rejudgedbooleanRequired in a non-null parent—
items[].trials[].assertions[].judge.criteriaarray of objectRequired in a non-null parentmaxItems: 12.
items[].trials[].assertions[].judge.criteria[].idstringRequired in a non-null parentminLength: 1. maxLength: 64.
items[].trials[].assertions[].judge.criteria[].verdict"pass" · "fail" · "na"Required in a non-null parent—
items[].trials[].assertions[].judge.criteria[].scoreinteger or nullRequired in a non-null parentAt least 1. At most 5.
items[].trials[].assertions[].judge.criteria[].evidence_turnsarray of integerRequired in a non-null parentmaxItems: 20.
items[].trials[].assertions[].judge.criteria[].rationalestring or nullRequired in a non-null parentmaxLength: 300.
items[].trials[].assertions[].reasonstring or nullRequiredpattern: ^[a-z][a-z0-9_.:-]{0,127}$.
items[].trials[].guardobjectRequired—
items[].trials[].guard.compliance_blocksobjectRequired—
items[].trials[].guard.compliance_blocks.*integerOptionalAdditional keys are allowed.
items[].trials[].guard.rpc_unconfirmedintegerRequiredAt least 0. At most 9007199254740991.
items[].trials[].guard.atomic_half_saidintegerRequiredAt least 0. At most 9007199254740991.
items[].trials[].content_state"retained" · "expired"Required—
next_cursorstring or nullRequiredCursor for the next page; null when no next page exists.

Error responses

HTTPDescription
4XXTyped error (ApiError)
5XXTyped error (ApiError)

Errors use the shared error envelope. Inspect error.code, retryable, outcome and details before retrying.

Complete OpenAPI schema
OpenAPI JSON
{
  "200": {
    "description": "List a test run's case results with each trial's assertion verdicts",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/TestRunsResultsResponse200"
        }
      }
    }
  },
  "4XX": {
    "description": "Typed error (ApiError)",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ApiError"
        }
      }
    }
  },
  "5XX": {
    "description": "Typed error (ApiError)",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ApiError"
        }
      }
    }
  }
}

Referenced schemas

Expand the complete OpenAPI definitions for integrations that generate their own clients.

Complete OpenAPI schema
OpenAPI JSON
{
  "components": {
    "schemas": {
      "TestRunsResultsResponse200": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "suite_id": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                },
                "case_id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64,
                  "pattern": "^[a-z0-9][a-z0-9_-]*$"
                },
                "name": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200
                },
                "verdict": {
                  "nullable": true,
                  "type": "string",
                  "enum": [
                    "passed",
                    "flaky_passed",
                    "failed",
                    "errored",
                    "invalid"
                  ]
                },
                "change": {
                  "nullable": true,
                  "type": "string",
                  "enum": [
                    "fixed",
                    "regressed",
                    "unchanged",
                    "new",
                    "removed"
                  ]
                },
                "blocking": {
                  "type": "boolean"
                },
                "diagnostics": {
                  "maxItems": 50,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Diagnostic"
                  }
                },
                "trials": {
                  "maxItems": 30,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TrialResult"
                  }
                }
              },
              "required": [
                "suite_id",
                "case_id",
                "name",
                "verdict",
                "change",
                "blocking",
                "diagnostics",
                "trials"
              ],
              "additionalProperties": false
            }
          },
          "next_cursor": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "items",
          "next_cursor"
        ],
        "additionalProperties": false
      },
      "Diagnostic": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "path": {
            "type": "string",
            "maxLength": 1024
          },
          "message": {
            "type": "string",
            "maxLength": 4096
          },
          "severity": {
            "type": "string",
            "enum": [
              "warning",
              "error"
            ]
          },
          "fixes": {
            "maxItems": 8,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DiagnosticFix"
            }
          }
        },
        "required": [
          "code",
          "path",
          "message",
          "severity"
        ],
        "additionalProperties": false
      },
      "DiagnosticFix": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          },
          "label": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          },
          "edits": {
            "minItems": 1,
            "maxItems": 100,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DraftEdit"
            }
          }
        },
        "required": [
          "id",
          "label",
          "edits"
        ],
        "additionalProperties": false
      },
      "DraftEdit": {
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "agent.name"
                ]
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              }
            },
            "required": [
              "type",
              "name"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "agent.settings"
                ]
              },
              "values": {
                "type": "object",
                "properties": {
                  "voiceId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 256
                  },
                  "voiceModel": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 256
                  },
                  "voiceSpeed": {
                    "type": "number",
                    "minimum": 0.5,
                    "maximum": 2
                  },
                  "voiceTemperature": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 2
                  },
                  "volume": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 2
                  },
                  "language": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      {
                        "minItems": 1,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      }
                    ]
                  },
                  "responsiveness": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1
                  },
                  "interruptionSensitivity": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1
                  },
                  "enableBackchannel": {
                    "type": "boolean"
                  },
                  "backchannelFrequency": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1
                  },
                  "backchannelWords": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "reminderTriggerMs": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 3600000
                  },
                  "reminderMaxCount": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 100
                  },
                  "maxCallDurationMs": {
                    "type": "integer",
                    "minimum": 1000,
                    "maximum": 86400000
                  },
                  "endCallAfterSilenceMs": {
                    "type": "integer",
                    "minimum": 1000,
                    "maximum": 3600000
                  },
                  "ringDurationMs": {
                    "type": "integer",
                    "minimum": 1000,
                    "maximum": 300000
                  },
                  "beginMessageDelayMs": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 60000
                  },
                  "normalizeForSpeech": {
                    "type": "boolean"
                  },
                  "openerWaitsForCallee": {
                    "type": "boolean"
                  },
                  "voicemail": {
                    "type": "object",
                    "properties": {
                      "enabled": {
                        "type": "boolean"
                      },
                      "detectionTimeoutMs": {
                        "type": "integer",
                        "minimum": 0,
                        "exclusiveMinimum": true,
                        "maximum": 9007199254740991
                      },
                      "action": {
                        "type": "string",
                        "enum": [
                          "hangup",
                          "leave_message"
                        ]
                      },
                      "message": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "enum": [
                              "prompt",
                              "static_text"
                            ]
                          },
                          "text": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "text"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "enabled"
                    ],
                    "additionalProperties": false
                  },
                  "ambientSound": {
                    "type": "string"
                  },
                  "ambientSoundVolume": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 2
                  },
                  "boostedKeywords": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "pronunciationDictionary": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "word": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "alphabet": {
                          "type": "string",
                          "enum": [
                            "ipa",
                            "cmu"
                          ]
                        },
                        "phoneme": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "word",
                        "alphabet",
                        "phoneme"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "denoisingMode": {
                    "type": "string"
                  },
                  "sttMode": {
                    "type": "string"
                  },
                  "allowUserDtmf": {
                    "type": "boolean"
                  },
                  "allowDtmfInterruption": {
                    "type": "boolean"
                  },
                  "userDtmfOptions": {
                    "nullable": true,
                    "type": "object",
                    "properties": {
                      "digitLimit": {
                        "nullable": true,
                        "type": "integer",
                        "minimum": 0,
                        "exclusiveMinimum": true,
                        "maximum": 9007199254740991
                      },
                      "terminationKey": {
                        "nullable": true,
                        "type": "string",
                        "enum": [
                          "0",
                          "1",
                          "2",
                          "3",
                          "4",
                          "5",
                          "6",
                          "7",
                          "8",
                          "9",
                          "*",
                          "#"
                        ]
                      },
                      "timeoutMs": {
                        "type": "integer",
                        "minimum": 0,
                        "exclusiveMinimum": true,
                        "maximum": 9007199254740991
                      }
                    },
                    "additionalProperties": false
                  },
                  "dataStorageSetting": {
                    "type": "string",
                    "enum": [
                      "everything",
                      "everything_except_pii",
                      "basic_attributes_only"
                    ]
                  },
                  "optInSignedUrl": {
                    "type": "boolean"
                  },
                  "piiConfig": {
                    "type": "object",
                    "properties": {
                      "mode": {
                        "type": "string",
                        "enum": [
                          "post_call"
                        ]
                      },
                      "categories": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "person_name",
                            "address",
                            "email",
                            "phone_number",
                            "ssn",
                            "passport",
                            "driver_license",
                            "credit_card",
                            "bank_account",
                            "password",
                            "pin",
                            "medical_id",
                            "date_of_birth",
                            "customer_account_number"
                          ]
                        }
                      }
                    },
                    "required": [
                      "mode",
                      "categories"
                    ],
                    "additionalProperties": false
                  },
                  "handbookConfig": {
                    "type": "object",
                    "properties": {
                      "defaultPersonality": {
                        "type": "boolean"
                      },
                      "conversationalPersonality": {
                        "type": "boolean"
                      },
                      "naturalFillerWords": {
                        "type": "boolean"
                      },
                      "highEmpathy": {
                        "type": "boolean"
                      },
                      "echoVerification": {
                        "type": "boolean"
                      },
                      "natoPhoneticAlphabet": {
                        "type": "boolean"
                      },
                      "speechNormalization": {
                        "type": "boolean"
                      },
                      "smartMatching": {
                        "type": "boolean"
                      },
                      "aiDisclosure": {
                        "type": "boolean"
                      },
                      "scopeBoundaries": {
                        "type": "boolean"
                      }
                    },
                    "additionalProperties": false
                  },
                  "ivr": {
                    "oneOf": [
                      {
                        "type": "object",
                        "properties": {
                          "enabled": {
                            "type": "boolean",
                            "enum": [
                              false
                            ]
                          }
                        },
                        "required": [
                          "enabled"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "enabled": {
                            "type": "boolean",
                            "enum": [
                              true
                            ]
                          },
                          "action": {
                            "type": "string",
                            "enum": [
                              "hangup"
                            ]
                          },
                          "detectionWindowMs": {
                            "type": "number",
                            "enum": [
                              180000
                            ]
                          },
                          "detectionPrompt": {
                            "nullable": true,
                            "type": "string"
                          }
                        },
                        "required": [
                          "enabled",
                          "action",
                          "detectionWindowMs"
                        ],
                        "additionalProperties": false
                      }
                    ]
                  },
                  "screener": {
                    "oneOf": [
                      {
                        "type": "object",
                        "properties": {
                          "action": {
                            "type": "string",
                            "enum": [
                              "hangup"
                            ]
                          }
                        },
                        "required": [
                          "action"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "action": {
                            "type": "string",
                            "enum": [
                              "wait"
                            ]
                          },
                          "waitMs": {
                            "type": "integer",
                            "minimum": 5000,
                            "maximum": 120000
                          }
                        },
                        "required": [
                          "action"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "action": {
                            "type": "string",
                            "enum": [
                              "play_line"
                            ]
                          },
                          "waitMs": {
                            "type": "integer",
                            "minimum": 5000,
                            "maximum": 120000
                          },
                          "line": {
                            "type": "object",
                            "properties": {
                              "en": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 500
                              },
                              "es": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 500
                              }
                            },
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "action",
                          "line"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "action": {
                            "type": "string",
                            "enum": [
                              "treat_as_human"
                            ]
                          }
                        },
                        "required": [
                          "action"
                        ],
                        "additionalProperties": false
                      }
                    ]
                  },
                  "postCallAnalysisModel": {
                    "type": "object",
                    "properties": {
                      "model": {
                        "$ref": "#/components/schemas/ModelIdentity"
                      },
                      "credential": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          },
                          "version": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          },
                          "provider": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          }
                        },
                        "required": [
                          "id",
                          "version",
                          "provider"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "model"
                    ],
                    "additionalProperties": false
                  },
                  "compliance": {
                    "type": "object",
                    "properties": {
                      "profile": {
                        "type": "string",
                        "enum": [
                          "fdcpa"
                        ]
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              },
              "clear": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "voiceId",
                    "voiceModel",
                    "voiceSpeed",
                    "voiceTemperature",
                    "volume",
                    "language",
                    "responsiveness",
                    "interruptionSensitivity",
                    "enableBackchannel",
                    "backchannelFrequency",
                    "backchannelWords",
                    "reminderTriggerMs",
                    "reminderMaxCount",
                    "maxCallDurationMs",
                    "endCallAfterSilenceMs",
                    "ringDurationMs",
                    "beginMessageDelayMs",
                    "normalizeForSpeech",
                    "openerWaitsForCallee",
                    "voicemail",
                    "ambientSound",
                    "ambientSoundVolume",
                    "boostedKeywords",
                    "pronunciationDictionary",
                    "denoisingMode",
                    "sttMode",
                    "allowUserDtmf",
                    "allowDtmfInterruption",
                    "userDtmfOptions",
                    "dataStorageSetting",
                    "optInSignedUrl",
                    "piiConfig",
                    "handbookConfig",
                    "ivr",
                    "screener",
                    "postCallAnalysisModel",
                    "compliance"
                  ]
                }
              }
            },
            "required": [
              "type",
              "values",
              "clear"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "agent.analysis"
                ]
              },
              "fields": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "maxLength": 256
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "string",
                        "number",
                        "boolean",
                        "enum"
                      ]
                    },
                    "description": {
                      "type": "string"
                    },
                    "choices": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "examples": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "required": [
                    "name",
                    "type",
                    "description"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "type",
              "fields"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "agent.provider"
                ]
              },
              "role": {
                "type": "string",
                "enum": [
                  "stt",
                  "llm",
                  "tts"
                ]
              },
              "changes": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "provider": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "model": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "voiceId": {
                        "nullable": true,
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "endpoint": {
                        "nullable": true,
                        "type": "string",
                        "format": "uri"
                      },
                      "credential": {
                        "nullable": true,
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 128
                          },
                          "version": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 128
                          }
                        },
                        "required": [
                          "id",
                          "version"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "model": {
                        "allOf": [
                          {
                            "$ref": "#/components/schemas/ModelIdentity"
                          }
                        ]
                      },
                      "credential": {
                        "nullable": true,
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          },
                          "version": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          },
                          "provider": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          }
                        },
                        "required": [
                          "id",
                          "version",
                          "provider"
                        ],
                        "additionalProperties": false
                      },
                      "provider": {
                        "type": "string",
                        "enum": [
                          "openai",
                          "simulated_openai",
                          "self_hosted",
                          "simulated_self_hosted"
                        ]
                      },
                      "endpoint": {
                        "nullable": true,
                        "type": "string",
                        "format": "uri"
                      }
                    },
                    "additionalProperties": false
                  }
                ]
              }
            },
            "required": [
              "type",
              "role",
              "changes"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "agent.telephony"
                ]
              },
              "value": {
                "type": "object",
                "properties": {
                  "trunkId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 256
                  },
                  "from": {
                    "type": "string",
                    "pattern": "^\\+[1-9][0-9]{6,14}$"
                  }
                },
                "required": [
                  "trunkId"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "type",
              "value"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "agent.recording"
                ]
              },
              "value": {
                "type": "object",
                "properties": {
                  "required": {
                    "type": "boolean"
                  },
                  "channels": {
                    "type": "string",
                    "enum": [
                      "dual"
                    ]
                  }
                },
                "required": [
                  "required",
                  "channels"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "type",
              "value"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "phone.inbound_context"
                ]
              },
              "value": {
                "nullable": true,
                "type": "object",
                "properties": {
                  "action_id": {
                    "type": "string",
                    "pattern": "^[a-z][a-z0-9_]{0,62}$"
                  },
                  "variables": {
                    "minItems": 1,
                    "maxItems": 256,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^[A-Za-z_][A-Za-z0-9_.-]{0,127}$"
                    }
                  }
                },
                "required": [
                  "action_id",
                  "variables"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "type",
              "value"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "flow.prompt"
                ]
              },
              "text": {
                "type": "string"
              }
            },
            "required": [
              "type",
              "text"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "node.name"
                ]
              },
              "component_id": {
                "nullable": true,
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "node_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "name": {
                "nullable": true,
                "type": "string"
              }
            },
            "required": [
              "type",
              "component_id",
              "node_id",
              "name"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "node.instruction"
                ]
              },
              "component_id": {
                "nullable": true,
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "node_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "instruction": {
                "nullable": true,
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "prompt",
                      "static_text"
                    ]
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "text"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "type",
              "component_id",
              "node_id",
              "instruction"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "node.transitions"
                ]
              },
              "component_id": {
                "nullable": true,
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "node_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "edges": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "destinationNodeId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "slot": {
                      "type": "string",
                      "enum": [
                        "edges",
                        "else_edge",
                        "skip_response_edge",
                        "always_edge",
                        "edge",
                        "success_edge"
                      ]
                    },
                    "condition": {
                      "oneOf": [
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "always"
                              ]
                            }
                          },
                          "required": [
                            "type"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "conversation_language"
                              ]
                            },
                            "language": {
                              "type": "string",
                              "enum": [
                                "en",
                                "es"
                              ]
                            }
                          },
                          "required": [
                            "type",
                            "language"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "prompt"
                              ]
                            },
                            "prompt": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "type",
                            "prompt"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "equation"
                              ]
                            },
                            "operator": {
                              "type": "string",
                              "enum": [
                                "&&",
                                "||"
                              ]
                            },
                            "equations": {
                              "minItems": 1,
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "left": {
                                    "type": "string"
                                  },
                                  "operator": {
                                    "type": "string",
                                    "enum": [
                                      "==",
                                      "!=",
                                      ">",
                                      "<",
                                      ">=",
                                      "<=",
                                      "contains",
                                      "is_set",
                                      "is_not_set"
                                    ]
                                  },
                                  "right": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "left",
                                  "operator",
                                  "right"
                                ],
                                "additionalProperties": false
                              }
                            }
                          },
                          "required": [
                            "type",
                            "operator",
                            "equations"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    },
                    "compliance": {
                      "type": "object",
                      "properties": {
                        "sets": {
                          "minItems": 1,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "enum": [
                              "rpc_confirmed"
                            ]
                          }
                        }
                      },
                      "required": [
                        "sets"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "slot",
                    "condition"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "type",
              "component_id",
              "node_id",
              "edges"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "node.configure"
                ]
              },
              "component_id": {
                "nullable": true,
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "node_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "changes": {
                "type": "object",
                "properties": {
                  "name": {
                    "nullable": true,
                    "type": "string"
                  },
                  "instruction": {
                    "nullable": true,
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "prompt",
                          "static_text"
                        ]
                      },
                      "text": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "text"
                    ],
                    "additionalProperties": false
                  },
                  "startSpeaker": {
                    "nullable": true,
                    "type": "string",
                    "enum": [
                      "agent",
                      "user"
                    ]
                  },
                  "interruptionSensitivity": {
                    "nullable": true,
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1
                  },
                  "voiceSpeed": {
                    "nullable": true,
                    "type": "number",
                    "minimum": 0.5,
                    "maximum": 2
                  },
                  "languageLocked": {
                    "nullable": true,
                    "type": "boolean"
                  },
                  "globalNodeSetting": {
                    "nullable": true,
                    "type": "object",
                    "properties": {
                      "condition": {
                        "type": "string"
                      },
                      "coolDown": {
                        "type": "number",
                        "minimum": 0
                      }
                    },
                    "required": [
                      "condition"
                    ],
                    "additionalProperties": false
                  },
                  "toolId": {
                    "nullable": true,
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 256
                  },
                  "waitForResult": {
                    "nullable": true,
                    "type": "boolean"
                  },
                  "speakDuringExecution": {
                    "nullable": true,
                    "type": "boolean"
                  },
                  "executionMessage": {
                    "nullable": true,
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "prompt",
                          "static_text"
                        ]
                      },
                      "text": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "text"
                    ],
                    "additionalProperties": false
                  },
                  "transfer": {
                    "nullable": true,
                    "type": "object",
                    "properties": {
                      "destination": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "enum": [
                                  "predefined"
                                ]
                              },
                              "number": {
                                "type": "string",
                                "maxLength": 256
                              }
                            },
                            "required": [
                              "type",
                              "number"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "enum": [
                                  "inferred"
                                ]
                              },
                              "prompt": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "type",
                              "prompt"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "option": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "enum": [
                              "cold_transfer",
                              "warm_transfer"
                            ]
                          },
                          "showTransfereeAsCaller": {
                            "type": "boolean"
                          },
                          "optOutHumanDetection": {
                            "type": "boolean"
                          },
                          "enableBridgeAudioCue": {
                            "type": "boolean"
                          },
                          "onHoldMusic": {
                            "type": "string"
                          },
                          "agentDetectionTimeoutMs": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "agentDetectionPrompt": {
                            "type": "string"
                          },
                          "transferMessage": {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "enum": [
                                  "prompt",
                                  "static_text"
                                ]
                              },
                              "text": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "type",
                              "text"
                            ],
                            "additionalProperties": false
                          },
                          "privateHandoffMessage": {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "enum": [
                                  "prompt",
                                  "static_text"
                                ]
                              },
                              "text": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "type",
                              "text"
                            ],
                            "additionalProperties": false
                          },
                          "coldTransferMode": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "additionalProperties": false
                      },
                      "ignoreE164Validation": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "destination",
                      "option",
                      "ignoreE164Validation"
                    ],
                    "additionalProperties": false
                  },
                  "variables": {
                    "nullable": true,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "maxLength": 256
                        },
                        "type": {
                          "type": "string",
                          "enum": [
                            "string",
                            "number",
                            "boolean",
                            "enum"
                          ]
                        },
                        "description": {
                          "type": "string"
                        },
                        "choices": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "name",
                        "type",
                        "description"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "modelChoice": {
                    "nullable": true,
                    "type": "object",
                    "properties": {
                      "model": {
                        "$ref": "#/components/schemas/ModelIdentity"
                      },
                      "credential": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          },
                          "version": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          },
                          "provider": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          }
                        },
                        "required": [
                          "id",
                          "version",
                          "provider"
                        ],
                        "additionalProperties": false
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "cascading"
                        ]
                      },
                      "highPriority": {
                        "type": "boolean"
                      },
                      "reasoningEffort": {
                        "type": "string",
                        "enum": [
                          "low",
                          "medium",
                          "high"
                        ]
                      }
                    },
                    "required": [
                      "model",
                      "type",
                      "highPriority"
                    ],
                    "additionalProperties": false
                  },
                  "componentId": {
                    "nullable": true,
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 256
                  },
                  "verification": {
                    "nullable": true,
                    "type": "object",
                    "properties": {
                      "subjectVariable": {
                        "type": "string",
                        "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,255}$"
                      },
                      "fields": {
                        "maxItems": 8,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,63}$"
                            },
                            "expectedVariable": {
                              "type": "string",
                              "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,255}$"
                            },
                            "privateAliases": {
                              "maxItems": 16,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,255}$"
                              }
                            },
                            "enabledVariable": {
                              "type": "string",
                              "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,255}$"
                            },
                            "format": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "digits"
                                      ]
                                    },
                                    "length": {
                                      "type": "integer",
                                      "minimum": 1,
                                      "maximum": 32
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "length"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "date_yyyymmdd"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "kind"
                                  ],
                                  "additionalProperties": false
                                }
                              ]
                            },
                            "prompt": {
                              "type": "object",
                              "properties": {
                                "en": {
                                  "type": "string"
                                },
                                "es": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "en"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "id",
                            "expectedVariable",
                            "enabledVariable",
                            "format",
                            "prompt"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "fixed"
                                ]
                              },
                              "count": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 8
                              }
                            },
                            "required": [
                              "kind",
                              "count"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "variable"
                                ]
                              },
                              "name": {
                                "type": "string",
                                "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,255}$"
                              }
                            },
                            "required": [
                              "kind",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "timeoutMs": {
                        "type": "integer",
                        "minimum": 1000,
                        "maximum": 180000
                      },
                      "lookup": {
                        "type": "object",
                        "properties": {
                          "toolId": {
                            "type": "string",
                            "minLength": 1
                          },
                          "fieldId": {
                            "type": "string",
                            "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,63}$"
                          },
                          "parameter": {
                            "type": "string",
                            "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,255}$"
                          },
                          "arguments": {
                            "maxItems": 64,
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "parameter": {
                                  "type": "string",
                                  "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,255}$"
                                },
                                "variable": {
                                  "type": "string",
                                  "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,255}$"
                                }
                              },
                              "required": [
                                "parameter",
                                "variable"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "toolId",
                          "fieldId",
                          "parameter",
                          "arguments"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "subjectVariable",
                      "fields",
                      "required",
                      "timeoutMs"
                    ],
                    "additionalProperties": false
                  },
                  "tokenization": {
                    "nullable": true,
                    "type": "object",
                    "properties": {
                      "toolId": {
                        "type": "string",
                        "maxLength": 256
                      },
                      "subjectVariable": {
                        "type": "string",
                        "pattern": "^(?!(?:__proto__|constructor|prototype)$)[A-Za-z_][A-Za-z0-9_]{0,255}$"
                      },
                      "consentPrompt": {
                        "type": "object",
                        "properties": {
                          "en": {
                            "type": "string",
                            "maxLength": 4096
                          },
                          "es": {
                            "type": "string",
                            "maxLength": 4096
                          }
                        },
                        "required": [
                          "en"
                        ],
                        "additionalProperties": false
                      },
                      "timeoutMs": {
                        "type": "integer",
                        "minimum": 1000,
                        "maximum": 180000
                      },
                      "fields": {
                        "maxItems": 7,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,63}$"
                            },
                            "parameter": {
                              "type": "string",
                              "maxLength": 256,
                              "pattern": "^(?!(?:__proto__|constructor|prototype)(?:\\.|$))[A-Za-z_][A-Za-z0-9_]*(?:\\.(?!(?:__proto__|constructor|prototype)(?:\\.|$))[A-Za-z_][A-Za-z0-9_]*){0,7}$"
                            },
                            "minDigits": {
                              "type": "integer",
                              "minimum": 1,
                              "maximum": 32
                            },
                            "maxDigits": {
                              "type": "integer",
                              "minimum": 1,
                              "maximum": 32
                            },
                            "encoding": {
                              "type": "string",
                              "enum": [
                                "string",
                                "integer"
                              ]
                            },
                            "minimum": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 999999999
                            },
                            "maximum": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 999999999
                            },
                            "prompt": {
                              "type": "object",
                              "properties": {
                                "en": {
                                  "type": "string",
                                  "maxLength": 4096
                                },
                                "es": {
                                  "type": "string",
                                  "maxLength": 4096
                                }
                              },
                              "required": [
                                "en"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "id",
                            "parameter",
                            "minDigits",
                            "maxDigits",
                            "encoding",
                            "prompt"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "arguments": {
                        "maxItems": 64,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "parameter": {
                              "type": "string",
                              "maxLength": 256,
                              "pattern": "^(?!(?:__proto__|constructor|prototype)(?:\\.|$))[A-Za-z_][A-Za-z0-9_]*(?:\\.(?!(?:__proto__|constructor|prototype)(?:\\.|$))[A-Za-z_][A-Za-z0-9_]*){0,7}$"
                            },
                            "source": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "variable"
                                      ]
                                    },
                                    "name": {
                                      "type": "string",
                                      "pattern": "^(?!(?:__proto__|constructor|prototype)$)[A-Za-z_][A-Za-z0-9_]{0,255}$"
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "name"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "constant"
                                      ]
                                    },
                                    "value": {
                                      "nullable": true,
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "maxLength": 512
                                        },
                                        {
                                          "type": "number"
                                        },
                                        {
                                          "type": "boolean"
                                        }
                                      ]
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "value"
                                  ],
                                  "additionalProperties": false
                                }
                              ]
                            }
                          },
                          "required": [
                            "parameter",
                            "source"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "tokenIdPath": {
                        "type": "string",
                        "maxLength": 256,
                        "pattern": "^(?!(?:__proto__|constructor|prototype)(?:\\.|$))[A-Za-z_][A-Za-z0-9_]*(?:\\.(?!(?:__proto__|constructor|prototype)(?:\\.|$))[A-Za-z_][A-Za-z0-9_]*){0,7}$"
                      },
                      "tokenVariable": {
                        "type": "string",
                        "pattern": "^(?!(?:__proto__|constructor|prototype)$)[A-Za-z_][A-Za-z0-9_]{0,255}$"
                      },
                      "last4Variable": {
                        "type": "string",
                        "pattern": "^(?!(?:__proto__|constructor|prototype)$)[A-Za-z_][A-Za-z0-9_]{0,255}$"
                      },
                      "last4Field": {
                        "type": "string",
                        "maxLength": 64
                      }
                    },
                    "required": [
                      "toolId",
                      "subjectVariable",
                      "consentPrompt",
                      "timeoutMs",
                      "fields",
                      "arguments",
                      "tokenIdPath",
                      "tokenVariable",
                      "last4Variable",
                      "last4Field"
                    ],
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "type",
              "component_id",
              "node_id",
              "changes"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "node.create"
                ]
              },
              "component_id": {
                "nullable": true,
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "node": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 256
                  },
                  "kind": {
                    "type": "string",
                    "enum": [
                      "conversation",
                      "end",
                      "branch",
                      "transfer_call",
                      "function",
                      "extract_dynamic_variables",
                      "verify_identity",
                      "tokenize_private",
                      "component"
                    ]
                  },
                  "edges": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "destinationNodeId": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "slot": {
                          "type": "string",
                          "enum": [
                            "edges",
                            "else_edge",
                            "skip_response_edge",
                            "always_edge",
                            "edge",
                            "success_edge"
                          ]
                        },
                        "condition": {
                          "oneOf": [
                            {
                              "type": "object",
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "always"
                                  ]
                                }
                              },
                              "required": [
                                "type"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "conversation_language"
                                  ]
                                },
                                "language": {
                                  "type": "string",
                                  "enum": [
                                    "en",
                                    "es"
                                  ]
                                }
                              },
                              "required": [
                                "type",
                                "language"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "prompt"
                                  ]
                                },
                                "prompt": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "type",
                                "prompt"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "equation"
                                  ]
                                },
                                "operator": {
                                  "type": "string",
                                  "enum": [
                                    "&&",
                                    "||"
                                  ]
                                },
                                "equations": {
                                  "minItems": 1,
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "left": {
                                        "type": "string"
                                      },
                                      "operator": {
                                        "type": "string",
                                        "enum": [
                                          "==",
                                          "!=",
                                          ">",
                                          "<",
                                          ">=",
                                          "<=",
                                          "contains",
                                          "is_set",
                                          "is_not_set"
                                        ]
                                      },
                                      "right": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "left",
                                      "operator",
                                      "right"
                                    ],
                                    "additionalProperties": false
                                  }
                                }
                              },
                              "required": [
                                "type",
                                "operator",
                                "equations"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "compliance": {
                          "type": "object",
                          "properties": {
                            "sets": {
                              "minItems": 1,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "enum": [
                                  "rpc_confirmed"
                                ]
                              }
                            }
                          },
                          "required": [
                            "sets"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "slot",
                        "condition"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "name": {
                    "type": "string"
                  },
                  "instruction": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "prompt",
                          "static_text"
                        ]
                      },
                      "text": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "text"
                    ],
                    "additionalProperties": false
                  },
                  "startSpeaker": {
                    "type": "string",
                    "enum": [
                      "agent",
                      "user"
                    ]
                  },
                  "interruptionSensitivity": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1
                  },
                  "voiceSpeed": {
                    "type": "number",
                    "minimum": 0.5,
                    "maximum": 2
                  },
                  "languageLocked": {
                    "type": "boolean"
                  },
                  "globalNodeSetting": {
                    "type": "object",
                    "properties": {
                      "condition": {
                        "type": "string"
                      },
                      "coolDown": {
                        "type": "number",
                        "minimum": 0
                      }
                    },
                    "required": [
                      "condition"
                    ],
                    "additionalProperties": false
                  },
                  "toolId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 256
                  },
                  "waitForResult": {
                    "type": "boolean"
                  },
                  "speakDuringExecution": {
                    "type": "boolean"
                  },
                  "executionMessage": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "prompt",
                          "static_text"
                        ]
                      },
                      "text": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "text"
                    ],
                    "additionalProperties": false
                  },
                  "transfer": {
                    "type": "object",
                    "properties": {
                      "destination": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "enum": [
                                  "predefined"
                                ]
                              },
                              "number": {
                                "type": "string",
                                "maxLength": 256
                              }
                            },
                            "required": [
                              "type",
                              "number"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "enum": [
                                  "inferred"
                                ]
                              },
                              "prompt": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "type",
                              "prompt"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "option": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "enum": [
                              "cold_transfer",
                              "warm_transfer"
                            ]
                          },
                          "showTransfereeAsCaller": {
                            "type": "boolean"
                          },
                          "optOutHumanDetection": {
                            "type": "boolean"
                          },
                          "enableBridgeAudioCue": {
                            "type": "boolean"
                          },
                          "onHoldMusic": {
                            "type": "string"
                          },
                          "agentDetectionTimeoutMs": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "agentDetectionPrompt": {
                            "type": "string"
                          },
                          "transferMessage": {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "enum": [
                                  "prompt",
                                  "static_text"
                                ]
                              },
                              "text": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "type",
                              "text"
                            ],
                            "additionalProperties": false
                          },
                          "privateHandoffMessage": {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "enum": [
                                  "prompt",
                                  "static_text"
                                ]
                              },
                              "text": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "type",
                              "text"
                            ],
                            "additionalProperties": false
                          },
                          "coldTransferMode": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "type"
                        ],
                        "additionalProperties": false
                      },
                      "ignoreE164Validation": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "destination",
                      "option",
                      "ignoreE164Validation"
                    ],
                    "additionalProperties": false
                  },
                  "variables": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "maxLength": 256
                        },
                        "type": {
                          "type": "string",
                          "enum": [
                            "string",
                            "number",
                            "boolean",
                            "enum"
                          ]
                        },
                        "description": {
                          "type": "string"
                        },
                        "choices": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "name",
                        "type",
                        "description"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "modelChoice": {
                    "type": "object",
                    "properties": {
                      "model": {
                        "$ref": "#/components/schemas/ModelIdentity"
                      },
                      "credential": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          },
                          "version": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          },
                          "provider": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          }
                        },
                        "required": [
                          "id",
                          "version",
                          "provider"
                        ],
                        "additionalProperties": false
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "cascading"
                        ]
                      },
                      "highPriority": {
                        "type": "boolean"
                      },
                      "reasoningEffort": {
                        "type": "string",
                        "enum": [
                          "low",
                          "medium",
                          "high"
                        ]
                      }
                    },
                    "required": [
                      "model",
                      "type",
                      "highPriority"
                    ],
                    "additionalProperties": false
                  },
                  "componentId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 256
                  },
                  "verification": {
                    "type": "object",
                    "properties": {
                      "subjectVariable": {
                        "type": "string",
                        "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,255}$"
                      },
                      "fields": {
                        "maxItems": 8,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,63}$"
                            },
                            "expectedVariable": {
                              "type": "string",
                              "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,255}$"
                            },
                            "privateAliases": {
                              "maxItems": 16,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,255}$"
                              }
                            },
                            "enabledVariable": {
                              "type": "string",
                              "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,255}$"
                            },
                            "format": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "digits"
                                      ]
                                    },
                                    "length": {
                                      "type": "integer",
                                      "minimum": 1,
                                      "maximum": 32
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "length"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "date_yyyymmdd"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "kind"
                                  ],
                                  "additionalProperties": false
                                }
                              ]
                            },
                            "prompt": {
                              "type": "object",
                              "properties": {
                                "en": {
                                  "type": "string"
                                },
                                "es": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "en"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "id",
                            "expectedVariable",
                            "enabledVariable",
                            "format",
                            "prompt"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "fixed"
                                ]
                              },
                              "count": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 8
                              }
                            },
                            "required": [
                              "kind",
                              "count"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "variable"
                                ]
                              },
                              "name": {
                                "type": "string",
                                "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,255}$"
                              }
                            },
                            "required": [
                              "kind",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "timeoutMs": {
                        "type": "integer",
                        "minimum": 1000,
                        "maximum": 180000
                      },
                      "lookup": {
                        "type": "object",
                        "properties": {
                          "toolId": {
                            "type": "string",
                            "minLength": 1
                          },
                          "fieldId": {
                            "type": "string",
                            "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,63}$"
                          },
                          "parameter": {
                            "type": "string",
                            "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,255}$"
                          },
                          "arguments": {
                            "maxItems": 64,
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "parameter": {
                                  "type": "string",
                                  "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,255}$"
                                },
                                "variable": {
                                  "type": "string",
                                  "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,255}$"
                                }
                              },
                              "required": [
                                "parameter",
                                "variable"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "toolId",
                          "fieldId",
                          "parameter",
                          "arguments"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "subjectVariable",
                      "fields",
                      "required",
                      "timeoutMs"
                    ],
                    "additionalProperties": false
                  },
                  "tokenization": {
                    "type": "object",
                    "properties": {
                      "toolId": {
                        "type": "string",
                        "maxLength": 256
                      },
                      "subjectVariable": {
                        "type": "string",
                        "pattern": "^(?!(?:__proto__|constructor|prototype)$)[A-Za-z_][A-Za-z0-9_]{0,255}$"
                      },
                      "consentPrompt": {
                        "type": "object",
                        "properties": {
                          "en": {
                            "type": "string",
                            "maxLength": 4096
                          },
                          "es": {
                            "type": "string",
                            "maxLength": 4096
                          }
                        },
                        "required": [
                          "en"
                        ],
                        "additionalProperties": false
                      },
                      "timeoutMs": {
                        "type": "integer",
                        "minimum": 1000,
                        "maximum": 180000
                      },
                      "fields": {
                        "maxItems": 7,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,63}$"
                            },
                            "parameter": {
                              "type": "string",
                              "maxLength": 256,
                              "pattern": "^(?!(?:__proto__|constructor|prototype)(?:\\.|$))[A-Za-z_][A-Za-z0-9_]*(?:\\.(?!(?:__proto__|constructor|prototype)(?:\\.|$))[A-Za-z_][A-Za-z0-9_]*){0,7}$"
                            },
                            "minDigits": {
                              "type": "integer",
                              "minimum": 1,
                              "maximum": 32
                            },
                            "maxDigits": {
                              "type": "integer",
                              "minimum": 1,
                              "maximum": 32
                            },
                            "encoding": {
                              "type": "string",
                              "enum": [
                                "string",
                                "integer"
                              ]
                            },
                            "minimum": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 999999999
                            },
                            "maximum": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 999999999
                            },
                            "prompt": {
                              "type": "object",
                              "properties": {
                                "en": {
                                  "type": "string",
                                  "maxLength": 4096
                                },
                                "es": {
                                  "type": "string",
                                  "maxLength": 4096
                                }
                              },
                              "required": [
                                "en"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "id",
                            "parameter",
                            "minDigits",
                            "maxDigits",
                            "encoding",
                            "prompt"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "arguments": {
                        "maxItems": 64,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "parameter": {
                              "type": "string",
                              "maxLength": 256,
                              "pattern": "^(?!(?:__proto__|constructor|prototype)(?:\\.|$))[A-Za-z_][A-Za-z0-9_]*(?:\\.(?!(?:__proto__|constructor|prototype)(?:\\.|$))[A-Za-z_][A-Za-z0-9_]*){0,7}$"
                            },
                            "source": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "variable"
                                      ]
                                    },
                                    "name": {
                                      "type": "string",
                                      "pattern": "^(?!(?:__proto__|constructor|prototype)$)[A-Za-z_][A-Za-z0-9_]{0,255}$"
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "name"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "constant"
                                      ]
                                    },
                                    "value": {
                                      "nullable": true,
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "maxLength": 512
                                        },
                                        {
                                          "type": "number"
                                        },
                                        {
                                          "type": "boolean"
                                        }
                                      ]
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "value"
                                  ],
                                  "additionalProperties": false
                                }
                              ]
                            }
                          },
                          "required": [
                            "parameter",
                            "source"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "tokenIdPath": {
                        "type": "string",
                        "maxLength": 256,
                        "pattern": "^(?!(?:__proto__|constructor|prototype)(?:\\.|$))[A-Za-z_][A-Za-z0-9_]*(?:\\.(?!(?:__proto__|constructor|prototype)(?:\\.|$))[A-Za-z_][A-Za-z0-9_]*){0,7}$"
                      },
                      "tokenVariable": {
                        "type": "string",
                        "pattern": "^(?!(?:__proto__|constructor|prototype)$)[A-Za-z_][A-Za-z0-9_]{0,255}$"
                      },
                      "last4Variable": {
                        "type": "string",
                        "pattern": "^(?!(?:__proto__|constructor|prototype)$)[A-Za-z_][A-Za-z0-9_]{0,255}$"
                      },
                      "last4Field": {
                        "type": "string",
                        "maxLength": 64
                      }
                    },
                    "required": [
                      "toolId",
                      "subjectVariable",
                      "consentPrompt",
                      "timeoutMs",
                      "fields",
                      "arguments",
                      "tokenIdPath",
                      "tokenVariable",
                      "last4Variable",
                      "last4Field"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "id",
                  "kind",
                  "edges"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "type",
              "component_id",
              "node"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "node.remove"
                ]
              },
              "component_id": {
                "nullable": true,
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "node_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              }
            },
            "required": [
              "type",
              "component_id",
              "node_id"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "flow.configure"
                ]
              },
              "changes": {
                "type": "object",
                "properties": {
                  "startNodeId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 256
                  },
                  "startSpeaker": {
                    "type": "string",
                    "enum": [
                      "agent",
                      "user"
                    ]
                  },
                  "globalPrompt": {
                    "type": "string"
                  },
                  "defaultDynamicVariables": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "string"
                    }
                  },
                  "callContextVariables": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    }
                  },
                  "modelChoice": {
                    "nullable": true,
                    "type": "object",
                    "properties": {
                      "model": {
                        "$ref": "#/components/schemas/ModelIdentity"
                      },
                      "credential": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          },
                          "version": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          },
                          "provider": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          }
                        },
                        "required": [
                          "id",
                          "version",
                          "provider"
                        ],
                        "additionalProperties": false
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "cascading"
                        ]
                      },
                      "highPriority": {
                        "type": "boolean"
                      },
                      "reasoningEffort": {
                        "type": "string",
                        "enum": [
                          "low",
                          "medium",
                          "high"
                        ]
                      }
                    },
                    "required": [
                      "model",
                      "type",
                      "highPriority"
                    ],
                    "additionalProperties": false
                  },
                  "toolCallStrictMode": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "type",
              "changes"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "component.create"
                ]
              },
              "component": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 256
                  },
                  "startNodeId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 256
                  },
                  "nodes": {
                    "minItems": 1,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "kind": {
                          "type": "string",
                          "enum": [
                            "conversation",
                            "end",
                            "branch",
                            "transfer_call",
                            "function",
                            "extract_dynamic_variables",
                            "verify_identity",
                            "tokenize_private",
                            "component"
                          ]
                        },
                        "edges": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 256
                              },
                              "destinationNodeId": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 256
                              },
                              "slot": {
                                "type": "string",
                                "enum": [
                                  "edges",
                                  "else_edge",
                                  "skip_response_edge",
                                  "always_edge",
                                  "edge",
                                  "success_edge"
                                ]
                              },
                              "condition": {
                                "oneOf": [
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "always"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "type"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "conversation_language"
                                        ]
                                      },
                                      "language": {
                                        "type": "string",
                                        "enum": [
                                          "en",
                                          "es"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "language"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "prompt"
                                        ]
                                      },
                                      "prompt": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "prompt"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "equation"
                                        ]
                                      },
                                      "operator": {
                                        "type": "string",
                                        "enum": [
                                          "&&",
                                          "||"
                                        ]
                                      },
                                      "equations": {
                                        "minItems": 1,
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "properties": {
                                            "left": {
                                              "type": "string"
                                            },
                                            "operator": {
                                              "type": "string",
                                              "enum": [
                                                "==",
                                                "!=",
                                                ">",
                                                "<",
                                                ">=",
                                                "<=",
                                                "contains",
                                                "is_set",
                                                "is_not_set"
                                              ]
                                            },
                                            "right": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "left",
                                            "operator",
                                            "right"
                                          ],
                                          "additionalProperties": false
                                        }
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "operator",
                                      "equations"
                                    ],
                                    "additionalProperties": false
                                  }
                                ]
                              },
                              "compliance": {
                                "type": "object",
                                "properties": {
                                  "sets": {
                                    "minItems": 1,
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "enum": [
                                        "rpc_confirmed"
                                      ]
                                    }
                                  }
                                },
                                "required": [
                                  "sets"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "required": [
                              "slot",
                              "condition"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "name": {
                          "type": "string"
                        },
                        "instruction": {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "prompt",
                                "static_text"
                              ]
                            },
                            "text": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "type",
                            "text"
                          ],
                          "additionalProperties": false
                        },
                        "startSpeaker": {
                          "type": "string",
                          "enum": [
                            "agent",
                            "user"
                          ]
                        },
                        "interruptionSensitivity": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 1
                        },
                        "voiceSpeed": {
                          "type": "number",
                          "minimum": 0.5,
                          "maximum": 2
                        },
                        "languageLocked": {
                          "type": "boolean"
                        },
                        "globalNodeSetting": {
                          "type": "object",
                          "properties": {
                            "condition": {
                              "type": "string"
                            },
                            "coolDown": {
                              "type": "number",
                              "minimum": 0
                            }
                          },
                          "required": [
                            "condition"
                          ],
                          "additionalProperties": false
                        },
                        "toolId": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "waitForResult": {
                          "type": "boolean"
                        },
                        "speakDuringExecution": {
                          "type": "boolean"
                        },
                        "executionMessage": {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "prompt",
                                "static_text"
                              ]
                            },
                            "text": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "type",
                            "text"
                          ],
                          "additionalProperties": false
                        },
                        "transfer": {
                          "type": "object",
                          "properties": {
                            "destination": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "enum": [
                                        "predefined"
                                      ]
                                    },
                                    "number": {
                                      "type": "string",
                                      "maxLength": 256
                                    }
                                  },
                                  "required": [
                                    "type",
                                    "number"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "enum": [
                                        "inferred"
                                      ]
                                    },
                                    "prompt": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "type",
                                    "prompt"
                                  ],
                                  "additionalProperties": false
                                }
                              ]
                            },
                            "option": {
                              "type": "object",
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "enum": [
                                    "cold_transfer",
                                    "warm_transfer"
                                  ]
                                },
                                "showTransfereeAsCaller": {
                                  "type": "boolean"
                                },
                                "optOutHumanDetection": {
                                  "type": "boolean"
                                },
                                "enableBridgeAudioCue": {
                                  "type": "boolean"
                                },
                                "onHoldMusic": {
                                  "type": "string"
                                },
                                "agentDetectionTimeoutMs": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "agentDetectionPrompt": {
                                  "type": "string"
                                },
                                "transferMessage": {
                                  "type": "object",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "enum": [
                                        "prompt",
                                        "static_text"
                                      ]
                                    },
                                    "text": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "type",
                                    "text"
                                  ],
                                  "additionalProperties": false
                                },
                                "privateHandoffMessage": {
                                  "type": "object",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "enum": [
                                        "prompt",
                                        "static_text"
                                      ]
                                    },
                                    "text": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "type",
                                    "text"
                                  ],
                                  "additionalProperties": false
                                },
                                "coldTransferMode": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "type"
                              ],
                              "additionalProperties": false
                            },
                            "ignoreE164Validation": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "destination",
                            "option",
                            "ignoreE164Validation"
                          ],
                          "additionalProperties": false
                        },
                        "variables": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string",
                                "maxLength": 256
                              },
                              "type": {
                                "type": "string",
                                "enum": [
                                  "string",
                                  "number",
                                  "boolean",
                                  "enum"
                                ]
                              },
                              "description": {
                                "type": "string"
                              },
                              "choices": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            },
                            "required": [
                              "name",
                              "type",
                              "description"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "modelChoice": {
                          "type": "object",
                          "properties": {
                            "model": {
                              "$ref": "#/components/schemas/ModelIdentity"
                            },
                            "credential": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 256
                                },
                                "version": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 256
                                },
                                "provider": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 256
                                }
                              },
                              "required": [
                                "id",
                                "version",
                                "provider"
                              ],
                              "additionalProperties": false
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "cascading"
                              ]
                            },
                            "highPriority": {
                              "type": "boolean"
                            },
                            "reasoningEffort": {
                              "type": "string",
                              "enum": [
                                "low",
                                "medium",
                                "high"
                              ]
                            }
                          },
                          "required": [
                            "model",
                            "type",
                            "highPriority"
                          ],
                          "additionalProperties": false
                        },
                        "componentId": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "verification": {
                          "type": "object",
                          "properties": {
                            "subjectVariable": {
                              "type": "string",
                              "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,255}$"
                            },
                            "fields": {
                              "maxItems": 8,
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,63}$"
                                  },
                                  "expectedVariable": {
                                    "type": "string",
                                    "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,255}$"
                                  },
                                  "privateAliases": {
                                    "maxItems": 16,
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,255}$"
                                    }
                                  },
                                  "enabledVariable": {
                                    "type": "string",
                                    "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,255}$"
                                  },
                                  "format": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "properties": {
                                          "kind": {
                                            "type": "string",
                                            "enum": [
                                              "digits"
                                            ]
                                          },
                                          "length": {
                                            "type": "integer",
                                            "minimum": 1,
                                            "maximum": 32
                                          }
                                        },
                                        "required": [
                                          "kind",
                                          "length"
                                        ],
                                        "additionalProperties": false
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "kind": {
                                            "type": "string",
                                            "enum": [
                                              "date_yyyymmdd"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "kind"
                                        ],
                                        "additionalProperties": false
                                      }
                                    ]
                                  },
                                  "prompt": {
                                    "type": "object",
                                    "properties": {
                                      "en": {
                                        "type": "string"
                                      },
                                      "es": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "en"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "id",
                                  "expectedVariable",
                                  "enabledVariable",
                                  "format",
                                  "prompt"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "required": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "fixed"
                                      ]
                                    },
                                    "count": {
                                      "type": "integer",
                                      "minimum": 1,
                                      "maximum": 8
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "count"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "variable"
                                      ]
                                    },
                                    "name": {
                                      "type": "string",
                                      "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,255}$"
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "name"
                                  ],
                                  "additionalProperties": false
                                }
                              ]
                            },
                            "timeoutMs": {
                              "type": "integer",
                              "minimum": 1000,
                              "maximum": 180000
                            },
                            "lookup": {
                              "type": "object",
                              "properties": {
                                "toolId": {
                                  "type": "string",
                                  "minLength": 1
                                },
                                "fieldId": {
                                  "type": "string",
                                  "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,63}$"
                                },
                                "parameter": {
                                  "type": "string",
                                  "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,255}$"
                                },
                                "arguments": {
                                  "maxItems": 64,
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "parameter": {
                                        "type": "string",
                                        "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,255}$"
                                      },
                                      "variable": {
                                        "type": "string",
                                        "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,255}$"
                                      }
                                    },
                                    "required": [
                                      "parameter",
                                      "variable"
                                    ],
                                    "additionalProperties": false
                                  }
                                }
                              },
                              "required": [
                                "toolId",
                                "fieldId",
                                "parameter",
                                "arguments"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "subjectVariable",
                            "fields",
                            "required",
                            "timeoutMs"
                          ],
                          "additionalProperties": false
                        },
                        "tokenization": {
                          "type": "object",
                          "properties": {
                            "toolId": {
                              "type": "string",
                              "maxLength": 256
                            },
                            "subjectVariable": {
                              "type": "string",
                              "pattern": "^(?!(?:__proto__|constructor|prototype)$)[A-Za-z_][A-Za-z0-9_]{0,255}$"
                            },
                            "consentPrompt": {
                              "type": "object",
                              "properties": {
                                "en": {
                                  "type": "string",
                                  "maxLength": 4096
                                },
                                "es": {
                                  "type": "string",
                                  "maxLength": 4096
                                }
                              },
                              "required": [
                                "en"
                              ],
                              "additionalProperties": false
                            },
                            "timeoutMs": {
                              "type": "integer",
                              "minimum": 1000,
                              "maximum": 180000
                            },
                            "fields": {
                              "maxItems": 7,
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,63}$"
                                  },
                                  "parameter": {
                                    "type": "string",
                                    "maxLength": 256,
                                    "pattern": "^(?!(?:__proto__|constructor|prototype)(?:\\.|$))[A-Za-z_][A-Za-z0-9_]*(?:\\.(?!(?:__proto__|constructor|prototype)(?:\\.|$))[A-Za-z_][A-Za-z0-9_]*){0,7}$"
                                  },
                                  "minDigits": {
                                    "type": "integer",
                                    "minimum": 1,
                                    "maximum": 32
                                  },
                                  "maxDigits": {
                                    "type": "integer",
                                    "minimum": 1,
                                    "maximum": 32
                                  },
                                  "encoding": {
                                    "type": "string",
                                    "enum": [
                                      "string",
                                      "integer"
                                    ]
                                  },
                                  "minimum": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 999999999
                                  },
                                  "maximum": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 999999999
                                  },
                                  "prompt": {
                                    "type": "object",
                                    "properties": {
                                      "en": {
                                        "type": "string",
                                        "maxLength": 4096
                                      },
                                      "es": {
                                        "type": "string",
                                        "maxLength": 4096
                                      }
                                    },
                                    "required": [
                                      "en"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "id",
                                  "parameter",
                                  "minDigits",
                                  "maxDigits",
                                  "encoding",
                                  "prompt"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "arguments": {
                              "maxItems": 64,
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "parameter": {
                                    "type": "string",
                                    "maxLength": 256,
                                    "pattern": "^(?!(?:__proto__|constructor|prototype)(?:\\.|$))[A-Za-z_][A-Za-z0-9_]*(?:\\.(?!(?:__proto__|constructor|prototype)(?:\\.|$))[A-Za-z_][A-Za-z0-9_]*){0,7}$"
                                  },
                                  "source": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "properties": {
                                          "kind": {
                                            "type": "string",
                                            "enum": [
                                              "variable"
                                            ]
                                          },
                                          "name": {
                                            "type": "string",
                                            "pattern": "^(?!(?:__proto__|constructor|prototype)$)[A-Za-z_][A-Za-z0-9_]{0,255}$"
                                          }
                                        },
                                        "required": [
                                          "kind",
                                          "name"
                                        ],
                                        "additionalProperties": false
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "kind": {
                                            "type": "string",
                                            "enum": [
                                              "constant"
                                            ]
                                          },
                                          "value": {
                                            "nullable": true,
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "maxLength": 512
                                              },
                                              {
                                                "type": "number"
                                              },
                                              {
                                                "type": "boolean"
                                              }
                                            ]
                                          }
                                        },
                                        "required": [
                                          "kind",
                                          "value"
                                        ],
                                        "additionalProperties": false
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "parameter",
                                  "source"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "tokenIdPath": {
                              "type": "string",
                              "maxLength": 256,
                              "pattern": "^(?!(?:__proto__|constructor|prototype)(?:\\.|$))[A-Za-z_][A-Za-z0-9_]*(?:\\.(?!(?:__proto__|constructor|prototype)(?:\\.|$))[A-Za-z_][A-Za-z0-9_]*){0,7}$"
                            },
                            "tokenVariable": {
                              "type": "string",
                              "pattern": "^(?!(?:__proto__|constructor|prototype)$)[A-Za-z_][A-Za-z0-9_]{0,255}$"
                            },
                            "last4Variable": {
                              "type": "string",
                              "pattern": "^(?!(?:__proto__|constructor|prototype)$)[A-Za-z_][A-Za-z0-9_]{0,255}$"
                            },
                            "last4Field": {
                              "type": "string",
                              "maxLength": 64
                            }
                          },
                          "required": [
                            "toolId",
                            "subjectVariable",
                            "consentPrompt",
                            "timeoutMs",
                            "fields",
                            "arguments",
                            "tokenIdPath",
                            "tokenVariable",
                            "last4Variable",
                            "last4Field"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "id",
                        "kind",
                        "edges"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "tools": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "description": {
                          "type": "string"
                        },
                        "url": {
                          "type": "string",
                          "format": "uri"
                        },
                        "method": {
                          "type": "string",
                          "enum": [
                            "GET",
                            "POST",
                            "PUT",
                            "PATCH",
                            "DELETE"
                          ]
                        },
                        "parameters": {
                          "type": "object",
                          "additionalProperties": {}
                        },
                        "responseVariables": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "string"
                          }
                        },
                        "timeoutMs": {
                          "type": "integer",
                          "minimum": 0,
                          "exclusiveMinimum": true,
                          "maximum": 9007199254740991
                        },
                        "responseVariablePolicy": {
                          "type": "string",
                          "enum": [
                            "required",
                            "replace_available"
                          ]
                        },
                        "argsAtRoot": {
                          "type": "boolean"
                        },
                        "parameterType": {
                          "type": "string",
                          "enum": [
                            "json"
                          ]
                        },
                        "speakAfterExecution": {
                          "type": "boolean"
                        },
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "credential": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                            },
                            "version": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            }
                          },
                          "required": [
                            "id",
                            "version"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "name",
                        "description",
                        "url",
                        "method",
                        "parameters",
                        "responseVariables",
                        "timeoutMs",
                        "argsAtRoot",
                        "parameterType",
                        "id"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "flexMode": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "id",
                  "startNodeId",
                  "nodes",
                  "tools"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "type",
              "component"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "component.start"
                ]
              },
              "component_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "start_node_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              }
            },
            "required": [
              "type",
              "component_id",
              "start_node_id"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "component.remove"
                ]
              },
              "component_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              }
            },
            "required": [
              "type",
              "component_id"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "transfer.credential"
                ]
              },
              "component_id": {
                "nullable": true,
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "node_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "credential": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "action": {
                        "type": "string",
                        "enum": [
                          "keep"
                        ]
                      }
                    },
                    "required": [
                      "action"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "action": {
                        "type": "string",
                        "enum": [
                          "replace"
                        ]
                      },
                      "reference": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 128
                          },
                          "version": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 128
                          }
                        },
                        "required": [
                          "id",
                          "version"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "action",
                      "reference"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "action": {
                        "type": "string",
                        "enum": [
                          "remove"
                        ]
                      }
                    },
                    "required": [
                      "action"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              "clear_inline": {
                "type": "boolean"
              }
            },
            "required": [
              "type",
              "component_id",
              "node_id",
              "credential",
              "clear_inline"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "channels.set"
                ]
              },
              "channels": {
                "minItems": 1,
                "maxItems": 2,
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "cloud",
                    "phone"
                  ]
                }
              }
            },
            "required": [
              "type",
              "channels"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "languages.set"
                ]
              },
              "languages": {
                "minItems": 1,
                "maxItems": 2,
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "en",
                    "es"
                  ]
                }
              }
            },
            "required": [
              "type",
              "languages"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "trigger.put"
                ]
              },
              "trigger": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "schedule"
                        ]
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "cron": {
                        "type": "string",
                        "pattern": "^(\\S+\\s+){4}\\S+$"
                      },
                      "timezone": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 64
                      },
                      "input": {
                        "type": "object",
                        "additionalProperties": {}
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "cron",
                      "timezone",
                      "input"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "event"
                        ]
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "event_type": {
                        "type": "string",
                        "enum": [
                          "run.ended",
                          "analysis.updated"
                        ]
                      },
                      "source": {
                        "type": "object",
                        "properties": {
                          "agent_id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256,
                            "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$"
                          },
                          "channel": {
                            "type": "string",
                            "enum": [
                              "cloud",
                              "phone",
                              "web"
                            ]
                          },
                          "dispositions": {
                            "maxItems": 32,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "minLength": 1
                            }
                          }
                        },
                        "additionalProperties": false
                      },
                      "input_mapping": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string",
                          "pattern": "^\\/[A-Za-z0-9_/-]*$"
                        }
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "event_type",
                      "source",
                      "input_mapping"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            },
            "required": [
              "type",
              "trigger"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "trigger.remove"
                ]
              },
              "trigger_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 128
              }
            },
            "required": [
              "type",
              "trigger_id"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "action.put"
                ]
              },
              "action": {
                "type": "object",
                "properties": {
                  "purpose": {
                    "type": "string",
                    "enum": [
                      "tokenization"
                    ]
                  },
                  "name": {
                    "type": "string",
                    "pattern": "^[a-z][a-z0-9_]{0,62}$"
                  },
                  "description": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 1024
                  },
                  "channels": {
                    "minItems": 1,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "cloud",
                        "phone"
                      ]
                    }
                  },
                  "method": {
                    "type": "string",
                    "enum": [
                      "GET",
                      "POST",
                      "PUT",
                      "PATCH",
                      "DELETE"
                    ]
                  },
                  "url": {
                    "type": "string",
                    "format": "uri"
                  },
                  "headers": {
                    "default": {},
                    "type": "object",
                    "additionalProperties": {
                      "type": "string",
                      "maxLength": 1024
                    }
                  },
                  "auth": {
                    "oneOf": [
                      {
                        "type": "object",
                        "properties": {
                          "scheme": {
                            "type": "string",
                            "enum": [
                              "none"
                            ]
                          }
                        },
                        "required": [
                          "scheme"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "scheme": {
                            "type": "string",
                            "enum": [
                              "bearer",
                              "basic"
                            ]
                          },
                          "secret_ref": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 128
                              },
                              "version": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 128
                              }
                            },
                            "required": [
                              "id",
                              "version"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "scheme",
                          "secret_ref"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "scheme": {
                            "type": "string",
                            "enum": [
                              "retell_signature"
                            ]
                          },
                          "secret_ref": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 128
                              },
                              "version": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 128
                              }
                            },
                            "required": [
                              "id",
                              "version"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "scheme",
                          "secret_ref"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "scheme": {
                            "type": "string",
                            "enum": [
                              "header"
                            ]
                          },
                          "header_name": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 128
                          },
                          "secret_ref": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 128
                              },
                              "version": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 128
                              }
                            },
                            "required": [
                              "id",
                              "version"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "scheme",
                          "header_name",
                          "secret_ref"
                        ],
                        "additionalProperties": false
                      }
                    ]
                  },
                  "input_schema": {
                    "type": "object",
                    "additionalProperties": {}
                  },
                  "output_schema": {
                    "type": "object",
                    "additionalProperties": {}
                  },
                  "idempotency": {
                    "oneOf": [
                      {
                        "type": "object",
                        "properties": {
                          "mode": {
                            "type": "string",
                            "enum": [
                              "effect_key"
                            ]
                          }
                        },
                        "required": [
                          "mode"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "mode": {
                            "type": "string",
                            "enum": [
                              "template"
                            ]
                          },
                          "header": {
                            "default": "Idempotency-Key",
                            "type": "string"
                          },
                          "template": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 512
                          }
                        },
                        "required": [
                          "mode",
                          "template"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "mode": {
                            "type": "string",
                            "enum": [
                              "none_read_only"
                            ]
                          }
                        },
                        "required": [
                          "mode"
                        ],
                        "additionalProperties": false
                      }
                    ]
                  },
                  "timeout_ms": {
                    "type": "integer",
                    "minimum": 500,
                    "maximum": 120000
                  },
                  "on_uncertain": {
                    "default": "failure_edge",
                    "type": "string",
                    "enum": [
                      "failure_edge",
                      "uncertain_edge"
                    ]
                  }
                },
                "required": [
                  "name",
                  "description",
                  "channels",
                  "method",
                  "url",
                  "auth",
                  "input_schema",
                  "output_schema",
                  "idempotency",
                  "timeout_ms"
                ],
                "additionalProperties": false
              },
              "response_variables": {
                "description": "Flow variables set from the action's 2xx JSON response, name to path ($.account.balance). Omitted keeps the current ones; {} removes them.",
                "type": "object",
                "additionalProperties": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 512
                }
              },
              "response_variable_policy": {
                "description": "Required (default) rejects missing mapped outputs. Replace_available replaces the mapped variable set with present scalar outputs and clears missing/null values, for conditional lookup responses. Objects and arrays are rejected in both modes. Omitted preserves the current policy.",
                "type": "string",
                "enum": [
                  "required",
                  "replace_available"
                ]
              },
              "speak_after_execution": {
                "description": "Generate a spoken response after the action result. False continues routing without an extra reply; omitted preserves the current setting.",
                "type": "boolean"
              }
            },
            "required": [
              "type",
              "action"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "action.remove"
                ]
              },
              "name": {
                "type": "string",
                "pattern": "^[a-z][a-z0-9_]{0,62}$"
              }
            },
            "required": [
              "type",
              "name"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "notification.put"
                ]
              },
              "notification": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 128
                  },
                  "url": {
                    "type": "string",
                    "format": "uri"
                  },
                  "secret_ref": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "version": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      }
                    },
                    "required": [
                      "id",
                      "version"
                    ],
                    "additionalProperties": false
                  },
                  "format": {
                    "type": "string",
                    "enum": [
                      "semantic.v1"
                    ]
                  },
                  "events": {
                    "minItems": 1,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "run.admitted",
                        "run.ended",
                        "recording.updated",
                        "analysis.updated"
                      ]
                    }
                  }
                },
                "required": [
                  "id",
                  "url",
                  "secret_ref",
                  "format",
                  "events"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "type",
              "notification"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "notification.remove"
                ]
              },
              "notification_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 128
              }
            },
            "required": [
              "type",
              "notification_id"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "knowledge.set"
                ]
              },
              "document_ids": {
                "nullable": true,
                "minItems": 1,
                "maxItems": 200,
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                }
              }
            },
            "required": [
              "type",
              "document_ids"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "cloud.io.set"
                ]
              },
              "cloud": {
                "nullable": true,
                "type": "object",
                "properties": {
                  "modes": {
                    "minItems": 1,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "task",
                        "chat",
                        "background"
                      ]
                    }
                  },
                  "input_schema": {
                    "type": "object",
                    "additionalProperties": {}
                  },
                  "output_schema": {
                    "type": "object",
                    "additionalProperties": {}
                  },
                  "max_turns": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 200
                  },
                  "idle_timeout_ms": {
                    "type": "integer",
                    "minimum": 10000,
                    "maximum": 86400000
                  },
                  "deadline_ms": {
                    "type": "integer",
                    "minimum": 1000,
                    "maximum": 3600000
                  }
                },
                "required": [
                  "modes",
                  "input_schema",
                  "output_schema",
                  "max_turns",
                  "idle_timeout_ms",
                  "deadline_ms"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "type",
              "cloud"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "layout.set"
                ]
              },
              "component_id": {
                "nullable": true,
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "nodes": {
                "type": "object",
                "additionalProperties": {
                  "nullable": true,
                  "type": "object",
                  "properties": {
                    "x": {
                      "type": "number",
                      "minimum": -10000000,
                      "maximum": 10000000
                    },
                    "y": {
                      "type": "number",
                      "minimum": -10000000,
                      "maximum": 10000000
                    }
                  },
                  "required": [
                    "x",
                    "y"
                  ],
                  "additionalProperties": false
                }
              },
              "start": {
                "nullable": true,
                "type": "object",
                "properties": {
                  "x": {
                    "type": "number",
                    "minimum": -10000000,
                    "maximum": 10000000
                  },
                  "y": {
                    "type": "number",
                    "minimum": -10000000,
                    "maximum": 10000000
                  }
                },
                "required": [
                  "x",
                  "y"
                ],
                "additionalProperties": false
              },
              "viewport": {
                "nullable": true,
                "type": "object",
                "properties": {
                  "x": {
                    "type": "number",
                    "minimum": -10000000,
                    "maximum": 10000000
                  },
                  "y": {
                    "type": "number",
                    "minimum": -10000000,
                    "maximum": 10000000
                  },
                  "zoom": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 100
                  }
                },
                "required": [
                  "x",
                  "y",
                  "zoom"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "type",
              "component_id"
            ],
            "additionalProperties": false
          }
        ]
      },
      "ModelIdentity": {
        "type": "object",
        "properties": {
          "model_id": {
            "type": "string",
            "minLength": 1,
            "pattern": "\\S"
          },
          "provider": {
            "type": "string",
            "minLength": 1,
            "pattern": "\\S"
          },
          "tier": {
            "type": "string",
            "enum": [
              "frontier",
              "cumulus-served",
              "customer-gpu"
            ]
          }
        },
        "required": [
          "model_id",
          "provider",
          "tier"
        ],
        "additionalProperties": false
      },
      "TrialResult": {
        "type": "object",
        "properties": {
          "case_id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64,
            "pattern": "^[a-z0-9][a-z0-9_-]*$"
          },
          "trial": {
            "type": "integer",
            "minimum": 0,
            "exclusiveMinimum": true,
            "maximum": 9007199254740991
          },
          "attempt": {
            "type": "integer",
            "minimum": 0,
            "exclusiveMinimum": true,
            "maximum": 9007199254740991
          },
          "run_id": {
            "nullable": true,
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
          },
          "state": {
            "type": "string",
            "enum": [
              "pending",
              "running",
              "evaluating",
              "settled",
              "cancelled"
            ]
          },
          "verdict": {
            "nullable": true,
            "type": "string",
            "enum": [
              "passed",
              "failed",
              "errored"
            ]
          },
          "reason": {
            "nullable": true,
            "type": "string",
            "pattern": "^[a-z][a-z0-9_.:-]{0,127}$"
          },
          "assertions": {
            "maxItems": 25,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "assertion_id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64,
                  "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]*$"
                },
                "type": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64
                },
                "verdict": {
                  "type": "string",
                  "enum": [
                    "passed",
                    "failed",
                    "not_applicable",
                    "insufficient_data",
                    "errored"
                  ]
                },
                "measured": {
                  "type": "object",
                  "additionalProperties": {
                    "nullable": true,
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 256
                      },
                      {
                        "type": "number"
                      },
                      {
                        "type": "boolean"
                      }
                    ]
                  }
                },
                "evidence": {
                  "type": "object",
                  "properties": {
                    "turns": {
                      "maxItems": 50,
                      "type": "array",
                      "items": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      }
                    },
                    "node_ids": {
                      "maxItems": 50,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      }
                    },
                    "effect_ids": {
                      "maxItems": 20,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      }
                    }
                  },
                  "required": [
                    "turns",
                    "node_ids",
                    "effect_ids"
                  ],
                  "additionalProperties": false
                },
                "judge": {
                  "nullable": true,
                  "type": "object",
                  "properties": {
                    "score": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1
                    },
                    "rejudged": {
                      "type": "boolean"
                    },
                    "criteria": {
                      "maxItems": 12,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 64
                          },
                          "verdict": {
                            "type": "string",
                            "enum": [
                              "pass",
                              "fail",
                              "na"
                            ]
                          },
                          "score": {
                            "nullable": true,
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 5
                          },
                          "evidence_turns": {
                            "maxItems": 20,
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            }
                          },
                          "rationale": {
                            "nullable": true,
                            "type": "string",
                            "maxLength": 300
                          }
                        },
                        "required": [
                          "id",
                          "verdict",
                          "score",
                          "evidence_turns",
                          "rationale"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "score",
                    "rejudged",
                    "criteria"
                  ],
                  "additionalProperties": false
                },
                "reason": {
                  "nullable": true,
                  "type": "string",
                  "pattern": "^[a-z][a-z0-9_.:-]{0,127}$"
                }
              },
              "required": [
                "assertion_id",
                "type",
                "verdict",
                "measured",
                "evidence",
                "judge",
                "reason"
              ],
              "additionalProperties": false
            }
          },
          "guard": {
            "type": "object",
            "properties": {
              "compliance_blocks": {
                "type": "object",
                "additionalProperties": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                }
              },
              "rpc_unconfirmed": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "atomic_half_said": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "compliance_blocks",
              "rpc_unconfirmed",
              "atomic_half_said"
            ],
            "additionalProperties": false
          },
          "content_state": {
            "type": "string",
            "enum": [
              "retained",
              "expired"
            ]
          }
        },
        "required": [
          "case_id",
          "trial",
          "attempt",
          "run_id",
          "state",
          "verdict",
          "reason",
          "assertions",
          "guard",
          "content_state"
        ],
        "additionalProperties": false
      },
      "ApiError": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "enum": [
                  "unauthenticated",
                  "forbidden",
                  "not_found",
                  "conflict",
                  "invalid_request",
                  "idempotency_conflict",
                  "policy_denied",
                  "capability_unavailable",
                  "provider_unavailable",
                  "knowledge_unavailable",
                  "publication_invalid",
                  "run_not_active",
                  "rate_limited",
                  "outcome_unknown",
                  "internal"
                ]
              },
              "message": {
                "type": "string"
              },
              "retryable": {
                "type": "boolean"
              },
              "outcome": {
                "type": "string",
                "enum": [
                  "none",
                  "unknown"
                ]
              },
              "details": {
                "type": "object",
                "additionalProperties": {}
              }
            },
            "required": [
              "code",
              "message",
              "retryable",
              "outcome"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "error"
        ],
        "additionalProperties": false
      }
    }
  }
}

Errors and recovery

See API error handling and Troubleshooting.

Content version 65b367a1Customer SDKMarkdown source
Get case results · Cumulus developer docs