'1.0', 'info' => [ 'style' => 'RPC', 'product' => 'Chatbot', 'version' => '2017-10-11', ], 'components' => [ 'schemas' => [ 'Children' => [ 'type' => 'object', 'properties' => [ 'CategoryId' => [ 'type' => 'integer', 'format' => 'int64', ], 'ParentCategoryId' => [ 'type' => 'integer', 'format' => 'int64', ], 'AreaCode' => [ 'type' => 'string', ], 'Name' => [ 'type' => 'string', ], 'Childrens' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/Children', ], ], ], ], 'IntentCreateDTO' => [ 'type' => 'object', 'properties' => [ 'IntentId' => [ 'type' => 'integer', 'format' => 'int64', ], 'Name' => [ 'type' => 'string', ], 'UserSay' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/UsersayMtopDTO', ], ], 'RuleCheck' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/RuleMtopDTO', ], ], 'Slot' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/SlotrecordMtopDTO', ], ], ], ], 'PaasButtonDTO' => [ 'type' => 'object', 'properties' => [ 'Name' => [ 'type' => 'string', ], 'Text' => [ 'type' => 'string', ], 'Type' => [ 'type' => 'string', ], ], ], 'PaasButtonListDTO' => [ 'type' => 'object', 'properties' => [ 'Button' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/PaasButtonDTO', ], ], 'Intro' => [ 'type' => 'string', ], ], ], 'PaasConditionEntryDTO' => [ 'type' => 'object', 'properties' => [ 'Id' => [ 'type' => 'string', ], 'Term' => [ 'type' => 'string', ], 'Name' => [ 'type' => 'string', ], 'Type' => [ 'type' => 'string', ], 'Value' => [ 'type' => 'string', ], ], ], 'PaasConditionSetDTO' => [ 'type' => 'object', 'properties' => [ 'ConditionEntries' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/PaasConditionEntryDTO', ], ], ], ], 'PaasEdgeDTO' => [ 'type' => 'object', 'properties' => [ 'Target' => [ 'type' => 'string', ], 'Id' => [ 'type' => 'string', ], 'Source' => [ 'type' => 'string', ], 'Label' => [ 'type' => 'string', ], ], ], 'PaasEntryDTO' => [ 'type' => 'object', 'properties' => [ 'PluginFieldDataEntry' => [ '$ref' => '#/components/schemas/PaasEntryPluginFieldDataDTO', ], ], ], 'PaasEntryPluginFieldDataDTO' => [ 'type' => 'object', 'properties' => [ 'ContentEntry' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/PaasConditionSetDTO', ], ], 'LifeSpan' => [ 'type' => 'integer', 'format' => 'int64', ], 'Name' => [ 'type' => 'string', ], ], ], 'PaasFunctionDTO' => [ 'type' => 'object', 'properties' => [ 'PluginFieldDataFunction' => [ '$ref' => '#/components/schemas/PaasFunctionPluginFieldDataDTO', ], ], ], 'PaasFunctionPluginFieldDataDTO' => [ 'type' => 'object', 'properties' => [ 'Function' => [ 'type' => 'string', ], 'AliyunFunction' => [ 'type' => 'string', ], 'Type' => [ 'type' => 'string', ], 'Description' => [ 'type' => 'string', ], 'EndPoint' => [ 'type' => 'string', ], 'Code' => [ 'type' => 'string', ], 'Name' => [ 'type' => 'string', ], 'AliyunService' => [ 'type' => 'string', ], 'Switch' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/PaasSwitchCaseDTO', ], ], 'Params' => [ 'type' => 'object', ], ], ], 'PaasFunctionPluginParams' => [ 'type' => 'object', 'properties' => [ 'Method' => [ 'type' => 'string', 'required' => true, ], 'Query' => [ 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', ], ], 'Header' => [ 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', ], ], 'Body' => [ 'type' => 'string', ], 'Url' => [ 'type' => 'string', 'required' => true, ], ], ], 'PaasNodeDTO' => [ 'type' => 'object', 'properties' => [ 'Code' => [ 'type' => 'string', ], 'Id' => [ 'type' => 'string', ], 'Label' => [ 'type' => 'string', ], 'Xx' => [ 'type' => 'number', 'format' => 'double', ], 'Yy' => [ 'type' => 'number', 'format' => 'double', ], 'PluginData' => [ '$ref' => '#/components/schemas/PaasPluginDataDTO', ], ], ], 'PaasPluginDataDTO' => [ 'type' => 'object', 'properties' => [ 'Entry' => [ '$ref' => '#/components/schemas/PaasEntryDTO', ], 'Slot' => [ '$ref' => '#/components/schemas/PaasSlotDTO', ], 'Response' => [ '$ref' => '#/components/schemas/PaasResponseDTO', ], 'Function' => [ '$ref' => '#/components/schemas/PaasFunctionDTO', ], ], ], 'PaasProcessData' => [ 'type' => 'object', 'properties' => [ 'Nodes' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/PaasNodeDTO', ], ], 'Edges' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/PaasEdgeDTO', ], ], ], ], 'PaasResponseDTO' => [ 'type' => 'object', 'properties' => [ 'PluginFieldDataResponse' => [ '$ref' => '#/components/schemas/PaasResponsePluginFieldDataDTO', ], ], ], 'PaasResponseNodeContentDTO' => [ 'type' => 'object', 'properties' => [ 'Type' => [ 'type' => 'string', ], 'Text' => [ 'type' => 'string', ], 'Image' => [ 'type' => 'string', ], 'ButtonList' => [ '$ref' => '#/components/schemas/PaasButtonListDTO', ], ], ], 'PaasResponsePluginFieldDataDTO' => [ 'type' => 'object', 'properties' => [ 'Name' => [ 'type' => 'string', ], 'ContentResponse' => [ '$ref' => '#/components/schemas/PaasResponseNodeContentDTO', ], ], ], 'PaasSlotConfigDTO' => [ 'type' => 'object', 'properties' => [ 'IsArray' => [ 'type' => 'boolean', ], 'IsNecessary' => [ 'type' => 'boolean', ], 'Value' => [ 'type' => 'string', ], 'LifeSpan' => [ 'type' => 'integer', 'format' => 'int32', ], 'Name' => [ 'type' => 'string', ], 'Question' => [ 'type' => 'array', 'items' => [ 'type' => 'string', ], ], ], ], 'PaasSlotDTO' => [ 'type' => 'object', 'properties' => [ 'PluginFieldDataSlot' => [ '$ref' => '#/components/schemas/PaasSlotPluginFieldDataDTO', ], ], ], 'PaasSlotPluginFieldDataDTO' => [ 'type' => 'object', 'properties' => [ 'IntentName' => [ 'type' => 'string', ], 'IntentId' => [ 'type' => 'string', ], 'Name' => [ 'type' => 'string', ], 'IsSysIntent' => [ 'type' => 'boolean', ], 'ContentSlot' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/PaasSlotConfigDTO', ], ], ], ], 'PaasSwitchCaseDTO' => [ 'type' => 'object', 'properties' => [ 'Id' => [ 'type' => 'string', ], 'Label' => [ 'type' => 'string', ], 'Type' => [ 'type' => 'string', ], 'Value' => [ 'type' => 'string', ], 'VariableName' => [ 'type' => 'string', ], ], ], 'RuleMtopDTO' => [ 'type' => 'object', 'properties' => [ 'Strict' => [ 'type' => 'boolean', ], 'Text' => [ 'type' => 'string', ], 'Warning' => [ 'type' => 'array', 'items' => [ 'type' => 'string', ], ], 'Error' => [ 'type' => 'array', 'items' => [ 'type' => 'string', ], ], ], ], 'SectionMtopDTO' => [ 'type' => 'object', 'properties' => [ 'SlotId' => [ 'type' => 'string', ], 'Text' => [ 'type' => 'string', ], ], ], 'SlotrecordMtopDTO' => [ 'type' => 'object', 'properties' => [ 'Id' => [ 'type' => 'string', ], 'Question' => [ 'type' => 'array', 'items' => [ 'type' => 'string', ], ], 'LifeSpan' => [ 'type' => 'integer', 'format' => 'int32', ], 'Name' => [ 'type' => 'string', ], 'IsArray' => [ 'type' => 'boolean', ], 'Value' => [ 'type' => 'string', ], 'IsNecessary' => [ 'type' => 'boolean', ], 'Tags' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/TagMtopDTO', ], ], ], ], 'TagMtopDTO' => [ 'type' => 'object', 'properties' => [ 'UserSayId' => [ 'type' => 'string', ], 'Value' => [ 'type' => 'string', ], ], ], 'UpdateDialogFlowModuleDefinition' => [ 'type' => 'object', 'properties' => [ 'Nodes' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/PaasNodeDTO', ], ], 'Edges' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/PaasEdgeDTO', ], ], ], ], 'UsersayMtopDTO' => [ 'type' => 'object', 'properties' => [ 'Id' => [ 'type' => 'string', ], 'Data' => [ 'type' => 'array', 'items' => [ '$ref' => '#/components/schemas/SectionMtopDTO', ], ], 'Strict' => [ 'type' => 'boolean', ], ], ], ], ], 'apis' => [ 'GetAsyncResult' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, 'minimum' => '0', 'maximum' => '100000000', ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'Associate' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Utterance', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'SessionId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'RecommendNum', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, 'exclusiveMinimum' => false, 'exclusiveMaximum' => false, ], ], [ 'name' => 'Perspective', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'string', 'required' => false, ], 'maxItems' => 20, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'Chat' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'SessionId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'KnowledgeId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'SenderId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'SenderNick', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'Tag', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'Utterance', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'IntentName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'VendorParam', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'Perspective', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'string', 'required' => false, ], 'maxItems' => 20, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'Feedback' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'SessionId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'MessageId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Feedback', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'CreatePerspective' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Name', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'DeletePerspective' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'PerspectiveId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'UpdatePerspective' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'PerspectiveId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'ActivatePerspective' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'PerspectiveId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'DescribePerspective' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'PerspectiveId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'QueryPerspectives' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'CreateCategory' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'ParentCategoryId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => false, ], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'DeleteCategory' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'CategoryId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'UpdateCategory' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'Name', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'CategoryId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'DescribeCategory' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'CategoryId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'QueryCategories' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'ParentCategoryId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => false, ], ], [ 'name' => 'ShowChildrens', 'in' => 'query', 'schema' => [ 'type' => 'boolean', 'required' => false, ], ], [ 'name' => 'KnowledgeType', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => false, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'CreateKnowledge' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'Knowledge', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'CategoryId' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], 'KnowledgeTitle' => [ 'type' => 'string', 'required' => true, ], 'KnowledgeType' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], 'Solutions' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Content' => [ 'type' => 'string', 'required' => true, ], 'PlainText' => [ 'type' => 'string', 'required' => true, ], 'PerspectiveIds' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'string', 'required' => false, ], ], ], ], ], 'StartDate' => [ 'type' => 'string', 'required' => false, ], 'EndDate' => [ 'type' => 'string', 'required' => false, ], 'Outlines' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'KnowledgeId' => [ 'type' => 'integer', 'format' => 'int64', 'required' => false, ], 'OutlineId' => [ 'type' => 'integer', 'format' => 'int64', 'required' => false, ], 'Title' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'SimQuestions' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Title' => [ 'type' => 'string', 'required' => true, ], ], ], ], ], ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'DeleteKnowledge' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'KnowledgeId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'UpdateKnowledge' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'Knowledge', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'CategoryId' => [ 'type' => 'integer', 'format' => 'int64', 'required' => false, ], 'KnowledgeTitle' => [ 'type' => 'string', 'required' => true, ], 'KnowledgeType' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], 'Solutions' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Content' => [ 'type' => 'string', 'required' => true, ], 'PlainText' => [ 'type' => 'string', 'required' => true, ], 'SolutionId' => [ 'type' => 'integer', 'format' => 'int64', 'required' => false, ], 'PerspectiveIds' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'string', 'required' => false, ], ], 'Action' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'StartDate' => [ 'type' => 'string', 'required' => false, ], 'EndDate' => [ 'type' => 'string', 'required' => false, ], 'Outlines' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'KnowledgeId' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], 'Title' => [ 'type' => 'string', 'required' => true, ], 'OutlineId' => [ 'type' => 'integer', 'format' => 'int64', 'required' => false, ], 'Action' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'SimQuestions' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Title' => [ 'type' => 'string', 'required' => true, ], 'SimQuestionId' => [ 'type' => 'integer', 'format' => 'int64', 'required' => false, ], 'Action' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'KnowledgeId' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'DisableKnowledge' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'KnowledgeId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'DescribeKnowledge' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'KnowledgeId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'GetBotKnowledgeStatData' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'RobotInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'QueryKnowledges' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'KnowledgeTitle', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'CoreWordName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], ], [ 'name' => 'CategoryId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => false, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'PublishKnowledge' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'KnowledgeId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'Async', 'in' => 'query', 'schema' => [ 'type' => 'boolean', 'required' => false, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'MoveKnowledgeCategory' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'KnowledgeId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'CategoryId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'AddSynonym' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'CoreWordName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Synonym', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'CreateCoreWord' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'CoreWordName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'DeleteCoreWord' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'CoreWordName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'UpdateCoreWord' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'CoreWordName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'CoreWordCode', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'DescribeCoreWord' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'CoreWordName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'QueryCoreWords' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'CoreWordName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], ], [ 'name' => 'Synonym', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'RemoveSynonym' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'CoreWordName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Synonym', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'CreateEntity' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'DialogId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'EntityName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'EntityType', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Regex', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'Members', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'MemberName' => [ 'type' => 'string', 'required' => false, ], 'Synonyms' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'string', 'required' => false, ], ], ], ], ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'DeleteEntity' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'EntityId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'UpdateEntity' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'EntityId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'EntityName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'EntityType', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Regex', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'Members', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'MemberName' => [ 'type' => 'string', 'required' => false, ], 'Synonyms' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'string', 'required' => false, ], ], ], ], ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'DescribeEntities' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'EntityId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'QuerySystemEntities' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'EntityName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'QueryEntities' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'EntityName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'DialogId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'AppendEntityMember' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'EntityId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'ApplyType', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Member', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'MemberName' => [ 'type' => 'string', 'required' => true, ], 'Synonyms' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'string', 'required' => false, ], ], ], ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'RemoveEntityMember' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'EntityId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'RemoveType', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Member', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'MemberName' => [ 'type' => 'string', 'required' => false, ], 'Synonyms' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'string', 'required' => false, ], ], ], ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'CreateDialog' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'DialogName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'DeleteDialog' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'DialogId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'UpdateDialog' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'DialogId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'DialogName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'DescribeDialog' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'DialogId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'QueryDialogs' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'DialogName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'DisableDialogFlow' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'DialogId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'UpdateDialogFlow' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'DialogId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'ModuleDefinition', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'GlobalVars' => [ 'type' => 'object', 'required' => false, ], 'ModuleDefinition' => [ '$ref' => '#/components/schemas/PaasProcessData', 'required' => false, ], ], ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'DescribeDialogFlow' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'DialogId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'PublishDialogFlow' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'DialogId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'TestDialogFlow' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'DialogId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'CreateIntent' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'IntentDefinition', 'in' => 'query', 'style' => 'json', 'schema' => [ '$ref' => '#/components/schemas/IntentCreateDTO', 'required' => true, ], ], [ 'name' => 'DialogId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'DeleteIntent' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'IntentId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'UpdateIntent' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'IntentDefinition', 'in' => 'query', 'style' => 'json', 'schema' => [ '$ref' => '#/components/schemas/IntentCreateDTO', 'required' => true, ], ], [ 'name' => 'IntentId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'QueryIntents' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'IntentName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'DialogId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => false, ], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'DescribeIntent' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'IntentId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'CreateBot' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'LanguageCode', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Avatar', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'Introduction', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'RobotType', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'DeleteBot' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'DescribeBot' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'QueryBots' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'ListConversationLogs' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'SessionId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'ListBotChatHistorys' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'RobotInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Limit', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'GetConversationList' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'SessionId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'SenderId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'StartDate', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'EndDate', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'GetBotDsStatData' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'RobotInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'ListBotColdDsDatas' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'RobotInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Limit', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'ListBotDsDetails' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'RobotInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Limit', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'ListBotHotDsDatas' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'RobotInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Limit', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'GetBotChatData' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'RobotInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'GetBotSessionData' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'RobotInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'ListBotColdKnowledges' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'RobotInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Limit', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'ListBotHotKnowledges' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'RobotInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Limit', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'ListBotKnowledgeDetails' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'RobotInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Limit', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'ListBotReceptionDetailDatas' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'RobotInstanceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'AgentKey', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], ], 'endpoints' => [ [ 'regionId' => 'cn-shanghai', 'endpoint' => 'chatbot.cn-shanghai.aliyuncs.com', ], [ 'regionId' => 'cn-hongkong', 'endpoint' => 'chatbot.cn-hongkong.aliyuncs.com', ], ], ];