Creates an agent task.
Try it now
Test
RAM authorization
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
No |
The task name. |
Auto-reply to DingTalk messages |
| Type |
string |
No |
The task type. |
mobile_use_agent |
| InputParam |
string |
No |
The task input. |
Open DingTalk and reply to the first 5 unread messages |
| AgentId |
string |
No |
The agent ID. |
agt-mobileagent |
| NodeIds |
string |
No |
The list of node IDs. |
cpn-csbdhjcbvfd**** |
| SessionId |
string |
No |
The session ID. Tasks with the same session ID share the same context. |
ses-261005-6ekkb1m9ls00 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
ApiResponse |
||
| Code |
string |
The status code. A value of 200 indicates success. |
200 |
| Data |
object |
The returned result object. |
|
| SessionId |
string |
The session ID. Tasks with the same session ID share the same context, such as ses-260702-21b****. |
ses-261005-6ekkb1m9ls00 |
| TaskId |
string |
The task ID. |
t-22ex666a653gq**** |
| Message |
string |
The message returned by the operation. |
Success |
| RequestId |
string |
The request ID. |
1CBAFFAB-B697-4049-A9B1-67E1FC****** |
Examples
Success response
JSON format
{
"Code": "200",
"Data": {
"SessionId": "ses-261005-6ekkb1m9ls00",
"TaskId": "t-22ex666a653gq****"
},
"Message": "Success",
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC******"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.