'1.0', 'info' => ['style' => 'RPC', 'product' => 'BailianVoiceBot', 'version' => '2025-01-01'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'BridgeWebCall' => [ 'path' => '', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ApplicationId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Caller', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'DeviceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'TimeoutSeconds', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'Tags', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SampleRate', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'Sandbox', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'AudioCodec', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'CreateApplication' => [ 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Concurrency', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'NluAccessType', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, 'enum' => ['MANAGED'], ], ], ], ], 'CreateApplicationVersion' => [ 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ApplicationId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SourceVersionId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TranscriberConfig', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'NlsAccessType' => [ 'type' => 'string', 'required' => false, 'enum' => ['MANAGED'], ], 'NlsEngine' => [ 'type' => 'string', 'required' => false, 'enum' => ['ALIYUN', 'BAILIAN'], ], 'NlsAccessProfile' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'AccessProfileId' => ['type' => 'string', 'required' => false], ], ], 'VocabularyId' => ['type' => 'string', 'required' => false], 'EndSilenceTimeout' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'CustomizationId' => ['type' => 'string', 'required' => false], 'SpeechNoiseThreshold' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'Model' => ['type' => 'string', 'required' => false], 'CorrectionRules' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Pattern' => ['type' => 'string', 'required' => false], 'Replacement' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], [ 'name' => 'SynthesizerConfig', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'NlsAccessType' => [ 'type' => 'string', 'required' => false, 'enum' => ['MANAGED'], ], 'NlsEngine' => [ 'type' => 'string', 'required' => false, 'enum' => ['ALIYUN', 'BAILIAN'], ], 'Voice' => ['type' => 'string', 'required' => false], 'SpeechRate' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'Volume' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'PitchRate' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'NlsAccessProfile' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'AccessProfileId' => ['type' => 'string', 'required' => false], ], ], 'Model' => ['type' => 'string', 'required' => false], 'PronRules' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Pattern' => ['type' => 'string', 'required' => false], 'Replacement' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], [ 'name' => 'ScriptProfile', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Model' => ['type' => 'string', 'required' => false], 'AgentProfile' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'ScriptProfileTemplateId' => ['type' => 'string', 'required' => false], 'PromptsJson' => ['type' => 'string', 'required' => false], 'Name' => ['type' => 'string', 'required' => false], 'Description' => ['type' => 'string', 'required' => false], ], ], ], ], ], [ 'name' => 'InteractionConfig', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'SilenceDetectionConfig' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Timeout' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], ], ], [ 'name' => 'RagConfig', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'RagEngine' => [ 'type' => 'string', 'required' => false, 'enum' => ['BAILIAN'], ], 'Enabled' => ['type' => 'boolean', 'required' => false], 'KnowledgeBaseIds' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], 'TopN' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '20'], 'MaxContentLength' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '2000'], ], ], ], [ 'name' => 'ToolConfig', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'McpServers' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Name' => ['type' => 'string', 'required' => false], 'BaseUrl' => ['type' => 'string', 'required' => false], 'SseEndpoint' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], ], ], 'CreateCloneVoice' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'FileKey', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Model', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'CreateVariable' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Name', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'DisplayName', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Description', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'CreateVocabulary' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Name', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Description', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Words', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'string'], ], ], ], ], 'CreateVoiceAccessProfile' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'NlsEngine', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Profile', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'AppKey' => ['type' => 'string', 'required' => false, 'maxLength' => 64], 'AccessKey' => ['type' => 'string', 'required' => false, 'maxLength' => 64], 'AppId' => ['type' => 'string', 'required' => false, 'maxLength' => 64], 'ApiKey' => ['type' => 'string', 'required' => false, 'maxLength' => 64], 'ApiSecret' => ['type' => 'string', 'required' => false, 'maxLength' => 64], 'AsrAppKey' => ['type' => 'string', 'required' => false, 'maxLength' => 64], 'TtsApiKey' => ['type' => 'string', 'required' => false, 'maxLength' => 64], ], ], ], ], ], 'DeleteApplication' => [ 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ApplicationId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeleteCloneVoice' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'CloneVoiceId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DeleteVariable' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'VariableId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DeleteVocabulary' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'VocabularyId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DeleteVoiceAccessProfile' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'AccessProfileId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DisableSubscription' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ExportVocabulary' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'VocabularyIds', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], ], ], 'GenerateFileUploadParams' => [ 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'FileName', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'BusinessType', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetApplication' => [ 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ApplicationId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'GetDataChannelCredential' => [ 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'DeviceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'GetSubscription' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetVocabulary' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'VocabularyId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ImportVocabulary' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'FileKey', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListApplications' => [ 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SearchPattern', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'maximum' => '100'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'maximum' => '100'], ], ], ], 'ListBackgroundMusics' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'formData', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'formData', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'ListCloneVoice' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Status', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'formData', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'formData', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'ListCloneVoiceModels' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'formData', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'formData', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'ListNluModels' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListVariable' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'formData', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'formData', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'SearchPattern', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListVocabulary' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Name', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'formData', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'formData', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'ListVoiceAccessProfile' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'formData', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'formData', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'ListVoiceEngines' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'formData', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'formData', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'ListVoices' => [ 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'formData', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'formData', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'NlsAccessType', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'NlsEngine', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'PreviewVoice' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'NlsEngine', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'NlsAccessType', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Model', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Voice', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Text', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Params', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'SpeechRate' => ['type' => 'number', 'format' => 'float', 'required' => false], 'Volume' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'PitchRate' => ['type' => 'number', 'format' => 'float', 'required' => false], ], ], ], ], ], 'PublishApplicationVersion' => [ 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ApplicationId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'VersionId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'UpdateApplication' => [ 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ApplicationId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Concurrency', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'UpdateApplicationVersion' => [ 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'BearerToken' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ApplicationId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'VersionId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'TranscriberConfig', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'NlsAccessType' => [ 'type' => 'string', 'required' => false, 'enum' => ['MANAGED'], ], 'NlsEngine' => [ 'type' => 'string', 'required' => false, 'enum' => ['ALIYUN', 'BAILIAN'], ], 'NlsAccessProfile' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'AccessProfileId' => ['type' => 'string', 'required' => false], ], ], 'VocabularyId' => ['type' => 'string', 'required' => false], 'EndSilenceTimeout' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'CustomizationId' => ['type' => 'string', 'required' => false], 'SpeechNoiseThreshold' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'Model' => ['type' => 'string', 'required' => false], 'CorrectionRules' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Pattern' => ['type' => 'string', 'required' => false], 'Replacement' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], [ 'name' => 'SynthesizerConfig', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'NlsAccessType' => [ 'type' => 'string', 'required' => false, 'enum' => ['MANAGED'], ], 'NlsEngine' => [ 'type' => 'string', 'required' => false, 'enum' => ['ALIYUN', 'BAILIAN'], ], 'Voice' => ['type' => 'string', 'required' => false], 'SpeechRate' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'Volume' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'PitchRate' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'NlsAccessProfile' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'AccessProfileId' => ['type' => 'string', 'required' => false], ], ], 'Model' => ['type' => 'string', 'required' => false], 'PronRules' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Pattern' => ['type' => 'string', 'required' => false], 'Replacement' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], [ 'name' => 'ScriptProfile', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'Model' => ['type' => 'string', 'required' => false], 'AgentProfile' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'ScriptProfileTemplateId' => ['type' => 'string', 'required' => false], 'PromptsJson' => ['type' => 'string', 'required' => false], 'Name' => ['type' => 'string', 'required' => false], 'Description' => ['type' => 'string', 'required' => false], ], ], ], ], ], [ 'name' => 'InteractionConfig', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'SilenceDetectionConfig' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Timeout' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], ], ], [ 'name' => 'RagConfig', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'RagEngine' => [ 'type' => 'string', 'required' => false, 'enum' => ['BAILIAN'], ], 'Enabled' => ['type' => 'boolean', 'required' => false], 'KnowledgeBaseIds' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], 'TopN' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '20'], 'MaxContentLength' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '2000'], ], ], ], [ 'name' => 'ToolConfig', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'McpServers' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Name' => ['type' => 'string', 'required' => false], 'BaseUrl' => ['type' => 'string', 'required' => false], 'SseEndpoint' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], ], ], 'UpdateCloneVoice' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'CloneVoiceId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Name', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'UpdateSubscription' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'MqType', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'EventSubscriptions', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'Endpoint', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 128], ], [ 'name' => 'Topic', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 64], ], [ 'name' => 'UserName', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 64], ], [ 'name' => 'Password', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 64], ], [ 'name' => 'MqInstanceId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 64], ], [ 'name' => 'ProducerId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 64], ], ], ], 'UpdateVariable' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'VariableId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'DisplayName', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Description', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'UpdateVocabulary' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'VocabularyId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Name', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Description', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Words', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'string'], ], ], ], ], 'UpdateVoiceAccessProfile' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'BusinessUnitId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'AccessProfileId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'NlsEngine', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Profile', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'AppKey' => ['type' => 'string', 'required' => false, 'maxLength' => 64], 'AccessKey' => ['type' => 'string', 'required' => false, 'maxLength' => 64], 'AppId' => ['type' => 'string', 'required' => false, 'maxLength' => 64], 'ApiKey' => ['type' => 'string', 'required' => false, 'maxLength' => 64], 'ApiSecret' => ['type' => 'string', 'required' => false, 'maxLength' => 64], 'AsrAppKey' => ['type' => 'string', 'required' => false, 'maxLength' => 64], 'TtsApiKey' => ['type' => 'string', 'required' => false, 'maxLength' => 64], ], ], ], ], ], ], 'endpoints' => [], ];