GetAgent
GetAgent.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
rtc:GetAgent |
none |
*App
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
No |
Application ID. You can create and view this ID in the console. Only one ID is supported. |
aec**** |
| ChannelId |
string |
No |
Channel ID. |
1234 |
| TaskId |
string |
No |
Task ID. |
yourTaskId |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response schema. |
||
| RequestId |
string |
Request ID. |
6159ba01-6687-4fb2-a831-f0cd8d188648 |
| StartTime |
string |
Start timestamp, in Unix time, measured in milliseconds. |
1751513144838 |
| StopTime |
string |
End timestamp, in Unix time, measured in milliseconds. |
1751513144838 |
| Status |
string |
Agent status. Valid values: 0 (not started), 1 (starting), 2 (running), 3 (stopping), 4 (stopped), or 5 (failed). |
1 |
| Message |
string |
Status message. |
Success |
Examples
Success response
JSON format
{
"RequestId": "6159ba01-6687-4fb2-a831-f0cd8d188648",
"StartTime": "1751513144838",
"StopTime": "1751513144838",
"Status": "1",
"Message": "Success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.