Query Running Digital Human Video Stream Tasks
Description
通过本接口,您可以查询当前正在运行中的数字人视频流任务。
Request prototype
- Request method: POST
- Request body format: JSON
- Request URL: https://aigc-digitalhuman-api.zegotech.cn?Action=QueryDigitalHumanStreamTasks
- Transmission protocol: HTTPS
- QPS limit: 10 times/second
Request Parameters
This API has no parameters other than common parameters. For the complete list of common parameters, please refer to Accessing Server APIs - Common Request Parameters ## Sample request
https://aigc-digitalhuman-api.zegotech.cn?Action=QueryDigitalHumanStreamTasks
&<Common Request Parameters>
Response parameters
Parameter | Type | Description |
---|---|---|
Code | Number | Return code. 0 indicates success, other values indicate failure. For error codes and response handling suggestions, please refer to Return Codes. |
Message | String | Description of the request result. |
RequestId | String | Request ID. |
Data | Object | Return data. |
└TaskList | Array of Object | List of running digital human video stream tasks. For details, please refer to Task. |
Task
Parameter | Type | Description |
---|---|---|
TaskId | String | Digital human video stream task ID. |
RoomId | String | Room ID of the digital human video stream task. The room ID passed in when calling the CreateDigitalHumanStreamTask API. |
StreamId | String | Stream ID of the digital human video stream task. The stream ID passed in when calling the CreateDigitalHumanStreamTask API. |
Status | Number | Task status:
|
CreateTime | Number | Unix timestamp (seconds) when the task was created. |
Sample response
{
"Code": 0,
"Message": "success",
"RequestId": "ec0881f7-9e62-4e74-a66c-f31579c42f92",
"Data": {
"TaskList": [
{
"TaskId": "688bd608-823d-4830-b469-fb7fb1c5dbbe",
"RoomId": "room_8176",
"StreamId": "789856",
"CreateTime": 1750298304,
"Status": 3
}
]
}
}