{
  "messageResponse": {
    "destination": {
      "type": "number",
      "number": "<string>",
      "message": "<string>",
      "description": "<string>"
    },
    "assistantId": "<string>",
    "assistant": {
      "transcriber": {
        "provider": "deepgram",
        "model": "nova-2",
        "language": "bg",
        "smartFormat": true,
        "keywords": [
          "<string>"
        ]
      },
      "model": {
        "messages": [
          {
            "content": "<string>",
            "role": "assistant"
          }
        ],
        "tools": [
          {
            "async": true,
            "messages": [
              {
                "type": "request-start",
                "content": "<string>",
                "conditions": [
                  {
                    "param": "<string>",
                    "value": "<string>",
                    "operator": "eq"
                  }
                ]
              }
            ],
            "type": "dtmf",
            "function": {
              "name": "<string>",
              "description": "<string>",
              "parameters": {
                "type": "object",
                "properties": {},
                "required": [
                  "<string>"
                ]
              }
            },
            "server": {
              "timeoutSeconds": 20,
              "url": "<string>",
              "secret": "<string>"
            }
          }
        ],
        "toolIds": [
          "<string>"
        ],
        "provider": "anyscale",
        "model": "<string>",
        "temperature": 1,
        "knowledgeBase": {
          "provider": "canonical",
          "topK": 5.5,
          "fileIds": [
            "<string>"
          ]
        },
        "maxTokens": 525,
        "emotionRecognitionEnabled": true
      },
      "voice": {
        "inputPreprocessingEnabled": true,
        "inputReformattingEnabled": true,
        "inputMinCharacters": 30,
        "inputPunctuationBoundaries": [
          "。",
          ",",
          ".",
          "!",
          "?",
          ";",
          ")",
          "،",
          "۔",
          "।",
          "॥",
          "|",
          "||",
          ",",
          ":"
        ],
        "fillerInjectionEnabled": true,
        "provider": "azure",
        "voiceId": "andrew",
        "speed": 1.25
      },
      "firstMessageMode": "assistant-speaks-first",
      "recordingEnabled": true,
      "hipaaEnabled": true,
      "clientMessages": [
        "conversation-update",
        "function-call",
        "hang",
        "model-output",
        "speech-update",
        "status-update",
        "transcript",
        "tool-calls",
        "user-interrupted",
        "voice-input"
      ],
      "serverMessages": [
        "conversation-update",
        "end-of-call-report",
        "function-call",
        "hang",
        "speech-update",
        "status-update",
        "tool-calls",
        "transfer-destination-request",
        "user-interrupted"
      ],
      "silenceTimeoutSeconds": 30,
      "responseDelaySeconds": 0.4,
      "llmRequestDelaySeconds": 0.1,
      "llmRequestNonPunctuatedDelaySeconds": 1.5,
      "numWordsToInterruptAssistant": 5,
      "maxDurationSeconds": 1800,
      "backgroundSound": "office",
      "backchannelingEnabled": true,
      "backgroundDenoisingEnabled": true,
      "modelOutputInMessagesEnabled": true,
      "name": "<string>",
      "firstMessage": "<string>",
      "voicemailDetection": {
        "provider": "twilio",
        "voicemailDetectionTypes": [
          "machine_end_beep",
          "machine_end_silence"
        ],
        "enabled": true,
        "machineDetectionTimeout": 31,
        "machineDetectionSpeechThreshold": 3500,
        "machineDetectionSpeechEndThreshold": 2750,
        "machineDetectionSilenceTimeout": 6000
      },
      "voicemailMessage": "<string>",
      "endCallMessage": "<string>",
      "endCallPhrases": [
        "<string>"
      ],
      "metadata": {},
      "serverUrl": "<string>",
      "serverUrlSecret": "<string>",
      "analysisPlan": {
        "summaryPrompt": "<string>",
        "summaryRequestTimeoutSeconds": 10.5,
        "structuredDataRequestTimeoutSeconds": 10.5,
        "successEvaluationPrompt": "<string>",
        "successEvaluationRubric": "NumericScale",
        "successEvaluationRequestTimeoutSeconds": 10.5,
        "structuredDataPrompt": "<string>",
        "structuredDataSchema": {
          "type": "string",
          "items": {},
          "properties": {},
          "description": "<string>",
          "required": [
            "<string>"
          ]
        }
      },
      "artifactPlan": {
        "videoRecordingEnabled": true
      },
      "messagePlan": {
        "idleMessages": [
          "<string>"
        ],
        "idleMessageMaxSpokenCount": 5.5,
        "idleTimeoutSeconds": 7.5
      }
    },
    "assistantOverrides": {
      "transcriber": {
        "provider": "deepgram",
        "model": "nova-2",
        "language": "bg",
        "smartFormat": true,
        "keywords": [
          "<string>"
        ]
      },
      "model": {
        "messages": [
          {
            "content": "<string>",
            "role": "assistant"
          }
        ],
        "tools": [
          {
            "async": true,
            "messages": [
              {
                "type": "request-start",
                "content": "<string>",
                "conditions": [
                  {
                    "param": "<string>",
                    "value": "<string>",
                    "operator": "eq"
                  }
                ]
              }
            ],
            "type": "dtmf",
            "function": {
              "name": "<string>",
              "description": "<string>",
              "parameters": {
                "type": "object",
                "properties": {},
                "required": [
                  "<string>"
                ]
              }
            },
            "server": {
              "timeoutSeconds": 20,
              "url": "<string>",
              "secret": "<string>"
            }
          }
        ],
        "toolIds": [
          "<string>"
        ],
        "provider": "anyscale",
        "model": "<string>",
        "temperature": 1,
        "knowledgeBase": {
          "provider": "canonical",
          "topK": 5.5,
          "fileIds": [
            "<string>"
          ]
        },
        "maxTokens": 525,
        "emotionRecognitionEnabled": true
      },
      "voice": {
        "inputPreprocessingEnabled": true,
        "inputReformattingEnabled": true,
        "inputMinCharacters": 30,
        "inputPunctuationBoundaries": [
          "。",
          ",",
          ".",
          "!",
          "?",
          ";",
          ")",
          "،",
          "۔",
          "।",
          "॥",
          "|",
          "||",
          ",",
          ":"
        ],
        "fillerInjectionEnabled": true,
        "provider": "azure",
        "voiceId": "andrew",
        "speed": 1.25
      },
      "firstMessageMode": "assistant-speaks-first",
      "recordingEnabled": true,
      "hipaaEnabled": true,
      "clientMessages": [
        "conversation-update",
        "function-call",
        "hang",
        "model-output",
        "speech-update",
        "status-update",
        "transcript",
        "tool-calls",
        "user-interrupted",
        "voice-input"
      ],
      "serverMessages": [
        "conversation-update",
        "end-of-call-report",
        "function-call",
        "hang",
        "speech-update",
        "status-update",
        "tool-calls",
        "transfer-destination-request",
        "user-interrupted"
      ],
      "silenceTimeoutSeconds": 30,
      "responseDelaySeconds": 0.4,
      "llmRequestDelaySeconds": 0.1,
      "llmRequestNonPunctuatedDelaySeconds": 1.5,
      "numWordsToInterruptAssistant": 5,
      "maxDurationSeconds": 1800,
      "backgroundSound": "office",
      "backchannelingEnabled": true,
      "backgroundDenoisingEnabled": true,
      "modelOutputInMessagesEnabled": true,
      "variableValues": {},
      "name": "<string>",
      "firstMessage": "<string>",
      "voicemailDetection": {
        "provider": "twilio",
        "voicemailDetectionTypes": [
          "machine_end_beep",
          "machine_end_silence"
        ],
        "enabled": true,
        "machineDetectionTimeout": 31,
        "machineDetectionSpeechThreshold": 3500,
        "machineDetectionSpeechEndThreshold": 2750,
        "machineDetectionSilenceTimeout": 6000
      },
      "voicemailMessage": "<string>",
      "endCallMessage": "<string>",
      "endCallPhrases": [
        "<string>"
      ],
      "metadata": {},
      "serverUrl": "<string>",
      "serverUrlSecret": "<string>",
      "analysisPlan": {
        "summaryPrompt": "<string>",
        "summaryRequestTimeoutSeconds": 10.5,
        "structuredDataRequestTimeoutSeconds": 10.5,
        "successEvaluationPrompt": "<string>",
        "successEvaluationRubric": "NumericScale",
        "successEvaluationRequestTimeoutSeconds": 10.5,
        "structuredDataPrompt": "<string>",
        "structuredDataSchema": {
          "type": "string",
          "items": {},
          "properties": {},
          "description": "<string>",
          "required": [
            "<string>"
          ]
        }
      },
      "artifactPlan": {
        "videoRecordingEnabled": true
      },
      "messagePlan": {
        "idleMessages": [
          "<string>"
        ],
        "idleMessageMaxSpokenCount": 5.5,
        "idleTimeoutSeconds": 7.5
      }
    },
    "squadId": "<string>",
    "squad": {
      "name": "<string>",
      "members": [
        {
          "assistantId": "<string>",
          "assistant": {
            "transcriber": {
              "provider": "deepgram",
              "model": "nova-2",
              "language": "bg",
              "smartFormat": true,
              "keywords": [
                "<string>"
              ]
            },
            "model": {
              "messages": [
                {
                  "content": "<string>",
                  "role": "assistant"
                }
              ],
              "tools": [
                {
                  "async": true,
                  "messages": [
                    {
                      "type": "request-start",
                      "content": "<string>",
                      "conditions": [
                        {
                          "param": "<string>",
                          "value": "<string>",
                          "operator": "eq"
                        }
                      ]
                    }
                  ],
                  "type": "dtmf",
                  "function": {
                    "name": "<string>",
                    "description": "<string>",
                    "parameters": {
                      "type": "object",
                      "properties": {},
                      "required": [
                        "<string>"
                      ]
                    }
                  },
                  "server": {
                    "timeoutSeconds": 20,
                    "url": "<string>",
                    "secret": "<string>"
                  }
                }
              ],
              "toolIds": [
                "<string>"
              ],
              "provider": "anyscale",
              "model": "<string>",
              "temperature": 1,
              "knowledgeBase": {
                "provider": "canonical",
                "topK": 5.5,
                "fileIds": [
                  "<string>"
                ]
              },
              "maxTokens": 525,
              "emotionRecognitionEnabled": true
            },
            "voice": {
              "inputPreprocessingEnabled": true,
              "inputReformattingEnabled": true,
              "inputMinCharacters": 30,
              "inputPunctuationBoundaries": [
                "。",
                ",",
                ".",
                "!",
                "?",
                ";",
                ")",
                "،",
                "۔",
                "।",
                "॥",
                "|",
                "||",
                ",",
                ":"
              ],
              "fillerInjectionEnabled": true,
              "provider": "azure",
              "voiceId": "andrew",
              "speed": 1.25
            },
            "firstMessageMode": "assistant-speaks-first",
            "recordingEnabled": true,
            "hipaaEnabled": true,
            "clientMessages": [
              "conversation-update",
              "function-call",
              "hang",
              "model-output",
              "speech-update",
              "status-update",
              "transcript",
              "tool-calls",
              "user-interrupted",
              "voice-input"
            ],
            "serverMessages": [
              "conversation-update",
              "end-of-call-report",
              "function-call",
              "hang",
              "speech-update",
              "status-update",
              "tool-calls",
              "transfer-destination-request",
              "user-interrupted"
            ],
            "silenceTimeoutSeconds": 30,
            "responseDelaySeconds": 0.4,
            "llmRequestDelaySeconds": 0.1,
            "llmRequestNonPunctuatedDelaySeconds": 1.5,
            "numWordsToInterruptAssistant": 5,
            "maxDurationSeconds": 1800,
            "backgroundSound": "office",
            "backchannelingEnabled": true,
            "backgroundDenoisingEnabled": true,
            "modelOutputInMessagesEnabled": true,
            "name": "<string>",
            "firstMessage": "<string>",
            "voicemailDetection": {
              "provider": "twilio",
              "voicemailDetectionTypes": [
                "machine_end_beep",
                "machine_end_silence"
              ],
              "enabled": true,
              "machineDetectionTimeout": 31,
              "machineDetectionSpeechThreshold": 3500,
              "machineDetectionSpeechEndThreshold": 2750,
              "machineDetectionSilenceTimeout": 6000
            },
            "voicemailMessage": "<string>",
            "endCallMessage": "<string>",
            "endCallPhrases": [
              "<string>"
            ],
            "metadata": {},
            "serverUrl": "<string>",
            "serverUrlSecret": "<string>",
            "analysisPlan": {
              "summaryPrompt": "<string>",
              "summaryRequestTimeoutSeconds": 10.5,
              "structuredDataRequestTimeoutSeconds": 10.5,
              "successEvaluationPrompt": "<string>",
              "successEvaluationRubric": "NumericScale",
              "successEvaluationRequestTimeoutSeconds": 10.5,
              "structuredDataPrompt": "<string>",
              "structuredDataSchema": {
                "type": "string",
                "items": {},
                "properties": {},
                "description": "<string>",
                "required": [
                  "<string>"
                ]
              }
            },
            "artifactPlan": {
              "videoRecordingEnabled": true
            },
            "messagePlan": {
              "idleMessages": [
                "<string>"
              ],
              "idleMessageMaxSpokenCount": 5.5,
              "idleTimeoutSeconds": 7.5
            }
          },
          "assistantOverrides": {
            "transcriber": {
              "provider": "deepgram",
              "model": "nova-2",
              "language": "bg",
              "smartFormat": true,
              "keywords": [
                "<string>"
              ]
            },
            "model": {
              "messages": [
                {
                  "content": "<string>",
                  "role": "assistant"
                }
              ],
              "tools": [
                {
                  "async": true,
                  "messages": [
                    {
                      "type": "request-start",
                      "content": "<string>",
                      "conditions": [
                        {
                          "param": "<string>",
                          "value": "<string>",
                          "operator": "eq"
                        }
                      ]
                    }
                  ],
                  "type": "dtmf",
                  "function": {
                    "name": "<string>",
                    "description": "<string>",
                    "parameters": {
                      "type": "object",
                      "properties": {},
                      "required": [
                        "<string>"
                      ]
                    }
                  },
                  "server": {
                    "timeoutSeconds": 20,
                    "url": "<string>",
                    "secret": "<string>"
                  }
                }
              ],
              "toolIds": [
                "<string>"
              ],
              "provider": "anyscale",
              "model": "<string>",
              "temperature": 1,
              "knowledgeBase": {
                "provider": "canonical",
                "topK": 5.5,
                "fileIds": [
                  "<string>"
                ]
              },
              "maxTokens": 525,
              "emotionRecognitionEnabled": true
            },
            "voice": {
              "inputPreprocessingEnabled": true,
              "inputReformattingEnabled": true,
              "inputMinCharacters": 30,
              "inputPunctuationBoundaries": [
                "。",
                ",",
                ".",
                "!",
                "?",
                ";",
                ")",
                "،",
                "۔",
                "।",
                "॥",
                "|",
                "||",
                ",",
                ":"
              ],
              "fillerInjectionEnabled": true,
              "provider": "azure",
              "voiceId": "andrew",
              "speed": 1.25
            },
            "firstMessageMode": "assistant-speaks-first",
            "recordingEnabled": true,
            "hipaaEnabled": true,
            "clientMessages": [
              "conversation-update",
              "function-call",
              "hang",
              "model-output",
              "speech-update",
              "status-update",
              "transcript",
              "tool-calls",
              "user-interrupted",
              "voice-input"
            ],
            "serverMessages": [
              "conversation-update",
              "end-of-call-report",
              "function-call",
              "hang",
              "speech-update",
              "status-update",
              "tool-calls",
              "transfer-destination-request",
              "user-interrupted"
            ],
            "silenceTimeoutSeconds": 30,
            "responseDelaySeconds": 0.4,
            "llmRequestDelaySeconds": 0.1,
            "llmRequestNonPunctuatedDelaySeconds": 1.5,
            "numWordsToInterruptAssistant": 5,
            "maxDurationSeconds": 1800,
            "backgroundSound": "office",
            "backchannelingEnabled": true,
            "backgroundDenoisingEnabled": true,
            "modelOutputInMessagesEnabled": true,
            "variableValues": {},
            "name": "<string>",
            "firstMessage": "<string>",
            "voicemailDetection": {
              "provider": "twilio",
              "voicemailDetectionTypes": [
                "machine_end_beep",
                "machine_end_silence"
              ],
              "enabled": true,
              "machineDetectionTimeout": 31,
              "machineDetectionSpeechThreshold": 3500,
              "machineDetectionSpeechEndThreshold": 2750,
              "machineDetectionSilenceTimeout": 6000
            },
            "voicemailMessage": "<string>",
            "endCallMessage": "<string>",
            "endCallPhrases": [
              "<string>"
            ],
            "metadata": {},
            "serverUrl": "<string>",
            "serverUrlSecret": "<string>",
            "analysisPlan": {
              "summaryPrompt": "<string>",
              "summaryRequestTimeoutSeconds": 10.5,
              "structuredDataRequestTimeoutSeconds": 10.5,
              "successEvaluationPrompt": "<string>",
              "successEvaluationRubric": "NumericScale",
              "successEvaluationRequestTimeoutSeconds": 10.5,
              "structuredDataPrompt": "<string>",
              "structuredDataSchema": {
                "type": "string",
                "items": {},
                "properties": {},
                "description": "<string>",
                "required": [
                  "<string>"
                ]
              }
            },
            "artifactPlan": {
              "videoRecordingEnabled": true
            },
            "messagePlan": {
              "idleMessages": [
                "<string>"
              ],
              "idleMessageMaxSpokenCount": 5.5,
              "idleTimeoutSeconds": 7.5
            }
          },
          "assistantDestinations": [
            {
              "type": "assistant",
              "assistantName": "<string>",
              "message": "<string>",
              "description": "<string>"
            }
          ]
        }
      ],
      "membersOverrides": {
        "transcriber": {
          "provider": "deepgram",
          "model": "nova-2",
          "language": "bg",
          "smartFormat": true,
          "keywords": [
            "<string>"
          ]
        },
        "model": {
          "messages": [
            {
              "content": "<string>",
              "role": "assistant"
            }
          ],
          "tools": [
            {
              "async": true,
              "messages": [
                {
                  "type": "request-start",
                  "content": "<string>",
                  "conditions": [
                    {
                      "param": "<string>",
                      "value": "<string>",
                      "operator": "eq"
                    }
                  ]
                }
              ],
              "type": "dtmf",
              "function": {
                "name": "<string>",
                "description": "<string>",
                "parameters": {
                  "type": "object",
                  "properties": {},
                  "required": [
                    "<string>"
                  ]
                }
              },
              "server": {
                "timeoutSeconds": 20,
                "url": "<string>",
                "secret": "<string>"
              }
            }
          ],
          "toolIds": [
            "<string>"
          ],
          "provider": "anyscale",
          "model": "<string>",
          "temperature": 1,
          "knowledgeBase": {
            "provider": "canonical",
            "topK": 5.5,
            "fileIds": [
              "<string>"
            ]
          },
          "maxTokens": 525,
          "emotionRecognitionEnabled": true
        },
        "voice": {
          "inputPreprocessingEnabled": true,
          "inputReformattingEnabled": true,
          "inputMinCharacters": 30,
          "inputPunctuationBoundaries": [
            "。",
            ",",
            ".",
            "!",
            "?",
            ";",
            ")",
            "،",
            "۔",
            "।",
            "॥",
            "|",
            "||",
            ",",
            ":"
          ],
          "fillerInjectionEnabled": true,
          "provider": "azure",
          "voiceId": "andrew",
          "speed": 1.25
        },
        "firstMessageMode": "assistant-speaks-first",
        "recordingEnabled": true,
        "hipaaEnabled": true,
        "clientMessages": [
          "conversation-update",
          "function-call",
          "hang",
          "model-output",
          "speech-update",
          "status-update",
          "transcript",
          "tool-calls",
          "user-interrupted",
          "voice-input"
        ],
        "serverMessages": [
          "conversation-update",
          "end-of-call-report",
          "function-call",
          "hang",
          "speech-update",
          "status-update",
          "tool-calls",
          "transfer-destination-request",
          "user-interrupted"
        ],
        "silenceTimeoutSeconds": 30,
        "responseDelaySeconds": 0.4,
        "llmRequestDelaySeconds": 0.1,
        "llmRequestNonPunctuatedDelaySeconds": 1.5,
        "numWordsToInterruptAssistant": 5,
        "maxDurationSeconds": 1800,
        "backgroundSound": "office",
        "backchannelingEnabled": true,
        "backgroundDenoisingEnabled": true,
        "modelOutputInMessagesEnabled": true,
        "variableValues": {},
        "name": "<string>",
        "firstMessage": "<string>",
        "voicemailDetection": {
          "provider": "twilio",
          "voicemailDetectionTypes": [
            "machine_end_beep",
            "machine_end_silence"
          ],
          "enabled": true,
          "machineDetectionTimeout": 31,
          "machineDetectionSpeechThreshold": 3500,
          "machineDetectionSpeechEndThreshold": 2750,
          "machineDetectionSilenceTimeout": 6000
        },
        "voicemailMessage": "<string>",
        "endCallMessage": "<string>",
        "endCallPhrases": [
          "<string>"
        ],
        "metadata": {},
        "serverUrl": "<string>",
        "serverUrlSecret": "<string>",
        "analysisPlan": {
          "summaryPrompt": "<string>",
          "summaryRequestTimeoutSeconds": 10.5,
          "structuredDataRequestTimeoutSeconds": 10.5,
          "successEvaluationPrompt": "<string>",
          "successEvaluationRubric": "NumericScale",
          "successEvaluationRequestTimeoutSeconds": 10.5,
          "structuredDataPrompt": "<string>",
          "structuredDataSchema": {
            "type": "string",
            "items": {},
            "properties": {},
            "description": "<string>",
            "required": [
              "<string>"
            ]
          }
        },
        "artifactPlan": {
          "videoRecordingEnabled": true
        },
        "messagePlan": {
          "idleMessages": [
            "<string>"
          ],
          "idleMessageMaxSpokenCount": 5.5,
          "idleTimeoutSeconds": 7.5
        }
      }
    },
    "error": "<string>"
  }
}
messageResponse
object
required

This is the response that is expected from the server to the message.

Note: Most messages don't expect a response. Only "assistant-request", "tool-calls" and "transfer-destination-request" do.