'1.0', 'info' => ['style' => 'RPC', 'product' => 'RealTranslationAgent', 'version' => '2026-06-22'], 'directories' => ['CancelTranslationTask', 'GetOriginalFileUrl', 'GetTranslatedFileUrl', 'GetTranslationTask', 'ListTranslationTasks', 'SubmitTranslationTask', 'UploadTranslationFile'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'CancelTranslationTask' => [ 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'formData', 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'f9c35b0453b'], ], [ 'name' => 'APIKey', 'in' => 'query', 'schema' => ['title' => '', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'sk-5****7'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PlainResult', 'description' => '\\-', 'type' => 'object', 'properties' => [ 'Success' => ['title' => '', 'description' => '', 'type' => 'boolean', 'example' => 'True'], 'Code' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'success'], 'Message' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'successful'], 'RequestId' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'F22CA868-601F-50D1-99B2-520491F25EB7'], 'Data' => [ 'title' => '', 'description' => '', 'type' => 'object', 'properties' => [ 'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'f9c35b0453b'], 'Status' => [ 'description' => '', 'type' => 'string', 'enumValueTitles' => ['CANCELLED' => '', 'COMPLETED' => '', 'FAILED' => '', 'PROCESSING' => '', 'PENDING' => '', 'ANALYZED' => ''], 'example' => 'CANCEL', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"Code\\": \\"success\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"F22CA868-601F-50D1-99B2-520491F25EB7\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"f9c35b0453b\\",\\n \\"Status\\": \\"CANCEL\\"\\n }\\n}","type":"json"}]', 'changeSet' => [], ], 'GetOriginalFileUrl' => [ 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'formData', 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'f9c35b0453b'], ], [ 'name' => 'APIKey', 'in' => 'query', 'schema' => ['title' => '', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '***'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PlainResult', 'description' => '\\-', 'type' => 'object', 'properties' => [ 'Success' => ['title' => '', 'description' => '', 'type' => 'boolean', 'example' => 'True'], 'Code' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'success'], 'Message' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'success'], 'RequestId' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => '9F80A58B-DFBA-55A1-B9D2-819B32904127'], 'Data' => [ 'title' => '', 'description' => '', 'type' => 'object', 'properties' => [ 'DownloadUrl' => ['description' => '', 'type' => 'string', 'example' => 'https://gtm-translate-service-prod.oss-cn-zhangjiakou.aliyuncs.com/translations/replaced/a_file_992736840.pptx?Expires=1782738716&OSSAccessKeyId=STS.NZm6TgFWU2sgpBxs2UD154B9w&Signature=uPORIIsYjiwRFzoyNUN8Htnwdfc%3D&security-token=CAIS3gJ1q6Ft5B2yfSjIr5nYfe7Tq4h0hbGMcmTJlzIASL4Z24eSlTz2IHhMf3FtAuwft%2FU0mWFW7foSlrp6SJtIXleCZtF94oxN9h2gb4fb4woBanWd08%2FLI3OaLjKm9u2wCryLYbGwU%2FOpbE%2B%2B5U0X6LDmdDKkckW4OJmS8%2FBOZcgWWQ%2FKBlgvRq0hRG1YpdQdKGHaONu0LxfumRCwNkdzvRdmgm4NgsbWgO%2Fks0OC1ACnmrdM%2FdupesL0MPMBZskvD42Hu8VtbbfE3SJq7BxHybx7lqQs%2B02c5onGWwQKv0zfYrGJo4M0cF9jLqcmHutYtvH6jvlxpuGWjInt1RdGMKRHXj7YAZy63dDYCHRtm2ect12R0R3spTPvXvGd22tMCfkrqw7Ahz2PACvRGM5dh0AbW042tZHwaHNHYcJrPu9YH1QLobvGc7TkCSYBIdG7lRJ8EPtayyu0U3F2gASJGhqAATkIHCzHZWyr%2F8WJFcinsIxuI8iYoH3pOTZ2HJgDW38Zbu0NqMZmH%2BbRahVPiN7s4ckYmF50hCbgXt%2BdD9R6jB%2BkNufrVtN%2FAVgRMLOeEn2FZF0CCLlyjaIqq8QIxaPpDSLxpV6wZSh5enenoKm%2B1wunWRdd0gwG03k%2F4RCcDbb%2FIAA%3D'], 'FileName' => ['description' => '', 'type' => 'string', 'example' => 'translated_a_file.pptx'], 'ExpireTime' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1774147442'], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"Code\\": \\"success\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"9F80A58B-DFBA-55A1-B9D2-819B32904127\\",\\n \\"Data\\": {\\n \\"DownloadUrl\\": \\"https://gtm-translate-service-prod.oss-cn-zhangjiakou.aliyuncs.com/translations/replaced/a_file_992736840.pptx?Expires=1782738716&OSSAccessKeyId=STS.NZm6TgFWU2sgpBxs2UD154B9w&Signature=uPORIIsYjiwRFzoyNUN8Htnwdfc%3D&security-token=CAIS3gJ1q6Ft5B2yfSjIr5nYfe7Tq4h0hbGMcmTJlzIASL4Z24eSlTz2IHhMf3FtAuwft%2FU0mWFW7foSlrp6SJtIXleCZtF94oxN9h2gb4fb4woBanWd08%2FLI3OaLjKm9u2wCryLYbGwU%2FOpbE%2B%2B5U0X6LDmdDKkckW4OJmS8%2FBOZcgWWQ%2FKBlgvRq0hRG1YpdQdKGHaONu0LxfumRCwNkdzvRdmgm4NgsbWgO%2Fks0OC1ACnmrdM%2FdupesL0MPMBZskvD42Hu8VtbbfE3SJq7BxHybx7lqQs%2B02c5onGWwQKv0zfYrGJo4M0cF9jLqcmHutYtvH6jvlxpuGWjInt1RdGMKRHXj7YAZy63dDYCHRtm2ect12R0R3spTPvXvGd22tMCfkrqw7Ahz2PACvRGM5dh0AbW042tZHwaHNHYcJrPu9YH1QLobvGc7TkCSYBIdG7lRJ8EPtayyu0U3F2gASJGhqAATkIHCzHZWyr%2F8WJFcinsIxuI8iYoH3pOTZ2HJgDW38Zbu0NqMZmH%2BbRahVPiN7s4ckYmF50hCbgXt%2BdD9R6jB%2BkNufrVtN%2FAVgRMLOeEn2FZF0CCLlyjaIqq8QIxaPpDSLxpV6wZSh5enenoKm%2B1wunWRdd0gwG03k%2F4RCcDbb%2FIAA%3D\\",\\n \\"FileName\\": \\"translated_a_file.pptx\\",\\n \\"ExpireTime\\": 1774147442\\n }\\n}","type":"json"}]', 'changeSet' => [], ], 'GetTranslatedFileUrl' => [ 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'formData', 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'f9c35b0453b'], ], [ 'name' => 'APIKey', 'in' => 'query', 'schema' => ['title' => '', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'sk-1***s'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PlainResult', 'description' => '\\-', 'type' => 'object', 'properties' => [ 'Success' => ['title' => '', 'description' => '', 'type' => 'boolean', 'example' => 'True'], 'Code' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'success'], 'Message' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'success'], 'RequestId' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => '18D108E8-9625-5A26-BF0C-23EA0A2646B3'], 'Data' => [ 'title' => '', 'description' => '', 'type' => 'object', 'properties' => [ 'DownloadUrl' => ['description' => '', 'type' => 'string', 'example' => 'https://gtm-translate-service-prod.oss-cn-zhangjiakou.aliyuncs.com/translations/replaced/a_file_992736840.pptx?Expires=1782738716&OSSAccessKeyId=STS.NZm6TgFWU2sgpBxs2UD154B9w&Signature=uPORIIsYjiwRFzoyNUN8Htnwdfc%3D&security-token=CAIS3gJ1q6Ft5B2yfSjIr5nYfe7Tq4h0hbGMcmTJlzIASL4Z24eSlTz2IHhMf3FtAuwft%2FU0mWFW7foSlrp6SJtIXleCZtF94oxN9h2gb4fb4woBanWd08%2FLI3OaLjKm9u2wCryLYbGwU%2FOpbE%2B%2B5U0X6LDmdDKkckW4OJmS8%2FBOZcgWWQ%2FKBlgvRq0hRG1YpdQdKGHaONu0LxfumRCwNkdzvRdmgm4NgsbWgO%2Fks0OC1ACnmrdM%2FdupesL0MPMBZskvD42Hu8VtbbfE3SJq7BxHybx7lqQs%2B02c5onGWwQKv0zfYrGJo4M0cF9jLqcmHutYtvH6jvlxpuGWjInt1RdGMKRHXj7YAZy63dDYCHRtm2ect12R0R3spTPvXvGd22tMCfkrqw7Ahz2PACvRGM5dh0AbW042tZHwaHNHYcJrPu9YH1QLobvGc7TkCSYBIdG7lRJ8EPtayyu0U3F2gASJGhqAATkIHCzHZWyr%2F8WJFcinsIxuI8iYoH3pOTZ2HJgDW38Zbu0NqMZmH%2BbRahVPiN7s4ckYmF50hCbgXt%2BdD9R6jB%2BkNufrVtN%2FAVgRMLOeEn2FZF0CCLlyjaIqq8QIxaPpDSLxpV6wZSh5enenoKm%2B1wunWRdd0gwG03k%2F4RCcDbb%2FIAA%3D'], 'FileName' => ['description' => '', 'type' => 'string', 'example' => 'translated_a_file.pptx'], 'ExpireTime' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1774147442'], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"Code\\": \\"success\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"18D108E8-9625-5A26-BF0C-23EA0A2646B3\\",\\n \\"Data\\": {\\n \\"DownloadUrl\\": \\"https://gtm-translate-service-prod.oss-cn-zhangjiakou.aliyuncs.com/translations/replaced/a_file_992736840.pptx?Expires=1782738716&OSSAccessKeyId=STS.NZm6TgFWU2sgpBxs2UD154B9w&Signature=uPORIIsYjiwRFzoyNUN8Htnwdfc%3D&security-token=CAIS3gJ1q6Ft5B2yfSjIr5nYfe7Tq4h0hbGMcmTJlzIASL4Z24eSlTz2IHhMf3FtAuwft%2FU0mWFW7foSlrp6SJtIXleCZtF94oxN9h2gb4fb4woBanWd08%2FLI3OaLjKm9u2wCryLYbGwU%2FOpbE%2B%2B5U0X6LDmdDKkckW4OJmS8%2FBOZcgWWQ%2FKBlgvRq0hRG1YpdQdKGHaONu0LxfumRCwNkdzvRdmgm4NgsbWgO%2Fks0OC1ACnmrdM%2FdupesL0MPMBZskvD42Hu8VtbbfE3SJq7BxHybx7lqQs%2B02c5onGWwQKv0zfYrGJo4M0cF9jLqcmHutYtvH6jvlxpuGWjInt1RdGMKRHXj7YAZy63dDYCHRtm2ect12R0R3spTPvXvGd22tMCfkrqw7Ahz2PACvRGM5dh0AbW042tZHwaHNHYcJrPu9YH1QLobvGc7TkCSYBIdG7lRJ8EPtayyu0U3F2gASJGhqAATkIHCzHZWyr%2F8WJFcinsIxuI8iYoH3pOTZ2HJgDW38Zbu0NqMZmH%2BbRahVPiN7s4ckYmF50hCbgXt%2BdD9R6jB%2BkNufrVtN%2FAVgRMLOeEn2FZF0CCLlyjaIqq8QIxaPpDSLxpV6wZSh5enenoKm%2B1wunWRdd0gwG03k%2F4RCcDbb%2FIAA%3D\\",\\n \\"FileName\\": \\"translated_a_file.pptx\\",\\n \\"ExpireTime\\": 1774147442\\n }\\n}","type":"json"}]', 'changeSet' => [], ], 'GetTranslationTask' => [ 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'formData', 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'f9c35b0453b'], ], [ 'name' => 'APIKey', 'in' => 'query', 'schema' => ['title' => '', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '***'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PlainResult', 'description' => '\\-', 'type' => 'object', 'properties' => [ 'Success' => ['title' => '', 'description' => '', 'type' => 'boolean', 'example' => 'True'], 'Code' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'success'], 'Message' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'successful'], 'RequestId' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'EDD51FD8-93E0-5161-BCA6-38A8393F26D9'], 'Data' => [ 'title' => '', 'description' => '', 'type' => 'object', 'properties' => [ 'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'f9c35b0453b'], 'BaseTaskId' => ['description' => '', 'type' => 'string', 'example' => 'f9c35b0453b'], 'OriginalFileName' => ['description' => '', 'type' => 'string', 'example' => 'translated_a_file.pptx'], 'Status' => [ 'description' => '', 'type' => 'string', 'enumValueTitles' => ['CANCELLED' => '', 'COMPLETED' => '', 'FAILED' => '', 'PROCESSING' => '', 'PENDING' => '', 'ANALYZED' => ''], 'example' => 'PROCESSING', ], 'Progress' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '90'], 'Config' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'SourceLanguage' => ['description' => '', 'type' => 'string', 'example' => 'zh'], 'TargetLanguage' => ['description' => '', 'type' => 'string', 'example' => 'en'], 'Style' => ['description' => '', 'type' => 'string', 'example' => 'minimal'], 'SecurityLevel' => ['description' => '', 'type' => 'string', 'example' => 'public'], 'Template' => ['description' => '', 'type' => 'string', 'example' => 'common'], ], ], 'WordCount' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1600'], 'PageCount' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], 'FileFormat' => ['description' => '', 'type' => 'string', 'example' => 'PPTX'], 'FileName' => ['description' => '', 'type' => 'string', 'example' => 'translated_a_file.pptx'], 'TaskType' => [ 'description' => '', 'type' => 'string', 'enumValueTitles' => ['DOCUMENT' => ''], 'example' => 'DOCUMENT', ], 'EstimatedCostCredits' => ['description' => '', 'type' => 'number', 'format' => 'double', 'example' => '2.5510'], 'EstimatedTime' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '40000'], 'CostCredits' => ['description' => '', 'type' => 'number', 'format' => 'double', 'example' => '2.5510'], 'CostTime' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '43'], 'FinishedAt' => ['description' => '', 'type' => 'string', 'example' => '1774147442'], 'ErrorMessage' => ['description' => '', 'type' => 'string', 'example' => 'error'], 'Fonts' => [ 'description' => '', 'type' => 'object', 'additionalProperties' => [ 'type' => 'array', 'items' => ['type' => 'string', 'example' => '{'."\n" .' "default": ['."\n" .' "Arial",'."\n" .' "Calibri",'."\n" .' "Times New Roman"'."\n" .' ],'."\n" .' "ja": ['."\n" .' "MS Mincho",'."\n" .' "Yu Mincho",'."\n" .' "Meiryo"'."\n" .' ],'."\n" .' "en": ['."\n" .' "Times New Roman",'."\n" .' "Calibri",'."\n" .' "Arial"'."\n" .' ],'."\n" .' "id": ['."\n" .' "Arial",'."\n" .' "Calibri",'."\n" .' "Times New Roman"'."\n" .' ],'."\n" .' "fr": ['."\n" .' "Calibri",'."\n" .' "Arial",'."\n" .' "Marianne"'."\n" .' ]'."\n" .'}', 'description' => ''], 'description' => '', ], ], 'WorkSpaceId' => ['description' => '', 'type' => 'string', 'example' => 'c2b898f******c985c'], 'OrgId' => ['description' => '', 'type' => 'string', 'example' => 'org_e5b74*****9c94209'], 'ExtractedTerms' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '\\-', 'type' => 'object', 'properties' => [ 'SourceTerm' => ['description' => '', 'type' => 'string', 'example' => ''], 'TargetTerm' => ['description' => '', 'type' => 'string', 'example' => 'dog'], ], ], ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"Code\\": \\"success\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"EDD51FD8-93E0-5161-BCA6-38A8393F26D9\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"f9c35b0453b\\",\\n \\"BaseTaskId\\": \\"f9c35b0453b\\",\\n \\"OriginalFileName\\": \\"translated_a_file.pptx\\",\\n \\"Status\\": \\"PROCESSING\\",\\n \\"Progress\\": 90,\\n \\"Config\\": {\\n \\"SourceLanguage\\": \\"zh\\",\\n \\"TargetLanguage\\": \\"en\\",\\n \\"Style\\": \\"minimal\\",\\n \\"SecurityLevel\\": \\"public\\",\\n \\"Template\\": \\"common\\"\\n },\\n \\"WordCount\\": 1600,\\n \\"PageCount\\": 0,\\n \\"FileFormat\\": \\"PPTX\\",\\n \\"FileName\\": \\"translated_a_file.pptx\\",\\n \\"TaskType\\": \\"DOCUMENT\\",\\n \\"EstimatedCostCredits\\": 2.551,\\n \\"EstimatedTime\\": 40000,\\n \\"CostCredits\\": 2.551,\\n \\"CostTime\\": 43,\\n \\"FinishedAt\\": \\"1774147442\\",\\n \\"ErrorMessage\\": \\"error\\",\\n \\"Fonts\\": {\\n \\"key\\": [\\n \\"{\\\\n \\\\\\"default\\\\\\": [\\\\n \\\\\\"Arial\\\\\\",\\\\n \\\\\\"Calibri\\\\\\",\\\\n \\\\\\"Times New Roman\\\\\\"\\\\n ],\\\\n \\\\\\"ja\\\\\\": [\\\\n \\\\\\"MS Mincho\\\\\\",\\\\n \\\\\\"Yu Mincho\\\\\\",\\\\n \\\\\\"Meiryo\\\\\\"\\\\n ],\\\\n \\\\\\"en\\\\\\": [\\\\n \\\\\\"Times New Roman\\\\\\",\\\\n \\\\\\"Calibri\\\\\\",\\\\n \\\\\\"Arial\\\\\\"\\\\n ],\\\\n \\\\\\"id\\\\\\": [\\\\n \\\\\\"Arial\\\\\\",\\\\n \\\\\\"Calibri\\\\\\",\\\\n \\\\\\"Times New Roman\\\\\\"\\\\n ],\\\\n \\\\\\"fr\\\\\\": [\\\\n \\\\\\"Calibri\\\\\\",\\\\n \\\\\\"Arial\\\\\\",\\\\n \\\\\\"Marianne\\\\\\"\\\\n ]\\\\n}\\"\\n ]\\n },\\n \\"WorkSpaceId\\": \\"c2b898f******c985c\\",\\n \\"OrgId\\": \\"org_e5b74*****9c94209\\",\\n \\"ExtractedTerms\\": [\\n {\\n \\"SourceTerm\\": \\"\\",\\n \\"TargetTerm\\": \\"dog\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'changeSet' => [], ], 'ListTranslationTasks' => [ 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '0', 'exclusiveMinimum' => true, 'example' => '10', 'default' => '10'], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6lkCoZlXVoygoU1omMcKBVc'], ], [ 'name' => 'TaskId', 'in' => 'query', 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'f9c35b0453b'], ], [ 'name' => 'OriginalFileName', 'in' => 'query', 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'translated_a_file.pptx'], ], [ 'name' => 'SourceLanguage', 'in' => 'query', 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ 'name' => 'TargetLanguage', 'in' => 'query', 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'en'], ], [ 'name' => 'Status', 'in' => 'query', 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'PROCESSING'], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '2026-06-26 00:00:00'], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '2026-06-27 00:00:00'], ], [ 'name' => 'APIKey', 'in' => 'query', 'schema' => ['title' => '', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'sk-1***s'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PlainResult>', 'description' => '\\-', 'type' => 'object', 'properties' => [ 'Success' => ['title' => '', 'description' => '', 'type' => 'boolean', 'example' => 'True'], 'Code' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'success'], 'Message' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'success'], 'RequestId' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => '50ABF118-2F9D-51DF-B1FB-1E389817DC47'], 'Data' => [ 'title' => '', 'description' => '', 'type' => 'object', 'properties' => [ 'List' => [ 'title' => '', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'f9c35b0453b'], 'OriginalFileName' => ['description' => '', 'type' => 'string', 'example' => 'translated_a_file.pptx'], 'Template' => ['description' => '', 'type' => 'string', 'example' => 'common'], 'SourceLanguage' => ['description' => '', 'type' => 'string', 'example' => 'zh'], 'TargetLanguage' => ['description' => '', 'type' => 'string', 'example' => 'en'], 'Creator' => ['description' => '', 'type' => 'string', 'example' => 'acc_93****c936'], 'CreatorName' => ['description' => '', 'type' => 'string', 'example' => 'tes_account@test.com'], 'StartTime' => ['description' => '', 'type' => 'string', 'example' => '1782459562000'], 'GmtCreate' => ['description' => '', 'type' => 'string', 'example' => '1782459562000'], 'CompleteTime' => ['description' => '', 'type' => 'string', 'example' => '1782459562000'], 'CostTime' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '196'], 'Status' => ['description' => '', 'type' => 'string', 'example' => 'CANCELLED'], 'Progress' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '61'], 'ErrorMessage' => ['description' => '', 'type' => 'string', 'example' => 'device offline'], 'WorkSpaceId' => ['description' => '', 'type' => 'string', 'example' => '6458351*****0cc5'], 'OrgId' => ['description' => '', 'type' => 'string', 'example' => 'org_c6******cdc2ce7'], 'CostCredits' => ['description' => '', 'type' => 'number', 'format' => 'double', 'example' => '81.2992'], 'WordCount' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1600'], 'PageCount' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '21'], 'FileFormat' => ['description' => '', 'type' => 'string', 'example' => 'PPTX'], 'FileName' => ['description' => '', 'type' => 'string', 'example' => 'translated_a_file.pptx'], 'TaskType' => ['description' => '', 'type' => 'string', 'example' => 'DOCUMENT'], ], ], ], 'Total' => ['title' => '', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], 'MaxResults' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], 'NextToken' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAVpfrV4aVmra0dxbtRB74lmSGzegoejeIqxIET/WdX50'], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"Code\\": \\"success\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"50ABF118-2F9D-51DF-B1FB-1E389817DC47\\",\\n \\"Data\\": {\\n \\"List\\": [\\n {\\n \\"TaskId\\": \\"f9c35b0453b\\",\\n \\"OriginalFileName\\": \\"translated_a_file.pptx\\",\\n \\"Template\\": \\"common\\",\\n \\"SourceLanguage\\": \\"zh\\",\\n \\"TargetLanguage\\": \\"en\\",\\n \\"Creator\\": \\"acc_93****c936\\",\\n \\"CreatorName\\": \\"tes_account@test.com\\",\\n \\"StartTime\\": \\"1782459562000\\",\\n \\"GmtCreate\\": \\"1782459562000\\",\\n \\"CompleteTime\\": \\"1782459562000\\",\\n \\"CostTime\\": 196,\\n \\"Status\\": \\"CANCELLED\\",\\n \\"Progress\\": 61,\\n \\"ErrorMessage\\": \\"device offline\\",\\n \\"WorkSpaceId\\": \\"6458351*****0cc5\\",\\n \\"OrgId\\": \\"org_c6******cdc2ce7\\",\\n \\"CostCredits\\": 81.2992,\\n \\"WordCount\\": 1600,\\n \\"PageCount\\": 21,\\n \\"FileFormat\\": \\"PPTX\\",\\n \\"FileName\\": \\"translated_a_file.pptx\\",\\n \\"TaskType\\": \\"DOCUMENT\\"\\n }\\n ],\\n \\"Total\\": 5,\\n \\"MaxResults\\": 20,\\n \\"NextToken\\": \\"AAAAAVpfrV4aVmra0dxbtRB74lmSGzegoejeIqxIET/WdX50\\"\\n }\\n}","type":"json"}]', 'changeSet' => [], 'ramActions' => [], ], 'SubmitTranslationTask' => [ 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'formData', 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'f9c35b0453b'], ], [ 'name' => 'BaseTaskId', 'in' => 'formData', 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'f9c35b0453b'], ], [ 'name' => 'Config', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'SourceLanguage' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'zh'], 'TargetLanguage' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'en'], 'Style' => [ 'description' => '', 'type' => 'string', 'required' => false, 'enumValueTitles' => ['normal' => '', 'minimal' => ''], 'example' => 'minimal', ], 'Font' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'Arial'], ], 'required' => true, 'example' => '{'."\n" .' "SourceLanguage": "zh",'."\n" .' "TargetLanguage": "en",'."\n" .' "Style": "minimal",'."\n" .' "Font": "Arial"'."\n" .' }', ], ], [ 'name' => 'APIKey', 'in' => 'query', 'schema' => ['title' => '', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '***'], ], [ 'name' => 'CustomTerms', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '\\-', 'type' => 'object', 'properties' => [ 'SourceTerm' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ''], 'TargetTerm' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'dog'], ], 'required' => false, ], 'required' => false, 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PlainResult', 'description' => '\\-', 'type' => 'object', 'properties' => [ 'Success' => ['title' => '', 'description' => '', 'type' => 'boolean', 'example' => 'True'], 'Code' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'success'], 'Message' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'success'], 'RequestId' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'F6E6D23C-D6FC-5AD4-B90B-1E32850393AB'], 'Data' => [ 'title' => '', 'description' => '', 'type' => 'object', 'properties' => [ 'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'f9c35b0453b'], 'Status' => [ 'description' => '', 'type' => 'string', 'enumValueTitles' => ['CANCELLED' => '', 'COMPLETED' => '', 'FAILED' => '', 'PROCESSING' => '', 'PENDING' => '', 'ANALYZED' => ''], 'example' => 'COMPLETED', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"Code\\": \\"success\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"F6E6D23C-D6FC-5AD4-B90B-1E32850393AB\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"f9c35b0453b\\",\\n \\"Status\\": \\"COMPLETED\\"\\n }\\n}","type":"json"}]', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], ], 'UploadTranslationFile' => [ 'summary' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'APIKey', 'in' => 'query', 'schema' => ['title' => '', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'sk-2***s'], ], [ 'name' => 'File', 'in' => 'query', 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'http://gtm-pop-file-upload-zhangjiakou.oss-cn-zhangjiakou.aliyuncs.com/467a_208353582454045230_c8a22285d0b14873aefdcb7eaa7f9046', 'isFileTransferUrl' => true, 'title' => ''], ], [ 'name' => 'FileName', 'in' => 'query', 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'testfile_202511.txt', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => '\\-', 'type' => 'object', 'properties' => [ 'Success' => ['title' => '', 'description' => '', 'type' => 'boolean', 'example' => 'True'], 'Code' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'success'], 'Message' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'success'], 'RequestId' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'F60AC23C-27A7-5376-9A68-0B6EF2D4F9E4'], 'Data' => [ 'title' => '', 'description' => '', 'type' => 'object', 'properties' => [ 'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'f9c35b0453b', 'title' => ''], 'WordCount' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '2000', 'title' => ''], 'PageCount' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], 'EstimatedCostCredits' => ['description' => '', 'type' => 'number', 'format' => 'double', 'example' => '3.0021', 'title' => ''], 'EstimatedTime' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '60000', 'title' => ''], 'DetectedLang' => [ 'description' => '', 'type' => 'string', 'enumValueTitles' => ['de' => '', 'ko' => '', 'ja' => '', 'en' => '', 'fr' => '', 'zh' => ''], 'example' => 'zh', 'title' => '', ], 'CreditBreakdown' => ['description' => '', 'type' => 'string', 'example' => 'docx: 0.002 creadits/word × 1000 words (original 2 characters rounded up to nearest thousand) / 1000 = 0.002'."\n" ."\n", 'title' => ''], 'CreditsAvailable' => ['description' => '', 'type' => 'boolean', 'example' => 'True', 'title' => ''], 'Fonts' => [ 'description' => '', 'type' => 'object', 'additionalProperties' => [ 'type' => 'array', 'items' => ['type' => 'string', 'example' => '{'."\n" .' "default": ['."\n" .' "Arial",'."\n" .' "Calibri",'."\n" .' "Times New Roman"'."\n" .' ],'."\n" .' "ja": ['."\n" .' "MS Mincho",'."\n" .' "Yu Mincho",'."\n" .' "Meiryo"'."\n" .' ],'."\n" .' "en": ['."\n" .' "Times New Roman",'."\n" .' "Calibri",'."\n" .' "Arial"'."\n" .' ],'."\n" .' "id": ['."\n" .' "Arial",'."\n" .' "Calibri",'."\n" .' "Times New Roman"'."\n" .' ],'."\n" .' "fr": ['."\n" .' "Calibri",'."\n" .' "Arial",'."\n" .' "Marianne"'."\n" .' ]'."\n" .'}', 'description' => '', 'title' => ''], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'SensitiveDetected' => ['description' => '', 'type' => 'boolean', 'example' => 'True', 'title' => ''], 'SensitiveTags' => [ 'description' => '', 'type' => 'array', 'items' => ['description' => '', 'type' => 'string', 'example' => '["Trade Secrets", "Account Credentials"]'."\n" ."\n", 'title' => ''], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], 'example' => '', ], ], ], 'title' => '', 'description' => '> - 本接口仅涉及文档上传与信息预估,**不产生任何费用**,Credits 消耗将在您**正式提交翻译**任务后开始计算。'."\n" ."\n\n" .'**语种检测**'."\n" ."\n" .'系统将自动检测上传文档的语言类型,当前支持中文。'."\n" ."\n" .'**敏感信息检测**'."\n" ."\n" .'系统将对上传的文档进行敏感信息检测。若检测到敏感信息,返回结果中 `SensitiveDetected` 字段值为 `true`,并通过 `SensitiveTags` 字段返回命中的关键词列表。'."\n" .'> - 您可根据实际情况决定是否继续提交翻译任务。'."\n" .'> - 若您提交任务时的翻译效果设置为极致模式,系统会自动将涉及敏感信息**部分的内容**调整为 auto 模式。'."\n" ."\n\n" .'**注意事项**'."\n" ."\n" .'- 请确保上传的文档格式受系统支持,否则可能导致解析失败。'."\n" .'- 返回结果中的 `EstimatedCostCredits` 为预估消耗 Credits,实际消耗以正式提交翻译任务后的结算为准。'."\n" .'- 返回结果中的 `EstimatedTime` 为预估翻译时长,单位为毫秒,实际翻译时长可能因文档复杂度存在差异。'."\n" .'- 返回结果中的 `Fonts` 字段为支持修改字体的语言及对应字体列表,您可根据目标语言选择合适的字体。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"Code\\": \\"success\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"F60AC23C-27A7-5376-9A68-0B6EF2D4F9E4\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"f9c35b0453b\\",\\n \\"WordCount\\": 2000,\\n \\"PageCount\\": 10,\\n \\"EstimatedCostCredits\\": 3.0021,\\n \\"EstimatedTime\\": 60000,\\n \\"DetectedLang\\": \\"zh\\",\\n \\"CreditBreakdown\\": \\"docx: 0.002 creadits/word × 1000 words (original 2 characters rounded up to nearest thousand) / 1000 = 0.002\\\\n\\\\n\\",\\n \\"CreditsAvailable\\": true,\\n \\"Fonts\\": {\\n \\"key\\": [\\n \\"{\\\\n \\\\\\"default\\\\\\": [\\\\n \\\\\\"Arial\\\\\\",\\\\n \\\\\\"Calibri\\\\\\",\\\\n \\\\\\"Times New Roman\\\\\\"\\\\n ],\\\\n \\\\\\"ja\\\\\\": [\\\\n \\\\\\"MS Mincho\\\\\\",\\\\n \\\\\\"Yu Mincho\\\\\\",\\\\n \\\\\\"Meiryo\\\\\\"\\\\n ],\\\\n \\\\\\"en\\\\\\": [\\\\n \\\\\\"Times New Roman\\\\\\",\\\\n \\\\\\"Calibri\\\\\\",\\\\n \\\\\\"Arial\\\\\\"\\\\n ],\\\\n \\\\\\"id\\\\\\": [\\\\n \\\\\\"Arial\\\\\\",\\\\n \\\\\\"Calibri\\\\\\",\\\\n \\\\\\"Times New Roman\\\\\\"\\\\n ],\\\\n \\\\\\"fr\\\\\\": [\\\\n \\\\\\"Calibri\\\\\\",\\\\n \\\\\\"Arial\\\\\\",\\\\n \\\\\\"Marianne\\\\\\"\\\\n ]\\\\n}\\"\\n ]\\n },\\n \\"SensitiveDetected\\": true,\\n \\"SensitiveTags\\": [\\n \\"[\\\\\\"Trade Secrets\\\\\\", \\\\\\"Account Credentials\\\\\\"]\\\\n\\\\n\\"\\n ]\\n }\\n}","type":"json"}]', ], ], 'endpoints' => [ ['regionId' => 'public', 'regionName' => 'Public network', 'areaId' => 'other', 'areaName' => 'Other', 'public' => 'realtranslationagent.aliyuncs.com', 'endpoint' => 'realtranslationagent.aliyuncs.com', 'vpc' => ''], ], 'errorCodes' => [], 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ram' => [ 'productCode' => 'RealTranslationAgent', 'productName' => 'innovative swproduct', 'ramCodes' => ['realtranslationagent'], 'ramLevel' => 'OPERATION', 'ramConditions' => [], 'ramActions' => [ [ 'apiName' => 'SubmitTranslationTask', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'realtranslationagent:SubmitTranslationTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'RealTranslationAgent', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CancelTranslationTask', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'realtranslationagent:CancelTranslationTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'RealTranslationAgent', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetTranslatedFileUrl', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'realtranslationagent:GetTranslatedFileUrl', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'RealTranslationAgent', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UploadTranslationFile', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'realtranslationagent:UploadTranslationFile', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'RealTranslationAgent', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListTranslationTasks', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'realtranslationagent:ListTranslationTasks', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'RealTranslationAgent', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetOriginalFileUrl', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'realtranslationagent:GetOriginalFileUrl', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'RealTranslationAgent', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetTranslationTask', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'realtranslationagent:GetTranslationTask', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'RealTranslationAgent', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'resourceTypes' => [], ], ];