Anda dapat memanggil operasi ini untuk menanyakan detail tugas alur kerja cerdas.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:GetAIWorkflowTask |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| TaskId |
string |
No |
ID tugas alur kerja cerdas. |
********-266c-4bb8-b20c-6faa******** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
ID permintaan. |
******11-DB8D-4A9A-875B-275798****** |
| WorkflowTask |
object |
Informasi tentang tugas alur kerja cerdas. |
|
| TaskId |
string |
ID tugas alur kerja cerdas. |
********-67fd-43aa-9cc1-3e7f******** |
| Status |
string |
Status tugas. Valid values:
|
succeeded |
| Inputs |
string |
Parameter startup tugas alur kerja. |
{\"source_language_id\":\"en\",\"live_id\":123,\"live_url\":{\"url\":\"rtmp://test.com.cn/video/638d9088fe4f15ce\"}} |
| CreateTime |
string |
Waktu saat tugas dibuat. Formatnya adalah yyyy-MM-ddTHH:mm:ssZ. |
2025-07-28T02:17:26Z |
| FinishTime |
string |
Waktu saat tugas selesai. Formatnya adalah yyyy-MM-ddTHH:mm:ssZ. |
2025-08-19T02:28:22Z |
| Workflow |
object |
Informasi tentang template alur kerja. |
|
| WorkflowId |
string |
The ID of the workflow template. |
****3f44-f1f6-477e-9364-c5e6c49e**** |
| Name |
string |
The name of the workflow template. |
RealtimeTranslation |
| Status |
string |
Workflow template status. Valid values:
|
Draft |
| Type |
string |
The scenario type of the template. |
Live |
| CreateTime |
string |
The time when the template was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. |
2025-08-20T01:35:04Z |
| ModifiedTime |
string |
The time when the template was last modified. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. |
2025-08-20T01:35:04Z |
| Version |
string |
The template version. |
****ec0a-e3b9-40b1-abf2-6549d00e**** |
| Graph |
string |
The workflow's topological structure. |
{ "nodes":[...], "edges":[...] } |
| NodeResults |
string |
Hasil node dari tugas alur kerja. Nilainya dalam format JSON. Kontennya bervariasi berdasarkan konfigurasi alur kerja. |
{...} |
| UserData |
string |
Informasi yang ditentukan pengguna. |
{"NotifyAddress":"http://xx.xx.xxx"} |
| Outputs |
string |
Output node. |
{ "result":"test" } |
| Version |
string |
Informasi versi template alur kerja. |
****ec0a-e3b9-40b1-abf2-6549d00e**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "******11-DB8D-4A9A-875B-275798******",
"WorkflowTask": {
"TaskId": "********-67fd-43aa-9cc1-3e7f********",
"Status": "succeeded",
"Inputs": "{\\\"source_language_id\\\":\\\"en\\\",\\\"live_id\\\":123,\\\"live_url\\\":{\\\"url\\\":\\\"rtmp://test.com.cn/video/638d9088fe4f15ce\\\"}}",
"CreateTime": "2025-07-28T02:17:26Z",
"FinishTime": "2025-08-19T02:28:22Z",
"Workflow": {
"WorkflowId": "****3f44-f1f6-477e-9364-c5e6c49e****",
"Name": "RealtimeTranslation",
"Status": "Draft",
"Type": "Live",
"CreateTime": "2025-08-20T01:35:04Z",
"ModifiedTime": "2025-08-20T01:35:04Z",
"Version": "****ec0a-e3b9-40b1-abf2-6549d00e****",
"Graph": "{\n\"nodes\":[...],\n\"edges\":[...]\n}"
},
"NodeResults": "{...}",
"UserData": "{\"NotifyAddress\":\"http://xx.xx.xxx\"}",
"Outputs": "{\n\"result\":\"test\"\n}",
"Version": "****ec0a-e3b9-40b1-abf2-6549d00e****"
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.