'1.0', 'info' => ['style' => 'ROA', 'product' => 'energyExpertExternal', 'version' => '2022-09-23'], 'directories' => [ [ 'children' => ['AISearchResourceDelete', 'AISearchResourceUpdate', 'AISearchStream', 'AISearchResourceGetList', 'AISearchResourceAdd'], 'type' => 'directory', 'title' => 'AISearch', ], [ 'children' => [ [ 'children' => ['GetDataItemList', 'RecalculateCarbonEmission'], 'type' => 'directory', 'title' => 'Submit carbon emission activity data', ], [ 'children' => ['GetFootprintList', 'GenerateResult', 'IsCompleted', 'GetPcrInfo', 'GetGwpInventorySummary', 'GetGwpBenchmarkSummary', 'GetEpdSummary', 'GetInventoryList', 'GetGwpBenchmarkList', 'GetGwpInventoryConstitute', 'GetEpdInventoryConstitute', 'GetReductionProposal', 'GetDataQualityAnalysis'], 'type' => 'directory', 'title' => 'Query product carbon footprint results', ], [ 'children' => ['GetEmissionSummary', 'GetEmissionSourceConstitute', 'GetCarbonEmissionTrend', 'GetElecConstitute', 'GetElecTrend', 'GetAreaElecConstitute', 'GetGasConstitute', 'GetOrgConstitute'], 'type' => 'directory', 'title' => 'Query organization carbon inventory results', ], ], 'type' => 'directory', 'title' => 'Carbon emission management', ], [ 'children' => [ [ 'children' => ['BatchSaveInstructionStatus', 'SetRunningPlan', 'EditUnfavorableAreaDevices', 'EditProhibitedDevices', 'BatchUpdateSystemRunningPlan'], 'type' => 'directory', 'title' => 'Intelligent air conditioning control', ], [ 'children' => ['PushDeviceData'], 'type' => 'directory', 'title' => 'Submit energy consumption data', ], ], 'type' => 'directory', 'title' => 'Energy saving and carbon reduction', ], [ 'children' => ['GetDeviceInfo', 'GetDeviceList', 'GetOrgAndFactory'], 'type' => 'directory', 'title' => 'Device management', ], [ 'children' => [ [ 'children' => ['GetDocumentAnalyzeResult', 'SubmitDocumentAnalyzeJob', 'SubmitDocParsingTask', 'GetDocParsingResult'], 'type' => 'directory', 'title' => 'Document parsing', ], [ 'children' => ['SubmitDocExtractionTask', 'GetDocExtractionResult', 'SubmitVLExtractionTask', 'GetVLExtractionResult', 'AnalyzeVlRealtime'], 'type' => 'directory', 'title' => 'Information extraction', ], [ 'children' => ['GetChatFolderList', 'GetChatSessionList', 'GetChatList', 'SendDocumentAskQuestion', 'Chat', 'ChatStream'], 'type' => 'directory', 'title' => 'Knowledge base Q&A', ], [ 'children' => ['AddFolder'], 'type' => 'directory', 'title' => 'Folder management', ], [ 'children' => ['DetailDocument'], 'type' => 'directory', 'title' => 'File management', ], ], 'type' => 'directory', 'title' => 'AI document processing', ], [ 'children' => ['CreateChatSession', 'DeleteDocument', 'DeleteFolder', 'Retrieve', 'PushItemData'], 'type' => 'directory', 'title' => 'Others', ], ], 'components' => [ 'schemas' => [ 'AISearchMessageItem' => [ 'type' => 'object', 'properties' => [ 'type' => [ 'description' => 'The content type of the conversation history information.'."\n" ."\n" .'- "text" for text records, "miniapp" for Mini Program information records in structured elements, or "product" for product information records in structured elements.'."\n" ."\n" .'- If type is "text", enter the combined content of a single conversation round in the content field. Leave the params field empty.'."\n" ."\n" .'- If type is "miniapp" or "product", enter the structured information in JSON format in the params field. Leave the content field empty.', 'enumValueTitles' => ['product' => 'product', 'miniapp' => 'miniapp', 'text' => 'text'], 'type' => 'string', 'title' => '', 'example' => 'miniapp', ], 'content' => ['description' => '- Combine the user\'s question and the API\'s text response from one conversation round to form part of the conversation context.'."\n" ."\n" .'- The recommended format is: user: \\'."\n" .'aisearch: \\', 'type' => 'string', 'title' => '', 'example' => '"user:How to test my network speed?\\naisearch:To check your network speed, you can use..."'], 'params' => ['description' => 'The structured information that appears in a single conversation round.', 'type' => 'any', 'title' => '', 'example' => '{'."\n" .' "miniapp_id": "test_miniapp",'."\n" .' "title": "testApp",'."\n" .' "version": "1.0.5",'."\n" .' "description": "description-mock",'."\n" .' "slogan": "slogan-mock",'."\n" .' "icon": "https://img.alicdn.com/test_icon.png",'."\n" .' "detail_desc": "detail-mock"'."\n" .'}'], ], 'description' => 'Conversation history information.', 'title' => '', 'example' => '', ], 'AISearchStreamItem' => [ 'description' => 'The streaming event structure.', 'type' => 'object', 'properties' => [ 'type' => [ 'description' => 'Streaming data type.', 'enumValueTitles' => ['product' => 'product', 'miniapp' => 'miniapp', 'text' => 'text'], 'type' => 'string', 'title' => '', 'example' => 'text', ], 'content' => ['description' => 'Text content of the streaming output. This field is only displayed when type is text.', 'type' => 'string', 'title' => '', 'example' => '“network problem can be”'], 'params' => ['description' => 'This field is used to output structured information content in the streaming result. When type is miniapp, structured resources related to mini programs are output; when type is product, structured resources related to products are output. All content is presented in JSON format.', 'type' => 'any', 'title' => '', 'example' => ' [{"type": "miniapp", "score": 0.7404107, "resourceId": "ja9bQZwBg5VwSU7n5Ijs", "miniappId": null, "title": "更新后的智能搜索测试助手", "version": "1.0.5", "description": "这是一个用于测试 AI 搜索功能的演示小程序", "slogan": "搜索即所得", "icon": "https://img.alicdn.com/test_icon.png", "url": null, "detailDescription": "该小程序提供了完整的 AI 搜索链路测试。"}]'], ], 'title' => '', 'example' => '', ], 'CarbonEmissionElecSummaryItem' => [ 'title' => '企业分析返回结构', 'description' => 'Enterprise Analytics Return Structure.', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'carbonEmissionData' => ['title' => '碳排排放当量', 'description' => 'Carbon Equivalent.'."\n", 'visibility' => 'Public', 'type' => 'number', 'format' => 'double', 'example' => '1.22', 'backendName' => 'carbonEmissionData'], 'rawData' => ['title' => '用电量', 'description' => 'Electricity consumption in Kwh.'."\n", 'visibility' => 'Public', 'type' => 'number', 'format' => 'double', 'example' => '1.2', 'backendName' => 'rawData'], 'ratio' => ['title' => '用电量占比', 'description' => 'The percentage of electricity consumption. Valid values: 0 to 1.'."\n", 'visibility' => 'Public', 'type' => 'number', 'format' => 'double', 'example' => '0.22', 'backendName' => 'ratio'], 'dataUnit' => ['title' => '单位', 'description' => 'The price unit.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'kg', 'backendName' => 'dataUnit'], 'name' => ['title' => '企业名称', 'description' => 'The enterprise name.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'xxx', 'backendName' => 'name'], ], ], 'ChatDocumentPageNum' => [ 'description' => 'Location information of Q&A-related content in the document.', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'pos' => [ 'description' => 'Location information of the document.', 'visibility' => 'Public', 'type' => 'array', 'items' => [ 'description' => 'Related location coordinates, with each location consisting of 4 coordinate points.', 'visibility' => 'Public', 'type' => 'array', 'items' => ['description' => 'Document block location data.', 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/ChatRefDocPostion'], 'extendType' => 'true', ], 'backendName' => 'pos', ], 'num' => ['description' => 'Page numbers of related documents.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'backendName' => 'num'], ], ], 'ChatFolderItem' => [ 'description' => 'Document directory list.', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'subFolders' => [ 'description' => 'Subfolder list.', 'visibility' => 'Public', 'type' => 'array', 'items' => ['description' => 'Subfolder details.', 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/ChatItem'], 'backendName' => 'subFolders', ], 'folderName' => ['description' => 'Folder name.', 'visibility' => 'Public', 'type' => 'string', 'example' => 'default folder', 'backendName' => 'folderName'], 'folderId' => ['description' => 'Folder ID.', 'visibility' => 'Public', 'type' => 'string', 'example' => 'aaa', 'backendName' => 'folderId'], ], ], 'ChatItem' => [ 'description' => 'Q&A details.', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'question' => ['description' => 'Question content.', 'visibility' => 'Public', 'type' => 'string', 'example' => 'How to use the knowledge base.', 'backendName' => 'question'], 'answer' => ['description' => 'The content of the answer to the question.', 'visibility' => 'Public', 'type' => 'string', 'example' => 'No related content found.', 'backendName' => 'answer'], 'createTime' => ['description' => 'Q&A time, in milliseconds timestamp.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '1747280158000', 'backendName' => 'createTime'], 'refDocList' => [ 'description' => '- List of files related to the Q&A.'."\n" .'- If streaming question answering is used, only the first shard contains data.', 'visibility' => 'Public', 'type' => 'array', 'items' => ['description' => 'Details of files related to the Q&A.', 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/ChatRefDocItem'], 'backendName' => 'refDocList', ], 'folderName' => ['description' => 'Name of the folder selected for the Q&A.', 'visibility' => 'Public', 'type' => 'string', 'example' => 'deafult folder', 'backendName' => 'folderName'], 'folderId' => ['description' => 'Folder selected for the Q&A.', 'visibility' => 'Public', 'type' => 'string', 'example' => '7708fddb-21dc-4403-a4ea-5b94eccce4c3', 'backendName' => 'folderId'], ], ], 'ChatRefDocInfo' => [ 'description' => 'Page document information.', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'pages' => ['description' => 'Total number of pages in the current document.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '23', 'backendName' => 'answer'], 'pageListInfo' => [ 'description' => 'Detailed information for each page of the document.', 'visibility' => 'Public', 'type' => 'array', 'items' => ['description' => 'Detailed information for each page.', 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/ChatRefDocPageInfo'], 'backendName' => 'pageListInfo', ], ], ], 'ChatRefDocItem' => [ 'description' => 'Related document information.', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'docName' => ['description' => 'Document name. If the original file is of types like doc, it will be converted to PDF for easier document location. This file should be used for document location information.', 'visibility' => 'Public', 'type' => 'string', 'example' => 'a.pdf', 'backendName' => 'docName'], 'sourceType' => ['description' => 'Return file type: \'doc\' for document files, \'web\' for internet information.', 'visibility' => 'Public', 'type' => 'string', 'example' => 'doc', 'backendName' => 'sourceType'], 'docUrl' => ['description' => 'Document link.', 'visibility' => 'Public', 'type' => 'string', 'example' => 'https://carbon-aidoc.oss-accelerate.aliyuncs.com/jobs/42dbc7-3a9e-4e18-8939-3fd2d247bd3c/document/97178d94c75941d3b932883c810c5e.pdf', 'backendName' => 'docUrl'], 'docInfo' => ['description' => 'Related document information.', 'visibility' => 'Public', 'backendName' => 'docInfo', '$ref' => '#/components/schemas/ChatRefDocInfo'], 'originDocName' => ['description' => 'Original document name.', 'visibility' => 'Public', 'type' => 'string', 'example' => 'a.doc', 'backendName' => 'originDocName'], 'pageNum' => [ 'description' => 'Page number information.', 'visibility' => 'Public', 'type' => 'array', 'items' => ['description' => 'Page information details.', 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/ChatDocumentPageNum'], 'backendName' => 'pageNum', ], 'originDocUrl' => ['description' => 'Original document link.', 'visibility' => 'Public', 'type' => 'string', 'example' => 'https://carbon-aidoc.oss-accelerate.aliyuncs.com/jobs/42dbc7-3a9e-4e18-8939-3fd2d247bd3c/document/97178d94c75941d3b932883c810c5e.doc', 'backendName' => 'originDocUrl'], ], ], 'ChatRefDocPageInfo' => [ 'description' => 'Specific information for each page of the document.', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'imageWidth' => ['description' => 'The width of the page turns to image', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '23', 'backendName' => 'imageWidth'], 'imageUrl' => ['description' => '- The image URL after the page is converted to an image. '."\n" .'- Note: The image URL will be inaccessible after 24 hours, so you need to save it promptly.', 'visibility' => 'Public', 'type' => 'string', 'example' => '2', 'backendName' => 'imageUrl'], 'pageIdCurDoc' => ['description' => 'The page index in the current document, starting from 0.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'backendName' => 'pageIdCurDoc'], 'angle' => ['description' => 'The rotation angle of the image after the page is converted to an image.', 'visibility' => 'Public', 'type' => 'number', 'format' => 'double', 'example' => '0.0', 'backendName' => 'angle'], 'excelParseResult' => ['description' => 'Reserved, can be unused for now.', 'visibility' => 'Public', 'type' => 'string', 'example' => 'null', 'backendName' => 'excelParseResult'], 'wordParseResult' => ['description' => 'Reserved, can be unused for now.', 'visibility' => 'Public', 'type' => 'string', 'example' => 'null', 'backendName' => 'wordParseResult'], 'pdfParseResult' => ['description' => 'Reserved, can be unused for now.', 'visibility' => 'Public', 'type' => 'string', 'example' => 'null', 'backendName' => 'pdfParseResult'], 'imageHeight' => ['description' => 'The height of the page turns to image.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '22', 'backendName' => 'imageHeight'], ], ], 'ChatRefDocPageNum' => [ 'description' => 'Information on the number of pages in related documents.', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'pos' => [ 'description' => 'List of location information for related documents.', 'visibility' => 'Public', 'type' => 'array', 'items' => [ 'description' => 'array '."\n" .'List of location information for related documents.', 'visibility' => 'Public', 'type' => 'array', 'items' => ['description' => 'Location information for related documents.', 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/ChatRefDocPostion'], 'extendType' => 'true', ], 'backendName' => 'pos', ], 'num' => ['description' => 'Page numbers of content related to Q&A.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '123', 'backendName' => 'num'], ], ], 'ChatRefDocPostion' => [ 'description' => 'Document coordinates.', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'x' => ['description' => 'The x-coordinate of the layout.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '22', 'backendName' => 'x'], 'y' => ['description' => 'The y-coordinate of the layout.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '86', 'backendName' => 'y'], ], ], 'ChunkItem' => [ 'title' => '', 'type' => 'object', 'properties' => [ 'score' => ['title' => '召回分数', 'description' => 'The recall score.', 'type' => 'number', 'format' => 'float', 'example' => '0.4295678'], 'docName' => ['title' => '文件名', 'description' => 'The file name.', 'type' => 'string', 'example' => '临时场地协议-APM.pdf'], 'rerankScore' => ['title' => '重排序分数', 'description' => 'The reranking score.', 'type' => 'number', 'format' => 'float', 'example' => '0.5053711'], 'docId' => ['title' => '文件hash id', 'description' => 'The hash ID of the file.', 'type' => 'string', 'example' => 'b4620821aea92c062d8d19ad793243669cf9ae2b900e6967dee6ee9f3bf5feed'], 'docUrl' => ['title' => '文件url', 'description' => 'The URL of the file.', 'type' => 'string', 'example' => 'jobs/a4123b3f-9287-4c61-b59d-32e40fcb0a31/document/8b24a2e06669427fb3dc9812374d9d1a.pdf'], 'weightedScore' => ['title' => '召回权重', 'description' => 'The recall weight.', 'type' => 'number', 'format' => 'float', 'example' => '0.47252458'], 'chunkId' => ['title' => '"docElsIds"中的元素用逗号连接的结果', 'description' => 'The result of joining the elements in \\`docElsIds\\` with commas.', 'type' => 'string', 'example' => 'b0x7,b1x10'], 'chunkContent' => ['title' => 'chunk内容', 'description' => 'The content of the chunk.', 'type' => 'string', 'example' => '\\\\n## 第三条 场地占用费(含物业管理费和市场推广费)\\\\n\\\\n3.2 乙方应于本协议签订后 20 个工作日内或该场地交付乙方的同时(以日期在先者为准),\\\\n向甲方一次性支付该场地四个月的场地占用费。\\\\n\\\\n3.3 乙方应向甲方支付的协议价款(场地占用费、物业管理费、市场推广费及本协议约定的其 他费用)以及实际发生的各种性质的价外费用(根据适用税法的相关规定,价外费用包括 但不限于违约金、赔偿金、代收款项、代垫款项)均为含增值税价格。'], 'docElsIds' => [ 'title' => '对应原始文件文件块的uniqueId列表', 'type' => 'array', 'items' => ['description' => 'The unique ID of a chunk from the original file.', 'type' => 'string', 'example' => 'b0x7', 'title' => ''], 'description' => 'A list of unique IDs for the chunks of the original file.', 'example' => '', ], ], 'description' => 'Knowledge base retrieval information.', 'example' => '', ], 'ConstituteItem' => [ 'title' => '构成分析列表结构', 'description' => 'The item of comstitute analysis list.', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'enterpriseName' => ['title' => '企业名称', 'description' => 'The name of enterprise.', 'visibility' => 'Public', 'type' => 'string', 'example' => 'EnterpriseA', 'backendName' => 'enterpriseName'], 'rawData' => ['title' => '原始数据', 'description' => 'Raw data'."\n", 'visibility' => 'Public', 'type' => 'number', 'format' => 'double', 'example' => '1.2', 'backendName' => 'rawData'], 'carbonEmissionData' => ['title' => '碳排放量', 'description' => 'Carbon emission', 'visibility' => 'Public', 'type' => 'number', 'format' => 'double', 'example' => '3.222', 'backendName' => 'carbonEmissionData'], 'ratio' => ['title' => '所占比例', 'description' => 'Ratio.example value: 0.5 (i. e. 50%).', 'visibility' => 'Public', 'type' => 'number', 'format' => 'double', 'example' => '0.5', 'backendName' => 'ratio'], 'nameKey' => ['title' => '名称唯一标识', 'description' => 'The unique identifier of name.', 'visibility' => 'Public', 'type' => 'string', 'example' => 'carbonInventory.check.indirect_emissions_from_imported_electricity', 'backendName' => 'nameKey'], 'name' => ['title' => '名称', 'description' => 'The name.', 'visibility' => 'Public', 'type' => 'string', 'example' => 'Scope 1: Direct GHG emissions', 'backendName' => 'name'], 'emissionSourceKey' => ['title' => '排放源唯一标识', 'description' => 'Unique identification of emission source.', 'visibility' => 'Public', 'type' => 'string', 'example' => 'carbonInventory.check.by_electricity_properties/carbonInventory.check.wind_electricity/carbonInventory.check.gec', 'backendName' => 'emissionSourceKey'], 'emissionSource' => ['title' => '排放源', 'description' => 'Emission source'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'GEC', 'backendName' => 'emissionSource'], 'dataUnit' => ['title' => '数据单位', 'description' => 'Data Unit'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'kWh', 'backendName' => 'dataUnit'], 'envGasEmissions' => [ 'title' => '气体排放详情列表', 'description' => 'Gas Emissions Detail List.', 'visibility' => 'Public', 'type' => 'array', 'items' => [ 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'type' => ['title' => '标识气体类型的唯一key', 'description' => 'A unique key that identifies the gas type.', 'visibility' => 'Public', 'type' => 'string', 'example' => '1', 'backendName' => 'type'], 'name' => ['title' => '气体名称', 'description' => 'Name of gas.', 'visibility' => 'Public', 'type' => 'string', 'example' => 'CO₂', 'backendName' => 'name'], 'gasEmissionData' => ['title' => '气体碳排放量', 'description' => 'Gas emissions.', 'visibility' => 'Public', 'type' => 'number', 'format' => 'double', 'example' => '4.33', 'backendName' => 'gasEmissionData'], 'carbonEmissionData' => ['title' => 'carbonEmissionData'."\0".' 碳排放量', 'description' => 'Carbon emissions.', 'visibility' => 'Public', 'type' => 'number', 'format' => 'double', 'example' => '1.2', 'backendName' => 'carbonEmissionData'], ], 'extendType' => 'true', ], 'required' => false, 'backendName' => 'envGasEmissions', 'itemName' => 'gasEmissionItem', ], 'subConstituteItems' => [ 'title' => '子级详情列表', 'description' => 'The child detail list.', 'visibility' => 'Public', 'type' => 'array', 'items' => ['description' => 'Descent emission List', 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/ConstituteItem'], 'backendName' => 'subConstituteItems', 'itemName' => 'constituteItem', ], ], ], 'ContentItem' => [ 'title' => 'ContentItem', 'description' => 'ContentItem', 'type' => 'object', 'properties' => [ 'score' => ['title' => '召回的置信度', 'description' => 'The confidence level of the retrieval.', 'type' => 'number', 'format' => 'double', 'example' => '0.45', 'visibility' => 'Public', 'backendName' => 'score'], 'type' => ['title' => '文本来源, img, table, para', 'description' => 'The source of the text. Valid values are img, table, and para.', 'type' => 'string', 'example' => 'img', 'visibility' => 'Public', 'backendName' => 'type'], 'extInfo' => [ 'title' => '文本的坐标信息,是list形式', 'description' => 'The coordinates of the text. This is a list.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'alignment' => ['title' => '版面对齐方式 枚举值:center, left, right', 'description' => 'The alignment of the layout. Valid values are center, left, and right.', 'type' => 'string', 'example' => 'center', 'visibility' => 'Public', 'backendName' => 'alignment'], 'index' => ['title' => '版面在文本中的序号', 'description' => 'The ordinal number of the layout in the text.', 'type' => 'integer', 'format' => 'int64', 'example' => '8', 'visibility' => 'Public', 'backendName' => 'index'], 'level' => ['title' => '版面的层级', 'description' => 'The level of the layout.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'visibility' => 'Public', 'backendName' => 'level'], 'pageNum' => [ 'title' => '版面的页码,可能包含多个页码', 'description' => 'The page number of the layout. This can include multiple page numbers.', 'type' => 'array', 'items' => ['description' => 'The page number. The default value is 1.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => '', 'visibility' => 'Public', 'extendType' => 'true'], 'example' => '', 'visibility' => 'Public', 'backendName' => 'pageNum', ], 'pos' => [ 'title' => '版面的位置信息,list', 'description' => 'The position of the layout. This is a list.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'x' => ['title' => 'int 版面的x坐标', 'description' => 'The x-coordinate of the layout.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'visibility' => 'Public', 'backendName' => 'x'], 'y' => ['title' => '版面的y坐标', 'description' => 'The y-coordinate of the layout.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'visibility' => 'Public', 'backendName' => 'y'], ], 'description' => '', 'title' => '', 'example' => '', 'visibility' => 'Public', 'extendType' => 'true', ], 'example' => '', 'visibility' => 'Public', 'backendName' => 'pos', ], 'subType' => ['title' => '版面的子类型 枚举值:picture, para, none', 'description' => 'The subtype of the layout. Valid values are picture, para, and none.', 'type' => 'string', 'example' => 'picture', 'visibility' => 'Public', 'backendName' => 'subType'], 'text' => ['title' => 'text', 'description' => 'The text content.', 'type' => 'string', 'example' => '版面内容', 'visibility' => 'Public', 'backendName' => 'text'], 'type' => ['title' => '版面的类型 枚举值:table, figure, text,none', 'description' => 'The type of the layout. Valid values are table, figure, text, and none.', 'type' => 'string', 'example' => 'table', 'visibility' => 'Public', 'backendName' => 'type'], 'uniqueId' => ['title' => 'str 唯一的版面id', 'description' => 'The unique ID of the layout.', 'type' => 'string', 'example' => '88c712db271443dd4e3697cb9b5dab3a', 'visibility' => 'Public', 'backendName' => 'uniqueId'], ], 'description' => '', 'title' => '', 'example' => '', 'visibility' => 'Public', 'extendType' => 'true', ], 'example' => '', 'visibility' => 'Public', 'backendName' => 'extInfo', ], 'text' => ['title' => '召回文本', 'description' => 'The retrieved text.', 'type' => 'string', 'example' => '租户是xxx', 'visibility' => 'Public', 'backendName' => 'text'], ], 'example' => '', 'cloudType' => 'public', 'branchId' => 4123116, 'branchName' => 'master', 'paramExtraInfo' => [ '$.components.schemas.ContentItem.properties.extInfo.items.properties.pageNum.description' => '版面的页码,可能包含多个页码', '$.components.schemas.ContentItem.properties.extInfo.items.properties.text.example' => '版面内容', '$.components.schemas.ContentItem.properties.extInfo.items.properties.uniqueId.description' => 'str 唯一的版面id', '$.components.schemas.ContentItem.properties.extInfo.items.properties.alignment.description' => '版面对齐方式的枚举值:center, left, right', '$.components.schemas.ContentItem.properties.extInfo.items.properties.type.example' => 'table', '$.components.schemas.ContentItem.properties.extInfo.items.properties.level.example' => '2', '$.components.schemas.ContentItem.properties.extInfo.items.properties.alignment.example' => 'center', '$.components.schemas.ContentItem.properties.extInfo.description' => '文本的坐标信息,是list形式。', '$.components.schemas.ContentItem.properties.extInfo.items.properties.pageNum.items.example' => '1', '$.components.schemas.ContentItem.properties.score.description' => '召回的置信度。', '$.components.schemas.ContentItem.properties.score.example' => '0.45', '$.components.schemas.ContentItem.properties.extInfo.items.properties.pos.items.properties.y.description' => '版面的y坐标', '$.components.schemas.ContentItem.properties.extInfo.items.properties.subType.example' => 'picture', '$.components.schemas.ContentItem.properties.extInfo.items.properties.pos.items.properties.x.description' => 'int 版面的x坐标', '$.components.schemas.ContentItem.properties.extInfo.items.properties.pos.description' => '版面的位置信息,list', '$.components.schemas.ContentItem.properties.extInfo.items.properties.type.description' => '版面的类型枚举值:table, figure, text,none', '$.components.schemas.ContentItem.properties.type.example' => 'img', '$.components.schemas.ContentItem.description' => 'ContentItem', '$.components.schemas.ContentItem.properties.extInfo.items.properties.uniqueId.example' => '88c712db271443dd4e3697cb9b5dab3a', '$.components.schemas.ContentItem.properties.extInfo.items.properties.index.example' => '8', '$.components.schemas.ContentItem.properties.extInfo.items.properties.level.description' => '版面的层级', '$.components.schemas.ContentItem.properties.extInfo.items.properties.text.description' => 'text', '$.components.schemas.ContentItem.properties.type.description' => '文本来源, img, table, para', '$.components.schemas.ContentItem.properties.extInfo.items.properties.pos.items.properties.x.example' => '1', '$.components.schemas.ContentItem.properties.extInfo.items.properties.index.description' => '版面在文本中的序号', '$.components.schemas.ContentItem.properties.extInfo.items.properties.pos.items.properties.y.example' => '2', '$.components.schemas.ContentItem.properties.text.example' => '租户是xxx', '$.components.schemas.ContentItem.properties.extInfo.items.properties.pageNum.items.description' => '页码,默认值 1。'."\n" ."\n", '$.components.schemas.ContentItem.properties.text.description' => '召回文本', '$.components.schemas.ContentItem.properties.extInfo.items.properties.subType.description' => '版面的子类型枚举值:picture, para, none', ], 'visibility' => 'Public', ], 'DocumentDetailItem' => [ 'type' => 'object', 'properties' => [ 'id' => ['description' => 'Primary key ID of the document.', 'type' => 'integer', 'title' => '', 'example' => '6731', 'format' => 'int64'], 'folderId' => ['description' => 'Folder ID. Get this value from related APIs or the product frontend interface.', 'type' => 'string', 'title' => '', 'example' => 'adafb91d4e014e2eb4d0a5375b547115'], 'folderName' => ['description' => 'Folder name.', 'type' => 'string', 'title' => '', 'example' => '123/abc/ 文件夹1'], 'jobId' => ['description' => 'Parsing or extraction job ID. Get this value from related APIs or the product frontend interface.', 'type' => 'string', 'title' => '', 'example' => '74ec62f4f4e74e5882d4086a40f2b9c6'], 'jobStatus' => [ 'description' => 'Job status.', 'enumValueTitles' => ['PARSING_IN_PROGRESS' => 'PARSING_IN_PROGRESS', 'PARSING_FAILED' => 'PARSING_FAILED', 'QUEUING' => 'QUEUING', 'PENDING_PARSING' => 'PENDING_PARSING', 'CANCELED' => 'CANCELED', 'SUBMISSION_FAILED' => 'SUBMISSION_FAILED', 'PARSING_COMPLETED' => 'PARSING_COMPLETED'], 'type' => 'string', 'title' => '', 'example' => 'PARSING_COMPLETED', ], 'docName' => ['description' => 'Document name.', 'type' => 'string', 'title' => '', 'example' => '123/abc/ 文档1.pdf'], 'originDocName' => ['description' => 'Original document name.', 'type' => 'string', 'title' => '', 'example' => '123/abc/ 文档1.pdf/.doc/docx/csv/xlsx/txt'], 'docUrl' => ['description' => 'Document URL.', 'type' => 'string', 'title' => '', 'example' => 'https://carbon-aidoc.oss-cn-hangzhou.aliyuncs.com/jobs/jobid/document/documentid/docName'], 'originDocUrl' => ['description' => 'Original document URL.', 'type' => 'string', 'title' => '', 'example' => 'https://carbon-aidoc.oss-cn-hangzhou.aliyuncs.com/jobs/jobid/document/documentid/originDocName'], 'docHash' => ['description' => 'Document hash value.', 'type' => 'string', 'title' => '', 'example' => '5335c8828ccf735a500ed636590c713a94daf6cdacc90237733035cc5a152afb_1760513801010'], 'createTime' => ['description' => 'Creation time (UTC+8).', 'type' => 'string', 'title' => '', 'example' => '2025-09-08T17:04:28.000+08:00', 'format' => 'iso8601'], 'updateTime' => ['description' => 'Update time (UTC+8).', 'type' => 'string', 'title' => '', 'example' => '2025-09-08T17:04:28.000+08:00', 'format' => 'iso8601'], ], 'description' => 'Describes key information about a document.', 'title' => '', 'example' => '', ], 'EpdInventoryConstituteItem' => [ 'title' => 'epd清单结构体', 'description' => 'epd inventory structure'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'inventoryValuePerProduct' => ['title' => '每功能单位活动数据', 'description' => 'Activity data per functional unit: only the third level is not empty; the value retains 24 decimal places, indicating the number of activities per functional unit; should be used in conjunction with the inventoryValuePerProductUnit.'."\n", 'visibility' => 'Public', 'type' => 'number', 'format' => 'double', 'example' => '1.000000000000000000000000', 'backendName' => 'inventoryValuePerProduct'], 'factorDataset' => ['title' => 'factorDataset 因子所属数据库', 'description' => 'The database to which the factorDataset factor belongs. This field is used in conjunction with factorType. If factorType is 1, the data name of the factor is displayed. If factorType is 2,factorId indicates the ID of the referenced product. If factorType is null,factorId is meaningless. This field is a new field. Old data may not have data in this field and is displayed as "/".'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '/', 'backendName' => 'factorDataset'], 'percent' => ['title' => '所占比例', 'description' => 'The percentage. Four decimal places are retained and 31.4000 is returned to indicate the percentage 31.4%. The first level returns null; The second level returns the current process as a percentage of total emissions; the third level returns the current inventory as a percentage of total emissions.', 'visibility' => 'Public', 'type' => 'number', 'format' => 'double', 'example' => '31.4000', 'backendName' => 'percent'], 'inventoryValuePerProductUnit' => ['title' => '每功能单位活动数据单位', 'description' => 'Unit of activity data per functional unit. Only the third level is not empty. in the inventory information indicates the unit of activity data per functional unit.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'kg', 'backendName' => 'inventoryValuePerProductUnit'], 'num' => ['title' => '类别key', 'description' => 'Category key, please refer to [Carbon Footprint Appendices](https://carbon-doc.oss-cn-hangzhou.aliyuncs.com/CarbonFootprintAppendices-en.pdf).', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'backendName' => 'num'], 'quantity' => ['title' => '原始活动数据', 'description' => 'Raw activity data. Only the third level returns a quantity that is not null, indicating a manifest.'."\n", 'visibility' => 'Public', 'type' => 'number', 'format' => 'double', 'example' => '1.000000000000', 'backendName' => 'num'], 'resourceType' => ['title' => '清单类型', 'description' => 'The type of the inventory. Only the third level returns non-null, and the third level is the inventory details. This field indicates the resource type name of the inventory. You may refer to [Carbon Footprint Appendices](https://carbon-doc.oss-cn-hangzhou.aliyuncs.com/CarbonFootprintAppendices-en.pdf).', 'visibility' => 'Public', 'type' => 'string', 'example' => 'Energy', 'backendName' => 'resourceType'], 'factorType' => ['title' => 'factorType 因子类型key', 'description' => 'The key of the factor type. Only the third level is not empty. The factorType in the inventory information indicates that the factor source type is selected; the optional values are 1, 2, or null:1: factor library, 2: product library. null indicates that the factor is not selected from the factor library or product library, and the factor is constructed by the user.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'factorType'], 'unit' => ['title' => '环境影响结果值单位', 'description' => 'The unit of environmental impact result value. This unit is the unit of the environmental impact result value of the corresponding environmental impact category. For example, the unit kg CO2-Eq represent the emission values shown here is kg CO2-Eq.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'kg CO2-Eq', 'backendName' => 'unit'], 'name' => ['title' => '名称', 'description' => 'Returns the name of the current level. The names of different levels have different meanings. The first level returns the environmental impact type. The second level returns the current process name. The third level returns the current inventory name', 'visibility' => 'Public', 'type' => 'string', 'example' => 'climate change', 'backendName' => 'name'], 'inventoryId' => ['title' => '清单id', 'description' => 'manifest id'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'backendName' => 'inventoryId'], 'inventoryValue' => ['title' => '清单数量', 'description' => 'The quantity of the inventory. It is not empty only at the third level. The third level is the inventory details. This field indicates the id of the inventory. It should be used in conjunction with the InventoryUnit.'."\n", 'visibility' => 'Public', 'type' => 'number', 'format' => 'double', 'example' => '2.000000000000000000000000', 'backendName' => 'inventoryValue'], 'factorUnit' => ['title' => '因子单位', 'description' => 'Factor Unit'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'kg CO2-Eq/kg', 'backendName' => 'factorUnit'], 'inventoryUnit' => ['title' => '清单单位', 'description' => 'Inventory Unit'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 't', 'backendName' => 'inventoryUnit'], 'state' => ['title' => '数据状态', 'description' => 'The data status. 1 indicates accurate calculation, 2 indicates default data, 3 indicates missing factor, and 0 value is used in other cases.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'state'], 'factor' => ['title' => '因子值', 'description' => 'The value of the factor. Only the third level is not empty. The factor in the inventory information indicates the factor value of the selected factor. The factor value is kept to four decimal places after the decimal point, and "1.0000" indicates that the factor value is 1. The factor value should be used in combination with factorUnit. If factorUnit is "kg CO2-Eq mg/kg", it means that the carbon emission per 1kg of the list is 1kg CO2-Eq.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '1.0000', 'backendName' => 'factor'], 'carbonEmission' => ['title' => '排放量', 'description' => 'Emissions are presented with 24 decimal places. It\'s advisable to utilize the truncated version. These emissions encompass all tiers: At the first level, they reflect the product\'s total emissions under the current environmental impact; at the second level, they show the process\'s total emissions; and at the third level, they represent the inventory\'s emissions within the same environmental impact context.', 'visibility' => 'Public', 'type' => 'number', 'format' => 'double', 'example' => '1009.976265540000000000000000000000', 'backendName' => 'carbonEmission'], 'factorId' => ['title' => '因子id', 'description' => 'The id of the factor.', 'visibility' => 'Public', 'type' => 'string', 'example' => '1234', 'backendName' => 'factorId'], 'items' => [ 'title' => '子级列表', 'description' => 'List of children'."\n", 'visibility' => 'Public', 'type' => 'array', 'items' => ['description' => 'The list of children. The third level returns null.'."\n", 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/EpdInventoryConstituteItem'], 'backendName' => 'items', ], ], ], 'FolderItem' => [ 'type' => 'object', 'properties' => [ 'folderId' => ['description' => 'The folder ID returned by the API after successful folder creation.', 'type' => 'string', 'title' => '', 'example' => '4b648f6d11344f258df876cbdc24dc1f'], 'folderNum' => ['description' => 'Folder sort order.', 'type' => 'integer', 'title' => '', 'example' => '2', 'format' => 'int32'], 'docCount' => ['description' => 'Number of subfolders in the current folder. For a new folder, this value defaults to 0.', 'type' => 'integer', 'title' => '', 'example' => '0', 'format' => 'int32'], 'folderName' => ['description' => 'Folder name defined by the user.', 'type' => 'string', 'title' => '', 'example' => '“abc” “1234”'], 'parentFolderId' => ['description' => 'ID of the parent folder.', 'type' => 'string', 'title' => '', 'example' => '"0" :parent folder is root'."\n" .'"4b648f6d11344f258df876cbdc24dc1f" : folderId'], 'folderDefault' => ['description' => '1: default folder. 0: non-default folder. This value defaults to 0 for users.', 'type' => 'integer', 'title' => '', 'example' => '0', 'format' => 'int32'], 'currentLevel' => ['description' => 'Current level.', 'type' => 'integer', 'title' => '', 'example' => '1', 'format' => 'int32'], 'syncStatus' => ['description' => 'OSS sync extraction status: -1 (not set, default), 0 (disabled), 1 (enabled).', 'type' => 'integer', 'title' => '', 'example' => '-1', 'format' => 'int32'], 'syncParsingStatus' => ['description' => 'OSS sync parsing status: -1 (not set, default), 0 (disabled), 1 (enabled).', 'type' => 'integer', 'title' => '', 'example' => '-1', 'format' => 'int32'], 'ossDomain' => ['description' => 'OSS bucket address.', 'type' => 'string', 'title' => '', 'example' => 'aidoc-energy-api-example.oss-cn-hangzhou.aliyuncs.com '], 'ossUpdateBy' => ['description' => 'OSS operator.', 'type' => 'string', 'title' => '', 'example' => '1696462764375572'], 'taskId' => ['description' => 'ID of the task that created the folder. 0 indicates manual creation.', 'type' => 'integer', 'title' => '', 'example' => '0', 'format' => 'int64'], 'resourcePath' => ['description' => 'External resource path.', 'type' => 'string', 'title' => '', 'example' => 'folder/manual/'], 'storageType' => ['description' => 'Storage class.', 'type' => 'integer', 'title' => '', 'example' => '0', 'format' => 'int32'], 'ossPath' => ['description' => 'OSS path.', 'type' => 'string', 'title' => '', 'example' => 'test/'], 'subFolderList' => [ 'type' => 'array', 'items' => ['description' => 'Subfolder entity.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/FolderItem'], 'description' => 'List of subfolders. Defaults to empty.', 'title' => '', 'example' => '', ], ], 'description' => 'Describes key information of the folder data structure.', 'title' => '', 'example' => '', ], 'GwpInventoryConstitute' => [ 'title' => '温室气体构成', 'description' => 'Composition of greenhouse gases'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'percent' => ['title' => '排放百分比', 'description' => 'Percentage of emissions, for example 100.00 means 100.00%.'."\n", 'visibility' => 'Public', 'type' => 'number', 'format' => 'double', 'example' => '100.00', 'backendName' => 'percent'], 'resourceType' => ['title' => '清单类型', 'description' => 'Resouce type of inventory.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'resourceType'], 'unit' => ['title' => '单位', 'description' => 'Unit', 'visibility' => 'Public', 'type' => 'string', 'example' => 'kgCO₂e/kg', 'backendName' => 'unit'], 'carbonEmission' => ['title' => '排放数量', 'description' => 'Emission quantity'."\n", 'visibility' => 'Public', 'type' => 'number', 'format' => 'double', 'example' => '1009.976265540000000000000000000000', 'backendName' => 'carbonEmission'], 'name' => ['title' => '排放体名称', 'description' => 'Name', 'visibility' => 'Public', 'type' => 'string', 'example' => 'Acquisition of Raw Materials', 'backendName' => 'name'], 'byResourceType' => [ 'title' => '按类型聚合列表', 'description' => 'Grouped by inventory resource type, this data reveals emissions details for each category. It serves the "By type" analysis in the composition breakdown. A nested structure is employed: total carbon emissions are organized first by inventory type, forming a two-level hierarchy, with the innermost level \'byResource\' currently empty.', 'visibility' => 'Public', 'type' => 'array', 'items' => ['description' => 'Aggregates the inventory list by resource type.', 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/GwpResourceConstitute'], 'backendName' => 'byResourceType', ], 'items' => [ 'title' => '构成详情列表', 'description' => 'Organized hierarchically, it cascades from high to low: flow-> process-> inventory level. Employed for "By inventory" analysis in compositional breakdowns, the innermost layer of this nested structure is empty.', 'visibility' => 'Public', 'type' => 'array', 'items' => ['description' => 'Show inventory hierarchy.', 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/GwpInventoryConstitute'], 'backendName' => 'items', ], ], ], 'GwpResourceConstitute' => [ 'title' => '资源构成结构体', 'description' => 'The structure of carbon emissions for the GWP checklist.', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'name' => ['title' => '名称', 'description' => 'The name. The meaning of this parameter varies by layer. The outermost layer represents the total carbon emissions.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'name', 'example' => 'Energy'], 'unit' => ['title' => '单位', 'description' => 'The unit of emissions.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'unit', 'example' => 'kgCO₂e/Piece(s)'], 'resourceType' => ['title' => '清单类型', 'description' => 'The type of checklist. This parameter applies only to the checklist layer and can be empty for other layers.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'backendName' => 'resourceType', 'example' => '1'], 'carbonEmission' => ['title' => '碳排放当量', 'description' => 'The amount of carbon emissions. To ensure precision, the value is retained to 24 decimal places. Truncate the value before use.', 'visibility' => 'Public', 'type' => 'number', 'format' => 'double', 'backendName' => 'carbonEmission', 'example' => '1009.976265540000000000000000000000'], 'percent' => ['title' => '排放百分比', 'description' => 'The emission percentage. For example, a value of 98.76 represents 98.76%.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'percent', 'example' => '98.76'], ], ], 'OrgEmission' => [ 'title' => '组织分析返回值结构', 'description' => 'Organization Analysis Return Value Structure'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'name' => ['title' => '企业名称', 'description' => 'The name of the organization.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'EnterpriseZ', 'backendName' => 'name', 'itemName' => 'name'], 'nameKey' => ['title' => '企业类型', 'description' => 'Enterprise type'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'Z-20240115-4', 'backendName' => 'nameKey'], 'carbonEmissionData' => ['title' => '碳排放当量', 'description' => 'Carbon Equivalent'."\n", 'visibility' => 'Public', 'type' => 'number', 'format' => 'double', 'example' => '1.2', 'backendName' => 'carbonEmissionData'], 'weightingCarbonEmissionData' => ['title' => '按股比计算碳排', 'description' => 'Calculate carbon emissions by share ratio'."\n", 'visibility' => 'Public', 'type' => 'number', 'format' => 'double', 'example' => '2.3', 'backendName' => 'weightingCarbonEmissionData'], 'weightingRatio' => ['title' => '股比碳排同比', 'description' => 'Share ratio Carbon emissions YoY'."\n", 'visibility' => 'Public', 'type' => 'number', 'format' => 'double', 'example' => '0.4', 'backendName' => 'weightingRatio'], 'ratio' => ['title' => '碳排占比', 'description' => 'Proportion of carbon emissions'."\n", 'visibility' => 'Public', 'type' => 'number', 'format' => 'double', 'example' => '0.2', 'backendName' => 'ratio'], 'weightingProportion' => ['title' => '权重比例', 'description' => 'Weight ratio'."\n", 'visibility' => 'Public', 'type' => 'number', 'format' => 'double', 'example' => '0.3', 'backendName' => 'weightingProportion'], 'moduleEmissionList' => [ 'title' => '分模块碳排数据', 'description' => 'Sub-module carbon emission data'."\n", 'visibility' => 'Public', 'type' => 'array', 'items' => [ 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'name' => ['title' => '模块名', 'description' => 'module name', 'visibility' => 'Public', 'type' => 'string', 'example' => 'Scope 1: Direct GHG emissions', 'backendName' => 'name'], 'nameKey' => ['title' => '模块key', 'description' => 'Module key'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'carbonInventory.check.scope_1_direct_ghg_emissions', 'backendName' => 'nameKey'], 'carbonEmissionData' => ['title' => '碳排量', 'description' => 'Carbon emissions'."\n", 'visibility' => 'Public', 'type' => 'number', 'format' => 'double', 'example' => '1.2', 'backendName' => 'carbonEmissionData'], 'ratio' => ['title' => '碳排量占比', 'description' => 'Proportion of carbon emissions'."\n", 'visibility' => 'Public', 'type' => 'number', 'format' => 'double', 'example' => '0.2', 'backendName' => 'ratio'], ], 'extendType' => 'true', 'description' => 'Module struct.', ], 'backendName' => 'moduleEmissionList', 'itemName' => 'ModuleEmissionItem', ], 'subEmissionItems' => [ 'title' => '子级数据,即组织下的场地数据', 'description' => 'Sub-level data, that is, site data under the organization'."\n", 'visibility' => 'Public', 'type' => 'array', 'items' => ['description' => 'Lower-level enterprise list'."\n", 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/OrgEmission'], 'backendName' => 'subEmissionItems', 'itemName' => 'SubEmissionItem', ], ], ], ], ], 'apis' => [ 'AISearchResourceAdd' => [ 'summary' => 'Adds a structured element to an AISearch project. Supported element types include miniapp and product.', 'path' => '/api/v1/aiSearch/resource/add', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREenergyexpertK979RQ'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'type' => [ 'description' => 'The type of the structured element.', 'enumValueTitles' => ['product' => 'product', 'miniapp' => 'mini program'], 'type' => 'string', 'required' => true, 'example' => 'miniapp', 'title' => '', ], 'data' => ['description' => 'The information about the structured element that corresponds to the `type` parameter. Pass the value for this parameter in the specified JSON format.'."\n" ."\n" .'
'."\n" ."\n" .''."\n" ."\n" .'If the type is miniapp:'."\n" ."\n" .''."\n" ."\n" .'- miniappId: Required. The unique ID of the miniapp.'."\n" ."\n" .'- title: Required. The name of the miniapp.'."\n" ."\n" .'- version: Required. The version number.'."\n" ."\n" .'- description: Required. A brief description.'."\n" ."\n" .'- detailDesc: Optional. A detailed description.'."\n" ."\n" .'- slogan: Optional. The slogan.'."\n" ."\n" .'- icon: Required. The URL of the icon.'."\n" ."\n" .'- url: Required. The URL of the miniapp.'."\n" ."\n" .'
'."\n" ."\n" .'
'."\n" ."\n" .''."\n" ."\n" .'If the type is product:'."\n" ."\n" .''."\n" ."\n" .'- title: Required. The name of the product.'."\n" ."\n" .'- description: Required. A description of the product.'."\n" ."\n" .'- icon: Required. The URL of the product icon.'."\n" ."\n" .'- url: Required. The URL of the product.'."\n" ."\n" .'- price: Required. The price.'."\n" ."\n" .'- extra: Optional. An extension field. An object that consists of any key-value pairs.'."\n" ."\n" .'
', 'type' => 'any', 'required' => false, 'example' => '{'."\n" .' "miniapp_id": "test_miniapp",'."\n" .' "title": "testApp",'."\n" .' "version": "1.0.5",'."\n" .' "description": "description-mock",'."\n" .' "slogan": "slogan-mock",'."\n" .' "icon": "https://img.alicdn.com/test_icon.png",'."\n" .' "detail_desc": "detail-mock"'."\n" .'}', 'title' => ''], ], 'description' => 'The request body.', 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'requestId' => ['description' => 'Id of the request', 'type' => 'string', 'title' => '', 'example' => '4A0AEC56-5C9A-5D47-93DF-7227836FFF82'], 'data' => [ 'type' => 'object', 'properties' => [ 'type' => [ 'description' => 'The type of the structured element. The value of this parameter is the same as the type parameter in the request.', 'enumValueTitles' => ['product' => 'product', 'miniapp' => 'mini program'], 'type' => 'string', 'example' => 'miniapp', 'title' => '', ], 'resourceId' => ['description' => 'The ID of the structured element resource. This ID is the unique and immutable identifier of the resource in the database. Use this ID for subsequent modification, deletion, and query operations.', 'type' => 'string', 'example' => 'WzMGQZwB7nQEs3Qk3ajH', 'title' => ''], ], 'description' => 'The data returned.', 'title' => '', 'example' => '', ], ], 'title' => '', 'description' => 'Schema of Response', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'AISearchResourceAdd', 'requestParamsDescription' => 'The type parameter is an enumeration. Only the specified values are supported. If you specify an unsupported value, the API call fails. Additional structured content types will be supported in future releases.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:AISearchResourceAdd', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"4A0AEC56-5C9A-5D47-93DF-7227836FFF82\\",\\n \\"data\\": {\\n \\"type\\": \\"miniapp\\",\\n \\"resourceId\\": \\"WzMGQZwB7nQEs3Qk3ajH\\"\\n }\\n}","type":"json"}]', ], 'AISearchResourceDelete' => [ 'path' => '/api/v1/aiSearch/resource/delete', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREenergyexpertK979RQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'type', 'in' => 'query', 'schema' => [ 'description' => 'Structured element type', 'enumValueTitles' => ['product' => 'product', 'miniapp' => 'miniapp'], 'type' => 'string', 'required' => true, 'example' => 'miniapp', 'title' => '', ], ], [ 'name' => 'resourceId', 'in' => 'query', 'schema' => ['description' => 'Structured element resource ID. This is the unique and immutable identifier for the resource in the database.', 'type' => 'string', 'required' => true, 'example' => 'WzMGQZwB7nQEs3Qk3ajH', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'requestId' => ['description' => 'Request ID', 'type' => 'string', 'title' => '', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => [ 'type' => 'object', 'properties' => [ 'type' => [ 'description' => 'Structured element type. Must match the type request parameter.', 'enumValueTitles' => ['product' => 'product', 'miniapp' => 'miniapp'], 'type' => 'string', 'example' => 'miniapp', 'title' => '', ], 'resourceId' => ['description' => 'Structured element resource ID. This is the unique and immutable identifier for the resource in the database.', 'type' => 'string', 'example' => 'WzMGQZwB7nQEs3Qk3ajH', 'title' => ''], ], 'description' => 'Response data', 'title' => '', 'example' => '', ], ], 'title' => '', 'description' => 'Response schema', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'AISearchResourceDelete', 'summary' => 'Delete a structured element from an AISearch project by specifying the resource type and resource ID.', 'requestParamsDescription' => 'The type field is an enumeration. Only the listed values are supported. Using any other value causes the API to fail. Additional structured element types may be added in future releases.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'energy:AISearchResourceDelete', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": {\\n \\"type\\": \\"miniapp\\",\\n \\"resourceId\\": \\"WzMGQZwB7nQEs3Qk3ajH\\"\\n }\\n}","type":"json"}]', ], 'AISearchResourceGetList' => [ 'path' => '/api/v1/aiSearch/resource/list', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREenergyexpertK979RQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'type', 'in' => 'query', 'schema' => [ 'description' => 'Structured element type', 'enumValueTitles' => ['product' => 'Product', 'miniapp' => 'Mini Program'], 'type' => 'string', 'required' => true, 'example' => 'miniapp', 'title' => '', ], ], [ 'name' => 'resourceIds', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'items' => ['description' => 'Structured element resource ID. This is the unique and immutable identifier for the resource in the database.', 'type' => 'string', 'required' => false, 'example' => ' '."\n" .'WzMGQZwB7nQEs3Qk3ajH'."\n", 'title' => ''], 'description' => 'Resources to query. If empty, the API returns all resources of the specified type using paging.', 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => ['description' => 'Paging size. Default is 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], [ 'name' => 'currentPage', 'in' => 'query', 'schema' => ['description' => 'Paging page number. Starts from 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'requestId' => ['description' => 'Request ID', 'type' => 'string', 'title' => '', 'example' => 'A8AEC6D9-A359-5169-BD1A-BD848BA60D65'], 'data' => [ 'type' => 'object', 'properties' => [ 'total' => ['description' => 'Total number of resources', 'type' => 'integer', 'format' => 'int64', 'example' => '68', 'title' => ''], 'currentPage' => ['description' => 'Current page number', 'type' => 'string', 'example' => '1', 'title' => ''], 'pageSize' => ['description' => 'Paging size', 'type' => 'string', 'example' => '20', 'title' => ''], 'items' => [ 'type' => 'array', 'items' => ['description' => 'Resource details', 'type' => 'any', 'example' => ' {"type":"miniapp","score":0.4571971,"resourceId":"1512004139024243527680","miniappId":"","title":"Electronic Invoice","version":"1.0.0","description":"The E-Invoice mini-app supports setting up email/SMS delivery, querying issuance records, requesting and reissuing invoices, and downloading or printing PDF files.","slogan":"E-Invoice mini-app","icon":"https://gw.alicdn.com/6000000000498-2-tps-200-200.png","url":"https://app-intl.com/release/6592_v1.6.16_poc.zip","detailDescription":null}', 'title' => ''], 'description' => 'Resource list', 'title' => '', 'example' => '', ], ], 'description' => 'Response data', 'title' => '', 'example' => '', ], ], 'title' => '', 'description' => 'Response schema', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'AISearchResourceGetList', 'summary' => 'When you query structured resources in AISearch, you must specify a resource type. The supported types are Mini Program (miniapp) and product. If you provide a resource ID, the query returns the specified resource. If you do not provide a resource ID, the query returns all resources of that type by paging.', 'requestParamsDescription' => 'The type field is an enumeration. Only the listed values are valid. Using any other value will cause the API call to fail. More structured content types may be added in the future.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'energy:AISearchResourceGetList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"A8AEC6D9-A359-5169-BD1A-BD848BA60D65\\",\\n \\"data\\": {\\n \\"total\\": 68,\\n \\"currentPage\\": \\"1\\",\\n \\"pageSize\\": \\"20\\",\\n \\"items\\": [\\n \\" {\\\\\\"type\\\\\\":\\\\\\"miniapp\\\\\\",\\\\\\"score\\\\\\":0.4571971,\\\\\\"resourceId\\\\\\":\\\\\\"1512004139024243527680\\\\\\",\\\\\\"miniappId\\\\\\":\\\\\\"\\\\\\",\\\\\\"title\\\\\\":\\\\\\"Electronic Invoice\\\\\\",\\\\\\"version\\\\\\":\\\\\\"1.0.0\\\\\\",\\\\\\"description\\\\\\":\\\\\\"The E-Invoice mini-app supports setting up email/SMS delivery, querying issuance records, requesting and reissuing invoices, and downloading or printing PDF files.\\\\\\",\\\\\\"slogan\\\\\\":\\\\\\"E-Invoice mini-app\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"https://gw.alicdn.com/6000000000498-2-tps-200-200.png\\\\\\",\\\\\\"url\\\\\\":\\\\\\"https://app-intl.com/release/6592_v1.6.16_poc.zip\\\\\\",\\\\\\"detailDescription\\\\\\":null}\\"\\n ]\\n }\\n}","type":"json"}]', ], 'AISearchResourceUpdate' => [ 'summary' => 'Updates structured elements in an AISearch project. Supported element types include miniapps (miniapp) and products (product).', 'path' => '/api/v1/aiSearch/resource/update', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREenergyexpertK979RQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'type' => [ 'description' => 'The type of the structured element.', 'enumValueTitles' => ['product' => 'product', 'miniapp' => 'miniapp'], 'type' => 'string', 'required' => true, 'example' => 'miniapp', 'title' => '', ], 'resourceId' => ['description' => 'The resource ID of the structured element. This ID is a unique and immutable identifier for the resource in the database.', 'type' => 'string', 'required' => true, 'example' => 'WzMGQZwB7nQEs3Qk3ajH', 'title' => ''], 'data' => ['description' => 'Updates the information for the specified resource. Pass the fields to update in this parameter in JSON format. Fields that are not included are not modified.'."\n" ."\n" .'
'."\n" ."\n" .''."\n" ."\n" .'If the type is miniapp, the following fields can be updated:'."\n" ."\n" .''."\n" ."\n" .'- "miniappId": "The unique ID of the miniapp"'."\n" ."\n" .'- "title": "The name of the miniapp"'."\n" ."\n" .'- "version": "The version number"'."\n" ."\n" .'- "description": "A brief description",'."\n" ."\n" .'- "detailDesc": "A detailed description",'."\n" ."\n" .'- "slogan": "The slogan"'."\n" ."\n" .'- "icon": "The icon URL",'."\n" ."\n" .'- "url": "The miniapp URL"'."\n" ."\n" .'
'."\n" ."\n" .'
'."\n" ."\n" .''."\n" ."\n" .'If the type is product, the following fields can be updated:'."\n" ."\n" .''."\n" ."\n" .'- "title": "The product name"'."\n" ."\n" .'- "description": "The product description",'."\n" ."\n" .'- "icon": "The product icon URL",'."\n" ."\n" .'- "url": "The product URL",'."\n" ."\n" .'- "price": "The price",'."\n" ."\n" .'- "extra": "An extension field. This can be any key-value object."'."\n" ."\n" .'
', 'type' => 'any', 'required' => false, 'example' => '{'."\n" .' "title": "update title"'."\n" .' }', 'title' => ''], ], 'description' => 'Request parameters', 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'requestId' => ['description' => 'Id of the request', 'type' => 'string', 'title' => '', 'example' => 'FDE51A3B-09C0-57E5-96FC-31E85EEFF318'], 'data' => [ 'type' => 'object', 'properties' => [ 'type' => [ 'description' => 'The type of the structured element.', 'enumValueTitles' => ['product' => 'product', 'miniapp' => 'miniapp'], 'type' => 'string', 'example' => 'miniapp', 'title' => '', ], 'resourceId' => ['description' => 'The resource ID of the structured element. This ID is a unique and immutable identifier for the resource in the database.', 'type' => 'string', 'example' => 'WzMGQZwB7nQEs3Qk3ajH', 'title' => ''], ], 'description' => 'The data returned.', 'title' => '', 'example' => '', ], ], 'title' => '', 'description' => 'Schema of Response', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'AISearchResourceUpdate', 'requestParamsDescription' => 'The type field is an enumeration that supports only the specified values. If you specify a value outside the allowed range, the API call fails. Additional structured content types will be added as needed.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:AISearchResourceUpdate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"FDE51A3B-09C0-57E5-96FC-31E85EEFF318\\",\\n \\"data\\": {\\n \\"type\\": \\"miniapp\\",\\n \\"resourceId\\": \\"WzMGQZwB7nQEs3Qk3ajH\\"\\n }\\n}","type":"json"}]', ], 'AISearchStream' => [ 'path' => '/api/v1/aiSearch/searchStream', 'methods' => ['post'], 'schemes' => ['https', 'sse'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json', 'application/octet-stream'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREenergyexpertK979RQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'question' => ['description' => 'User question.', 'type' => 'string', 'required' => true, 'example' => '“my net is slow, what can I do?”', 'title' => ''], 'message' => [ 'type' => 'array', 'items' => ['description' => 'Historical conversation record.', '$ref' => '#/components/schemas/AISearchMessageItem', 'required' => false, 'title' => '', 'example' => ''], 'description' => 'List of historical conversation records.', 'required' => false, 'title' => '', 'example' => '', ], 'folderId' => ['description' => 'Folder ID. The knowledge base retrieval feature searches for Q\\&A content within the current folder and its subfolders.', 'type' => 'string', 'required' => true, 'example' => '1a851c4a-1d65-11ef-99a7-ssfsfdd', 'title' => ''], 'resourceTypeNeeded' => [ 'type' => 'array', 'items' => [ 'description' => 'Retrieval resource type.', 'enumValueTitles' => ['product' => 'product', 'miniapp' => 'miniapp', 'text' => 'text'], 'type' => 'string', 'required' => false, 'example' => '“text”', 'title' => '', ], 'description' => 'This list supports three enumeration values: "text" (for knowledge base retrieval), "miniapp" (for miniapp retrieval in structured elements), and "product" (for product retrieval in structured elements). If not specified, all three resource types are retrieved by default.', 'required' => false, 'title' => '', 'example' => '', ], ], 'description' => 'Request body parameters.', 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'requestId' => ['description' => 'ID of the request', 'type' => 'string', 'title' => '', 'example' => '3F21E33A-42F8-50BC-89DE-DC0B96B967DD'], 'data' => ['description' => 'Returned data.', '$ref' => '#/components/schemas/AISearchStreamItem', 'title' => '', 'example' => ''], ], 'title' => '', 'description' => 'Schema of Response', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'AISearchStream', 'summary' => 'The AISearch Q&A interface answers customer questions using structured element information from the database and content retrieved from the knowledge base.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:AISearchStream', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"3F21E33A-42F8-50BC-89DE-DC0B96B967DD\\",\\n \\"data\\": {\\n \\"type\\": \\"text\\",\\n \\"content\\": \\"“network problem can be”\\",\\n \\"params\\": \\" [{\\\\\\"type\\\\\\": \\\\\\"miniapp\\\\\\", \\\\\\"score\\\\\\": 0.7404107, \\\\\\"resourceId\\\\\\": \\\\\\"ja9bQZwBg5VwSU7n5Ijs\\\\\\", \\\\\\"miniappId\\\\\\": null, \\\\\\"title\\\\\\": \\\\\\"更新后的智能搜索测试助手\\\\\\", \\\\\\"version\\\\\\": \\\\\\"1.0.5\\\\\\", \\\\\\"description\\\\\\": \\\\\\"这是一个用于测试 AI 搜索功能的演示小程序\\\\\\", \\\\\\"slogan\\\\\\": \\\\\\"搜索即所得\\\\\\", \\\\\\"icon\\\\\\": \\\\\\"https://img.alicdn.com/test_icon.png\\\\\\", \\\\\\"url\\\\\\": null, \\\\\\"detailDescription\\\\\\": \\\\\\"该小程序提供了完整的 AI 搜索链路测试。\\\\\\"}]\\"\\n }\\n}","type":"json"}]', ], 'AddFolder' => [ 'summary' => 'Adds a folder and returns an entity that contains basic information about the folder.', 'path' => '/api/v1/aidoc/folder/add', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREenergyexpertK979RQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'folderName' => ['description' => 'The name of the folder.', 'type' => 'string', 'required' => true, 'example' => '“abc” “1234”', 'title' => ''], 'parentFolderId' => ['description' => 'The ID of the parent folder. A value of 0 indicates the root directory.', 'type' => 'string', 'required' => true, 'example' => '"0" :parent folder is root'."\n" .'"4b648f6d11344f258df876cbdc24dc1f" : folderId', 'title' => ''], ], 'required' => false, 'description' => 'The request body.', 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'requestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'E38E561C-B996-0E19-8DBC-A218AAE17FBA'], 'data' => ['description' => 'The data structure of the created folder.', '$ref' => '#/components/schemas/FolderItem', 'title' => '', 'example' => ''], ], 'title' => '', 'description' => 'Schema of Response', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'AddFolder', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'energy:AddFolder', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"E38E561C-B996-0E19-8DBC-A218AAE17FBA\\",\\n \\"data\\": {\\n \\"folderId\\": \\"4b648f6d11344f258df876cbdc24dc1f\\",\\n \\"folderNum\\": 2,\\n \\"docCount\\": 0,\\n \\"folderName\\": \\"“abc” “1234”\\",\\n \\"parentFolderId\\": \\"\\\\\\"0\\\\\\" :parent folder is root\\\\n\\\\\\"4b648f6d11344f258df876cbdc24dc1f\\\\\\" : folderId\\",\\n \\"folderDefault\\": 0,\\n \\"currentLevel\\": 1,\\n \\"syncStatus\\": -1,\\n \\"syncParsingStatus\\": -1,\\n \\"ossDomain\\": \\"aidoc-energy-api-example.oss-cn-hangzhou.aliyuncs.com\\\\t\\",\\n \\"ossUpdateBy\\": \\"1696462764375572\\",\\n \\"taskId\\": 0,\\n \\"resourcePath\\": \\"folder/manual/\\",\\n \\"storageType\\": 0,\\n \\"ossPath\\": \\"test/\\",\\n \\"subFolderList\\": [\\n {\\n \\"folderId\\": \\"4b648f6d11344f258df876cbdc24dc1f\\",\\n \\"folderNum\\": 2,\\n \\"docCount\\": 0,\\n \\"folderName\\": \\"“abc” “1234”\\",\\n \\"parentFolderId\\": \\"\\\\\\"0\\\\\\" :parent folder is root\\\\n\\\\\\"4b648f6d11344f258df876cbdc24dc1f\\\\\\" : folderId\\",\\n \\"folderDefault\\": 0,\\n \\"currentLevel\\": 1,\\n \\"syncStatus\\": -1,\\n \\"syncParsingStatus\\": -1,\\n \\"ossDomain\\": \\"aidoc-energy-api-example.oss-cn-hangzhou.aliyuncs.com\\\\t\\",\\n \\"ossUpdateBy\\": \\"1696462764375572\\",\\n \\"taskId\\": 0,\\n \\"resourcePath\\": \\"folder/manual/\\",\\n \\"storageType\\": 0,\\n \\"ossPath\\": \\"test/\\",\\n \\"subFolderList\\": [\\n {\\n \\"folderId\\": \\"4b648f6d11344f258df876cbdc24dc1f\\",\\n \\"folderNum\\": 2,\\n \\"docCount\\": 0,\\n \\"folderName\\": \\"“abc” “1234”\\",\\n \\"parentFolderId\\": \\"\\\\\\"0\\\\\\" :parent folder is root\\\\n\\\\\\"4b648f6d11344f258df876cbdc24dc1f\\\\\\" : folderId\\",\\n \\"folderDefault\\": 0,\\n \\"currentLevel\\": 1,\\n \\"syncStatus\\": -1,\\n \\"syncParsingStatus\\": -1,\\n \\"ossDomain\\": \\"aidoc-energy-api-example.oss-cn-hangzhou.aliyuncs.com\\\\t\\",\\n \\"ossUpdateBy\\": \\"1696462764375572\\",\\n \\"taskId\\": 0,\\n \\"resourcePath\\": \\"folder/manual/\\",\\n \\"storageType\\": 0,\\n \\"ossPath\\": \\"test/\\",\\n \\"subFolderList\\": []\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', ], 'AnalyzeVlRealtime' => [ 'summary' => 'Extracts information from a VL in real time.', 'path' => '/api/v1/aidoc/document/analyzeVlRealtime', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREenergyexpertK979RQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'fileUrl', 'in' => 'query', 'schema' => ['description' => 'Choose either fileUrl or fileUrlObject.'."\n" ."\n" .'- fileUrl: The URL of a single document. The document can have up to 1,000 pages and be up to 100 MB in size.'."\n" ."\n" .'- fileUrlObject: The local file to upload when you call the API. The document can have up to 1,000 pages and be up to 100 MB in size.'."\n" ."\n" .'> Supported formats:'."\n" .'>'."\n" .'> - bmp, jpe, jpg, jpeg, png, tif, tiff, webp, heic', 'type' => 'string', 'isFileTransferUrl' => true, 'required' => false, 'example' => 'fileUrl: https://example.com/example.pdf'."\n" .'fileUrlObject: FileInputStream generated from a local file', 'title' => ''], ], [ 'name' => 'fileName', 'in' => 'query', 'schema' => ['description' => 'The filename must include the file extension.', 'type' => 'string', 'required' => false, 'example' => 'test.png', 'title' => ''], ], [ 'name' => 'templateId', 'in' => 'query', 'schema' => ['description' => 'The unique ID of the extraction template, which specifies the content to extract from the document. To obtain the ID, log on to the template management page and configure a template.', 'type' => 'string', 'required' => false, 'example' => '572d24k0c95a', 'title' => ''], ], [ 'name' => 'language', 'in' => 'query', 'schema' => ['description' => 'The unique ID of the extraction template, which specifies the content to extract from the document. To obtain the ID, log on to the template management page and configure a template.', 'type' => 'string', 'required' => false, 'example' => 'zh-CN', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response object.', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => [ 'description' => 'The response data.', 'type' => 'object', 'properties' => [ 'kvListInfo' => [ 'description' => 'The document extraction results.', 'type' => 'array', 'items' => [ 'description' => 'An object that contains an extracted key-value pair.', 'type' => 'object', 'properties' => [ 'keyName' => ['description' => 'The name of the key.', 'type' => 'string', 'example' => '租户', 'title' => ''], 'keyValue' => ['description' => 'The value of the key.', 'type' => 'string', 'example' => '阿里云xxx有限公司', 'title' => ''], 'context' => [ 'description' => 'The extracted content.', 'type' => 'object', 'properties' => [ 'key' => [ 'description' => 'Details of the extracted information for the key.', 'type' => 'array', 'items' => ['description' => 'Details of the extracted information for the key.', '$ref' => '#/components/schemas/ContentItem', 'example' => 'bhv_trace_info_invalid', 'title' => ''], 'title' => '', 'example' => '', ], 'value' => [ 'description' => 'Details of the extracted information for the value.', 'type' => 'array', 'items' => ['description' => 'Details of the extracted information for the value.', '$ref' => '#/components/schemas/ContentItem', 'example' => '[{\'Id\': \'st-265b3d6a-91765\', \'Name\': \'Sheet3\'}, {\'Id\': \'kgqie6hm\', \'Name\': \'Sheet1\'}, {\'Id\': \'st-26383f2c-38267\', \'Name\': \'Sheet2\'}]', 'title' => ''], 'title' => '', 'example' => '', ], 'confidence' => [ 'description' => 'The confidence score.', 'type' => 'object', 'properties' => [ 'keyConfidence' => ['description' => 'The confidence score for the key.', 'type' => 'number', 'format' => 'double', 'example' => '0.9994202852249146', 'title' => ''], 'valueConfidence' => ['description' => 'The confidence score for the value.', 'type' => 'number', 'format' => 'double', 'example' => '0.9794202852249146', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": {\\n \\"kvListInfo\\": [\\n {\\n \\"keyName\\": \\"租户\\",\\n \\"keyValue\\": \\"阿里云xxx有限公司\\",\\n \\"context\\": {\\n \\"key\\": [\\n {\\n \\"score\\": 0.45,\\n \\"type\\": \\"img\\",\\n \\"extInfo\\": [\\n {\\n \\"alignment\\": \\"center\\",\\n \\"index\\": 8,\\n \\"level\\": 2,\\n \\"pageNum\\": [\\n 1\\n ],\\n \\"pos\\": [\\n {\\n \\"x\\": 1,\\n \\"y\\": 2\\n }\\n ],\\n \\"subType\\": \\"picture\\",\\n \\"text\\": \\"content\\",\\n \\"type\\": \\"table\\",\\n \\"uniqueId\\": \\"88c712db271443dd4e3697cb9b5dab3a\\"\\n }\\n ],\\n \\"text\\": \\"content\\"\\n }\\n ],\\n \\"value\\": [\\n {\\n \\"score\\": 0.45,\\n \\"type\\": \\"img\\",\\n \\"extInfo\\": [\\n {\\n \\"alignment\\": \\"center\\",\\n \\"index\\": 8,\\n \\"level\\": 2,\\n \\"pageNum\\": [\\n 1\\n ],\\n \\"pos\\": [\\n {\\n \\"x\\": 1,\\n \\"y\\": 2\\n }\\n ],\\n \\"subType\\": \\"picture\\",\\n \\"text\\": \\"content\\",\\n \\"type\\": \\"table\\",\\n \\"uniqueId\\": \\"88c712db271443dd4e3697cb9b5dab3a\\"\\n }\\n ],\\n \\"text\\": \\"content\\"\\n }\\n ],\\n \\"confidence\\": {\\n \\"keyConfidence\\": 0.9994202852249146,\\n \\"valueConfidence\\": 0.9794202852249146\\n }\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'AnalyzeVlRealtime', 'description' => 'You can upload a document URL to retrieve real-time results from VL.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AnalyzeVlRealtime'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:AnalyzeVlRealtime', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'BatchSaveInstructionStatus' => [ 'summary' => 'Provides feedback on the execution status of policies.', 'path' => '/api/v1/carbon/hvac/batchSaveInstructionStatus', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREenergyexpertYUWSCO'], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.', 'type' => 'object', 'properties' => [ 'factoryId' => ['description' => 'The factory ID.', 'type' => 'string', 'required' => true, 'example' => '***', 'title' => ''], 'pKey' => ['description' => 'The source of the call.', 'type' => 'string', 'required' => false, 'example' => 'ib', 'title' => ''], 'statusList' => ['description' => 'The list of instructions.', 'type' => 'string', 'example' => '['."\n" .'  {'."\n" .'    "systemId": "system1",'."\n" .'    "strategyId": "10324",'."\n" .'    "controlId": "aaaaa-bbbbbb-cccc",'."\n" .'    "propertyCode": "startUp",'."\n" .'    "propertyValue": "20.1",'."\n" .'    "sendTimestamp": "1000000001",'."\n" .'    "executeTimestamp": "1000000008",'."\n" .'    "status": "Auto-executed",'."\n" .'    "remark": "Execution reason"'."\n" .'  },'."\n" .'  {'."\n" .'    "systemId": "system1",'."\n" .'    "strategyId": "10324",'."\n" .'    "controlId": "aaaaa-bbbbbb-cccc",'."\n" .'    "propertyCode": "startUp",'."\n" .'    "propertyValue": "20.1",'."\n" .'    "sendTimestamp": "1000000001",'."\n" .'    "executeTimestamp": "1000000008",'."\n" .'    "status": "Auto-executed",'."\n" .'    "remark": "Execution reason"'."\n" .'  }'."\n" .']', 'required' => false, 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => [ 'description' => 'The result of the operation.', 'enumValueTitles' => ['成功' => 'true', '失败' => 'false'], 'type' => 'boolean', 'example' => 'true', 'title' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": true\\n}","type":"json"}]', 'title' => 'BatchSaveInstructionStatus', 'changeSet' => [ ['createdAt' => '2025-02-12T03:32:23.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchSaveInstructionStatus'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:BatchSaveInstructionStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'machine', ], 'BatchUpdateSystemRunningPlan' => [ 'path' => '/api/v1/carbon/hvac/batchUpdateSystemRunningPlan', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREenergyexpertXYPXBQ'], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request parameters.', 'type' => 'object', 'properties' => [ 'factoryId' => ['description' => 'The factory ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '***'], 'systemId' => ['description' => 'The site ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'system1'], 'seasonMode' => [ 'description' => 'The season mode, such as summer or winter.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'enumValueTitles' => ['冬季' => '1', '夏季' => '0'], 'title' => '', 'example' => '0', ], 'dateType' => [ 'description' => 'The date type, such as weekday or holiday.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'enumValueTitles' => ['工作日' => '0', '节假日' => '1'], 'title' => '', 'example' => '0', ], 'startTime' => ['description' => 'The start time of the running plan.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '2024-08-21'], 'endTime' => ['description' => 'The end time of the running plan.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '2024-08-30'], 'workingStartTime' => ['description' => 'The start time of the target period.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '05:00:00'], 'workingEndTime' => ['description' => 'The end time of the target period.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '05:30:00'], 'earliestStartupTime' => ['description' => 'The earliest startup time.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '05:00:00'], 'latestShutdownTime' => ['description' => 'The latest shutdown time.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '05:30:00'], 'minTem' => ['description' => 'The minimum target temperature.', 'type' => 'number', 'format' => 'double', 'required' => false, 'title' => '', 'example' => '20.1'], 'maxTem' => ['description' => 'The maximum target temperature.', 'type' => 'number', 'format' => 'double', 'required' => false, 'title' => '', 'example' => '25.3'], 'maxCarbonDioxide' => ['description' => 'The maximum carbon dioxide concentration.', 'type' => 'number', 'format' => 'double', 'required' => false, 'title' => '', 'example' => '37.1'], 'controlType' => [ 'description' => 'The control mode, such as automatic or manual.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'enumValueTitles' => ['手动' => '1', '自动' => '0'], 'title' => '', 'example' => '0', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => [ 'description' => 'The returned data.', 'type' => 'boolean', 'enumValueTitles' => ['成功' => 'true', '失败' => 'false'], 'title' => '', 'example' => 'true', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'BatchUpdateSystemRunningPlan', 'summary' => 'Updates the running plans for multiple air conditioner sites in a batch.', 'changeSet' => [ ['createdAt' => '2025-02-12T03:32:23.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchUpdateSystemRunningPlan'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:BatchUpdateSystemRunningPlan', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": true\\n}","type":"json"}]', ], 'Chat' => [ 'summary' => 'This API provides a knowledge base service that answers questions about documents in a selected folder, using the session\'s chat history as context.', 'path' => '/api/v2/aidoc/document/chat', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREenergyexpertK979RQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.', 'type' => 'object', 'properties' => [ 'sessionId' => ['description' => '- The Q\\&A session ID.'."\n" ."\n" .'- You can get previous sessions by calling the GetChatSessionList API.'."\n" ."\n" .'- You can also create a new session by calling the CreateChatSession API.', 'type' => 'string', 'required' => true, 'example' => 'bfce2248-1546-4298-8bcf-70ac26e69646', 'title' => ''], 'question' => ['description' => 'The content of the question.', 'type' => 'string', 'example' => 'How to obtain knowledge base Q&A documents', 'required' => true, 'title' => ''], 'documentIds' => [ 'type' => 'array', 'items' => ['description' => '- The document ID.'."\n" ."\n" .'- You can get this ID from the SaaS console or by calling other APIs in the SDK, such as the DetailDocument API.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3456', 'title' => ''], 'description' => 'A list of document IDs to use for the Q\\&A.'."\n" .'>If you use this parameter, the corresponding session must have been created without a folder ID.>', 'title' => '', 'example' => '', 'required' => false, ], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response body.', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => ['description' => 'Detailed Q\\&A information.', '$ref' => '#/components/schemas/ChatItem', 'example' => 'true', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": {\\n \\"question\\": \\"How to use the knowledge base.\\",\\n \\"answer\\": \\"No related content found.\\",\\n \\"createTime\\": 1747280158000,\\n \\"refDocList\\": [\\n {\\n \\"docName\\": \\"a.pdf\\",\\n \\"sourceType\\": \\"doc\\",\\n \\"docUrl\\": \\"https://carbon-aidoc.oss-accelerate.aliyuncs.com/jobs/42dbc7-3a9e-4e18-8939-3fd2d247bd3c/document/97178d94c75941d3b932883c810c5e.pdf\\",\\n \\"docInfo\\": {\\n \\"pages\\": 23,\\n \\"pageListInfo\\": [\\n {\\n \\"imageWidth\\": 23,\\n \\"imageUrl\\": \\"2\\",\\n \\"pageIdCurDoc\\": 2,\\n \\"angle\\": 0,\\n \\"excelParseResult\\": \\"null\\",\\n \\"wordParseResult\\": \\"null\\",\\n \\"pdfParseResult\\": \\"null\\",\\n \\"imageHeight\\": 22\\n }\\n ]\\n },\\n \\"originDocName\\": \\"a.doc\\",\\n \\"pageNum\\": [\\n {\\n \\"pos\\": [\\n [\\n {\\n \\"x\\": 22,\\n \\"y\\": 86\\n }\\n ]\\n ],\\n \\"num\\": 12\\n }\\n ],\\n \\"originDocUrl\\": \\"https://carbon-aidoc.oss-accelerate.aliyuncs.com/jobs/42dbc7-3a9e-4e18-8939-3fd2d247bd3c/document/97178d94c75941d3b932883c810c5e.doc\\"\\n }\\n ],\\n \\"folderName\\": \\"deafult folder\\",\\n \\"folderId\\": \\"7708fddb-21dc-4403-a4ea-5b94eccce4c3\\"\\n }\\n}","type":"json"}]', 'title' => 'Document Q\\&A', 'description' => '- The API provides a Q\\&A service scoped to the folder selected for the session.'."\n" ."\n" .'- You can get the sessionId by calling the GetChatSessionList API.'."\n" ."\n" .'- You can also create a new session by calling the CreateChatSession API.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '1', 'countWindow' => 1, 'regionId' => '*', 'api' => 'Chat'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:Chat', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'machine', ], 'ChatStream' => [ 'summary' => 'This operation performs streaming Q&A on selected documents in a knowledge base, using the conversation history from a specified session as context.', 'path' => '/api/v2/aidoc/document/chat/stream', 'methods' => ['post'], 'schemes' => ['https', 'sse'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json', 'application/octet-stream'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREenergyexpertK979RQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.', 'type' => 'object', 'properties' => [ 'sessionId' => ['description' => '- The Q\\&A session ID.'."\n" ."\n" .'- Call the `GetChatSessionList` operation to retrieve the IDs of existing sessions.'."\n" ."\n" .'- Alternatively, call the `CreateChatSession` operation to create a new session.', 'type' => 'string', 'required' => true, 'example' => 'bfce2248-1546-4298-8bcf-70ac26e69646', 'title' => ''], 'question' => ['description' => 'The question or prompt.', 'type' => 'string', 'example' => 'How to obtain knowledge base Q&A documents', 'required' => true, 'title' => ''], 'documentIds' => [ 'type' => 'array', 'items' => ['description' => '- The document ID.'."\n" ."\n" .'- You can obtain the document ID from the SaaS page or by calling other SDK operations, such as `DetailDocument`.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3456', 'title' => ''], 'description' => '- A list of document IDs for the Q\\&A.'."\n" ."\n\n" .' >'."\n" ."\n" .' If you specify document IDs, ensure the `sessionId` you provide is not associated with a folder. The session must have been created with an empty folder ID.'."\n" ."\n" .' >', 'title' => '', 'example' => '', 'required' => false, ], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The returned result.', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => ['description' => 'The details of the Q\\&A exchange.', '$ref' => '#/components/schemas/ChatItem', 'title' => '', 'example' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": {\\n \\"question\\": \\"How to use the knowledge base.\\",\\n \\"answer\\": \\"No related content found.\\",\\n \\"createTime\\": 1747280158000,\\n \\"refDocList\\": [\\n {\\n \\"docName\\": \\"a.pdf\\",\\n \\"sourceType\\": \\"doc\\",\\n \\"docUrl\\": \\"https://carbon-aidoc.oss-accelerate.aliyuncs.com/jobs/42dbc7-3a9e-4e18-8939-3fd2d247bd3c/document/97178d94c75941d3b932883c810c5e.pdf\\",\\n \\"docInfo\\": {\\n \\"pages\\": 23,\\n \\"pageListInfo\\": [\\n {\\n \\"imageWidth\\": 23,\\n \\"imageUrl\\": \\"2\\",\\n \\"pageIdCurDoc\\": 2,\\n \\"angle\\": 0,\\n \\"excelParseResult\\": \\"null\\",\\n \\"wordParseResult\\": \\"null\\",\\n \\"pdfParseResult\\": \\"null\\",\\n \\"imageHeight\\": 22\\n }\\n ]\\n },\\n \\"originDocName\\": \\"a.doc\\",\\n \\"pageNum\\": [\\n {\\n \\"pos\\": [\\n [\\n {\\n \\"x\\": 22,\\n \\"y\\": 86\\n }\\n ]\\n ],\\n \\"num\\": 12\\n }\\n ],\\n \\"originDocUrl\\": \\"https://carbon-aidoc.oss-accelerate.aliyuncs.com/jobs/42dbc7-3a9e-4e18-8939-3fd2d247bd3c/document/97178d94c75941d3b932883c810c5e.doc\\"\\n }\\n ],\\n \\"folderName\\": \\"deafult folder\\",\\n \\"folderId\\": \\"7708fddb-21dc-4403-a4ea-5b94eccce4c3\\"\\n }\\n}","type":"json"}]', 'title' => 'Streaming Document Q\\&A', 'description' => '- This operation answers questions based on the documents scoped to the specified session.'."\n" ."\n" .'- Call the `GetChatSessionList` operation to obtain the session ID.'."\n" ."\n" .'- Alternatively, call the `CreateChatSession` operation to create a new session.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:ChatStream', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'machine', ], 'CreateChatSession' => [ 'summary' => 'Creates a chat session for knowledge base question answering. Each session maintains its own Q&A history as context to provide more accurate answers.', 'path' => '/api/v2/aidoc/document/chat/session/create', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREenergyexpertK979RQ'], 'autoTest' => false, 'notSupportAutoTestReason' => '影响性能', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request parameter.', 'type' => 'object', 'properties' => [ 'userId' => ['description' => 'The unique ID of the user. If not specified, the ID of the account that calls the SDK is used by default.', 'type' => 'string', 'required' => false, 'example' => '12344', 'title' => ''], 'folderId' => ['description' => '- The folder ID. The knowledge base Q\\&A feature retrieves Q\\&A pairs from the specified folder and its subfolders.'."\n" ."\n" .' >'."\n" ."\n" .' If you set this parameter to an empty string, Q\\&A is performed based on a custom file list. In this case, you must use the Chat or ChatStream operation and pass a list of file IDs in the request. For more information, see the Chat and ChatStream API documentation.'."\n" ."\n" .' >', 'type' => 'string', 'required' => true, 'example' => '1a851c4a-1d65-11ef-99a7-ssfsfdd', 'title' => ''], 'name' => ['description' => 'The name of the current session.', 'type' => 'string', 'required' => true, 'example' => 'analyzer_1744684195', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The returned result.', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '9bc20a5a-b26b-4c28-922a-7cd10b61f96f'], 'data' => [ 'description' => 'The returned data structure.', 'type' => 'object', 'properties' => [ 'sessionId' => ['description' => 'The session ID, which tracks multiple Q\\&A interactions for the same user.', 'type' => 'string', 'example' => '596ac39c-8855-4128-bad7-78aebeff48fc', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"9bc20a5a-b26b-4c28-922a-7cd10b61f96f\\",\\n \\"data\\": {\\n \\"sessionId\\": \\"596ac39c-8855-4128-bad7-78aebeff48fc\\"\\n }\\n}","type":"json"}]', 'title' => 'Create Q\\&A Session', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateChatSession'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:CreateChatSession', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'DeleteDocument' => [ 'path' => '/api/v1/aidoc/document/delete', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREenergyexpertK979RQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'taskId', 'in' => 'query', 'schema' => ['description' => 'The task ID of the file to delete. You can obtain this ID from the console or from other API operations.', 'type' => 'string', 'required' => false, 'example' => '74ec62f4f4e74e5882d4086a40f2b9c6', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'requestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => ['description' => 'Indicates whether the deletion was successful. Valid values: true and false.', 'type' => 'boolean', 'title' => '', 'example' => ''], ], 'title' => '', 'description' => 'The response data.', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'DeleteDocument', 'summary' => 'Deletes a parsed file by task ID. Returns true on success, or false on failure.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'energy:DeleteDocument', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": false\\n}","type":"json"}]', ], 'DeleteFolder' => [ 'path' => '/api/v1/aidoc/folder/delete', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREenergyexpertK979RQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'folderId', 'in' => 'query', 'schema' => ['description' => 'The ID of the folder.', 'type' => 'string', 'required' => false, 'example' => '53c0412ea5c343dcad324137622210b3', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'requestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => ['description' => 'Returns \\`true\\` if the folder is successfully deleted.', 'type' => 'boolean', 'title' => '', 'example' => ''], ], 'title' => '', 'description' => 'Schema of Response', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'DeleteFolder', 'summary' => 'Deletes a folder. If the operation is successful, a Boolean value of `true` is returned. If the folder does not exist, a 4xx error is returned with the message "The folder does not exist."', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'energy:DeleteFolder', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": false\\n}","type":"json"}]', ], 'DetailDocument' => [ 'summary' => 'Retrieves the details of a document by its task ID.', 'path' => '/api/v1/aidoc/document/detail', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREenergyexpertK979RQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'taskId', 'in' => 'query', 'schema' => ['description' => 'The task ID. Obtain this ID from the product\'s user interface or other API operations.', 'type' => 'string', 'required' => false, 'example' => '74ec62f4f4e74e5882d4086a40f2b9c6', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'requestId' => ['description' => 'Id of the request', 'type' => 'string', 'title' => '', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => ['description' => 'The data returned.', '$ref' => '#/components/schemas/DocumentDetailItem', 'example' => 'true', 'title' => ''], ], 'title' => '', 'description' => 'Schema of Response', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'DetailDocument', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'energy:DetailDocument', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": {\\n \\"id\\": 6731,\\n \\"folderId\\": \\"adafb91d4e014e2eb4d0a5375b547115\\",\\n \\"folderName\\": \\"123/abc/ 文件夹1\\",\\n \\"jobId\\": \\"74ec62f4f4e74e5882d4086a40f2b9c6\\",\\n \\"jobStatus\\": \\"PARSING_COMPLETED\\",\\n \\"docName\\": \\"123/abc/ 文档1.pdf\\",\\n \\"originDocName\\": \\"123/abc/ 文档1.pdf/.doc/docx/csv/xlsx/txt\\",\\n \\"docUrl\\": \\"https://carbon-aidoc.oss-cn-hangzhou.aliyuncs.com/jobs/jobid/document/documentid/docName\\",\\n \\"originDocUrl\\": \\"https://carbon-aidoc.oss-cn-hangzhou.aliyuncs.com/jobs/jobid/document/documentid/originDocName\\",\\n \\"docHash\\": \\"5335c8828ccf735a500ed636590c713a94daf6cdacc90237733035cc5a152afb_1760513801010\\",\\n \\"createTime\\": \\"2025-09-08T17:04:28.000+08:00\\",\\n \\"updateTime\\": \\"2025-09-08T17:04:28.000+08:00\\"\\n }\\n}","type":"json"}]', ], 'EditProhibitedDevices' => [ 'path' => '/api/v1/carbon/hvac/editProhibitedDevices', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREenergyexpertYUWSCO'], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.', 'type' => 'object', 'properties' => [ 'factoryId' => ['description' => 'The factory ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '***'], 'systemId' => ['description' => 'The site ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'system1'], 'hvacDeviceConfigVOList' => [ 'description' => 'The list of device configurations.', 'type' => 'array', 'items' => [ 'description' => 'The device configuration object.', 'type' => 'object', 'properties' => [ 'deviceName' => ['description' => 'The device name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'name1'], 'deviceId' => ['description' => 'The device ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'id1'], 'deviceType' => [ 'description' => 'The device type. Enter the number, not the text before the colon.', 'type' => 'string', 'required' => true, 'enumValueTitles' => ['空调机组' => '6', '锅炉' => '7', '冷机' => '1', '冷却塔' => '2', '水泵' => '3', '室内环境' => '4'], 'title' => '', 'example' => '1', ], 'isForbidden' => [ 'description' => 'Specifies whether to disable the device. Valid values: 1 and 0.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'enumValueTitles' => ['不禁用' => '0', '是禁用' => '1'], 'title' => '', 'example' => '1', ], 'isUnfavorableArea' => ['description' => 'Specifies whether the device is in an unfavorable area. Valid values: 1 and 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '1'], 'buildingId' => ['description' => 'The building ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'build_01'], 'floorId' => ['description' => 'The floor ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'floor_01'], 'fenceId' => ['description' => 'The fence ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'fence_01'], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => true, 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '9bc20a5a-b26b-4c28-922a-7cd10b61f96f'], 'data' => [ 'description' => 'The returned data.', 'type' => 'boolean', 'enumValueTitles' => ['成功' => 'true', '失败' => 'false'], 'title' => '', 'example' => 'true', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'EditProhibitedDevices', 'summary' => 'Edits the list of prohibited devices.', 'requestParamsDescription' => 'The \\`deviceType\\` and \\`isForbidden\\` parameters are required. The \\`isUnfavorableArea\\` parameter is optional. Valid values for \\`deviceType\\` are \\`1\\` (water cooled chiller), \\`2\\` (cooling tower), \\`3\\` (water pump), \\`4\\` (indoor environment), \\`6\\` (air handling unit), and \\`7\\` (boiler). If \\`deviceType\\` is \\`1\\`, \\`2\\`, \\`3\\`, \\`6\\`, or \\`7\\`, the \\`deviceId\\` parameter is required. Do not specify the \\`buildingId\\`, \\`floorId\\`, or \\`fenceId\\` parameters. If \\`deviceType\\` is \\`4\\`, the \\`buildingId\\`, \\`floorId\\`, and \\`fenceId\\` parameters are required. Do not specify the \\`deviceId\\` or \\`deviceName\\` parameters.', 'changeSet' => [ ['createdAt' => '2025-02-12T03:32:23.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EditProhibitedDevices'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:EditProhibitedDevices', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"9bc20a5a-b26b-4c28-922a-7cd10b61f96f\\",\\n \\"data\\": true\\n}","type":"json"}]', ], 'EditUnfavorableAreaDevices' => [ 'path' => '/api/v1/carbon/hvac/editUnfavorableAreaDevices', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREenergyexpertYUWSCO'], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.', 'type' => 'object', 'properties' => [ 'factoryId' => ['description' => 'The factory ID.', 'type' => 'string', 'required' => true, 'example' => '***', 'title' => ''], 'systemId' => ['description' => 'The site ID.', 'type' => 'string', 'required' => true, 'example' => 'system1', 'title' => ''], 'hvacDeviceConfigVOList' => [ 'description' => 'The list of device configurations.', 'type' => 'array', 'items' => [ 'description' => 'The device configuration object.', 'type' => 'object', 'properties' => [ 'deviceName' => ['description' => 'The device name.', 'type' => 'string', 'required' => false, 'example' => 'name1', 'title' => ''], 'deviceId' => ['description' => 'The device ID.', 'type' => 'string', 'required' => false, 'example' => 'id1', 'title' => ''], 'deviceType' => [ 'description' => 'The device type. Enter the enumeration value.', 'enumValueTitles' => ['空调机组' => '6', '锅炉' => '7', '冷机' => '1', '冷却塔' => '2', '水泵' => '3', '室内环境' => '4'], 'type' => 'string', 'required' => true, 'example' => '1', 'title' => '', ], 'isForbidden' => [ 'description' => 'Specifies whether the device is disabled. Valid values: 1 and 0.', 'enumValueTitles' => ['不是禁用设备' => '0', '是禁用设备' => '1'], 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => '', ], 'isUnfavorableArea' => [ 'description' => 'Specifies whether the device is in an unfavorable area. Valid values: 1 and 0.', 'enumValueTitles' => ['是不利区' => '1', '不是不利区' => '0'], 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => '', ], 'buildingId' => ['description' => 'The building ID.', 'type' => 'string', 'required' => false, 'example' => 'buildingId1', 'title' => ''], 'floorId' => ['description' => 'The floor ID.', 'type' => 'string', 'required' => false, 'example' => 'floorId2', 'title' => ''], 'fenceId' => ['description' => 'The fence ID.', 'type' => 'string', 'required' => false, 'example' => 'fenceId1', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => true, 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => [ 'description' => 'The returned data.', 'enumValueTitles' => ['成功' => 'true', '失败' => 'false'], 'type' => 'boolean', 'example' => 'true', 'title' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'EditUnfavorableAreaDevices', 'summary' => 'Edits devices in unfavorable areas.', 'requestParamsDescription' => 'The deviceType and isUnfavorableArea parameters are required. Do not specify the isForbidden parameter. Valid values for deviceType are 1 (water cooled chiller), 2 (cooling tower), 3 (water pump), 4 (indoor environment), 6 (air conditioning unit), and 7 (boiler). If deviceType is 1, 2, 3, 6, or 7, the deviceId parameter is required. Do not specify the buildingId, floorId, or fenceId parameters. If deviceType is 4, the buildingId, floorId, and fenceId parameters are required. Do not specify the deviceId or deviceName parameters.', 'changeSet' => [ ['createdAt' => '2025-02-12T03:32:23.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EditUnfavorableAreaDevices'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:EditUnfavorableAreaDevices', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": true\\n}","type":"json"}]', ], 'GenerateResult' => [ 'summary' => 'Generates a report for a specified carbon footprint.', 'path' => '/api/v1/carbon/footprint/result/generate', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request parameters.', 'type' => 'object', 'properties' => [ 'code' => ['description' => 'The enterprise code.', 'type' => 'string', 'required' => true, 'example' => 'C-20080808-1', 'title' => ''], 'productId' => ['description' => 'The product ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1024', 'title' => ''], 'productType' => ['description' => 'The product type. Set this to \\`1\\` to request a product carbon footprint, or \\`5\\` to request a supply chain carbon footprint.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID. This is a unique value for each request. Use this ID to troubleshoot issues.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => ['description' => 'The returned data. A value of \\`true\\` indicates that the request was successful. A value of \\`false\\` indicates that the request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": true\\n}","type":"json"}]', 'title' => 'GenerateResult', 'description' => 'Creates a task to generate a carbon footprint report for a specified product. You can call a query operation to check the status of the task. After the report is generated, you can call other query operations to view the results.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GenerateResult'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GenerateResult', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'GetAreaElecConstitute' => [ 'summary' => 'Retrieves analytical data for power stations.', 'path' => '/api/v1/carbon/emission/analysis/elec/area', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.', 'type' => 'object', 'properties' => [ 'code' => ['description' => 'The enterprise code.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'Z-20240115-2'], 'year' => ['description' => 'The year.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '2024'], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response data structure.', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'water' => [ 'description' => 'Data about hydropower consumption and carbon emissions for each enterprise.', 'type' => 'array', 'items' => ['description' => 'The data structure for hydropower consumption and carbon emissions for each enterprise.', '$ref' => '#/components/schemas/CarbonEmissionElecSummaryItem', 'title' => '', 'example' => ''], 'title' => '', 'example' => '', ], 'light' => [ 'description' => 'Data about photovoltaic power consumption and carbon emissions for each enterprise.', 'type' => 'array', 'items' => ['description' => 'The data structure for photovoltaic power consumption and carbon emissions for each enterprise.', '$ref' => '#/components/schemas/CarbonEmissionElecSummaryItem', 'title' => '', 'example' => ''], 'title' => '', 'example' => '', ], 'urban' => [ 'description' => 'Data about grid power consumption and carbon emissions for each enterprise.', 'type' => 'array', 'items' => ['description' => 'The data structure for grid power consumption and carbon emissions for each enterprise.', '$ref' => '#/components/schemas/CarbonEmissionElecSummaryItem', 'title' => '', 'example' => ''], 'title' => '', 'example' => '', ], 'wind' => [ 'description' => 'Data about wind power consumption and carbon emissions for each enterprise.', 'type' => 'array', 'items' => ['description' => 'The data structure for wind power consumption and carbon emissions for each enterprise.', '$ref' => '#/components/schemas/CarbonEmissionElecSummaryItem', 'title' => '', 'example' => ''], 'title' => '', 'example' => '', ], 'nuclear' => [ 'description' => 'Data about nuclear power consumption and carbon emissions for each enterprise.', 'type' => 'array', 'items' => ['description' => 'The data structure for nuclear power consumption and carbon emissions for each enterprise.', '$ref' => '#/components/schemas/CarbonEmissionElecSummaryItem', 'title' => '', 'example' => ''], 'title' => '', 'example' => '', ], 'renewing' => [ 'description' => 'Data about renewable electricity consumption and carbon emissions for each enterprise.', 'type' => 'array', 'items' => ['description' => 'The data structure for renewable electricity consumption and carbon emissions for each enterprise.', '$ref' => '#/components/schemas/CarbonEmissionElecSummaryItem', 'title' => '', 'example' => ''], 'title' => '', 'example' => '', ], 'zero' => [ 'description' => 'Data about zero-carbon electricity consumption and carbon emissions for each enterprise.', 'type' => 'array', 'items' => ['description' => 'The data structure for zero-carbon electricity consumption and carbon emissions for each enterprise.', '$ref' => '#/components/schemas/CarbonEmissionElecSummaryItem', 'title' => '', 'example' => ''], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'code' => ['description' => 'The response code. A value of 200 indicates that the request was successful. Other values indicate that the request failed. For more information about an error, see the msg parameter.', 'type' => 'string', 'title' => '', 'example' => '200'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": {\\n \\"water\\": [\\n {\\n \\"carbonEmissionData\\": 1.22,\\n \\"rawData\\": 1.2,\\n \\"ratio\\": 0.22,\\n \\"dataUnit\\": \\"kg\\",\\n \\"name\\": \\"xxx\\"\\n }\\n ],\\n \\"light\\": [\\n {\\n \\"carbonEmissionData\\": 1.22,\\n \\"rawData\\": 1.2,\\n \\"ratio\\": 0.22,\\n \\"dataUnit\\": \\"kg\\",\\n \\"name\\": \\"xxx\\"\\n }\\n ],\\n \\"urban\\": [\\n {\\n \\"carbonEmissionData\\": 1.22,\\n \\"rawData\\": 1.2,\\n \\"ratio\\": 0.22,\\n \\"dataUnit\\": \\"kg\\",\\n \\"name\\": \\"xxx\\"\\n }\\n ],\\n \\"wind\\": [],\\n \\"nuclear\\": [],\\n \\"renewing\\": [],\\n \\"zero\\": []\\n },\\n \\"code\\": \\"200\\"\\n}","type":"json"}]', 'title' => 'GetAreaElecConstitute', 'description' => '- Retrieves the lowest-level electricity analysis data.'."\n" ."\n" .'- The code parameter specifies the enterprise level for analysis. The analysis is performed on all enterprises at the specified level.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAreaElecConstitute'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetAreaElecConstitute', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'GetCarbonEmissionTrend' => [ 'summary' => 'Queries the carbon emission trend.', 'path' => '/api/v1/carbon/emission/analysis/trend', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'Request parameters', 'type' => 'object', 'properties' => [ 'code' => ['description' => 'The organization code.', 'type' => 'string', 'required' => true, 'example' => 'C-20240119-1', 'title' => ''], 'yearList' => [ 'description' => 'The list of inventory years.', 'type' => 'array', 'items' => ['description' => 'The inventory year.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2024', 'title' => ''], 'required' => true, 'title' => '', 'example' => '', ], 'moduleType' => ['description' => 'The module type.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''], 'moduleCode' => ['description' => 'The module code.', 'type' => 'string', 'required' => false, 'example' => 'carbonInventory.check.scope_1_direct_ghg_emissions', 'title' => ''], 'trendType' => ['description' => 'The trend type.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '9bc20a5a-b26b-4c28-922a-7cd10b61f96f'], 'data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'targetEmissionList' => [ 'description' => 'The list of target emissions.', 'type' => 'array', 'items' => [ 'description' => 'The target emission data.', 'type' => 'object', 'properties' => [ 'year' => ['description' => 'The year.', 'type' => 'string', 'example' => '2024', 'title' => ''], 'items' => [ 'description' => 'The list of data items.', 'type' => 'array', 'items' => [ 'description' => 'The data item.', 'type' => 'object', 'properties' => [ 'year' => ['description' => 'The year.', 'type' => 'string', 'example' => '2024', 'title' => ''], 'month' => ['description' => 'The month.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], 'carbonEmissionData' => ['description' => 'The carbon emissions.', 'type' => 'number', 'format' => 'double', 'example' => '20.22', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'actualEmissionList' => [ 'description' => 'The list of actual emissions.', 'type' => 'array', 'items' => [ 'description' => 'The actual emission data.', 'type' => 'object', 'properties' => [ 'year' => ['description' => 'The year.', 'type' => 'string', 'example' => '2024', 'title' => ''], 'items' => [ 'description' => 'The list of data items.', 'type' => 'array', 'items' => [ 'description' => 'The data item.', 'type' => 'object', 'properties' => [ 'year' => ['description' => 'The year.', 'type' => 'string', 'example' => '2024', 'title' => ''], 'month' => ['description' => 'The month.', 'type' => 'integer', 'format' => 'int32', 'example' => '11', 'title' => ''], 'carbonEmissionData' => ['description' => 'The carbon emissions.', 'type' => 'number', 'format' => 'double', 'example' => '20.22', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"9bc20a5a-b26b-4c28-922a-7cd10b61f96f\\",\\n \\"data\\": {\\n \\"targetEmissionList\\": [\\n {\\n \\"year\\": \\"2024\\",\\n \\"items\\": [\\n {\\n \\"year\\": \\"2024\\",\\n \\"month\\": 10,\\n \\"carbonEmissionData\\": 20.22\\n }\\n ]\\n }\\n ],\\n \\"actualEmissionList\\": [\\n {\\n \\"year\\": \\"2024\\",\\n \\"items\\": [\\n {\\n \\"year\\": \\"2024\\",\\n \\"month\\": 11,\\n \\"carbonEmissionData\\": 20.22\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'GetCarbonEmissionTrend', 'description' => 'Queries the carbon emissions of an organization for each month within a specified year. The results are returned in a list that shows the carbon emission trend over time. The following parameters are required:'."\n" ."\n" .'- The unique identifier of the organization'."\n" ."\n" .'- The year for the carbon emission statistics'."\n" ."\n" .'- The type of the statistics module'."\n" ."\n" .'- The required trend type', 'changeSet' => [ ['createdAt' => '2024-04-03T02:40:33.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetCarbonEmissionTrend'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetCarbonEmissionTrend', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'GetChatFolderList' => [ 'summary' => 'Retrieves the list of Q&A pair folders.', 'path' => '/api/v2/aidoc/document/chat/folder/list', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREenergyexpertK979RQ'], 'autoTest' => false, 'notSupportAutoTestReason' => '影响性能', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response.', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'A8AEC6D9-A359-5169-BD1A-BD848BA60D65'], 'data' => [ 'description' => 'The returned data.', 'type' => 'array', 'items' => ['description' => 'The details of the folder.', '$ref' => '#/components/schemas/ChatFolderItem', 'title' => '', 'example' => 'true'], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Get Q\\&A folder List', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetChatFolderList'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetChatFolderList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"A8AEC6D9-A359-5169-BD1A-BD848BA60D65\\",\\n \\"data\\": [\\n {\\n \\"subFolders\\": [\\n {\\n \\"question\\": \\"How to use the knowledge base.\\",\\n \\"answer\\": \\"No related content found.\\",\\n \\"createTime\\": 1747280158000,\\n \\"refDocList\\": [\\n {\\n \\"docName\\": \\"a.pdf\\",\\n \\"sourceType\\": \\"doc\\",\\n \\"docUrl\\": \\"https://carbon-aidoc.oss-accelerate.aliyuncs.com/jobs/42dbc7-3a9e-4e18-8939-3fd2d247bd3c/document/97178d94c75941d3b932883c810c5e.pdf\\",\\n \\"docInfo\\": {\\n \\"pages\\": 23,\\n \\"pageListInfo\\": [\\n {\\n \\"imageWidth\\": 23,\\n \\"imageUrl\\": \\"2\\",\\n \\"pageIdCurDoc\\": 2,\\n \\"angle\\": 0,\\n \\"excelParseResult\\": \\"null\\",\\n \\"wordParseResult\\": \\"null\\",\\n \\"pdfParseResult\\": \\"null\\",\\n \\"imageHeight\\": 22\\n }\\n ]\\n },\\n \\"originDocName\\": \\"a.doc\\",\\n \\"pageNum\\": [\\n {\\n \\"pos\\": [\\n [\\n {\\n \\"x\\": 22,\\n \\"y\\": 86\\n }\\n ]\\n ],\\n \\"num\\": 12\\n }\\n ],\\n \\"originDocUrl\\": \\"https://carbon-aidoc.oss-accelerate.aliyuncs.com/jobs/42dbc7-3a9e-4e18-8939-3fd2d247bd3c/document/97178d94c75941d3b932883c810c5e.doc\\"\\n }\\n ],\\n \\"folderName\\": \\"deafult folder\\",\\n \\"folderId\\": \\"7708fddb-21dc-4403-a4ea-5b94eccce4c3\\"\\n }\\n ],\\n \\"folderName\\": \\"default folder\\",\\n \\"folderId\\": \\"aaa\\"\\n }\\n ]\\n}","type":"json"}]', ], 'GetChatList' => [ 'path' => '/api/v2/aidoc/document/chat/list', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREenergyexpertK979RQ'], 'autoTest' => false, 'notSupportAutoTestReason' => '影响性能', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request parameters.', 'type' => 'object', 'properties' => [ 'sessionId' => ['description' => 'The ID of the Q\\&A session. This ID is used to track multiple Q\\&A pairs from the same user.', 'type' => 'string', 'required' => true, 'example' => 'bfce2248-1546-4298-8bcf-70ac26e69646', 'title' => ''], 'currentPage' => ['description' => 'The page number for paging. The value starts from 1.', 'type' => 'integer', 'format' => 'int32', 'default' => '1', 'required' => false, 'example' => '1', 'title' => ''], 'pageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'default' => '10', 'required' => false, 'example' => '10', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response.', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'."\n"], 'data' => [ 'description' => 'The returned data structure.', 'type' => 'object', 'properties' => [ 'total' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int64', 'example' => '21', 'title' => ''], 'totalPage' => ['description' => 'The total number of pages.', 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''], 'currentPage' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], 'pageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], 'chatList' => [ 'description' => 'The list of Q\\&A pairs.', 'type' => 'array', 'items' => ['description' => 'The details of a Q\\&A pair.', '$ref' => '#/components/schemas/ChatItem', 'title' => '', 'example' => ''], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Get Q\\\\\\&A List', 'summary' => 'Retrieves the Q&A pair history for a session.', 'description' => '- Retrieves the Q\\&A pair history for a session based on the session ID.'."\n" ."\n" .'- You can call the GetChatSessionList operation to obtain the session ID.'."\n" ."\n" .'- You can also call the CreateChatSession operation to create a new session.', 'changeSet' => [ ['createdAt' => '2025-06-18T03:15:16.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetChatList'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetChatList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\\\n\\",\\n \\"data\\": {\\n \\"total\\": 21,\\n \\"totalPage\\": 3,\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"chatList\\": [\\n {\\n \\"question\\": \\"How to use the knowledge base.\\",\\n \\"answer\\": \\"No related content found.\\",\\n \\"createTime\\": 1747280158000,\\n \\"refDocList\\": [\\n {\\n \\"docName\\": \\"a.pdf\\",\\n \\"sourceType\\": \\"doc\\",\\n \\"docUrl\\": \\"https://carbon-aidoc.oss-accelerate.aliyuncs.com/jobs/42dbc7-3a9e-4e18-8939-3fd2d247bd3c/document/97178d94c75941d3b932883c810c5e.pdf\\",\\n \\"docInfo\\": {\\n \\"pages\\": 23,\\n \\"pageListInfo\\": [\\n {\\n \\"imageWidth\\": 23,\\n \\"imageUrl\\": \\"2\\",\\n \\"pageIdCurDoc\\": 2,\\n \\"angle\\": 0,\\n \\"excelParseResult\\": \\"null\\",\\n \\"wordParseResult\\": \\"null\\",\\n \\"pdfParseResult\\": \\"null\\",\\n \\"imageHeight\\": 22\\n }\\n ]\\n },\\n \\"originDocName\\": \\"a.doc\\",\\n \\"pageNum\\": [\\n {\\n \\"pos\\": [\\n [\\n {\\n \\"x\\": 22,\\n \\"y\\": 86\\n }\\n ]\\n ],\\n \\"num\\": 12\\n }\\n ],\\n \\"originDocUrl\\": \\"https://carbon-aidoc.oss-accelerate.aliyuncs.com/jobs/42dbc7-3a9e-4e18-8939-3fd2d247bd3c/document/97178d94c75941d3b932883c810c5e.doc\\"\\n }\\n ],\\n \\"folderName\\": \\"deafult folder\\",\\n \\"folderId\\": \\"7708fddb-21dc-4403-a4ea-5b94eccce4c3\\"\\n }\\n ]\\n }\\n}","type":"json"}]', ], 'GetChatSessionList' => [ 'summary' => 'Retrieves a list of a user\'s Q&A sessions.', 'path' => '/api/v2/aidoc/document/chat/session/list', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREenergyexpertK979RQ'], 'autoTest' => false, 'notSupportAutoTestReason' => '影响性能', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request parameters.', 'type' => 'object', 'properties' => [ 'name' => ['description' => 'The session name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'oklabs'], 'userId' => ['description' => 'The unique ID of the user. If this parameter is left empty, the ID of the account that calls the SDK is used by default.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '12222'], 'currentPage' => ['description' => 'The page number for paging. The default value is 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '1', 'title' => '', 'example' => '1'], 'pageSize' => ['description' => 'The number of entries per page. The default value is 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '10', 'title' => '', 'example' => '10'], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'."\n"], 'data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'sessionList' => [ 'description' => 'The list of sessions.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'sessionId' => ['description' => 'The ID of the Q\\&A session. This ID is used to track multiple Q\\&A pairs for the same user.', 'type' => 'string', 'title' => '', 'example' => '5c748ef9-3f23-4b5a-916f-966c0d2c6dcd'], 'name' => ['description' => 'The session name.', 'type' => 'string', 'title' => '', 'example' => 'student_app_spelling'], 'userId' => ['description' => 'The user ID for the current session.', 'type' => 'string', 'title' => '', 'example' => '12222'], 'folderId' => ['description' => 'The ID of the folder. This specifies the scope of documents for the query.', 'type' => 'string', 'title' => '', 'example' => '3493370b-4884-47dd-95ed-49038769af53'], 'createTime' => ['description' => 'The timestamp when the session was created. This is a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '2025-01-01T14:45:17Z'], 'updateTime' => ['description' => 'The timestamp of the last update. This is a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '2024-12-30T02:05:03Z'], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'total' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '21'], 'totalPage' => ['description' => 'The total number of pages.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '3'], 'currentPage' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'], 'pageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '10'], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Get Document Session List', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetChatSessionList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\\\n\\",\\n \\"data\\": {\\n \\"sessionList\\": [\\n {\\n \\"sessionId\\": \\"5c748ef9-3f23-4b5a-916f-966c0d2c6dcd\\",\\n \\"name\\": \\"student_app_spelling\\",\\n \\"userId\\": \\"12222\\",\\n \\"folderId\\": \\"3493370b-4884-47dd-95ed-49038769af53\\",\\n \\"createTime\\": 0,\\n \\"updateTime\\": 0\\n }\\n ],\\n \\"total\\": 21,\\n \\"totalPage\\": 3,\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10\\n }\\n}","type":"json"}]', ], 'GetDataItemList' => [ 'summary' => 'Retrieves a list of data item details.', 'path' => '/api/v1/carbon/emission/data/item/list', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request parameters.', 'type' => 'object', 'properties' => [ 'code' => ['description' => 'The enterprise code.', 'type' => 'string', 'required' => true, 'example' => 'C-202302-01', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response struct.', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => [ 'description' => 'The returned data.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'unit' => ['description' => 'The unit.', 'type' => 'string', 'example' => 'kg', 'title' => ''], 'period' => ['description' => 'The data entry method. A value of 1 indicates a monthly value. A value of 2 indicates a yearly value.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'code' => ['description' => 'The API data identifier.', 'type' => 'string', 'example' => 'demo_api_code', 'title' => ''], 'name' => ['description' => 'The name of the data item.', 'type' => 'string', 'example' => 'Boiler data', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": [\\n {\\n \\"unit\\": \\"kg\\",\\n \\"period\\": 1,\\n \\"code\\": \\"demo_api_code\\",\\n \\"name\\": \\"Boiler data\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => 'GetDataItemList', 'description' => '- Retrieves a list of data item details for the current enterprise.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDataItemList'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetDataItemList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'manual', ], 'GetDataQualityAnalysis' => [ 'summary' => 'Retrieves the Data Quality Rating (DQR) and Data Quality Indicator (DQI) results.', 'path' => '/api/v1/carbon/footprint/data/quality/analysis', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request parameters.', 'type' => 'object', 'properties' => [ 'code' => ['description' => 'The enterprise code.', 'type' => 'string', 'required' => true, 'example' => 'C-20080808-1', 'title' => ''], 'dataQualityEvaluationType' => ['description' => 'The type of data quality evaluation. 1 indicates DQI and 2 indicates DQR.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''], 'productId' => ['description' => 'The product ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1024', 'title' => ''], 'productType' => ['description' => 'The product type. 1 indicates a product carbon footprint request. 5 indicates a supply chain carbon footprint request.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request. This value is unique for each request. Use this ID to troubleshoot issues.', 'type' => 'string', 'example' => '4A0AEC56-5C9A-5D47-93DF-7227836FFF82'], 'data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'dataQuality' => [ 'description' => 'The scores for each checklist.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'inventory' => ['description' => 'The name of the checklist.', 'type' => 'string', 'example' => 'Process-1/Checklist-1', 'title' => ''], 'score' => [ 'description' => 'The score. The value ranges from 1 to 5. A value closer to 1 indicates better data quality.', 'type' => 'object', 'properties' => [ 'g1' => ['description' => 'Data quality evaluation indicator 1: Reliability of activity data.', 'type' => 'number', 'format' => 'double', 'example' => '3', 'title' => ''], 'g2' => ['description' => 'Data quality evaluation indicator 2: Reliability of factor data.', 'type' => 'number', 'format' => 'double', 'example' => '3', 'title' => ''], 'g3' => ['description' => 'Data quality evaluation indicator 3: Temporal representativeness.', 'type' => 'number', 'format' => 'double', 'example' => '3', 'title' => ''], 'g4' => ['description' => 'Data quality evaluation indicator 4: Geographical representativeness.', 'type' => 'number', 'format' => 'double', 'example' => '3', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'dataQualityResult' => [ 'description' => 'The indicator score.', 'type' => 'object', 'properties' => [ 'data_quality_score' => ['description' => 'The score. This applies to DQR results. The value ranges from 1 to 5. A value closer to 1 indicates better data quality. The value is accurate to four decimal places.', 'type' => 'number', 'format' => 'double', 'example' => '1.2345', 'title' => ''], 'g1' => ['description' => 'Data quality evaluation indicator 1: Reliability of activity data.', 'type' => 'number', 'format' => 'double', 'example' => '1.2345', 'title' => ''], 'g2' => ['description' => 'Data quality evaluation indicator 2: Reliability of factor data.', 'type' => 'number', 'format' => 'double', 'example' => '1.2345', 'title' => ''], 'g3' => ['description' => 'Data quality evaluation indicator 3: Temporal representativeness.', 'type' => 'number', 'format' => 'double', 'example' => '1.2345', 'title' => ''], 'g4' => ['description' => 'Data quality evaluation indicator 4: Geographical representativeness.', 'type' => 'number', 'format' => 'double', 'example' => '1.2345', 'title' => ''], ], 'title' => '', 'example' => '', ], 'sensitivityList' => [ 'description' => 'The sensitivity analysis list.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'id' => ['description' => 'The ID of the checklist item.', 'type' => 'string', 'example' => '1', 'title' => ''], 'inventory' => ['description' => 'The name of the checklist item.', 'type' => 'string', 'example' => 'Inventory 1', 'title' => ''], 'reductionList' => [ 'description' => 'The list of emission reduction measures.', 'type' => 'array', 'items' => ['description' => 'The emission reduction measures for the checklist item.', 'type' => 'string', 'example' => '措施1', 'title' => ''], 'title' => '', 'example' => '', ], 'sensitivity' => ['description' => 'The sensitivity percentage.', 'type' => 'number', 'format' => 'double', 'example' => '91.7', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'uncertainty' => ['description' => 'The uncertainty value. This is the overall uncertainty percentage of the model. For example, a value of "10.00" indicates 10.00% uncertainty, which means the carbon footprint result is within a ±10.00% range. The value is a weighted aggregate of the uncertainty contributions from individual checklists.', 'type' => 'string', 'example' => '10.00', 'title' => ''], 'uncertaintyValues' => [ 'description' => 'The list of uncertainty values.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'inventory' => ['description' => 'The name of the checklist. The format is: Procedure Name/Checklist Name.', 'type' => 'string', 'example' => '工序-1/清单-1', 'title' => ''], 'uncertaintyContribution' => ['description' => 'The absolute uncertainty contribution from the checklist. This value shows how the data quality of each checklist affects the final carbon footprint result. If a checklist has a large uncertainty contribution, improve its data quality to make the analysis more accurate. For example, a value of "1.4964" means the contribution is 1.4964 kgCO₂e/unit, where \\`unit\\` is the product\'s unit.', 'type' => 'string', 'example' => '1.4964', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"4A0AEC56-5C9A-5D47-93DF-7227836FFF82\\",\\n \\"data\\": {\\n \\"dataQuality\\": [\\n {\\n \\"inventory\\": \\"Process-1/Checklist-1\\",\\n \\"score\\": {\\n \\"g1\\": 3,\\n \\"g2\\": 3,\\n \\"g3\\": 3,\\n \\"g4\\": 3\\n }\\n }\\n ],\\n \\"dataQualityResult\\": {\\n \\"data_quality_score\\": 1.2345,\\n \\"g1\\": 1.2345,\\n \\"g2\\": 1.2345,\\n \\"g3\\": 1.2345,\\n \\"g4\\": 1.2345\\n },\\n \\"sensitivityList\\": [\\n {\\n \\"id\\": \\"1\\",\\n \\"inventory\\": \\"Inventory 1\\",\\n \\"reductionList\\": [\\n \\"措施1\\"\\n ],\\n \\"sensitivity\\": 91.7\\n }\\n ],\\n \\"uncertainty\\": \\"10.00\\",\\n \\"uncertaintyValues\\": [\\n {\\n \\"inventory\\": \\"工序-1/清单-1\\",\\n \\"uncertaintyContribution\\": \\"1.4964\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'GetDataQualityAnalysis', 'description' => 'Returns the data quality evaluation results from a generated results page for a specified product ID. You can use this operation to check the data quality of carbon emission factors for each product checklist.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDataQualityAnalysis'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetDataQualityAnalysis', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'machine', ], 'GetDeviceInfo' => [ 'summary' => 'Retrieves device information for an activated site.', 'path' => '/api/external/getDeviceInfo', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ 'name' => 'factoryId', 'in' => 'query', 'schema' => ['description' => 'The site ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'pn_95', 'title' => ''], ], [ 'name' => 'deviceId', 'in' => 'query', 'schema' => ['description' => 'The device ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'pn_69873', 'title' => ''], ], [ 'name' => 'ds', 'in' => 'query', 'schema' => ['description' => 'The date string in the YYYY-MM-DD format.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2022-07-26', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'httpCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], 'code' => ['description' => 'The response code. A value of \\`Success\\` indicates that the request was successful. Other values indicate that the request failed. For more information about the cause of the failure, see the \\`msg\\` parameter.', 'type' => 'string', 'example' => 'Success', 'title' => ''], 'success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'deviceId' => ['description' => 'The device ID.', 'type' => 'string', 'example' => 'pn_69873', 'title' => ''], 'deviceName' => ['description' => 'The device name.', 'type' => 'string', 'example' => 'Main transformer #4', 'title' => ''], 'firstTypeName' => ['description' => 'The level-1 meter type.', 'type' => 'string', 'example' => 'Electric meter', 'title' => ''], 'secondTypeName' => ['description' => 'The level-2 meter type.', 'type' => 'string', 'example' => 'Gateway meter', 'title' => ''], 'recordList' => [ 'description' => 'The list of parameters.', 'type' => 'array', 'items' => [ 'description' => 'The device information.', 'type' => 'object', 'properties' => [ 'statisticsDate' => ['description' => 'The date of the statistics.', 'type' => 'string', 'example' => '2022-07-26 00:00:00', 'title' => ''], 'paramName' => ['description' => 'The parameter name.', 'type' => 'string', 'example' => 'Phase A current', 'title' => ''], 'unit' => ['description' => 'The unit.', 'type' => 'string', 'example' => 'A', 'title' => ''], 'identifier' => ['description' => 'The device identifier.', 'type' => 'string', 'example' => 'Ia', 'title' => ''], 'type' => ['description' => 'The type of the data point.', 'type' => 'string', 'example' => 'DOUBLE', 'title' => ''], 'value' => ['description' => 'The value.', 'type' => 'number', 'format' => 'double', 'example' => '20.00', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'invalidParameter', 'errorMessage' => 'Invalid parameter values.', 'description' => 'Request parameters are incorrect. Please check method entry parameters.'], ], [ ['errorCode' => 'notAuthorized', 'errorMessage' => 'No permissions to call API operations.', 'description' => 'No permissions to call API operations.'], ], 500 => [ ['errorCode' => 'systemError', 'errorMessage' => 'System error.', 'description' => 'System error.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"httpCode\\": 200,\\n \\"code\\": \\"Success\\",\\n \\"success\\": true,\\n \\"data\\": {\\n \\"deviceId\\": \\"pn_69873\\",\\n \\"deviceName\\": \\"Main transformer #4\\",\\n \\"firstTypeName\\": \\"Electric meter\\",\\n \\"secondTypeName\\": \\"Gateway meter\\",\\n \\"recordList\\": [\\n {\\n \\"statisticsDate\\": \\"2022-07-26 00:00:00\\",\\n \\"paramName\\": \\"Phase A current\\",\\n \\"unit\\": \\"A\\",\\n \\"identifier\\": \\"Ia\\",\\n \\"type\\": \\"DOUBLE\\",\\n \\"value\\": 20\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'GetDeviceInfo', 'description' => '- Queries device parameters using the device ID. If the device ID is valid, the operation returns device information. Otherwise, a null value is returned.'."\n" ."\n" .'- Queries data for a single device on a specific day. If no data exists, a null value is returned.'."\n" ."\n" .'- Supports only the endpoint in the China (Hangzhou) region: `energyexpertexternal.cn-hangzhou.aliyuncs.com`'."\n" ."\n" .'- To use this API, your account must be added to the whitelist. To do this, [contact us](https://energy.aliyun.com/ifa/web/defaultLoginPage?adapter=aliyun#/consult?source=%E8%83%BD%E8%80%97%E5%AE%9D%E7%99%BB%E5%BD%95%E9%A1%B5%EF%BC%88WEB%EF%BC%89)'."\n" .' [contact us](https://energy.alibabacloud.com/common?adapter=aliyun\\&lang=en-US#/home/en).', 'changeSet' => [ ['createdAt' => '2023-04-17T06:13:23.000Z', 'description' => 'Error codes changed, Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDeviceInfo'], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'energy:GetDeviceInfo', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'machine', ], 'GetDeviceList' => [ 'summary' => 'Retrieves the list of devices for an activated site.', 'path' => '/api/external/getDeviceList', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ 'name' => 'factoryId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => 'The site ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'pn_95', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response schema.', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'factoryId' => ['description' => 'The site ID.', 'type' => 'string', 'example' => 'pn_95', 'title' => ''], 'deviceList' => [ 'description' => 'The list of devices.', 'type' => 'array', 'items' => [ 'description' => 'The list of devices.', 'type' => 'object', 'properties' => [ 'deviceId' => ['description' => 'The device ID.', 'type' => 'string', 'example' => 'pn_69873', 'title' => ''], 'deviceName' => ['description' => 'The device name.', 'type' => 'string', 'example' => 'Main transformer #4', 'title' => ''], 'firstTypeName' => ['description' => 'The primary meter type.', 'type' => 'string', 'example' => 'Electric meter', 'title' => ''], 'secondTypeName' => ['description' => 'The secondary meter type.', 'type' => 'string', 'example' => 'Gateway meter', 'title' => ''], 'parentDevice' => ['description' => 'The parent device.', 'type' => 'string', 'example' => 'pn_6987', 'title' => ''], 'info' => [ 'description' => 'The device information.', 'type' => 'object', 'properties' => [ 'magnification' => ['description' => 'The magnification ratio.', 'type' => 'integer', 'format' => 'int32', 'example' => '80', 'title' => ''], 'pressure' => ['description' => 'Indicates high or low voltage.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], 'pt' => ['description' => 'The voltage transformation ratio.', 'type' => 'integer', 'format' => 'int32', 'example' => '80', 'title' => ''], 'ct' => ['description' => 'The current transformation ratio.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'constKva' => ['description' => 'The rated capacity, in kVA.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'httpCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], 'code' => ['description' => 'The status code.', 'type' => 'string', 'example' => 'Success', 'title' => ''], 'success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'title' => '', 'example' => '', ], 'httpCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], 'code' => ['description' => 'The status code.', 'type' => 'string', 'example' => 'Success', 'title' => ''], 'success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'invalidParameter', 'errorMessage' => 'Invalid parameter values.', 'description' => 'Request parameters are incorrect. Please check method entry parameters.'], ], [ ['errorCode' => 'notAuthorized', 'errorMessage' => 'No permissions to call API operations.', 'description' => 'No permissions to call API operations.'], ], 500 => [ ['errorCode' => 'systemError', 'errorMessage' => 'System error.', 'description' => 'System error.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": {\\n \\"factoryId\\": \\"pn_95\\",\\n \\"deviceList\\": [\\n {\\n \\"deviceId\\": \\"pn_69873\\",\\n \\"deviceName\\": \\"Main transformer #4\\",\\n \\"firstTypeName\\": \\"Electric meter\\",\\n \\"secondTypeName\\": \\"Gateway meter\\",\\n \\"parentDevice\\": \\"pn_6987\\",\\n \\"info\\": {\\n \\"magnification\\": 80,\\n \\"pressure\\": 0,\\n \\"pt\\": 80,\\n \\"ct\\": 1,\\n \\"constKva\\": 100\\n }\\n }\\n ],\\n \\"httpCode\\": 200,\\n \\"code\\": \\"Success\\",\\n \\"success\\": true\\n },\\n \\"httpCode\\": 200,\\n \\"code\\": \\"Success\\",\\n \\"success\\": true\\n}","type":"json"}]', 'title' => 'GetDeviceList', 'description' => '- Queries the data collection devices at a site. If the request is successful, the operation returns device information. Otherwise, the operation returns an empty value.'."\n" ."\n" .'- Excludes virtual meters from the results.'."\n" ."\n" .'- Currently, only the `energyexpertexternal.cn-hangzhou.aliyuncs.com` endpoint is supported.'."\n" ."\n" .'- To call this operation, your service must be added to the whitelist. To add your service to the whitelist, [contact us](https://energy.aliyun.com/ifa/web/defaultLoginPage?adapter=aliyun#/consult?source=%E8%83%BD%E8%80%97%E5%AE%9D%E7%99%BB%E5%BD%95%E9%A1%B5%EF%BC%88WEB%EF%BC%89)'."\n" .' [contact us](https://energy.alibabacloud.com/common?adapter=aliyun\\&lang=en-US#/home/en).', 'changeSet' => [ ['createdAt' => '2023-07-05T09:26:07.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2023-04-17T06:13:23.000Z', 'description' => 'Error codes changed, Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDeviceList'], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'energy:GetDeviceList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'machine', ], 'GetDocExtractionResult' => [ 'summary' => 'For Querying Information Extraction Result. The input parameter taskId is obtained from the taskId returned by the interfaces SubmitDocExtractionTaskAdvance or SubmitDocExtractionTask. The query results can reflect one of three statuses: processing, successfully completed, or failed.', 'path' => '/api/v2/aidoc/document/getDocExtractionResult', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREenergyexpertK979RQ'], 'autoTest' => false, 'notSupportAutoTestReason' => '影响性能', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'Request body parameters.', 'type' => 'object', 'properties' => [ 'taskId' => ['description' => '- Task ID.'."\n" ."\n" .'- taskId is obtained from the SubmitDocExtractionTaskAdvance and SubmitDocExtractionTask interfaces.', 'type' => 'string', 'required' => true, 'example' => '97693b4c-17a8-4198-aa28-798d3c855577mhrv', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'ID of the request', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => [ 'description' => 'Returned data structure.', 'type' => 'object', 'properties' => [ 'kvListInfo' => [ 'description' => 'Details of document extraction results', 'type' => 'array', 'items' => [ 'description' => 'Details of document extraction results', 'type' => 'object', 'properties' => [ 'keyName' => ['description' => 'Field key name', 'type' => 'string', 'example' => 'Tenant', 'title' => ''], 'keyValue' => ['description' => 'Field key value', 'type' => 'string', 'example' => 'Alibaba Cloud XXX Co., Ltd.', 'title' => ''], 'context' => [ 'description' => 'Recalled content', 'type' => 'object', 'properties' => [ 'key' => [ 'description' => 'Details of key recall information', 'type' => 'array', 'items' => ['description' => 'Details of key recall information', '$ref' => '#/components/schemas/ContentItem', 'example' => 'bhv_trace_info_invalid', 'title' => ''], 'title' => '', 'example' => '', ], 'value' => [ 'description' => 'Details of value recall information', 'type' => 'array', 'items' => ['description' => 'Details of value recall information', '$ref' => '#/components/schemas/ContentItem', 'example' => '[{\'Id\': \'st-265b3d6a-91765\', \'Name\': \'Sheet3\'}, {\'Id\': \'kgqie6hm\', \'Name\': \'Sheet1\'}, {\'Id\': \'st-26383f2c-38267\', \'Name\': \'Sheet2\'}]', 'title' => ''], 'title' => '', 'example' => '', ], 'confidence' => [ 'description' => 'Confidence level', 'type' => 'object', 'properties' => [ 'keyConfidence' => ['description' => 'Key confidence level', 'type' => 'number', 'format' => 'double', 'example' => '0.9994202852249146', 'title' => ''], 'valueConfidence' => ['description' => 'value confidence level', 'type' => 'number', 'format' => 'double', 'example' => '0.9794202852249146', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": {\\n \\"kvListInfo\\": [\\n {\\n \\"keyName\\": \\"Tenant\\",\\n \\"keyValue\\": \\"Alibaba Cloud XXX Co., Ltd.\\",\\n \\"context\\": {\\n \\"key\\": [\\n {\\n \\"score\\": 0.45,\\n \\"type\\": \\"img\\",\\n \\"extInfo\\": [\\n {\\n \\"alignment\\": \\"center\\",\\n \\"index\\": 8,\\n \\"level\\": 2,\\n \\"pageNum\\": [\\n 1\\n ],\\n \\"pos\\": [\\n {\\n \\"x\\": 1,\\n \\"y\\": 2\\n }\\n ],\\n \\"subType\\": \\"picture\\",\\n \\"text\\": \\"版面内容\\",\\n \\"type\\": \\"table\\",\\n \\"uniqueId\\": \\"88c712db271443dd4e3697cb9b5dab3a\\"\\n }\\n ],\\n \\"text\\": \\"租户是xxx\\"\\n }\\n ],\\n \\"value\\": [\\n {\\n \\"score\\": 0.45,\\n \\"type\\": \\"img\\",\\n \\"extInfo\\": [\\n {\\n \\"alignment\\": \\"center\\",\\n \\"index\\": 8,\\n \\"level\\": 2,\\n \\"pageNum\\": [\\n 1\\n ],\\n \\"pos\\": [\\n {\\n \\"x\\": 1,\\n \\"y\\": 2\\n }\\n ],\\n \\"subType\\": \\"picture\\",\\n \\"text\\": \\"版面内容\\",\\n \\"type\\": \\"table\\",\\n \\"uniqueId\\": \\"88c712db271443dd4e3697cb9b5dab3a\\"\\n }\\n ],\\n \\"text\\": \\"租户是xxx\\"\\n }\\n ],\\n \\"confidence\\": {\\n \\"keyConfidence\\": 0.9994202852249146,\\n \\"valueConfidence\\": 0.9794202852249146\\n }\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'Retrieve RAG and Long Text Understanding Document Extraction Results', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDocExtractionResult'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetDocExtractionResult', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'manual', ], 'GetDocParsingResult' => [ 'path' => '/api/v2/aidoc/document/getDocParsingResult', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREenergyexpertK979RQ'], 'autoTest' => false, 'notSupportAutoTestReason' => '影响性能', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'Request parameters.', 'type' => 'object', 'properties' => [ 'taskId' => ['description' => '- Task ID.'."\n" ."\n" .'- The taskId is obtained from the SubmitDocParsingTaskAdvance or SubmitDocParsingTask interfaces.', 'type' => 'string', 'required' => true, 'example' => '2c22388d-e2ed-44fe-99e6-99922f15e7bb', 'title' => ''], 'returnFormat' => [ 'description' => '- The document parsing result supports two formats: markdown and json.'."\n" ."\n" .'- By default, the result is returned in markdown format.', 'type' => 'string', 'example' => 'md', 'default' => 'md', 'enum' => ['md', 'json'], 'required' => false, 'title' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'ID of the request', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => [ 'description' => 'Returned result.', 'type' => 'object', 'properties' => [ 'content' => ['description' => '- The parsed content of the document.'."\n" ."\n" .'- The format (markdown or json) is determined by the returnFormat parameter. For specific format details, refer to: [json return structure](https://www.alibabacloud.com/help/en/energy-expert/developer-reference/interface-attached-information#b644b6255cojj)', 'type' => 'string', 'example' => '{\\"doc_info\\":{\\"languages\\":[\\"zh\\",\\"en\\"],\\"doc_type\\":\\"pdf\\",\\"pdf_toc\\":[{\\"title\\":\\"封面\\",\\"level\\":0,\\"page\\":0}],\\"pages\\":366,\\"page_list\\":[{\\"imageWidth\\":596,\\"imageHeight\\":842,\\"pageIdAllDocs\\":0,\\"fileIndex\\":0,\\"pageIdCurDoc\\":0,\\"angle\\":0}],\\"doc_data\\":[{\\"uniqueId\\":\\"about_us_para\\",\\"page_num\\":\\"01\\",\\"index\\":\\"xxx\\",\\"name\\":\\"xxx\\",\\"type\\":\\"xxxx\\",\\"subType\\":\\"xxx\\",\\"text\\":\\"xxx\\",\\"before_text\\":\\"xxx\\",\\"after_text\\":\\"xxx\\",\\"extInfo\\":[{\\"uniqueId\\":\\"b0x1x0\\",\\"pos\\":[{\\"x\\":229,\\"y\\":208},{\\"x\\":421,\\"y\\":208},{\\"x\\":421,\\"y\\":242},{\\"x\\":229,\\"y\\":242}],\\"text\\":\\"Kurt Götze\\",\\"type\\":\\"Text\\",\\"subType\\":\\"Text\\",\\"pageNum\\":[0],\\"index\\":0}]}]}}', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Get Document Parsing Result', 'summary' => 'For Querying Document Parsing Results. The input parameter taskId is obtained from the taskId returned by the interfaces SubmitDocParsingTaskAdvance or SubmitDocParsingTask. The query results can be one of three statuses: processing, successful, or failed.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDocParsingResult'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetDocParsingResult', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": {\\n \\"content\\": \\"{\\\\\\\\\\\\\\"doc_info\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"languages\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"zh\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"en\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"doc_type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"pdf\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"pdf_toc\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"封面\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"level\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"page\\\\\\\\\\\\\\":0}],\\\\\\\\\\\\\\"pages\\\\\\\\\\\\\\":366,\\\\\\\\\\\\\\"page_list\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"imageWidth\\\\\\\\\\\\\\":596,\\\\\\\\\\\\\\"imageHeight\\\\\\\\\\\\\\":842,\\\\\\\\\\\\\\"pageIdAllDocs\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"fileIndex\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"pageIdCurDoc\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"angle\\\\\\\\\\\\\\":0}],\\\\\\\\\\\\\\"doc_data\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"uniqueId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"about_us_para\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"page_num\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"01\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"index\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"subType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"text\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"before_text\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"after_text\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"extInfo\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"uniqueId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"b0x1x0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"pos\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"x\\\\\\\\\\\\\\":229,\\\\\\\\\\\\\\"y\\\\\\\\\\\\\\":208},{\\\\\\\\\\\\\\"x\\\\\\\\\\\\\\":421,\\\\\\\\\\\\\\"y\\\\\\\\\\\\\\":208},{\\\\\\\\\\\\\\"x\\\\\\\\\\\\\\":421,\\\\\\\\\\\\\\"y\\\\\\\\\\\\\\":242},{\\\\\\\\\\\\\\"x\\\\\\\\\\\\\\":229,\\\\\\\\\\\\\\"y\\\\\\\\\\\\\\":242}],\\\\\\\\\\\\\\"text\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Kurt Götze\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Text\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"subType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Text\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"pageNum\\\\\\\\\\\\\\":[0],\\\\\\\\\\\\\\"index\\\\\\\\\\\\\\":0}]}]}}\\"\\n }\\n}","type":"json"}]', ], 'GetDocumentAnalyzeResult' => [ 'summary' => 'Important: This API operation is no longer maintained. To obtain extraction results, use the getDocExtractionResult or GetVLExtractionResult operation.', 'path' => '/api/v1/aidoc/document/getDocumentAnalyzeResult', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request parameters.', 'type' => 'object', 'properties' => [ 'jobId' => ['description' => 'The job ID. This ID specifies the document whose parsing result you want to query. The ID is returned by the API operation that submits a document for parsing.', 'type' => 'string', 'required' => true, 'example' => 'bfce2248-1546-4298-8bcf-70ac26e69646', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'kvListInfo' => [ 'description' => 'The document parsing results.', 'type' => 'array', 'items' => [ 'description' => 'The details of the document parsing results.', 'type' => 'object', 'properties' => [ 'keyName' => ['description' => 'The name of the key field.', 'type' => 'string', 'example' => 'Tenant', 'title' => ''], 'keyValue' => ['description' => 'The value of the key field.', 'type' => 'string', 'example' => 'Alibaba Cloud XXX Co., Ltd.', 'title' => ''], 'context' => [ 'description' => 'The retrieved content.', 'type' => 'object', 'properties' => [ 'key' => [ 'description' => 'The retrieved information for the key.', 'type' => 'array', 'items' => ['description' => 'The details of the retrieved information for the key.', '$ref' => '#/components/schemas/ContentItem', 'title' => '', 'example' => ''], 'title' => '', 'example' => '', ], 'value' => [ 'description' => 'The retrieved information for the value.', 'type' => 'array', 'items' => ['description' => 'The details of the retrieved information for the value.', '$ref' => '#/components/schemas/ContentItem', 'title' => '', 'example' => ''], 'title' => '', 'example' => '', ], 'confidence' => [ 'description' => 'The confidence level.', 'type' => 'object', 'properties' => [ 'keyConfidence' => ['description' => 'The confidence level for the key.', 'type' => 'number', 'format' => 'double', 'example' => '0.9994202852249146', 'title' => ''], 'valueConfidence' => ['description' => 'The confidence level for the value.', 'type' => 'number', 'format' => 'double', 'example' => '0.9794202852249146', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": {\\n \\"kvListInfo\\": [\\n {\\n \\"keyName\\": \\"Tenant\\",\\n \\"keyValue\\": \\"Alibaba Cloud XXX Co., Ltd.\\",\\n \\"context\\": {\\n \\"key\\": [\\n {\\n \\"score\\": 0.45,\\n \\"type\\": \\"img\\",\\n \\"extInfo\\": [\\n {\\n \\"alignment\\": \\"center\\",\\n \\"index\\": 8,\\n \\"level\\": 2,\\n \\"pageNum\\": [\\n 1\\n ],\\n \\"pos\\": [\\n {\\n \\"x\\": 1,\\n \\"y\\": 2\\n }\\n ],\\n \\"subType\\": \\"picture\\",\\n \\"text\\": \\"版面内容\\",\\n \\"type\\": \\"table\\",\\n \\"uniqueId\\": \\"88c712db271443dd4e3697cb9b5dab3a\\"\\n }\\n ],\\n \\"text\\": \\"租户是xxx\\"\\n }\\n ],\\n \\"value\\": [\\n {\\n \\"score\\": 0.45,\\n \\"type\\": \\"img\\",\\n \\"extInfo\\": [\\n {\\n \\"alignment\\": \\"center\\",\\n \\"index\\": 8,\\n \\"level\\": 2,\\n \\"pageNum\\": [\\n 1\\n ],\\n \\"pos\\": [\\n {\\n \\"x\\": 1,\\n \\"y\\": 2\\n }\\n ],\\n \\"subType\\": \\"picture\\",\\n \\"text\\": \\"版面内容\\",\\n \\"type\\": \\"table\\",\\n \\"uniqueId\\": \\"88c712db271443dd4e3697cb9b5dab3a\\"\\n }\\n ],\\n \\"text\\": \\"租户是xxx\\"\\n }\\n ],\\n \\"confidence\\": {\\n \\"keyConfidence\\": 0.9994202852249146,\\n \\"valueConfidence\\": 0.9794202852249146\\n }\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'GetDocumentAnalyzeResult', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDocumentAnalyzeResult'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetDocumentAnalyzeResult', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'machine', ], 'GetElecConstitute' => [ 'summary' => 'Retrieves electricity composition analysis data.', 'path' => '/api/v1/carbon/emission/analysis/elec/constitute', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.', 'type' => 'object', 'properties' => [ 'code' => ['description' => 'The enterprise code.', 'type' => 'string', 'required' => true, 'example' => 'C-20240202-01', 'title' => ''], 'year' => ['description' => 'The year.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2024', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'water' => [ 'description' => 'Hydropower.', 'type' => 'object', 'properties' => [ 'carbonEmissionData' => ['description' => 'The carbon emission equivalent.', 'type' => 'number', 'format' => 'double', 'example' => '2.1', 'title' => ''], 'rawData' => ['description' => 'The electricity consumption.', 'type' => 'number', 'format' => 'double', 'example' => '1.2', 'title' => ''], 'ratio' => ['description' => 'The percentage of the total monthly electricity consumption. For example, a value of 0.5 indicates 50%.', 'type' => 'number', 'format' => 'double', 'example' => '0.4', 'title' => ''], 'dataUnit' => ['description' => 'The unit of measurement.', 'type' => 'string', 'example' => 'kWh', 'title' => ''], 'name' => ['description' => 'The name of the electricity type.', 'type' => 'string', 'example' => 'Hydropower', 'title' => ''], 'nameKey' => ['description' => 'The identifier for the name.', 'type' => 'string', 'example' => 'carbonInventory.check.water_electricity', 'title' => ''], ], 'title' => '', 'example' => '', ], 'light' => [ 'description' => 'Photovoltaic power.', 'type' => 'object', 'properties' => [ 'carbonEmissionData' => ['description' => 'The carbon emission equivalent.', 'type' => 'number', 'format' => 'double', 'example' => '1.2', 'title' => ''], 'rawData' => ['description' => 'The electricity consumption.', 'type' => 'number', 'format' => 'double', 'example' => '1.2', 'title' => ''], 'ratio' => ['description' => 'The percentage of the total monthly electricity consumption. For example, a value of 0.5 indicates 50%.', 'type' => 'number', 'format' => 'double', 'example' => '0.2', 'title' => ''], 'dataUnit' => ['description' => 'The unit of measurement.', 'type' => 'string', 'example' => 'kWh', 'title' => ''], 'name' => ['description' => 'The name of the electricity type.', 'type' => 'string', 'example' => 'Solar power', 'title' => ''], 'nameKey' => ['description' => 'The code for the electricity type.', 'type' => 'string', 'example' => 'carbonInventory.check.light_electricity', 'title' => ''], ], 'title' => '', 'example' => '', ], 'urban' => [ 'description' => 'Grid power.', 'type' => 'object', 'properties' => [ 'carbonEmissionData' => ['description' => 'The carbon emission equivalent.', 'type' => 'number', 'format' => 'double', 'example' => '1.2', 'title' => ''], 'rawData' => ['description' => 'The electricity consumption.', 'type' => 'number', 'format' => 'double', 'example' => '1.2', 'title' => ''], 'ratio' => ['description' => 'The percentage of the total monthly electricity consumption. For example, a value of 0.5 indicates 50%.', 'type' => 'number', 'format' => 'double', 'example' => '0.4', 'title' => ''], 'dataUnit' => ['description' => 'The unit of measurement.', 'type' => 'string', 'example' => 'kWh', 'title' => ''], 'name' => ['description' => 'The name of the electricity type.', 'type' => 'string', 'example' => 'Grid power', 'title' => ''], 'nameKey' => ['description' => 'The code for the electricity type.', 'type' => 'string', 'example' => 'carbonInventory.check.urban_electricity', 'title' => ''], ], 'title' => '', 'example' => '', ], 'wind' => [ 'description' => 'Wind power.', 'type' => 'object', 'properties' => [ 'carbonEmissionData' => ['description' => 'The carbon emission equivalent.', 'type' => 'number', 'format' => 'double', 'example' => '1.2', 'title' => ''], 'rawData' => ['description' => 'The electricity consumption.', 'type' => 'number', 'format' => 'double', 'example' => '1.1', 'title' => ''], 'ratio' => ['description' => 'The percentage of the total monthly electricity consumption. For example, a value of 0.5 indicates 50%.', 'type' => 'number', 'format' => 'double', 'example' => '0.3', 'title' => ''], 'dataUnit' => ['description' => 'The unit of measurement.', 'type' => 'string', 'example' => 'kWh', 'title' => ''], 'name' => ['description' => 'The name of the electricity type.', 'type' => 'string', 'example' => 'Wind power', 'title' => ''], 'nameKey' => ['description' => 'The code for the electricity type.', 'type' => 'string', 'example' => 'carbonInventory.check.wind_electricity', 'title' => ''], ], 'title' => '', 'example' => '', ], 'nuclear' => [ 'description' => 'Nuclear power.', 'type' => 'object', 'properties' => [ 'carbonEmissionData' => ['description' => 'The carbon emission equivalent.', 'type' => 'number', 'format' => 'double', 'example' => '2.3', 'title' => ''], 'rawData' => ['description' => 'The electricity consumption.', 'type' => 'number', 'format' => 'double', 'example' => '2', 'title' => ''], 'ratio' => ['description' => 'The percentage of the total monthly electricity consumption. For example, a value of 0.5 indicates 50%.', 'type' => 'number', 'format' => 'double', 'example' => '0.6', 'title' => ''], 'dataUnit' => ['description' => 'The unit of measurement.', 'type' => 'string', 'example' => 'kWh', 'title' => ''], 'name' => ['description' => 'The name of the electricity type.', 'type' => 'string', 'example' => 'Nuclear power', 'title' => ''], 'nameKey' => ['description' => 'The code for the electricity type.', 'type' => 'string', 'example' => 'carbonInventory.check.nuclear_electricity', 'title' => ''], ], 'title' => '', 'example' => '', ], 'renewing' => [ 'description' => 'Renewable energy power.', 'type' => 'object', 'properties' => [ 'carbonEmissionData' => ['description' => 'The carbon emission equivalent.', 'type' => 'number', 'format' => 'double', 'example' => '2.3', 'title' => ''], 'rawData' => ['description' => 'The electricity consumption.', 'type' => 'number', 'format' => 'double', 'example' => '4.3', 'title' => ''], 'ratio' => ['description' => 'The percentage of the total monthly electricity consumption. For example, a value of 0.5 indicates 50%.', 'type' => 'number', 'format' => 'double', 'example' => '0.44', 'title' => ''], 'dataUnit' => ['description' => 'The unit of measurement.', 'type' => 'string', 'example' => 'kWh', 'title' => ''], 'name' => ['description' => 'The name of the electricity type.', 'type' => 'string', 'example' => 'Renewable energy power', 'title' => ''], 'nameKey' => ['description' => 'The code for the electricity type.', 'type' => 'string', 'example' => 'carbonInventory.carbonEmissionAnalysis.components.CarbonDetail.keZaiShengZiYuan', 'title' => ''], ], 'title' => '', 'example' => '', ], 'zero' => [ 'description' => 'Zero-carbon electricity.', 'type' => 'object', 'properties' => [ 'carbonEmissionData' => ['description' => 'The carbon emission equivalent.', 'type' => 'number', 'format' => 'double', 'example' => '1.2', 'title' => ''], 'rawData' => ['description' => 'The electricity consumption.', 'type' => 'number', 'format' => 'double', 'example' => '444.3', 'title' => ''], 'ratio' => ['description' => 'The percentage of the total monthly electricity consumption. For example, a value of 0.5 indicates 50%.', 'type' => 'number', 'format' => 'double', 'example' => '0.33', 'title' => ''], 'dataUnit' => ['description' => 'The unit of measurement.', 'type' => 'string', 'example' => 'kWh', 'title' => ''], 'name' => ['description' => 'The name of the electricity type.', 'type' => 'string', 'example' => 'Zero electricity', 'title' => ''], 'nameKey' => ['description' => 'The code for the electricity type.', 'type' => 'string', 'example' => 'carbonInventory.carbonEmissionAnalysis.components.CarbonDetail.lingTanDianLi', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID. A unique value is generated for each request. You can use this ID to troubleshoot issues.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": {\\n \\"water\\": {\\n \\"carbonEmissionData\\": 2.1,\\n \\"rawData\\": 1.2,\\n \\"ratio\\": 0.4,\\n \\"dataUnit\\": \\"kWh\\",\\n \\"name\\": \\"Hydropower\\",\\n \\"nameKey\\": \\"carbonInventory.check.water_electricity\\"\\n },\\n \\"light\\": {\\n \\"carbonEmissionData\\": 1.2,\\n \\"rawData\\": 1.2,\\n \\"ratio\\": 0.2,\\n \\"dataUnit\\": \\"kWh\\",\\n \\"name\\": \\"Solar power\\",\\n \\"nameKey\\": \\"carbonInventory.check.light_electricity\\"\\n },\\n \\"urban\\": {\\n \\"carbonEmissionData\\": 1.2,\\n \\"rawData\\": 1.2,\\n \\"ratio\\": 0.4,\\n \\"dataUnit\\": \\"kWh\\",\\n \\"name\\": \\"Grid power\\",\\n \\"nameKey\\": \\"carbonInventory.check.urban_electricity\\"\\n },\\n \\"wind\\": {\\n \\"carbonEmissionData\\": 1.2,\\n \\"rawData\\": 1.1,\\n \\"ratio\\": 0.3,\\n \\"dataUnit\\": \\"kWh\\",\\n \\"name\\": \\"Wind power\\",\\n \\"nameKey\\": \\"carbonInventory.check.wind_electricity\\"\\n },\\n \\"nuclear\\": {\\n \\"carbonEmissionData\\": 2.3,\\n \\"rawData\\": 2,\\n \\"ratio\\": 0.6,\\n \\"dataUnit\\": \\"kWh\\",\\n \\"name\\": \\"Nuclear power\\",\\n \\"nameKey\\": \\"carbonInventory.check.nuclear_electricity\\"\\n },\\n \\"renewing\\": {\\n \\"carbonEmissionData\\": 2.3,\\n \\"rawData\\": 4.3,\\n \\"ratio\\": 0.44,\\n \\"dataUnit\\": \\"kWh\\",\\n \\"name\\": \\"Renewable energy power\\",\\n \\"nameKey\\": \\"carbonInventory.carbonEmissionAnalysis.components.CarbonDetail.keZaiShengZiYuan\\"\\n },\\n \\"zero\\": {\\n \\"carbonEmissionData\\": 1.2,\\n \\"rawData\\": 444.3,\\n \\"ratio\\": 0.33,\\n \\"dataUnit\\": \\"kWh\\",\\n \\"name\\": \\"Zero electricity\\",\\n \\"nameKey\\": \\"carbonInventory.carbonEmissionAnalysis.components.CarbonDetail.lingTanDianLi\\"\\n }\\n },\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\"\\n}","type":"json"}]', 'title' => 'GetElecConstitute', 'description' => '本接口的返回值是某组织不同电力类型的能源产生的碳排量。 接口需要传入的参数为:'."\n" .'- 企业的唯一标识符'."\n" .'- 碳排统计年份', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetElecConstitute'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetElecConstitute', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'machine', ], 'GetElecTrend' => [ 'summary' => 'Retrieves electricity trend analysis data.', 'path' => '/api/v1/carbon/emission/analysis/elec/trend', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.', 'type' => 'object', 'properties' => [ 'code' => ['description' => 'The enterprise code.', 'type' => 'string', 'required' => true, 'example' => 'C-20240115-3', 'title' => ''], 'yearList' => [ 'description' => 'A list of years.', 'type' => 'array', 'items' => ['description' => 'Year.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2023', 'title' => ''], 'required' => true, 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response struct.', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'water' => [ 'description' => 'The monthly electricity consumption and carbon emission data for hydropower.', 'type' => 'array', 'items' => [ 'description' => 'The data struct for monthly electricity consumption and carbon emissions of hydropower.', 'type' => 'object', 'properties' => [ 'carbonEmissionData' => ['description' => 'The carbon emissions.', 'type' => 'number', 'format' => 'double', 'example' => '3.14', 'title' => ''], 'rawData' => ['description' => 'Electricity consumption.', 'type' => 'number', 'format' => 'double', 'example' => '3.14', 'title' => ''], 'ratio' => ['description' => 'The ratio of the electricity consumption to the total electricity consumption for the month. For example, a value of 0.5 indicates 50%.', 'type' => 'number', 'format' => 'double', 'example' => '0.5', 'title' => ''], 'dataUnit' => ['description' => 'The unit.', 'type' => 'string', 'example' => 'kWh', 'title' => ''], 'name' => ['description' => 'The name of the electricity type.', 'type' => 'string', 'example' => 'Hydropower', 'title' => ''], 'nameKey' => ['description' => 'The code of the electricity type.', 'type' => 'string', 'example' => 'carbonInventory.check.water_electricity', 'title' => ''], 'month' => ['description' => 'The month.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => ''], 'year' => ['description' => 'The year.', 'type' => 'string', 'example' => '2024', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'light' => [ 'description' => 'The monthly electricity consumption and carbon emission data for photovoltaic power.', 'type' => 'array', 'items' => [ 'description' => 'The data struct for monthly electricity consumption and carbon emissions of photovoltaic power.', 'type' => 'object', 'properties' => [ 'carbonEmissionData' => ['description' => 'The carbon emissions.', 'type' => 'number', 'format' => 'double', 'example' => '3.14', 'title' => ''], 'rawData' => ['description' => 'Electricity consumption.', 'type' => 'number', 'format' => 'double', 'example' => '3.14', 'title' => ''], 'ratio' => ['description' => 'The ratio of the electricity consumption to the total electricity consumption for the month. For example, a value of 0.5 indicates 50%.', 'type' => 'number', 'format' => 'double', 'example' => '0.5', 'title' => ''], 'dataUnit' => ['description' => 'The unit.', 'type' => 'string', 'example' => 'kWh', 'title' => ''], 'name' => ['description' => 'The name of the electricity type.', 'type' => 'string', 'example' => 'Solar power', 'title' => ''], 'nameKey' => ['description' => 'The code of the electricity type.', 'type' => 'string', 'example' => 'carbonInventory.check.light_electricity', 'title' => ''], 'month' => ['description' => 'The month.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => ''], 'year' => ['description' => 'The year.', 'type' => 'string', 'example' => '2024', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'urban' => [ 'description' => 'The monthly electricity consumption and carbon emission data for grid power.', 'type' => 'array', 'items' => [ 'description' => 'The data struct for monthly electricity consumption and carbon emissions of grid power.', 'type' => 'object', 'properties' => [ 'carbonEmissionData' => ['description' => 'The carbon emissions.', 'type' => 'number', 'format' => 'double', 'example' => '3.14', 'title' => ''], 'rawData' => ['description' => 'Electricity consumption.', 'type' => 'number', 'format' => 'double', 'example' => '3.14', 'title' => ''], 'ratio' => ['description' => 'The ratio of the electricity consumption to the total electricity consumption for the month. For example, a value of 0.5 indicates 50%.', 'type' => 'number', 'format' => 'double', 'example' => '0.5', 'title' => ''], 'dataUnit' => ['description' => 'The unit.', 'type' => 'string', 'example' => 'kWh', 'title' => ''], 'name' => ['description' => 'The name of the electricity type.', 'type' => 'string', 'example' => 'Grid power', 'title' => ''], 'nameKey' => ['description' => 'The code of the electricity type.', 'type' => 'string', 'example' => 'carbonInventory.check.urban_electricity', 'title' => ''], 'month' => ['description' => 'The month.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => ''], 'year' => ['description' => 'The year.', 'type' => 'string', 'example' => '2024', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'wind' => [ 'description' => 'The monthly electricity consumption and carbon emission data for wind power.', 'type' => 'array', 'items' => [ 'description' => 'The data struct for monthly electricity consumption and carbon emissions of wind power.', 'type' => 'object', 'properties' => [ 'carbonEmissionData' => ['description' => 'The carbon emissions.', 'type' => 'number', 'format' => 'double', 'example' => '3.14', 'title' => ''], 'rawData' => ['description' => 'Electricity consumption.', 'type' => 'number', 'format' => 'double', 'example' => '3.14', 'title' => ''], 'ratio' => ['description' => 'The ratio of the electricity consumption to the total electricity consumption for the month. For example, a value of 0.5 indicates 50%.', 'type' => 'number', 'format' => 'double', 'example' => '0.5', 'title' => ''], 'dataUnit' => ['description' => 'The unit.', 'type' => 'string', 'example' => 'kWh', 'title' => ''], 'name' => ['description' => 'The name of the electricity type.', 'type' => 'string', 'example' => 'Wind power', 'title' => ''], 'nameKey' => ['description' => 'The code of the electricity type.', 'type' => 'string', 'example' => 'carbonInventory.check.wind_electricity', 'title' => ''], 'month' => ['description' => 'The month.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => ''], 'year' => ['description' => 'The year.', 'type' => 'string', 'example' => '2024', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'nuclear' => [ 'description' => 'The monthly electricity consumption and carbon emission data for nuclear power.', 'type' => 'array', 'items' => [ 'description' => 'The data struct for monthly electricity consumption and carbon emissions of nuclear power.', 'type' => 'object', 'properties' => [ 'carbonEmissionData' => ['description' => 'The carbon emissions.', 'type' => 'number', 'format' => 'double', 'example' => '3.14', 'title' => ''], 'rawData' => ['description' => 'Electricity consumption.', 'type' => 'number', 'format' => 'double', 'example' => '3.14', 'title' => ''], 'ratio' => ['description' => 'The ratio of the electricity consumption to the total electricity consumption for the month. For example, a value of 0.5 indicates 50%.', 'type' => 'number', 'format' => 'double', 'example' => '0.5', 'title' => ''], 'dataUnit' => ['description' => 'The unit.', 'type' => 'string', 'example' => 'kWh', 'title' => ''], 'name' => ['description' => 'The name of the electricity type.', 'type' => 'string', 'example' => 'Nuclear power', 'title' => ''], 'nameKey' => ['description' => 'The code of the electricity type.', 'type' => 'string', 'example' => 'carbonInventory.check.nuclear_electricity', 'title' => ''], 'month' => ['description' => 'The month.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => ''], 'year' => ['description' => 'The year.', 'type' => 'string', 'example' => '2024', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'renewing' => [ 'description' => 'The monthly electricity consumption and carbon emission data for renewable electricity.', 'type' => 'array', 'items' => [ 'description' => 'The data struct for monthly electricity consumption and carbon emissions of renewable electricity.', 'type' => 'object', 'properties' => [ 'carbonEmissionData' => ['description' => 'The carbon emissions.', 'type' => 'number', 'format' => 'double', 'example' => '3.14', 'title' => ''], 'rawData' => ['description' => 'Electricity consumption.', 'type' => 'number', 'format' => 'double', 'example' => '3.14', 'title' => ''], 'ratio' => ['description' => 'The ratio of the electricity consumption to the total electricity consumption for the month. For example, a value of 0.5 indicates 50%.', 'type' => 'number', 'format' => 'double', 'example' => '0.5', 'title' => ''], 'dataUnit' => ['description' => 'The unit.', 'type' => 'string', 'example' => 'kWh', 'title' => ''], 'name' => ['description' => 'The name of the electricity type.', 'type' => 'string', 'example' => 'Renewable electricity', 'title' => ''], 'nameKey' => ['description' => 'The code of the electricity type.', 'type' => 'string', 'example' => 'carbonInventory.carbonEmissionAnalysis.components.CarbonDetail.lingTanDianLi', 'title' => ''], 'month' => ['description' => 'The month.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => ''], 'year' => ['description' => 'The year.', 'type' => 'string', 'example' => '2024', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'zero' => [ 'description' => 'The monthly electricity consumption and carbon emission data for zero-carbon electricity.', 'type' => 'array', 'items' => [ 'description' => 'The data struct for monthly electricity consumption and carbon emissions of zero-carbon electricity.', 'type' => 'object', 'properties' => [ 'carbonEmissionData' => ['description' => 'The carbon emissions.', 'type' => 'number', 'format' => 'double', 'example' => '3.14', 'title' => ''], 'rawData' => ['description' => 'Electricity consumption.', 'type' => 'number', 'format' => 'double', 'example' => '3.14', 'title' => ''], 'ratio' => ['description' => 'The ratio of the electricity consumption to the total electricity consumption for the month. For example, a value of 0.5 indicates 50%.', 'type' => 'number', 'format' => 'double', 'example' => '0.5', 'title' => ''], 'dataUnit' => ['description' => 'The unit.', 'type' => 'string', 'example' => 'kWh', 'title' => ''], 'name' => ['description' => 'The name of the electricity type.', 'type' => 'string', 'example' => 'Zero electricity', 'title' => ''], 'nameKey' => ['description' => 'The code of the electricity type.', 'type' => 'string', 'example' => 'carbonInventory.carbonEmissionAnalysis.components.CarbonDetail.lingTanDianLi', 'title' => ''], 'month' => ['description' => 'The month.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => ''], 'year' => ['description' => 'The year.', 'type' => 'string', 'example' => '2024', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'code' => ['description' => 'The response code. A value of \\`200\\` indicates that the request was successful. Other values indicate that the request failed. For more information, see the \\`msg\\` parameter.', 'type' => 'string', 'example' => '200', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": {\\n \\"water\\": [\\n {\\n \\"carbonEmissionData\\": 3.14,\\n \\"rawData\\": 3.14,\\n \\"ratio\\": 0.5,\\n \\"dataUnit\\": \\"kWh\\",\\n \\"name\\": \\"Hydropower\\",\\n \\"nameKey\\": \\"carbonInventory.check.water_electricity\\",\\n \\"month\\": 12,\\n \\"year\\": \\"2024\\"\\n }\\n ],\\n \\"light\\": [\\n {\\n \\"carbonEmissionData\\": 3.14,\\n \\"rawData\\": 3.14,\\n \\"ratio\\": 0.5,\\n \\"dataUnit\\": \\"kWh\\",\\n \\"name\\": \\"Solar power\\",\\n \\"nameKey\\": \\"carbonInventory.check.light_electricity\\",\\n \\"month\\": 12,\\n \\"year\\": \\"2024\\"\\n }\\n ],\\n \\"urban\\": [\\n {\\n \\"carbonEmissionData\\": 3.14,\\n \\"rawData\\": 3.14,\\n \\"ratio\\": 0.5,\\n \\"dataUnit\\": \\"kWh\\",\\n \\"name\\": \\"Grid power\\",\\n \\"nameKey\\": \\"carbonInventory.check.urban_electricity\\",\\n \\"month\\": 12,\\n \\"year\\": \\"2024\\"\\n }\\n ],\\n \\"wind\\": [\\n {\\n \\"carbonEmissionData\\": 3.14,\\n \\"rawData\\": 3.14,\\n \\"ratio\\": 0.5,\\n \\"dataUnit\\": \\"kWh\\",\\n \\"name\\": \\"Wind power\\",\\n \\"nameKey\\": \\"carbonInventory.check.wind_electricity\\",\\n \\"month\\": 12,\\n \\"year\\": \\"2024\\"\\n }\\n ],\\n \\"nuclear\\": [\\n {\\n \\"carbonEmissionData\\": 3.14,\\n \\"rawData\\": 3.14,\\n \\"ratio\\": 0.5,\\n \\"dataUnit\\": \\"kWh\\",\\n \\"name\\": \\"Nuclear power\\",\\n \\"nameKey\\": \\"carbonInventory.check.nuclear_electricity\\",\\n \\"month\\": 12,\\n \\"year\\": \\"2024\\"\\n }\\n ],\\n \\"renewing\\": [\\n {\\n \\"carbonEmissionData\\": 3.14,\\n \\"rawData\\": 3.14,\\n \\"ratio\\": 0.5,\\n \\"dataUnit\\": \\"kWh\\",\\n \\"name\\": \\"Renewable electricity\\",\\n \\"nameKey\\": \\"carbonInventory.carbonEmissionAnalysis.components.CarbonDetail.lingTanDianLi\\",\\n \\"month\\": 12,\\n \\"year\\": \\"2024\\"\\n }\\n ],\\n \\"zero\\": [\\n {\\n \\"carbonEmissionData\\": 3.14,\\n \\"rawData\\": 3.14,\\n \\"ratio\\": 0.5,\\n \\"dataUnit\\": \\"kWh\\",\\n \\"name\\": \\"Zero electricity\\",\\n \\"nameKey\\": \\"carbonInventory.carbonEmissionAnalysis.components.CarbonDetail.lingTanDianLi\\",\\n \\"month\\": 12,\\n \\"year\\": \\"2024\\"\\n }\\n ]\\n },\\n \\"code\\": \\"200\\"\\n}","type":"json"}]', 'title' => 'GetElecTrend', 'description' => '1. The API returns a list. Each element in the list contains emission data for a specific type of electricity.'."\n" ."\n" .'2. Each emission list contains the following elements: the year and month of the emission, the electricity consumption and its unit, the corresponding carbon emissions, and the ratio of this consumption to the total electricity consumption for that month.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetElecTrend'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetElecTrend', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'machine', ], 'GetEmissionSourceConstitute' => [ 'path' => '/api/v1/carbon/emission/analysis/constitute', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request parameters.', 'type' => 'object', 'properties' => [ 'code' => ['description' => 'The enterprise code.', 'type' => 'string', 'required' => true, 'example' => 'C-20240119-1', 'title' => ''], 'year' => ['description' => 'The inventory year.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2024', 'title' => ''], 'moduleType' => ['description' => 'The module type.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '3', 'title' => ''], 'moduleCode' => ['description' => 'The module code.', 'type' => 'string', 'required' => false, 'example' => 'carbonInventory.check.scope_1_direct_ghg_emissions', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'data' => [ 'description' => 'The returned data.', 'type' => 'array', 'items' => ['description' => 'A list of composition analysis details.', '$ref' => '#/components/schemas/ConstituteItem', 'title' => '', 'example' => ''], 'title' => '', 'example' => '', ], 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'GetEmissionSourceConstitute', 'summary' => 'Retrieves the composition of emission sources.', 'description' => 'Returns the carbon emission details for an organization across various emission source types and facilities. The data is structured as a three-level tree. To call this operation, provide the following parameters:'."\n" ."\n" .'- The unique identifier of the enterprise.'."\n" ."\n" .'- The year for which carbon emissions are calculated.'."\n" ."\n" .'- The type of statistical module.', 'changeSet' => [ ['createdAt' => '2024-04-03T02:40:33.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetEmissionSourceConstitute'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetEmissionSourceConstitute', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": [\\n {\\n \\"enterpriseName\\": \\"EnterpriseA\\",\\n \\"rawData\\": 1.2,\\n \\"carbonEmissionData\\": 3.222,\\n \\"ratio\\": 0.5,\\n \\"nameKey\\": \\"carbonInventory.check.indirect_emissions_from_imported_electricity\\",\\n \\"name\\": \\"Scope 1: Direct GHG emissions\\",\\n \\"emissionSourceKey\\": \\"carbonInventory.check.by_electricity_properties/carbonInventory.check.wind_electricity/carbonInventory.check.gec\\",\\n \\"emissionSource\\": \\"GEC\\",\\n \\"dataUnit\\": \\"kWh\\",\\n \\"envGasEmissions\\": [\\n {\\n \\"type\\": \\"1\\",\\n \\"name\\": \\"CO₂\\",\\n \\"gasEmissionData\\": 4.33,\\n \\"carbonEmissionData\\": 1.2\\n }\\n ],\\n \\"subConstituteItems\\": [\\n {\\n \\"enterpriseName\\": \\"EnterpriseA\\",\\n \\"rawData\\": 1.2,\\n \\"carbonEmissionData\\": 3.222,\\n \\"ratio\\": 0.5,\\n \\"nameKey\\": \\"carbonInventory.check.indirect_emissions_from_imported_electricity\\",\\n \\"name\\": \\"Scope 1: Direct GHG emissions\\",\\n \\"emissionSourceKey\\": \\"carbonInventory.check.by_electricity_properties/carbonInventory.check.wind_electricity/carbonInventory.check.gec\\",\\n \\"emissionSource\\": \\"GEC\\",\\n \\"dataUnit\\": \\"kWh\\",\\n \\"envGasEmissions\\": [\\n {\\n \\"type\\": \\"1\\",\\n \\"name\\": \\"CO₂\\",\\n \\"gasEmissionData\\": 4.33,\\n \\"carbonEmissionData\\": 1.2\\n }\\n ],\\n \\"subConstituteItems\\": [\\n {\\n \\"enterpriseName\\": \\"EnterpriseA\\",\\n \\"rawData\\": 1.2,\\n \\"carbonEmissionData\\": 3.222,\\n \\"ratio\\": 0.5,\\n \\"nameKey\\": \\"carbonInventory.check.indirect_emissions_from_imported_electricity\\",\\n \\"name\\": \\"Scope 1: Direct GHG emissions\\",\\n \\"emissionSourceKey\\": \\"carbonInventory.check.by_electricity_properties/carbonInventory.check.wind_electricity/carbonInventory.check.gec\\",\\n \\"emissionSource\\": \\"GEC\\",\\n \\"dataUnit\\": \\"kWh\\",\\n \\"envGasEmissions\\": [\\n {\\n \\"type\\": \\"1\\",\\n \\"name\\": \\"CO₂\\",\\n \\"gasEmissionData\\": 4.33,\\n \\"carbonEmissionData\\": 1.2\\n }\\n ],\\n \\"subConstituteItems\\": []\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\"\\n}","type":"json"}]', ], 'GetEmissionSummary' => [ 'summary' => 'Retrieves a carbon emission summary.', 'path' => '/api/v1/carbon/emission/analysis/summary', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request parameters.', 'type' => 'object', 'properties' => [ 'code' => ['description' => 'The code of the enterprise.', 'type' => 'string', 'required' => true, 'example' => 'C-20240119-1', 'title' => ''], 'year' => ['description' => 'The inventory year.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2024', 'title' => ''], 'moduleType' => ['description' => 'The module type.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''], 'moduleCode' => ['description' => 'The module code.', 'type' => 'string', 'required' => false, 'example' => 'carbonInventory.check.scope_1_direct_ghg_emissions', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The schema of the response.', 'type' => 'object', 'properties' => [ 'data' => [ 'description' => 'The details of the summary.', 'type' => 'object', 'properties' => [ 'currentPeriodCarbonEmissionData' => ['description' => 'The statistical metric for the current period.', 'type' => 'number', 'format' => 'double', 'example' => '276.4', 'title' => ''], 'lastPeriodCarbonEmissionData' => ['description' => 'The statistical metric for the previous period.', 'type' => 'number', 'format' => 'double', 'example' => '9.40100', 'title' => ''], 'totalCarbonEmissionData' => ['description' => 'The total emissions from energy consumption.', 'type' => 'number', 'format' => 'double', 'example' => '276.46', 'title' => ''], 'carbonSaveConversion' => ['description' => 'The reduced carbon emissions.', 'type' => 'number', 'format' => 'double', 'example' => '0.0', 'title' => ''], 'ratio' => ['description' => 'The year-over-year (YoY) change for the current period.', 'type' => 'number', 'format' => 'double', 'example' => '28.410', 'title' => ''], 'actualEmissionRatio' => ['description' => 'The percentage of recorded emissions.', 'type' => 'number', 'format' => 'double', 'example' => '2.7657', 'title' => ''], 'weightingCarbonEmissionData' => ['description' => 'The carbon emissions calculated based on the equity ratio.', 'type' => 'number', 'format' => 'double', 'example' => '248.81400', 'title' => ''], 'lastPeriodWeightingCarbonEmissionData' => ['description' => 'The carbon emissions of the previous period calculated based on the equity ratio.', 'type' => 'number', 'format' => 'double', 'example' => '8.4609', 'title' => ''], 'weightingRatio' => ['description' => 'The YoY change in carbon emissions based on the equity ratio.', 'type' => 'number', 'format' => 'double', 'example' => '28.4102', 'title' => ''], 'isWeighting' => ['description' => 'Indicates whether to show carbon emissions based on the equity ratio.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'title' => '', 'example' => '', ], 'requestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": {\\n \\"currentPeriodCarbonEmissionData\\": 276.4,\\n \\"lastPeriodCarbonEmissionData\\": 9.401,\\n \\"totalCarbonEmissionData\\": 276.46,\\n \\"carbonSaveConversion\\": 0,\\n \\"ratio\\": 28.41,\\n \\"actualEmissionRatio\\": 2.7657,\\n \\"weightingCarbonEmissionData\\": 248.814,\\n \\"lastPeriodWeightingCarbonEmissionData\\": 8.4609,\\n \\"weightingRatio\\": 28.4102,\\n \\"isWeighting\\": true\\n },\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\"\\n}","type":"json"}]', 'title' => 'GetEmissionSummary', 'description' => 'Returns the summary of carbon emission metrics for an organization. The following parameters are required:'."\n" ."\n" .'- The unique identifier of the organization'."\n" ."\n" .'- The year of the statistics'."\n" ."\n" .'- The type of the statistical module', 'changeSet' => [ ['createdAt' => '2024-04-03T02:40:33.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetEmissionSummary'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetEmissionSummary', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'GetEpdInventoryConstitute' => [ 'summary' => 'Retrieves the detailed results of environmental impact categories.', 'path' => '/api/v1/carbon/footprint/result/epd/inventory/constitute', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request parameters.', 'type' => 'object', 'properties' => [ 'code' => ['description' => 'The enterprise code.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'C-20080808-1'], 'productId' => ['description' => 'The product ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1024'], 'productType' => ['description' => 'The product type. Set this to 1 for a product carbon footprint request. Set this to 5 for a supply chain carbon footprint request.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1'], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request. This value is unique for each request. Use this ID to troubleshoot issues.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => [ 'description' => 'A list of environmental impact results.', 'type' => 'array', 'items' => ['description' => 'An environmental impact result item.', '$ref' => '#/components/schemas/EpdInventoryConstituteItem', 'title' => '', 'example' => ''], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": [\\n {\\n \\"inventoryValuePerProduct\\": 1,\\n \\"factorDataset\\": \\"/\\",\\n \\"percent\\": 31.4,\\n \\"inventoryValuePerProductUnit\\": \\"kg\\",\\n \\"num\\": 1,\\n \\"quantity\\": 1,\\n \\"resourceType\\": \\"Energy\\",\\n \\"factorType\\": 1,\\n \\"unit\\": \\"kg CO2-Eq\\",\\n \\"name\\": \\"climate change\\",\\n \\"inventoryId\\": 1,\\n \\"inventoryValue\\": 2,\\n \\"factorUnit\\": \\"kg CO2-Eq/kg\\",\\n \\"inventoryUnit\\": \\"t\\",\\n \\"state\\": 1,\\n \\"factor\\": \\"1.0000\\",\\n \\"carbonEmission\\": 1009.97626554,\\n \\"factorId\\": \\"1234\\",\\n \\"items\\": [\\n {\\n \\"inventoryValuePerProduct\\": 1,\\n \\"factorDataset\\": \\"/\\",\\n \\"percent\\": 31.4,\\n \\"inventoryValuePerProductUnit\\": \\"kg\\",\\n \\"num\\": 1,\\n \\"quantity\\": 1,\\n \\"resourceType\\": \\"Energy\\",\\n \\"factorType\\": 1,\\n \\"unit\\": \\"kg CO2-Eq\\",\\n \\"name\\": \\"climate change\\",\\n \\"inventoryId\\": 1,\\n \\"inventoryValue\\": 2,\\n \\"factorUnit\\": \\"kg CO2-Eq/kg\\",\\n \\"inventoryUnit\\": \\"t\\",\\n \\"state\\": 1,\\n \\"factor\\": \\"1.0000\\",\\n \\"carbonEmission\\": 1009.97626554,\\n \\"factorId\\": \\"1234\\",\\n \\"items\\": [\\n {\\n \\"inventoryValuePerProduct\\": 1,\\n \\"factorDataset\\": \\"/\\",\\n \\"percent\\": 31.4,\\n \\"inventoryValuePerProductUnit\\": \\"kg\\",\\n \\"num\\": 1,\\n \\"quantity\\": 1,\\n \\"resourceType\\": \\"Energy\\",\\n \\"factorType\\": 1,\\n \\"unit\\": \\"kg CO2-Eq\\",\\n \\"name\\": \\"climate change\\",\\n \\"inventoryId\\": 1,\\n \\"inventoryValue\\": 2,\\n \\"factorUnit\\": \\"kg CO2-Eq/kg\\",\\n \\"inventoryUnit\\": \\"t\\",\\n \\"state\\": 1,\\n \\"factor\\": \\"1.0000\\",\\n \\"carbonEmission\\": 1009.97626554,\\n \\"factorId\\": \\"1234\\",\\n \\"items\\": []\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', 'title' => 'GetEpdInventoryConstitute', 'description' => 'This API returns emission amounts for a product, broken down by environmental impact type and level. The data is sourced from the results page. You can use this API to retrieve the emission quantity for each checklist item.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetEpdInventoryConstitute'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetEpdInventoryConstitute', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'GetEpdSummary' => [ 'summary' => 'Retrieves the total emissions for various environmental impact categories.', 'path' => '/api/v1/carbon/footprint/result/epd/summary', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request parameters.', 'type' => 'object', 'properties' => [ 'code' => ['description' => 'The enterprise code.', 'type' => 'string', 'required' => true, 'example' => 'C-20080808-1', 'title' => ''], 'productId' => ['description' => 'The product ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1024', 'title' => ''], 'productType' => ['description' => 'The product type. \\`1\\` indicates a product carbon footprint request. \\`5\\` indicates a supply chain carbon footprint request.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request. This value is unique for each request. Use this ID to troubleshoot issues.', 'type' => 'string', 'example' => 'B91B5559-065A-55C3-8D75-DA218EBFD1DC'], 'data' => [ 'description' => 'The returned data.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'carbonEmission' => ['description' => 'The emission amount. The result is returned with 31 decimal places to ensure calculation accuracy. Truncate this value for display. Use the emission amount with its corresponding unit.', 'type' => 'number', 'format' => 'double', 'example' => '1009.976265540000000000000000000000', 'title' => ''], 'indicator' => ['description' => 'The evaluation indicator for the environmental impact.', 'type' => 'string', 'example' => 'GWP100a', 'title' => ''], 'key' => ['description' => 'The category key for the environmental impact category. Up to 19 categories are supported. For more information, see the [appendix](https://carbon-doc.oss-cn-hangzhou.aliyuncs.com/%E7%A2%B3%E8%B6%B3%E8%BF%B9%E9%99%84%E5%BD%95.pdf).', 'type' => 'string', 'example' => 'gwp', 'title' => ''], 'method' => ['description' => 'The standard for the calculation method.', 'type' => 'string', 'example' => 'CML v4.8 2016', 'title' => ''], 'name' => ['description' => 'The name of the category.', 'type' => 'string', 'example' => 'Climate change', 'title' => ''], 'num' => ['description' => 'The category number. This is the unique ordinal number for the environmental impact category. Up to 19 categories are supported. For more information, see the [appendix](https://carbon-doc.oss-cn-hangzhou.aliyuncs.com/%E7%A2%B3%E8%B6%B3%E8%BF%B9%E9%99%84%E5%BD%95.pdf).', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], 'preUnit' => ['description' => 'The unit of the environmental impact result.', 'type' => 'string', 'example' => 'kg CO2-Eq', 'title' => ''], 'state' => ['description' => 'The status of the data. \\`1\\` indicates an accurate calculation. \\`2\\` indicates that default data was used. \\`3\\` indicates that a factor was missing and a value of 0 was used.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"B91B5559-065A-55C3-8D75-DA218EBFD1DC\\",\\n \\"data\\": [\\n {\\n \\"carbonEmission\\": 1009.97626554,\\n \\"indicator\\": \\"GWP100a\\",\\n \\"key\\": \\"gwp\\",\\n \\"method\\": \\"CML v4.8 2016\\",\\n \\"name\\": \\"Climate change\\",\\n \\"num\\": 1,\\n \\"preUnit\\": \\"kg CO2-Eq\\",\\n \\"state\\": 1\\n }\\n ]\\n}","type":"json"}]', 'title' => 'GetEpdSummary', 'description' => 'Retrieves the total emissions for a product across various environmental impact categories. The product is identified by its ID. The operation returns the totals from the generated results page.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '5000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetEpdSummary'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetEpdSummary', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'machine', ], 'GetFootprintList' => [ 'summary' => 'Retrieves a list of product carbon footprints.', 'path' => '/api/v1/carbon/footprint/product/list', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request parameters.', 'type' => 'object', 'properties' => [ 'code' => ['description' => 'The enterprise code.', 'type' => 'string', 'required' => true, 'example' => 'C-20080808-1', 'title' => ''], 'currentPage' => ['description' => 'The paging parameter. This is the page number. The value starts from 1.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''], 'pageSize' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10', 'title' => ''], 'productType' => ['description' => 'The product type. A value of 1 indicates a request for a product carbon footprint. A value of 5 indicates a request for a supply chain carbon footprint.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID. Each request has a unique ID. This helps with troubleshooting.', 'type' => 'string', 'example' => '06DA2909-7736-5738-AA31-ACD617D828F1'], 'data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'currentPage' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], 'pageSize' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], 'records' => [ 'description' => 'A list of product details.', 'type' => 'array', 'items' => [ 'description' => 'The product information struct.', 'type' => 'object', 'properties' => [ 'id' => ['description' => 'The product ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1024', 'title' => ''], 'name' => ['description' => 'The product name.', 'type' => 'string', 'example' => 'Demo product', 'title' => ''], 'authStatus' => ['description' => 'The enumeration value for the certification status. For more information, see [the appendix](https://carbon-doc.oss-cn-hangzhou.aliyuncs.com/%E7%A2%B3%E8%B6%B3%E8%BF%B9%E9%99%84%E5%BD%95.pdf).', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], 'amount' => ['description' => 'The product quantity.', 'type' => 'number', 'format' => 'double', 'example' => '100.0000000000000000000000000', 'title' => ''], 'checkStartTime' => ['description' => 'The start time of the calculation.', 'type' => 'string', 'example' => '2024/01/01', 'title' => ''], 'checkEndTime' => ['description' => 'The end time of the calculation.', 'type' => 'string', 'example' => '2024/01/31', 'title' => ''], 'createdBy' => ['description' => 'The creator.', 'type' => 'string', 'example' => 'Energy Expert', 'title' => ''], 'code' => ['description' => 'The code of the enterprise to which the product belongs.', 'type' => 'string', 'example' => 'C-20080808-1', 'title' => ''], 'isDemoModel' => ['description' => 'Indicates whether the model is a demo model. A value of 1 means yes. A value of 0 means no. A true value indicates a system-built demo model.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], 'lifeCycle' => ['description' => 'The text description that corresponds to the lifeCycleType. The value can be `cradle-to-gate` or `cradle-to-grave`.', 'type' => 'string', 'example' => '从摇篮到大门', 'title' => ''], 'lifeCycleType' => ['description' => 'A value of 1 indicates cradle-to-gate. A value of 2 indicates cradle-to-grave.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], 'type' => ['description' => 'The enumeration value for the product category. For more information, see [the appendix](https://carbon-doc.oss-cn-hangzhou.aliyuncs.com/%E7%A2%B3%E8%B6%B3%E8%BF%B9%E9%99%84%E5%BD%95.pdf).', 'type' => 'string', 'example' => '158-159', 'title' => ''], 'unit' => ['description' => 'The enumeration value for the unit. For more information, see [the appendix](https://carbon-doc.oss-cn-hangzhou.aliyuncs.com/%E7%A2%B3%E8%B6%B3%E8%BF%B9%E9%99%84%E5%BD%95.pdf).', 'type' => 'string', 'example' => '1-4', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'total' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int64', 'example' => '21', 'title' => ''], 'totalPage' => ['description' => 'The total number of pages.', 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"06DA2909-7736-5738-AA31-ACD617D828F1\\",\\n \\"data\\": {\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"records\\": [\\n {\\n \\"id\\": 1024,\\n \\"name\\": \\"Demo product\\",\\n \\"authStatus\\": 1,\\n \\"amount\\": 100,\\n \\"checkStartTime\\": \\"2024/01/01\\",\\n \\"checkEndTime\\": \\"2024/01/31\\",\\n \\"createdBy\\": \\"Energy Expert\\",\\n \\"code\\": \\"C-20080808-1\\",\\n \\"isDemoModel\\": 1,\\n \\"lifeCycle\\": \\"从摇篮到大门\\",\\n \\"lifeCycleType\\": 1,\\n \\"type\\": \\"158-159\\",\\n \\"unit\\": \\"1-4\\"\\n }\\n ],\\n \\"total\\": 21,\\n \\"totalPage\\": 3\\n }\\n}","type":"json"}]', 'title' => 'GetFootprintList', 'description' => 'Returns a list of product or supply chain carbon footprints that match the specified criteria. You can specify parameters such as the enterprise code, page number, and page size. The returned list includes information such as the product name and product ID. The product ID is used as an input parameter in other API operations to retrieve the results for the corresponding product.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetFootprintList'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetFootprintList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'manual', ], 'GetGasConstitute' => [ 'summary' => 'Retrieves a gas composition analysis.', 'path' => '/api/v1/carbon/emission/analysis/gas/constitute', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.', 'type' => 'object', 'properties' => [ 'code' => ['description' => 'The enterprise code.', 'type' => 'string', 'required' => true, 'example' => 'C-20240115-3', 'title' => ''], 'year' => ['description' => 'The year.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2024', 'title' => ''], 'moduleType' => ['description' => 'The module type.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '3', 'title' => ''], 'moduleCode' => ['description' => 'The module code.', 'type' => 'string', 'required' => false, 'example' => 'carbonInventory.check.scope_1_direct_ghg_emissions'."\n", 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response struct.', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'."\n"], 'data' => [ 'description' => 'The response data.', 'type' => 'array', 'items' => [ 'description' => 'The response data structure.', 'type' => 'object', 'properties' => [ 'type' => ['description' => 'The gas type.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'name' => ['description' => 'The gas name.', 'type' => 'string', 'example' => 'CO₂', 'title' => ''], 'gasEmissionData' => ['description' => 'The amount of gas emissions.', 'type' => 'number', 'format' => 'double', 'example' => '3.14', 'title' => ''], 'carbonEmissionData' => ['description' => 'The carbon emission equivalent.', 'type' => 'number', 'format' => 'double', 'example' => '3.14', 'title' => ''], 'ratio' => ['description' => 'The carbon emission ratio. For example, a value of 0.5 indicates 50%.', 'type' => 'number', 'format' => 'double', 'example' => '0.5', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'GetGasConstitute', 'changeSet' => [ ['createdAt' => '2024-06-12T01:57:27.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-04-03T02:40:33.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetGasConstitute'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetGasConstitute', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\\\n\\",\\n \\"data\\": [\\n {\\n \\"type\\": 1,\\n \\"name\\": \\"CO₂\\",\\n \\"gasEmissionData\\": 3.14,\\n \\"carbonEmissionData\\": 3.14,\\n \\"ratio\\": 0.5\\n }\\n ]\\n}","type":"json"}]', ], 'GetGwpBenchmarkList' => [ 'summary' => 'Retrieves a ranked list of active carbon reduction initiatives.', 'path' => '/api/v1/carbon/footprint/result/gwp/benchmark/list', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request parameters.', 'type' => 'object', 'properties' => [ 'code' => ['description' => 'The enterprise code.', 'type' => 'string', 'required' => true, 'example' => 'C-20080808-1', 'title' => ''], 'productId' => ['description' => 'The product ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1024', 'title' => ''], 'productType' => ['description' => 'The product type. A value of 1 indicates a product carbon footprint request. A value of 5 indicates a supply chain carbon footprint request.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Response schema', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID. Each request has a unique ID. Use this ID to troubleshoot issues.', 'type' => 'string', 'example' => 'A8AEC6D9-A359-5169-BD1A-BD848BA60D65'], 'data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'unit' => ['description' => 'The unit of emissions. The default value is kgCO₂e/productUnit, where \\`productUnit\\` is the unit selected for the product. The unit automatically adjusts to tCO₂e/productUnit or gCO₂e/productUnit based on the emission quantity.', 'type' => 'string', 'example' => 'kgCO₂e/kg', 'title' => ''], 'items' => [ 'description' => 'The ranking list of active carbon reduction initiatives.', 'type' => 'array', 'items' => [ 'description' => 'The details of the carbon reduction project.', 'type' => 'object', 'properties' => [ 'name' => ['description' => 'The name of the inventory item.', 'type' => 'string', 'example' => 'PVC waste recycling', 'title' => ''], 'carbonEmission' => ['description' => 'The emissions of the inventory item. The value is accurate to four decimal places. The unit is specified by the \\`unit\\` parameter at the parent level.', 'type' => 'number', 'format' => 'double', 'example' => '-0.2061', 'title' => ''], 'percent' => ['description' => 'This parameter is not in use.', 'type' => 'string', 'example' => '暂为null', 'title' => ''], 'benchmarkName' => ['description' => 'The name of the baseline.', 'type' => 'string', 'example' => 'PVC waste incineration', 'title' => ''], 'benchmarkEmission' => ['description' => 'The baseline emissions associated with the inventory item. The value is accurate to four decimal places. The unit is specified by the \\`unit\\` parameter at the parent level.', 'type' => 'number', 'format' => 'double', 'example' => '0.0108', 'title' => ''], 'activeReduction' => ['description' => 'The active carbon reduction amount. This value is calculated by subtracting the inventory item\'s emissions from the baseline emissions. Typically, the baseline emissions are greater than the inventory item\'s emissions. The value is accurate to four decimal places. The unit is specified by the \\`unit\\` parameter at the parent level.', 'type' => 'number', 'format' => 'double', 'example' => '0.2169', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"A8AEC6D9-A359-5169-BD1A-BD848BA60D65\\",\\n \\"data\\": {\\n \\"unit\\": \\"kgCO₂e/kg\\",\\n \\"items\\": [\\n {\\n \\"name\\": \\"PVC waste recycling\\",\\n \\"carbonEmission\\": -0.2061,\\n \\"percent\\": \\"暂为null\\",\\n \\"benchmarkName\\": \\"PVC waste incineration\\",\\n \\"benchmarkEmission\\": 0.0108,\\n \\"activeReduction\\": 0.2169\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'GetGwpBenchmarkList', 'description' => 'Returns a paginated list of active carbon reduction amounts for a specified product. You can use this operation to understand the active carbon reduction amounts at each product level.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetGwpBenchmarkList'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetGwpBenchmarkList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'machine', ], 'GetGwpBenchmarkSummary' => [ 'summary' => 'Retrieves the total proactive carbon reduction.', 'path' => '/api/v1/carbon/footprint/result/gwp/benchmark/summary', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request parameters.', 'type' => 'object', 'properties' => [ 'code' => ['description' => 'The enterprise code.', 'type' => 'string', 'required' => true, 'example' => 'C-20080808-1', 'title' => ''], 'productId' => ['description' => 'The product ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1024', 'title' => ''], 'productType' => ['description' => 'The product type. A value of \\`1\\` indicates a product carbon footprint request. A value of \\`5\\` indicates a supply chain carbon footprint request.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID. Each request has a unique ID for troubleshooting.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'items' => [ 'description' => 'Details of the top four contributors to carbon reduction.', 'type' => 'array', 'items' => [ 'description' => 'Item details.', 'type' => 'object', 'properties' => [ 'name' => ['description' => 'The name of the carbon reduction detail.', 'type' => 'string', 'example' => 'Raw materials', 'title' => ''], 'percent' => ['description' => 'The emission percentage. This is a string with two decimal places. For example, a value of \\`99.01\\` indicates that this category accounts for 99.01% of the total emissions. Note that the returned string does not include the percent sign (%).', 'type' => 'string', 'example' => '99.01', 'title' => ''], 'quantity' => ['description' => 'The emission quantity, with a precision of four decimal places. This value is typically not negative, but you can construct a negative value for proactive carbon reduction. The \\`quantity\\` and \\`unit\\` parameters are adaptive and together represent the emission amount. The unit automatically adjusts based on the quantity. If the emission amount is greater than 1000 kgCO₂e/productUnit, the unit is converted to tCO₂e/productUnit. If the amount is less than 1 kgCO₂e/productUnit, the unit is converted to gCO₂e/productUnit. Otherwise, the unit remains kgCO₂e/productUnit.', 'type' => 'integer', 'format' => 'int64', 'example' => '9.9763', 'title' => ''], 'unit' => ['description' => 'The emission unit. The default is kgCO₂e/productUnit, where \\`productUnit\\` is the unit selected for the product. The \\`unit\\` adaptively changes to tCO₂e/productUnit or gCO₂e/productUnit based on the \\`quantity\\`. For more information about the conversion rules, see the description of the \\`quantity\\` parameter.', 'type' => 'string', 'example' => 'kgCO₂e/kg', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'quantity' => ['description' => 'The emission quantity, with a precision of four decimal places. This value is typically not negative, but you can construct a negative value for proactive carbon reduction. The \\`quantity\\` and \\`unit\\` parameters are adaptive and together represent the emission amount. The unit automatically adjusts based on the quantity. If the emission amount is greater than 1000 kgCO₂e/productUnit, the unit is converted to tCO₂e/productUnit. If the amount is less than 1 kgCO₂e/productUnit, the unit is converted to gCO₂e/productUnit. Otherwise, the unit remains kgCO₂e/productUnit.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000.0000', 'title' => ''], 'unit' => ['description' => 'The emission unit. The default is kgCO₂e/productUnit, where \\`productUnit\\` is the unit selected for the product. The \\`unit\\` adaptively changes to tCO₂e/productUnit or gCO₂e/productUnit based on the \\`quantity\\`. For more information about the conversion rules, see the description of the \\`quantity\\` parameter.', 'type' => 'string', 'example' => 'kgCO₂e/t', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": {\\n \\"items\\": [\\n {\\n \\"name\\": \\"Raw materials\\",\\n \\"percent\\": \\"99.01\\",\\n \\"quantity\\": 9.9763,\\n \\"unit\\": \\"kgCO₂e/kg\\"\\n }\\n ],\\n \\"quantity\\": 1000,\\n \\"unit\\": \\"kgCO₂e/t\\"\\n }\\n}","type":"json"}]', 'title' => 'GetGwpBenchmarkSummary', 'description' => 'Returns the proactive carbon reduction data from the generated results page for a specific product ID. It also provides details about the top four contributors to carbon reduction. You can use this operation to understand the total proactive carbon reduction for a product and its main sources.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetGwpBenchmarkSummary'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetGwpBenchmarkSummary', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'machine', ], 'GetGwpInventoryConstitute' => [ 'summary' => 'Retrieves the carbon emission composition analysis for a specified product. The analysis provides a breakdown across two dimensions: by checklist and by type. The results are rendered as a hierarchical list and a pie chart.', 'path' => '/api/v1/carbon/footprint/result/gwp/inventory/constitute', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'Request parameters.', 'type' => 'object', 'properties' => [ 'code' => ['description' => 'The enterprise code.', 'type' => 'string', 'required' => true, 'example' => 'C-20080808-1', 'title' => ''], 'productId' => ['description' => 'The product ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1024', 'title' => ''], 'productType' => ['description' => 'The product type. A value of 1 indicates a request for a product carbon footprint. A value of 5 indicates a request for a supply chain carbon footprint.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID. Each request has a unique value. You can use this ID to troubleshoot issues.', 'type' => 'string', 'example' => '06DA2909-7736-5738-AA31-ACD617D828F1'], 'data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'name' => ['description' => 'The meaning of the current hierarchical structure.', 'type' => 'string', 'example' => 'Total carbon emissions', 'title' => ''], 'unit' => ['description' => 'The emissions unit.', 'type' => 'string', 'example' => 'kgCO₂e/t', 'title' => ''], 'carbonEmission' => ['description' => 'The amount of emissions. The value can be positive, negative, or 0. To ensure calculation accuracy, the calculation process retains 24 decimal places. For ease of display and use, truncate the value as needed.', 'type' => 'number', 'format' => 'double', 'example' => '1009.976265540000000000000000000000', 'title' => ''], 'byResourceType' => [ 'description' => 'Aggregated by type. This includes the emission details for each type.', 'type' => 'array', 'items' => ['description' => 'Used for the \'by type\' analysis. This is a two-level nested structure. The top level is Total Carbon Emissions, which is then sorted by checklist type. The byResourceType parameter at the lowest level is empty.', '$ref' => '#/components/schemas/GwpInventoryConstitute', 'title' => '', 'example' => ''], 'title' => '', 'example' => '', ], 'items' => [ 'description' => 'Organized in a hierarchical structure from the highest level to the lowest level: stage, procedure, and then checklist.', 'type' => 'array', 'items' => ['description' => 'Used for the \'by checklist\' analysis. This is a nested structure organized by stage, procedure, and checklist level. The items parameter at the lowest level is empty.', '$ref' => '#/components/schemas/GwpInventoryConstitute', 'title' => '', 'example' => ''], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"06DA2909-7736-5738-AA31-ACD617D828F1\\",\\n \\"data\\": {\\n \\"name\\": \\"Total carbon emissions\\",\\n \\"unit\\": \\"kgCO₂e/t\\",\\n \\"carbonEmission\\": 1009.97626554,\\n \\"byResourceType\\": [\\n {\\n \\"percent\\": 100,\\n \\"resourceType\\": 1,\\n \\"unit\\": \\"kgCO₂e/kg\\",\\n \\"carbonEmission\\": 1009.97626554,\\n \\"name\\": \\"Acquisition of Raw Materials\\",\\n \\"byResourceType\\": [\\n {\\n \\"name\\": \\"Energy\\",\\n \\"unit\\": \\"kgCO₂e/Piece(s)\\",\\n \\"resourceType\\": 1,\\n \\"carbonEmission\\": 1009.97626554,\\n \\"percent\\": \\"98.76\\"\\n }\\n ],\\n \\"items\\": [\\n {\\n \\"percent\\": 100,\\n \\"resourceType\\": 1,\\n \\"unit\\": \\"kgCO₂e/kg\\",\\n \\"carbonEmission\\": 1009.97626554,\\n \\"name\\": \\"Acquisition of Raw Materials\\",\\n \\"byResourceType\\": [\\n {\\n \\"name\\": \\"Energy\\",\\n \\"unit\\": \\"kgCO₂e/Piece(s)\\",\\n \\"resourceType\\": 1,\\n \\"carbonEmission\\": 1009.97626554,\\n \\"percent\\": \\"98.76\\"\\n }\\n ],\\n \\"items\\": [\\n {\\n \\"percent\\": 100,\\n \\"resourceType\\": 1,\\n \\"unit\\": \\"kgCO₂e/kg\\",\\n \\"carbonEmission\\": 1009.97626554,\\n \\"name\\": \\"Acquisition of Raw Materials\\",\\n \\"byResourceType\\": [\\n {\\n \\"name\\": \\"Energy\\",\\n \\"unit\\": \\"kgCO₂e/Piece(s)\\",\\n \\"resourceType\\": 1,\\n \\"carbonEmission\\": 1009.97626554,\\n \\"percent\\": \\"98.76\\"\\n }\\n ],\\n \\"items\\": []\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"items\\": []\\n }\\n}","type":"json"}]', 'title' => 'GetGwpInventoryConstitute', 'description' => 'Retrieves the carbon emission composition analysis for a specified product. The analysis provides a breakdown across two dimensions: by checklist and by type. The results are rendered as a hierarchical list and a pie chart.', 'changeSet' => [ ['createdAt' => '2024-04-01T08:43:56.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetGwpInventoryConstitute'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetGwpInventoryConstitute', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'machine', ], 'GetGwpInventorySummary' => [ 'summary' => 'Retrieves the total carbon footprint of a product and provides details about its top four contributors.', 'path' => '/api/v1/carbon/footprint/result/gwp/inventory/summary', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request parameters.', 'type' => 'object', 'properties' => [ 'code' => ['description' => 'The enterprise code.', 'type' => 'string', 'required' => true, 'example' => 'C-20080808-1', 'title' => ''], 'productId' => ['description' => 'The product ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1024', 'title' => ''], 'productType' => ['description' => 'The product type. \\`1\\`: product carbon footprint. \\`5\\`: supply chain carbon footprint.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The unique ID of the request. Use this ID to troubleshoot issues.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'unit' => ['description' => 'The unit of emissions.', 'type' => 'string', 'example' => 'tCO₂e/Piece(s)', 'title' => ''], 'quantity' => ['description' => 'The quantity.', 'type' => 'number', 'format' => 'double', 'example' => '1.0100', 'title' => ''], 'resultGenerateTime' => ['description' => 'The time when the result was generated. The value is a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1709108026000', 'title' => ''], 'items' => [ 'description' => 'Details of the top four contributors to the carbon footprint.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'name' => ['description' => 'The name of the inventory type.', 'type' => 'string', 'example' => 'Electricity inventory', 'title' => ''], 'unit' => ['description' => 'The unit.', 'type' => 'string', 'example' => 'kgCO₂e/Piece(s)', 'title' => ''], 'quantity' => ['description' => 'The quantity.', 'type' => 'number', 'format' => 'double', 'example' => '9.9763', 'title' => ''], 'percent' => ['description' => 'The percentage.', 'type' => 'string', 'example' => '99.01', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": {\\n \\"unit\\": \\"tCO₂e/Piece(s)\\",\\n \\"quantity\\": 1.01,\\n \\"resultGenerateTime\\": 1709108026000,\\n \\"items\\": [\\n {\\n \\"name\\": \\"Electricity inventory\\",\\n \\"unit\\": \\"kgCO₂e/Piece(s)\\",\\n \\"quantity\\": 9.9763,\\n \\"percent\\": \\"99.01\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'GetGwpInventorySummary', 'description' => 'Retrieves the total carbon footprint for a specified product ID. It also provides details about the top four contributors to the carbon footprint. You can use this operation to understand the total carbon footprint of a product and identify its main sources.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetGwpInventorySummary'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetGwpInventorySummary', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'machine', ], 'GetInventoryList' => [ 'summary' => 'Retrieves a descending list of emissions for a specified environmental impact (methodType), grouping level (group), and calculation method (emissionType).', 'path' => '/api/v1/carbon/footprint/result/inventory/list', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request parameters.', 'type' => 'object', 'properties' => [ 'code' => ['description' => 'The enterprise code.', 'type' => 'string', 'required' => true, 'example' => 'C-20080808-1', 'title' => ''], 'productId' => ['description' => 'The product ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1024', 'title' => ''], 'productType' => ['description' => 'The product type. A value of \\`1\\` indicates a product carbon footprint request. A value of \\`5\\` indicates a supply chain carbon footprint request.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''], 'methodType' => ['description' => 'The type of environmental impact. A value of \\`gwp\\` indicates the climate change carbon footprint. For other values, see the \\`type\\` value in the enumeration list. For more information, see [the appendix](https://carbon-doc.oss-cn-hangzhou.aliyuncs.com/%E7%A2%B3%E8%B6%B3%E8%BF%B9%E9%99%84%E5%BD%95.pdf).', 'type' => 'string', 'required' => true, 'example' => 'gwp', 'title' => ''], 'emissionType' => ['description' => 'The emission type.'."\n" ."\n" .'> Valid values: \\`footprint\\` and \\`emission\\`. \\`footprint\\`: All inventories are included in the calculation. \\`emission\\`: Only inventories with positive or zero emissions are included. Negative values are excluded.', 'type' => 'string', 'required' => true, 'example' => 'footprint', 'title' => ''], 'group' => ['description' => 'The grouping basis.'."\n" ."\n" .'> Valid values: \\`resource\\`, \\`process\\`, \\`resourceType\\`, and \\`processType\\`. \\`resource\\`: Groups by inventory. \\`process\\`: Groups by process. \\`resourceType\\`: Groups by inventory type. \\`processType\\`: Groups by stage.', 'type' => 'string', 'required' => true, 'example' => 'resource', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID. This value is unique for each request and helps with troubleshooting.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'unit' => ['description' => 'The unit of emissions. The default is \\`kgCO₂e/productUnit\\`, where \\`productUnit\\` is the unit of the product. The \\`unit\\` automatically adjusts to \\`tCO₂e/productUnit\\` or \\`gCO₂e/productUnit\\` based on the emission quantity. For details about the conversion rules, see the \\`carbonEmission\\` parameter.', 'type' => 'string', 'example' => 'kgCO₂e/kg', 'title' => ''], 'productUnit' => ['description' => 'The unit of the product.', 'type' => 'string', 'example' => 'kg', 'title' => ''], 'items' => [ 'description' => 'The details of the emission list.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'name' => ['description' => 'The name.'."\n" ."\n" .'> The meaning of this parameter depends on the \\`group\\` request parameter. If \\`group\\` is \\`resource\\`, \\`name\\` is the inventory name. If \\`group\\` is \\`process\\`, \\`name\\` is the process name. If \\`group\\` is \\`resourceType\\`, \\`name\\` is the inventory type name. If \\`group\\` is \\`processType\\`, \\`name\\` is the stage name.', 'type' => 'string', 'example' => 'Electricity', 'title' => ''], 'carbonEmission' => ['description' => 'The emission quantity. The value can be positive, negative, or zero. To ensure accuracy, the calculation retains 24 decimal places. For display and use, truncate the value as needed.', 'type' => 'number', 'format' => 'double', 'example' => '1000.000000000000000000000000000000', 'title' => ''], 'percent' => ['description' => 'The percentage.', 'type' => 'string', 'example' => '99.01', 'title' => ''], 'processName' => ['description' => 'The process name. This parameter is valid only when the \\`group\\` request parameter is set to \\`resource\\`.', 'type' => 'string', 'example' => 'Process-1', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": {\\n \\"unit\\": \\"kgCO₂e/kg\\",\\n \\"productUnit\\": \\"kg\\",\\n \\"items\\": [\\n {\\n \\"name\\": \\"Electricity\\",\\n \\"carbonEmission\\": 1000,\\n \\"percent\\": \\"99.01\\",\\n \\"processName\\": \\"Process-1\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'GetInventoryList', 'description' => 'This API retrieves a descending list of emissions for a specified product ID, environmental impact (methodType), grouping level (group), and calculation method (emissionType). You can use this API to understand the emissions associated with various environmental impacts.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetInventoryList'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetInventoryList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'machine', ], 'GetOrgAndFactory' => [ 'summary' => 'Queries the organizations and sites that are activated for an account. Sites that are not activated in the console are excluded from the response.', 'path' => '/api/external/getOrgAndFactory', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'list'], 'parameters' => [], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => [ 'description' => 'The returned data.', 'type' => 'array', 'items' => [ 'description' => 'The results of the operation.', 'type' => 'object', 'properties' => [ 'aliyunPk' => ['description' => 'The ID of the Alibaba Cloud account.', 'type' => 'string', 'example' => '1319XXXXXX64960', 'title' => ''], 'organizationId' => ['description' => 'The ID of the organization.', 'type' => 'string', 'example' => '6265f42XXXX2fec150', 'title' => ''], 'organizationName' => ['description' => 'The name of the organization.', 'type' => 'string', 'example' => 'Ledi Industrial Park', 'title' => ''], 'factoryList' => [ 'description' => 'The list of site information.', 'type' => 'array', 'items' => [ 'description' => 'List of information', 'type' => 'object', 'properties' => [ 'factoryId' => ['description' => 'The ID of the site.', 'type' => 'string', 'example' => 'pn_95', 'title' => ''], 'factoryName' => ['description' => 'The name of the site.', 'type' => 'string', 'example' => 'Ledi Industrial Park 1', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'httpCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], 'code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'Success', 'title' => ''], 'success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'invalidParameter', 'errorMessage' => 'Invalid parameter values.', 'description' => 'Request parameters are incorrect. Please check method entry parameters.'], ], [ ['errorCode' => 'notAuthorized', 'errorMessage' => 'No permissions to call API operations.', 'description' => 'No permissions to call API operations.'], ], 500 => [ ['errorCode' => 'systemError', 'errorMessage' => 'System error.', 'description' => 'System error.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": [\\n {\\n \\"aliyunPk\\": \\"1319XXXXXX64960\\",\\n \\"organizationId\\": \\"6265f42XXXX2fec150\\",\\n \\"organizationName\\": \\"Ledi Industrial Park\\",\\n \\"factoryList\\": [\\n {\\n \\"factoryId\\": \\"pn_95\\",\\n \\"factoryName\\": \\"Ledi Industrial Park 1\\"\\n }\\n ]\\n }\\n ],\\n \\"httpCode\\": 200,\\n \\"code\\": \\"Success\\",\\n \\"success\\": true\\n}","type":"json"}]', 'title' => 'GetOrgAndFactory', 'description' => '- The operation returns information about the organizations and sites if activated sites exist. Otherwise, the operation returns an empty value.'."\n" ."\n" .'- The only supported endpoint is `energyexpertexternal.cn-hangzhou.aliyuncs.com` for the China (Hangzhou) region.'."\n" ."\n" .'- To use this API operation, you must be added to the whitelist. To request access, [contact us](https://energy.aliyun.com/ifa/web/defaultLoginPage?adapter=aliyun#/consult?source=%E8%83%BD%E8%80%97%E5%AE%9D%E7%99%BB%E5%BD%95%E9%A1%B5%EF%BC%88WEB%EF%BC%89) or [contact us](https://energy.alibabacloud.com/common?adapter=aliyun\\&lang=en-US#/home/en).', 'requestParamsDescription' => 'Has no request parameters. It directly queries information about activated sites associated with the account.', 'changeSet' => [ ['createdAt' => '2023-07-07T08:50:10.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2023-04-17T06:13:23.000Z', 'description' => 'Error codes changed, Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetOrgAndFactory'], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'energy:GetOrgAndFactory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'machine', ], 'GetOrgConstitute' => [ 'summary' => 'Retrieves analytical data for a carbon inventory organization.', 'path' => '/api/v1/carbon/emission/analysis/org', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The parameters in the request body.', 'type' => 'object', 'properties' => [ 'code' => ['description' => 'The organization code.', 'type' => 'string', 'required' => true, 'example' => 'Z-20240115-2', 'title' => ''], 'year' => ['description' => 'The year.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2024', 'title' => ''], 'moduleCode' => ['description' => 'The module code.', 'type' => 'string', 'required' => false, 'example' => 'carbonInventory.check.scope_1_direct_ghg_emissions'."\n", 'title' => ''], 'moduleType' => ['description' => 'The module type.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '3', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response struct.', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => ['description' => 'The response data.', '$ref' => '#/components/schemas/OrgEmission', 'title' => '', 'example' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": {\\n \\"name\\": \\"EnterpriseZ\\",\\n \\"nameKey\\": \\"Z-20240115-4\\",\\n \\"carbonEmissionData\\": 1.2,\\n \\"weightingCarbonEmissionData\\": 2.3,\\n \\"weightingRatio\\": 0.4,\\n \\"ratio\\": 0.2,\\n \\"weightingProportion\\": 0.3,\\n \\"moduleEmissionList\\": [\\n {\\n \\"name\\": \\"Scope 1: Direct GHG emissions\\",\\n \\"nameKey\\": \\"carbonInventory.check.scope_1_direct_ghg_emissions\\",\\n \\"carbonEmissionData\\": 1.2,\\n \\"ratio\\": 0.2\\n }\\n ],\\n \\"subEmissionItems\\": [\\n {\\n \\"name\\": \\"EnterpriseZ\\",\\n \\"nameKey\\": \\"Z-20240115-4\\",\\n \\"carbonEmissionData\\": 1.2,\\n \\"weightingCarbonEmissionData\\": 2.3,\\n \\"weightingRatio\\": 0.4,\\n \\"ratio\\": 0.2,\\n \\"weightingProportion\\": 0.3,\\n \\"moduleEmissionList\\": [\\n {\\n \\"name\\": \\"Scope 1: Direct GHG emissions\\",\\n \\"nameKey\\": \\"carbonInventory.check.scope_1_direct_ghg_emissions\\",\\n \\"carbonEmissionData\\": 1.2,\\n \\"ratio\\": 0.2\\n }\\n ],\\n \\"subEmissionItems\\": [\\n {\\n \\"name\\": \\"EnterpriseZ\\",\\n \\"nameKey\\": \\"Z-20240115-4\\",\\n \\"carbonEmissionData\\": 1.2,\\n \\"weightingCarbonEmissionData\\": 2.3,\\n \\"weightingRatio\\": 0.4,\\n \\"ratio\\": 0.2,\\n \\"weightingProportion\\": 0.3,\\n \\"moduleEmissionList\\": [\\n {\\n \\"name\\": \\"Scope 1: Direct GHG emissions\\",\\n \\"nameKey\\": \\"carbonInventory.check.scope_1_direct_ghg_emissions\\",\\n \\"carbonEmissionData\\": 1.2,\\n \\"ratio\\": 0.2\\n }\\n ],\\n \\"subEmissionItems\\": []\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'GetOrgConstitute', 'description' => '1. The code parameter is the unique code for an organization.'."\n" ."\n" .'2. Retrieves data for the organization specified by the code.'."\n" ."\n" .'3. It also recursively retrieves data for all child organizations.'."\n" ."\n" .'4. The data for child organizations is returned in the subEmissionItems field.'."\n" ."\n" .'5. The recursion continues until an organization has no child organizations.', 'changeSet' => [ ['createdAt' => '2024-04-03T02:40:33.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetOrgConstitute'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetOrgConstitute', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'GetPcrInfo' => [ 'summary' => 'Retrieves the OSS URL of a product carbon footprint PCR report.', 'path' => '/api/v1/carbon/footprint/result/pcr/detail', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.', 'type' => 'object', 'properties' => [ 'code' => ['description' => 'The enterprise code.', 'type' => 'string', 'required' => true, 'example' => 'C-20080808-1', 'title' => ''], 'productId' => ['description' => 'The product ID.', 'type' => 'string', 'required' => true, 'example' => '1024', 'title' => ''], 'productType' => ['description' => 'The product type. Specify `1` for product carbon footprint or `5` for supply chain carbon footprint.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The unique request ID. Use this ID for troubleshooting.', 'type' => 'string', 'example' => '4A0AEC56-5C9A-5D47-93DF-7227836FFF82'], 'data' => [ 'description' => 'The response data.', 'type' => 'object', 'properties' => [ 'createTime' => ['description' => 'The creation timestamp of the report, in milliseconds.', 'type' => 'string', 'example' => '1709109790532', 'title' => ''], 'name' => ['description' => 'The report name.', 'type' => 'string', 'example' => 'Carbon footprint report 2024-01-08.docx', 'title' => ''], 'url' => ['description' => 'The report URL.', 'type' => 'string', 'example' => 'https://energy.aliyun.com', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"4A0AEC56-5C9A-5D47-93DF-7227836FFF82\\",\\n \\"data\\": {\\n \\"createTime\\": \\"1709109790532\\",\\n \\"name\\": \\"Carbon footprint report 2024-01-08.docx\\",\\n \\"url\\": \\"https://energy.aliyun.com\\"\\n }\\n}","type":"json"}]', 'title' => 'GetPcrInfo', 'description' => 'This operation retrieves the details and download link of a generated PCR report for a specified product ID. Before calling this operation, ensure that a results page and PCR report are available for the product.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPcrInfo'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetPcrInfo', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'machine', ], 'GetReductionProposal' => [ 'summary' => 'Retrieves carbon reduction suggestions.', 'path' => '/api/v1/carbon/footprint/result/reduction/proposal', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request parameters.', 'type' => 'object', 'properties' => [ 'code' => ['description' => 'The enterprise code.', 'type' => 'string', 'required' => true, 'example' => 'C-20080808-1', 'title' => ''], 'productId' => ['description' => 'The product ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1024', 'title' => ''], 'productType' => ['description' => 'The product type. A value of 1 indicates a product carbon footprint request. A value of 5 indicates a supply chain carbon footprint request.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''], 'dataQualityEvaluationType' => ['description' => 'The data quality evaluation type. A value of 1 indicates Data Quality Indicator (DQI). A value of 2 indicates Data Quality Rating (DQR).', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '1'], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID. Each request has a unique ID. Use this ID to troubleshoot issues.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'reduction' => ['description' => 'The proactive carbon reduction suggestions.', 'type' => 'string', 'example' => 'Reduce one-drop usage', 'title' => ''], 'reductionEvaluation' => ['description' => 'The proactive carbon reduction evaluation.', 'type' => 'string', 'example' => 'Trying Energy Expert for a more detailed assessment.', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": {\\n \\"reduction\\": \\"Reduce one-drop usage\\",\\n \\"reductionEvaluation\\": \\"Trying Energy Expert for a more detailed assessment.\\"\\n }\\n}","type":"json"}]', 'title' => 'GetReductionProposal', 'description' => 'Returns carbon reduction suggestions for a specified product ID. The suggestions are retrieved from the generated results page. You can use this operation to obtain optimization suggestions for product carbon emissions.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetReductionProposal'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetReductionProposal', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'machine', ], 'GetVLExtractionResult' => [ 'summary' => 'For Querying Qwen-VL Model Information Extraction Results. The input parameter taskId is obtained from the taskId returned by the interfaces SubmitVLExtractionTask or SubmitVLExtractionTaskAdvance. The query results can be in one of three statuses: processing, successfully completed, or failed.', 'path' => '/api/v2/aidoc/document/getVLExtractionResult', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREenergyexpertK979RQ'], 'autoTest' => false, 'notSupportAutoTestReason' => '影响性能', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'Request parameters', 'type' => 'object', 'properties' => [ 'taskId' => ['description' => '- taskID.'."\n" ."\n" .'- The taskId is obtained from the interfaces SubmitVLExtractionTaskAdvance and SubmitVLExtractionTask.', 'type' => 'string', 'required' => true, 'example' => '864773ec-d35b-4c36-8871-52d07fbe806d'."\n", 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => [ 'description' => 'Returned Data', 'type' => 'object', 'properties' => [ 'kvListInfo' => [ 'description' => 'Document Parsing Result', 'type' => 'array', 'items' => [ 'description' => 'Details of Document Parsing Result', 'type' => 'object', 'properties' => [ 'keyName' => ['description' => 'Field Key name', 'type' => 'string', 'example' => 'Tenant', 'title' => ''], 'keyValue' => ['description' => 'Field key value', 'type' => 'string', 'example' => 'Alibaba Cloud XXX Co., Ltd.', 'title' => ''], 'context' => [ 'description' => 'Recall content', 'type' => 'object', 'properties' => [ 'key' => [ 'description' => 'Key recall information details', 'type' => 'array', 'items' => ['description' => 'Details of Key Recall Information', '$ref' => '#/components/schemas/ContentItem', 'example' => 'bhv_trace_info_invalid', 'title' => ''], 'title' => '', 'example' => '', ], 'value' => [ 'description' => 'Value Recall Information', 'type' => 'array', 'items' => ['description' => 'Details of Value Recall Information', '$ref' => '#/components/schemas/ContentItem', 'example' => '[{\'Id\': \'st-265b3d6a-91765\', \'Name\': \'Sheet3\'}, {\'Id\': \'kgqie6hm\', \'Name\': \'Sheet1\'}, {\'Id\': \'st-26383f2c-38267\', \'Name\': \'Sheet2\'}]', 'title' => ''], 'title' => '', 'example' => '', ], 'confidence' => [ 'description' => 'Confidence', 'type' => 'object', 'properties' => [ 'keyConfidence' => ['description' => 'Confidence of Key', 'type' => 'number', 'format' => 'double', 'example' => '0.9994202852249146', 'title' => ''], 'valueConfidence' => ['description' => 'Confidence of Value', 'type' => 'number', 'format' => 'double', 'example' => '0.9794202852249146', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": {\\n \\"kvListInfo\\": [\\n {\\n \\"keyName\\": \\"Tenant\\",\\n \\"keyValue\\": \\"Alibaba Cloud XXX Co., Ltd.\\",\\n \\"context\\": {\\n \\"key\\": [\\n {\\n \\"score\\": 0.45,\\n \\"type\\": \\"img\\",\\n \\"extInfo\\": [\\n {\\n \\"alignment\\": \\"center\\",\\n \\"index\\": 8,\\n \\"level\\": 2,\\n \\"pageNum\\": [\\n 1\\n ],\\n \\"pos\\": [\\n {\\n \\"x\\": 1,\\n \\"y\\": 2\\n }\\n ],\\n \\"subType\\": \\"picture\\",\\n \\"text\\": \\"版面内容\\",\\n \\"type\\": \\"table\\",\\n \\"uniqueId\\": \\"88c712db271443dd4e3697cb9b5dab3a\\"\\n }\\n ],\\n \\"text\\": \\"租户是xxx\\"\\n }\\n ],\\n \\"value\\": [\\n {\\n \\"score\\": 0.45,\\n \\"type\\": \\"img\\",\\n \\"extInfo\\": [\\n {\\n \\"alignment\\": \\"center\\",\\n \\"index\\": 8,\\n \\"level\\": 2,\\n \\"pageNum\\": [\\n 1\\n ],\\n \\"pos\\": [\\n {\\n \\"x\\": 1,\\n \\"y\\": 2\\n }\\n ],\\n \\"subType\\": \\"picture\\",\\n \\"text\\": \\"版面内容\\",\\n \\"type\\": \\"table\\",\\n \\"uniqueId\\": \\"88c712db271443dd4e3697cb9b5dab3a\\"\\n }\\n ],\\n \\"text\\": \\"租户是xxx\\"\\n }\\n ],\\n \\"confidence\\": {\\n \\"keyConfidence\\": 0.9994202852249146,\\n \\"valueConfidence\\": 0.9794202852249146\\n }\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'Get VL Extraction Result', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetVLExtractionResult'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetVLExtractionResult', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'manual', ], 'IsCompleted' => [ 'summary' => 'Checks the completion status of a report generation task.', 'path' => '/api/v1/carbon/footprint/result/completed', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request parameters.', 'type' => 'object', 'properties' => [ 'code' => ['description' => 'The enterprise code.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'C-20080808-1'], 'productId' => ['description' => 'The product ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1024'], 'productType' => ['description' => 'The product type. Set the value to \\`1\\` to request the carbon footprint of a product. Set the value to \\`5\\` to request the carbon footprint of a supply chain.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1'], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request. Each request has a unique ID that you can use to troubleshoot issues.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'modifiedTime' => ['description' => 'The time when the status was last updated. This is a UNIX timestamp in milliseconds. Example: 1711438780000.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1711438780000'], 'taskKey' => ['description' => 'The unique key of the generation task.', 'type' => 'string', 'title' => '', 'example' => '550c2b7b-f2e0-4176-ab0a-53ea4b355721'], 'taskShortResult' => ['description' => 'This parameter is not in use. The value is empty.', 'type' => 'string', 'title' => '', 'example' => 'null'], 'taskStatus' => ['description' => 'The status of the report generation task. Valid values: \\`running\\` (the report is being generated), \\`success\\` (the report is generated), and \\`error\\` (the report failed to be generated). If the task fails, check and correct the model, and then generate the report again.', 'type' => 'string', 'title' => '', 'example' => 'running'], ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'title' => 'IsCompleted', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'IsCompleted'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:IsCompleted', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": {\\n \\"modifiedTime\\": 1711438780000,\\n \\"taskKey\\": \\"550c2b7b-f2e0-4176-ab0a-53ea4b355721\\",\\n \\"taskShortResult\\": \\"null\\",\\n \\"taskStatus\\": \\"running\\"\\n }\\n}","type":"json"}]', ], 'PushDeviceData' => [ 'summary' => 'Pushes data from device data points, such as voltage data from an electric meter.', 'path' => '/api/v1/data/increment/push', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.', 'type' => 'object', 'properties' => [ 'deviceType' => ['description' => 'The type of the device. For more information, see [Device Type Definitions](https://carbon-doc.oss-cn-hangzhou.aliyuncs.com/%E6%B5%8B%E7%82%B9%E9%99%84%E5%BD%95.pdf).', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], 'devices' => [ 'description' => 'A list of devices to push data for.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'deviceId' => ['description' => 'If deviceType is 12, 13, or 17, pass the system\\_id (the field name remains deviceId). If deviceType is 15 or 16, do not pass this parameter. This parameter is required in all other cases.', 'type' => 'string', 'example' => 'DeviceId-example-id-****', 'required' => true, 'title' => ''], 'recordTime' => ['description' => 'The time when the data was recorded.', 'type' => 'string', 'required' => true, 'example' => '2021-09-08 18:40:00', 'title' => ''], 'data' => ['description' => 'The data point information. To avoid precision issues, pass all data point values as strings. The feature does not work if required fields are missing. Some features might be affected if recommended fields are missing. For details, see the device data point remarks in the appendix. For more information, see [Data Point Definitions](https://carbon-doc.oss-cn-hangzhou.aliyuncs.com/%E6%B5%8B%E7%82%B9%E9%99%84%E5%BD%95.pdf).', 'type' => 'object', 'required' => true, 'example' => '{'."\n" .' "dp_imp": "329.0",'."\n" .' "F": "148.0",'."\n" .' "eq_imp": "363.0",'."\n" .' "Ep_imp_1": "128.0",'."\n" .' "Ep_imp_2": "157.0",'."\n" .' "Ua": "226.0",'."\n" .' "Ub": "285.0",'."\n" .' "Ep_imp": "325.0",'."\n" .' "Uc": "342.0",'."\n" .' "Ep_imp_3": "109.0",'."\n" .' "Ep_imp_4": "94.0",'."\n" .' "P": "514.0",'."\n" .' "Pa": "443.0",'."\n" .' "Q": "265.0",'."\n" .' "dp_exp": "261.0",'."\n" .' "eq_exp": "399.0",'."\n" .' "COSQ": "223.0",'."\n" .' "Ia": "240.0",'."\n" .' "Ib": "216.0",'."\n" .' "Ic": "229.0",'."\n" .' "Ep_exp": "115.0",'."\n" .' "VdisPer": "120.0"'."\n" .' }', 'title' => ''], ], 'required' => true, 'description' => '', 'title' => '', 'example' => '', ], 'required' => true, 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => ['description' => 'Indicates whether the data was pushed successfully. A value of success indicates a successful push.', 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": \\"success\\"\\n}","type":"json"}]', 'title' => 'PushDeviceData', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PushDeviceData'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:PushDeviceData', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'machine', ], 'PushItemData' => [ 'summary' => 'This interface is used to push data items.', 'path' => '/api/v1/carbon/emission/data/item/push', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body parameters.'."\n", 'type' => 'object', 'properties' => [ 'code' => ['description' => 'The enterprise code.', 'type' => 'string', 'required' => true, 'example' => 'C-20210223-01', 'title' => ''], 'year' => ['description' => 'The year of the data created.', 'type' => 'string', 'required' => true, 'example' => '2024', 'title' => ''], 'items' => [ 'description' => 'List of data to be pushed.', 'type' => 'object', 'properties' => [ 'code' => ['description' => 'API data identification.For details: [GetDataItemList ](https://www.alibabacloud.com/help/en/energy-expert/developer-reference/api-energyexpertexternal-2022-09-23-getdataitemlist)', 'type' => 'string', 'required' => true, 'example' => 'demo_api_code', 'title' => ''], 'month' => ['description' => 'The month.'."\n", 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], 'value' => ['description' => 'The value of the data item.', 'type' => 'number', 'format' => 'double', 'required' => true, 'example' => '1.11', 'title' => ''], ], 'required' => true, 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => ['description' => 'Whether the data is pushed successfully.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'PushItemData', 'description' => '- This interface is used for individual data item data.'."\n" .'- Data items can link data to services such as carbon footprints and carbon inventories.'."\n" .'- Depending on the platform configuration, active data on a yearly and monthly basis is supported.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PushItemData'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:PushItemData', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": true\\n}","type":"json"}]', ], 'RecalculateCarbonEmission' => [ 'summary' => 'Recalculates carbon emissions.', 'path' => '/api/v1/carbon/emission/data/item/recalculate', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'Request parameters', 'type' => 'object', 'properties' => [ 'code' => ['description' => 'The enterprise code.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'C-20240202-01'], 'year' => ['description' => 'The inventory year.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '2024'], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response struct.', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => ['description' => 'The returned data. \\`true\\` indicates that the request was successful. \\`false\\` indicates that the request failed.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'RecalculateCarbonEmission', 'description' => '- After you upload the data items, you can call this API to recalculate the carbon inventory data.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RecalculateCarbonEmission'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:RecalculateCarbonEmission', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": true\\n}","type":"json"}]', ], 'Retrieve' => [ 'path' => '/api/v2/aidoc/knowledgebase/retrieve', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREenergyexpertK979RQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'query' => ['description' => 'The query statement.', 'type' => 'string', 'required' => true, 'example' => '"What\'s the meaning of the file?"', 'title' => ''], 'useReranker' => ['description' => 'Specifies whether to use the reranker. Default: true.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => ''], 'rerankerThreshold' => ['description' => 'The reranking score threshold. Results with scores below this threshold are filtered out. Default: 0.0.', 'type' => 'number', 'format' => 'float', 'title' => '', 'required' => false, 'example' => '0.0'], 'topK' => ['description' => 'The number of top-ranked retrieval results to return. Default: 10.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '10'], 'preRetrieveTopK' => ['description' => 'The number of pre-retrieval results to return. Default: 0.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '0'], 'documentIds' => [ 'type' => 'array', 'items' => ['description' => 'The file ID. You can get the ID from the Software as a Service (SaaS) page or through an SDK operation.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3456', 'title' => ''], 'title' => '', 'description' => 'Specify either documentIds or folderIds, but not both.', 'required' => false, 'example' => '', ], 'folderIds' => [ 'type' => 'array', 'items' => ['description' => 'The folder ID. You can get the ID from the SaaS page or through an SDK operation.', 'type' => 'string', 'required' => false, 'example' => 'adafb91d4e014e2eb4d0a5375b547115', 'title' => ''], 'title' => '', 'description' => 'Specify either folderIds or documentIds, but not both.', 'required' => false, 'example' => '', ], ], 'description' => 'The request body.', 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'requestId' => ['description' => 'Id of the request', 'type' => 'string', 'title' => '', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => [ 'type' => 'object', 'properties' => [ 'jobId' => ['description' => 'The job ID.', 'type' => 'string', 'example' => '76cd1691-daf6-4113-8444-4998a25a5323', 'title' => ''], 'results' => [ 'type' => 'array', 'items' => ['description' => 'A retrieval result.', '$ref' => '#/components/schemas/ChunkItem', 'title' => '', 'example' => ''], 'description' => 'A list of retrieval results.', 'title' => '', 'example' => '', ], ], 'description' => 'The returned data.', 'title' => '', 'example' => '', ], ], 'title' => '', 'description' => 'Schema of Response', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'Retrieve', 'summary' => 'This API retrieves results for retrieval-augmented generation (RAG) from one or more folder or file IDs. You can then process these results and embed them in your business logic.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:Retrieve', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": {\\n \\"jobId\\": \\"76cd1691-daf6-4113-8444-4998a25a5323\\",\\n \\"results\\": [\\n {\\n \\"score\\": 0.4295678,\\n \\"docName\\": \\"临时场地协议-APM.pdf\\",\\n \\"rerankScore\\": 0.5053711,\\n \\"docId\\": \\"b4620821aea92c062d8d19ad793243669cf9ae2b900e6967dee6ee9f3bf5feed\\",\\n \\"docUrl\\": \\"jobs/a4123b3f-9287-4c61-b59d-32e40fcb0a31/document/8b24a2e06669427fb3dc9812374d9d1a.pdf\\",\\n \\"weightedScore\\": 0.47252458,\\n \\"chunkId\\": \\"b0x7,b1x10\\",\\n \\"chunkContent\\": \\"\\\\\\\\\\\\\\\\n## 第三条 场地占用费(含物业管理费和市场推广费)\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\n3.2 乙方应于本协议签订后 20 个工作日内或该场地交付乙方的同时(以日期在先者为准),\\\\\\\\\\\\\\\\n向甲方一次性支付该场地四个月的场地占用费。\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\n3.3 乙方应向甲方支付的协议价款(场地占用费、物业管理费、市场推广费及本协议约定的其 他费用)以及实际发生的各种性质的价外费用(根据适用税法的相关规定,价外费用包括 但不限于违约金、赔偿金、代收款项、代垫款项)均为含增值税价格。\\",\\n \\"docElsIds\\": [\\n \\"b0x7\\"\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', ], 'SendDocumentAskQuestion' => [ 'summary' => 'null null', 'path' => '/api/v1/aidoc/document/sendDocumentAskQuestion', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'Request parameters', 'type' => 'object', 'properties' => [ 'prompt' => ['description' => 'The question queried by the user', 'type' => 'string', 'example' => 'Total carbon emissions in 2023', 'required' => true, 'title' => ''], 'folderId' => ['description' => 'Folder ID, used to specify the range of documents for the query. If it is empty, it indicates that all documents under the default folder will be queried.', 'type' => 'string', 'required' => false, 'example' => '1a851c4a-1d65-11ef-99a7-ssfsfdd', 'title' => ''], 'sessionId' => ['description' => 'Q\\&A session ID, used to record multiple Q\\&A interactions of the same user. If it is empty, it indicates that sessions are not distinguished.', 'type' => 'string', 'required' => false, 'example' => 'bfce2248-1546-4298-8bcf-70ac26e69646', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'."\n"], 'data' => [ 'description' => 'Returned data', 'type' => 'object', 'properties' => [ 'answer' => ['description' => 'Q\\&A result', 'type' => 'string', 'example' => 'Carbon emissions in 2023 totaled 4.681 million tons', 'title' => ''], 'document' => [ 'description' => 'Documents associated with the answer returned by the query', 'type' => 'array', 'items' => ['description' => 'Document Details', 'type' => 'string', 'example' => 'https://oss/aa.pdf', 'title' => ''], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\\\n\\",\\n \\"data\\": {\\n \\"answer\\": \\"Carbon emissions in 2023 totaled 4.681 million tons\\",\\n \\"document\\": [\\n \\"https://oss/aa.pdf\\"\\n ]\\n }\\n}","type":"json"}]', 'title' => 'SendDocumentAskQuestion', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SendDocumentAskQuestion'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:SendDocumentAskQuestion', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'manual', ], 'SetRunningPlan' => [ 'path' => '/api/v1/carbon/hvac/setRunningPlan', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREenergyexpertXYPXBQ'], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body parameters.', 'type' => 'object', 'properties' => [ 'factoryId' => ['description' => 'The factory ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '***'], 'systemId' => ['description' => 'The system ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'system1'], 'pKey' => ['description' => 'The source of the call.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ib'], 'seasonMode' => [ 'description' => 'The season mode. For example, summer or winter.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'enumValueTitles' => ['冬季' => '1', '夏季' => '0'], 'title' => '', 'example' => '0', ], 'dateType' => [ 'description' => 'The date type. For example, weekday or holiday.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'enumValueTitles' => ['工作日' => '0', '节假日' => '1'], 'title' => '', 'example' => '0', ], 'startTime' => ['description' => 'The start time of the plan.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2024-07-20'], 'endTime' => ['description' => 'The end time of the plan.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2024-07-21'], 'statisticsTime' => ['description' => 'The date for which to set the single-day execution plan.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2024-07-31'], 'workingStartTime' => ['description' => 'The start time of the target period.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '05:00:00'], 'workingEndTime' => ['description' => 'The end time of the target period.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '05:30:00'], 'earliestStartupTime' => ['description' => 'The earliest startup time.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '05:00:00'], 'latestShutdownTime' => ['description' => 'The latest shutdown time.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '05:30:00'], 'minTem' => ['description' => 'The minimum target temperature.', 'type' => 'number', 'format' => 'double', 'required' => false, 'title' => '', 'example' => '2.1'], 'maxTem' => ['description' => 'The maximum target temperature.', 'type' => 'number', 'format' => 'double', 'required' => false, 'title' => '', 'example' => '3.1'], 'maxCarbonDioxide' => ['description' => 'The maximum carbon dioxide concentration.', 'type' => 'number', 'format' => 'double', 'required' => false, 'title' => '', 'example' => '2.1'], 'controlType' => [ 'description' => 'The control mode. For example, automatic or manual.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'enumValueTitles' => ['手动' => '1', '自动' => '0'], 'title' => '', 'example' => '0', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => [ 'description' => 'The returned data.', 'type' => 'boolean', 'enumValueTitles' => ['成功' => 'true', '失败' => 'false'], 'title' => '', 'example' => 'true', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'SetRunningPlan', 'summary' => 'Sets an execution plan.', 'changeSet' => [ ['createdAt' => '2025-02-12T03:32:23.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetRunningPlan'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:SetRunningPlan', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": true\\n}","type":"json"}]', ], 'SubmitDocExtractionTask' => [ 'summary' => 'Extracts key information from a document based on a preset key-value template or prompt template. A successful call returns a task ID. You can then call GetDocExtractionResult to retrieve the extraction results. Asynchronously submits a task for a file specified by a URL. To submit a task for a local file, use the SubmitDocExtractionTaskAdvance operation.', 'path' => '/api/v2/aidoc/document/submitDocExtractionTask', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeNodes' => ['FEATUREenergyexpertK979RQ'], 'autoTest' => false, 'notSupportAutoTestReason' => '避免任务过多影响性能', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'fileUrl', 'in' => 'query', 'schema' => ['description' => 'Choose one of the following parameters: fileUrl or fileUrlObject.'."\n" ."\n" .'- fileUrl: The URL of a single document. The document can have a maximum of 3,000 pages and a size of up to 500 MB.'."\n" ."\n" .'- fileUrlObject: The local file to upload. The document can have a maximum of 3,000 pages and a size of up to 500 MB. This parameter is used when you call the SubmitDocExtractionTaskAdvance operation.'."\n" ."\n" .'> The supported document types vary based on the extraction method.'."\n" .'>'."\n" .'> - Long-text retrieval-augmented generation (RAG): Supports PDF, DOC, DOCX, XLSX, CSV, and TXT files with a maximum of 3,000 pages.'."\n" .'>'."\n" .'> - Image processing: Supports PDF, JPG, JPEG, PNG, BMP, JPE, TIF, TIFF, WEBP, and HEIC files.'."\n" .'>'."\n" .'> - Long-text understanding: Supports DOC, DOCX, XLSX, PDF, CSV, and TXT files.', 'type' => 'string', 'example' => 'FileUrl: https://example.com/example.pdf'."\n" .'fileUrlObject: FileInputStream generated from a local file', 'isFileTransferUrl' => true, 'required' => false, 'title' => ''], ], [ 'name' => 'fileName', 'in' => 'query', 'schema' => ['description' => 'The file name, including the file extension.', 'type' => 'string', 'required' => true, 'example' => 'example.pdf', 'title' => ''], ], [ 'name' => 'templateId', 'in' => 'query', 'schema' => ['description' => 'The unique ID of the extraction template. This ID specifies the content to extract from the document. To obtain a template ID, log on to the template management page and configure a template.', 'type' => 'string', 'required' => true, 'example' => '572d24k0c95a', 'title' => ''], ], [ 'name' => 'folderId', 'in' => 'query', 'schema' => ['description' => '- The unique ID of the knowledge base folder. Use this parameter to categorize documents or to limit the scope of documents for online Q\\&A queries.'."\n" ."\n" .'- To obtain a folder ID, log on to the Document Mind console.', 'type' => 'string', 'required' => true, 'example' => 'xxxxx', 'title' => ''], ], [ 'name' => 'extractType', 'in' => 'query', 'schema' => [ 'description' => 'The document extraction type. Supported types include rag and long-text understanding. The default value is rag.', 'type' => 'string', 'example' => 'rag', 'default' => 'rag', 'enum' => ['rag', 'longTextUnderstanding'], 'required' => true, 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response schema.', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'taskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => '864773ec-d35b-4c36-8871-52d07fbe806d', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": {\\n \\"taskId\\": \\"864773ec-d35b-4c36-8871-52d07fbe806d\\"\\n }\\n}","type":"json"}]', 'title' => 'Asynchronously Submit RAG and Long Text Understanding Information Extraction Tasks', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SubmitDocExtractionTask'], ], ], 'ramActions' => [], 'translator' => 'machine', ], 'SubmitDocParsingTask' => [ 'summary' => 'Parses content, such as text, tables, and images, from a document. A successful call returns a task ID. You can then call `GetDocParsingResult` to retrieve the parsing results. The `SubmitDocParsingTask` operation asynchronously submits a task for a file URL. The `SubmitDocParsingTaskAdvance` operation asynchronously submits a task for a local file.', 'path' => '/api/v2/aidoc/document/submitDocParsingTask', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeNodes' => ['FEATUREenergyexpertK979RQ'], 'autoTest' => false, 'notSupportAutoTestReason' => '避免任务过多影响性能', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'fileUrl', 'in' => 'query', 'schema' => ['description' => 'Specify either \\`fileUrl\\` or \\`fileUrlObject\\`.'."\n" ."\n" .'- \\`fileUrl\\`: The URL of the document. The document can be up to 3000 pages and 500 MB in size.'."\n" ."\n" .'- \\`fileUrlObject\\`: Use this parameter when you call the operation to upload a local file. The document can be up to 3000 pages and 500 MB in size.'."\n" ."\n" .'> Parsing methods and supported document types'."\n" .'>'."\n" .'> - Long-text retrieval-augmented generation (RAG): Supports PDF, DOC, and DOCX files up to 3000 pages.'."\n" .'>'."\n" .'> - Image processing: Supports PDF, JPG, JPEG, PNG, and BMP files.'."\n" .'>'."\n" .'> - Long-text understanding: Supports PDF, DOC, DOCX, XLS, and XLSX files.', 'type' => 'string', 'example' => 'FileUrl: https://example.com/example.pdf'."\n" .'fileUrlObject: FileInputStream generated from a local file', 'isFileTransferUrl' => true, 'required' => false, 'title' => ''], ], [ 'name' => 'fileName', 'in' => 'query', 'schema' => ['description' => 'The file name must include the file extension.', 'type' => 'string', 'required' => true, 'example' => 'example.pdf', 'title' => ''], ], [ 'name' => 'folderId', 'in' => 'query', 'schema' => ['description' => '- The unique ID of the knowledge base folder. Use this ID to manage document classification and control the scope of documents for online Q\\&A queries.'."\n" ."\n" .'- To get the folder ID, log on to the Document Mind console.', 'type' => 'string', 'required' => true, 'example' => 'xxxxx', 'title' => ''], ], [ 'name' => 'needAnalyzeImg', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to parse the image content in the document.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'."\n"], 'data' => [ 'description' => 'The returned result.', 'type' => 'object', 'properties' => [ 'taskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'ae9d07be-1a11-4d30-be75-cc962b98279c', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\\\n\\",\\n \\"data\\": {\\n \\"taskId\\": \\"ae9d07be-1a11-4d30-be75-cc962b98279c\\"\\n }\\n}","type":"json"}]', 'title' => 'Asynchronously Submit Document Parsing Task', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SubmitDocParsingTask'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:SubmitDocParsingTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'machine', ], 'SubmitDocumentAnalyzeJob' => [ 'summary' => 'The document parsing operation is used to extract the key content of a document and extract the key-value information from the document based on the preset key-value template. The document parsing operation is an asynchronous operation. You need to call the asynchronous submission service for document parsing and then call the GetDocumentAnalyzeResult operation to perform result polling. The asynchronous submission service supports two methods: local files and URL files. Call the SubmitDocumentAnalyzeJob operation to upload URL files. Call the SubmitDocumentAnalyzeJobAdvance operation to upload local files.', 'path' => '/api/v1/aidoc/document/submitDocumentAnalyzeJob', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'fileUrl', 'in' => 'query', 'schema' => ['description' => 'Choose one between fileUrl and fileUrlObject:'."\n" ."\n" .'- fileUrl: Use the document URL method for a single document (supports documents with up to 1000 pages and within 100MB).'."\n" ."\n" .'- fileUrlObject: Use when calling the API via local file upload, for a single document (supports documents with up to 1000 pages and within 100MB).'."\n" ."\n" .'> Relationship between file parsing methods and supported document types.'."\n" .'>'."\n" .'> - Long Text RAG: Supports pdf, doc/docx, and up to 1000 pages'."\n" .'>'."\n" .'> - Image Processing: Supports pdf, jpg, jpeg, png, bmp'."\n" .'>'."\n" .'> - Long Text Understanding: Supports pdf, doc/docx, xls/xlsx', 'type' => 'string', 'example' => 'FileUrl: https://example.com/example.pdf'."\n" .'fileUrlObject: FileInputStream generated from a local file', 'isFileTransferUrl' => true, 'required' => false, 'title' => ''], ], [ 'name' => 'fileName', 'in' => 'query', 'schema' => ['description' => 'The filename must include the file type extension.', 'type' => 'string', 'required' => true, 'example' => 'example.pdf', 'title' => ''], ], [ 'name' => 'templateId', 'in' => 'query', 'schema' => ['description' => 'The unique extraction template ID is used to specify the key-value pairs to be extracted from the document. You need to log in to the template management page to configure the template and obtain the corresponding template ID.', 'type' => 'string', 'required' => true, 'example' => '572d24k0c95a', 'title' => ''], ], [ 'name' => 'folderId', 'in' => 'query', 'schema' => ['description' => 'Unique knowledge base folder ID, used for categorizing documents and controlling the scope of online Q\\&A queries. If empty, the document will be uploaded to the tenant\'s root directory.', 'type' => 'string', 'example' => 'Defaultfor Empty', 'required' => false, 'title' => ''], ], [ 'name' => 'analysisType', 'in' => 'query', 'schema' => ['description' => 'The default extraction method is "doc", with the following optional values:'."\n" ."\n" .'- vl: Image processing'."\n" ."\n" .'- doc: Long text RAG (Retrieval-Augmented Generation)'."\n" ."\n" .'- docUnderstanding: Long text comprehension'."\n" ."\n" .'- recommender: Recommendation type', 'type' => 'string', 'required' => false, 'example' => 'doc', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '4A0AEC56-5C9A-5D47-93DF-7227836FFF82'], 'data' => [ 'description' => 'The data returned.', 'type' => 'object', 'properties' => [ 'jobId' => ['description' => 'The job ID.', 'type' => 'string', 'example' => 'bfce2248-1546-4298-8bcf-70ac26e69646', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"4A0AEC56-5C9A-5D47-93DF-7227836FFF82\\",\\n \\"data\\": {\\n \\"jobId\\": \\"bfce2248-1546-4298-8bcf-70ac26e69646\\"\\n }\\n}","type":"json"}]', 'title' => 'SubmitDocumentAnalyzeJob', 'changeSet' => [ ['createdAt' => '2024-10-22T03:15:08.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-09-23T07:22:41.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-06-14T06:41:15.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-06-07T08:02:18.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SubmitDocumentAnalyzeJob'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:SubmitDocumentAnalyzeJob', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'manual', ], 'SubmitVLExtractionTask' => [ 'summary' => 'Extracts key information from documents using KV templates or prompts with the Qwen-VL model, ideal for image extraction. Supports: URL Upload: SubmitVLExtractionTask. Local File Upload: SubmitVLExtractionTaskAdvance', 'path' => '/api/v2/aidoc/document/submitVLExtractionTask', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeNodes' => ['FEATUREenergyexpertK979RQ'], 'autoTest' => false, 'notSupportAutoTestReason' => '避免任务过多影响性能', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'fileUrl', 'in' => 'query', 'schema' => ['description' => 'Choose one of fileUrl or fileUrlObject:'."\n" ."\n" .'- fileUrl: Use by providing the document URL, for a single document (supports up to 1000 pages and 100MB in size)'."\n" ."\n" .'- fileUrlObject: Use when calling the interface with local file upload, for a single document (supports up to 1000 pages and 100 MB in size)'."\n" ."\n" .'> The relationship between file parsing methods and supported document types'."\n" .'>'."\n" .'> - Long Text RAG: Supports pdf, doc/docx, up to 1000 pages'."\n" .'>'."\n" .'> - Image Processing: Supports pdf, jpg, jpeg, png, bmp'."\n" .'>'."\n" .'> - Long Text Understanding: Supports pdf, doc/docx, xls/xlsx', 'type' => 'string', 'example' => 'FileUrl: https://example.com/example.pdf'."\n" .'fileUrlObject: FileInputStream generated from a local file', 'isFileTransferUrl' => true, 'required' => false, 'title' => ''], ], [ 'name' => 'fileName', 'in' => 'query', 'schema' => ['description' => 'The filename must include the file type suffix.', 'type' => 'string', 'required' => true, 'example' => 'example.pdf', 'title' => ''], ], [ 'name' => 'folderId', 'in' => 'query', 'schema' => ['description' => '- Unique knowledge base folder ID, used when you need to categorize documents and control the scope of online Q\\&A queries.'."\n" ."\n" .'- The folder ID needs to be obtained from the intelligent document console after logging in.', 'type' => 'string', 'required' => true, 'example' => 'xxxxx', 'title' => ''], ], [ 'name' => 'templateId', 'in' => 'query', 'schema' => ['description' => 'Unique parsing template ID, used to specify the key-value pairs to be extracted from the document. You need to configure the template on the template management page and then obtain the corresponding template ID.', 'type' => 'string', 'required' => true, 'example' => '572d24k0c95a', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => '83A5A7DD-8974-5769-952E-590A97BEA34E'], 'data' => [ 'description' => 'Returned data structure.', 'type' => 'object', 'properties' => [ 'taskId' => ['description' => 'Task ID.', 'type' => 'string', 'example' => '411ce93a-7eb5-40cf-836a-53c32f097663', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"83A5A7DD-8974-5769-952E-590A97BEA34E\\",\\n \\"data\\": {\\n \\"taskId\\": \\"411ce93a-7eb5-40cf-836a-53c32f097663\\"\\n }\\n}","type":"json"}]', 'title' => 'Asynchronously Submit VL Information Extraction Task', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SubmitVLExtractionTask'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:SubmitVLExtractionTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'manual', ], ], 'endpoints' => [ ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'energyexpertexternal.ap-southeast-1.aliyuncs.com', 'endpoint' => 'energyexpertexternal.ap-southeast-1.aliyuncs.com', 'vpc' => 'energyexpertexternal-vpc.ap-southeast-1.aliyuncs.com'], ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'energyexpertexternal.cn-hangzhou.aliyuncs.com', 'endpoint' => 'energyexpertexternal.cn-hangzhou.aliyuncs.com', 'vpc' => 'energyexpertexternal-vpc.cn-hangzhou.aliyuncs.com'], ], 'errorCodes' => [ ['code' => '1001', 'message' => 'The code is invalid. Please check if your code is correct.', 'http_code' => 400, 'description' => 'The code is invalid. Please check if your code is correct.'], ['code' => '11007', 'message' => '无权限查看, 无权限查看参数为 code', 'http_code' => 200, 'description' => 'No permission to view due to argument code'], ['code' => '30037', 'message' => 'User has no permission', 'http_code' => 400, 'description' => 'User has no permission'], ['code' => '36704', 'message' => 'Type is wrong', 'http_code' => 400, 'description' => 'Type is wrong'], ['code' => 'CarbonAmountNotNegative', 'message' => 'Carbon amount not be negative.', 'http_code' => 201, 'description' => 'Carbon amount not be negative.'], ['code' => 'DataSizeOverLimit', 'message' => 'Data size over limit.', 'http_code' => 201, 'description' => ''], ['code' => 'invalidParameter', 'message' => 'Invalid parameter values.', 'http_code' => 400, 'description' => 'Request parameters are incorrect. Please check method entry parameters.'], ['code' => 'LeftVcsNotEnough', 'message' => 'Left vcs not enough.', 'http_code' => 201, 'description' => ''], ['code' => 'notAuthorized', 'message' => 'No permissions to call API operations.', 'http_code' => 401, 'description' => 'No permissions to call API operations.'], ['code' => 'NotSupportActionType', 'message' => 'Not support action type.', 'http_code' => 201, 'description' => ''], ['code' => 'NotSupportPhotovoltaicCountry', 'message' => 'Not support photovoltaic country.', 'http_code' => 201, 'description' => ''], ['code' => 'Prefix.1001', 'message' => 'The code is invalid. Please check if your code is correct.', 'http_code' => 400, 'description' => 'The code is invalid. Please check if your code is correct.'], ['code' => 'ServerException', 'message' => 'Server exception, please try again later.', 'http_code' => 500, 'description' => ''], ['code' => 'systemError', 'message' => 'System error.', 'http_code' => 500, 'description' => 'System error.'], ], 'changeSet' => [ [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'SubmitDocumentAnalyzeJob'], ], 'createdAt' => '2024-10-22T03:15:15.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'SubmitDocumentAnalyzeJob'], ], 'createdAt' => '2024-09-23T07:22:47.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'SubmitDocumentAnalyzeJob'], ], 'createdAt' => '2024-06-14T06:41:22.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'GetGasConstitute'], ], 'createdAt' => '2024-06-12T01:57:33.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'SubmitDocumentAnalyzeJob'], ], 'createdAt' => '2024-06-07T08:02:24.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'GetCarbonEmissionTrend'], ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'GetEmissionSourceConstitute'], ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'GetEmissionSummary'], ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'GetGasConstitute'], ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'GetOrgConstitute'], ], 'createdAt' => '2024-04-03T02:40:51.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'GetGwpInventoryConstitute'], ], 'createdAt' => '2024-04-01T08:44:12.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'GetOrgAndFactory'], ], 'createdAt' => '2023-07-07T08:50:15.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'GetDeviceList'], ], 'createdAt' => '2023-07-05T09:26:12.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Error codes changed, Response parameters changed', 'api' => 'GetDeviceInfo'], ['description' => 'Error codes changed, Response parameters changed', 'api' => 'GetDeviceList'], ['description' => 'Error codes changed, Response parameters changed', 'api' => 'GetOrgAndFactory'], ], 'createdAt' => '2023-04-17T06:13:27.000Z', 'description' => '', ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetChatList'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SubmitDocExtractionTask'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetChatFolderList'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SubmitVLExtractionTask'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDeviceList'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDocParsingResult'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SubmitDocumentAnalyzeJob'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetEpdInventoryConstitute'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SubmitDocParsingTask'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateChatSession'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetReductionProposal'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AnalyzeVlRealtime'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetEmissionSourceConstitute'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDeviceInfo'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetOrgConstitute'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetGasConstitute'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDocumentAnalyzeResult'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetElecTrend'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetCarbonEmissionTrend'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetFootprintList'], ['threshold' => '1', 'countWindow' => 1, 'regionId' => '*', 'api' => 'Chat'], ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchUpdateSystemRunningPlan'], ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EditProhibitedDevices'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetOrgAndFactory'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetGwpInventorySummary'], ['threshold' => '5000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetEpdSummary'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PushItemData'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RecalculateCarbonEmission'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GenerateResult'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPcrInfo'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'IsCompleted'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetGwpInventoryConstitute'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetRunningPlan'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetInventoryList'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAreaElecConstitute'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDocExtractionResult'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetEmissionSummary'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetGwpBenchmarkSummary'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetGwpBenchmarkList'], ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EditUnfavorableAreaDevices'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDataQualityAnalysis'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetVLExtractionResult'], ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchSaveInstructionStatus'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SendDocumentAskQuestion'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PushDeviceData'], ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDataItemList'], ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetElecConstitute'], ], ], 'ram' => [ 'productCode' => 'EnergyExpertExternal', 'productName' => 'Energy Expert', 'ramCodes' => ['energy'], 'ramLevel' => 'OPERATION', 'ramConditions' => [], 'ramActions' => [ [ 'apiName' => 'BatchSaveInstructionStatus', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:BatchSaveInstructionStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetAreaElecConstitute', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetAreaElecConstitute', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDocumentAnalyzeResult', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetDocumentAnalyzeResult', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDeviceList', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'energy:GetDeviceList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDeviceInfo', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'energy:GetDeviceInfo', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetElecConstitute', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetElecConstitute', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'AISearchResourceUpdate', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:AISearchResourceUpdate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetGasConstitute', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetGasConstitute', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'Chat', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:Chat', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'EditProhibitedDevices', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:EditProhibitedDevices', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetChatList', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetChatList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DetailDocument', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'energy:DetailDocument', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteFolder', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'energy:DeleteFolder', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'AISearchResourceDelete', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'energy:AISearchResourceDelete', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDocExtractionResult', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetDocExtractionResult', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetEmissionSourceConstitute', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetEmissionSourceConstitute', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'PushItemData', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:PushItemData', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'Retrieve', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:Retrieve', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SubmitDocumentAnalyzeJob', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:SubmitDocumentAnalyzeJob', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetChatSessionList', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetChatSessionList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetOrgConstitute', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetOrgConstitute', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ChatStream', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:ChatStream', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetGwpInventorySummary', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetGwpInventorySummary', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetFootprintList', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetFootprintList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetVLExtractionResult', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetVLExtractionResult', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetOrgAndFactory', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'energy:GetOrgAndFactory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SetRunningPlan', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:SetRunningPlan', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetGwpBenchmarkSummary', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetGwpBenchmarkSummary', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetPcrInfo', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetPcrInfo', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'AISearchResourceGetList', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'energy:AISearchResourceGetList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SubmitDocExtractionTask', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:SubmitDocExtractionTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDataItemList', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetDataItemList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetInventoryList', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetInventoryList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetCarbonEmissionTrend', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetCarbonEmissionTrend', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'AISearchResourceAdd', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:AISearchResourceAdd', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetGwpInventoryConstitute', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetGwpInventoryConstitute', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'PushDeviceData', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:PushDeviceData', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'EditUnfavorableAreaDevices', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:EditUnfavorableAreaDevices', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetChatFolderList', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetChatFolderList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDataQualityAnalysis', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetDataQualityAnalysis', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SubmitVLExtractionTask', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:SubmitVLExtractionTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetEmissionSummary', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetEmissionSummary', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetElecTrend', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetElecTrend', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SendDocumentAskQuestion', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:SendDocumentAskQuestion', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GenerateResult', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GenerateResult', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetEpdInventoryConstitute', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetEpdInventoryConstitute', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'IsCompleted', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:IsCompleted', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetEpdSummary', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetEpdSummary', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'BatchUpdateSystemRunningPlan', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:BatchUpdateSystemRunningPlan', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateChatSession', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:CreateChatSession', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SubmitDocParsingTask', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:SubmitDocParsingTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'AnalyzeVlRealtime', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:AnalyzeVlRealtime', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteDocument', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'energy:DeleteDocument', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetGwpBenchmarkList', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetGwpBenchmarkList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDocParsingResult', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetDocParsingResult', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'AddFolder', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'energy:AddFolder', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'AISearchStream', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:AISearchStream', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'RecalculateCarbonEmission', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:RecalculateCarbonEmission', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetReductionProposal', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'energy:GetReductionProposal', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EnergyExpertExternal', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'resourceTypes' => [], ], ];