PageQueryAgentListNew
Queries the agent list by paging (managed pattern V2).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
aiccs:PageQueryAgentListNew |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AgentName |
string |
No |
The agent name. |
Intelligent Customer Service Assistant |
| AgentId |
string |
No |
Agent ID |
12345 |
| PageIndex |
integer |
No |
The page number. [Deprecated] Use PageNo instead. |
1 |
| PageSize |
integer |
No |
The number of entries per page. |
20 |
| PageNo |
integer |
No |
The page number. |
1 |
| IsAvailable |
boolean |
No |
Specifies whether the agent is available for outbound calls. A value of True indicates that the currently deployed branch of the agent has a published version and is available for outbound calls. |
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AccessDeniedDetail |
string |
The details about the access denial. |
Access denied due to insufficient permissions |
| RequestId |
string |
The request ID. |
12345678-1234-1234-1234-123456789012 |
| Message |
string |
The description of the status code. |
success |
| Data |
object |
The returned data. |
|
| PageSize |
integer |
The page size. |
41 |
| Total |
integer |
The total number of records. |
6 |
| PageNo |
integer |
The current page number. |
28 |
| List |
array<object> |
The data list. |
|
|
object |
The data list. |
||
| DeployBranchName |
string |
The name of the active branch. |
master |
| ModifyTime |
string |
The last modification time, in the format of YYYY-MM-DD HH:mm:ss. |
2024-01-15 10:30:00 |
| Description |
string |
The agent description. |
Intelligent customer service assistant that provides automated customer service support |
| AgentMode |
integer |
The agent building mode. Valid values:
|
0 |
| CreateTime |
string |
The creation time, in the format of YYYY-MM-DD HH:mm:ss. |
2024-01-20 12:00:00 |
| EffectiveVersionId |
integer |
The ID of the active version. |
71 |
| Scene |
string |
The scenario. |
Personal lead conversion |
| ApplicationCode |
string |
The application code. |
aicc_demo_app |
| DeployBranchId |
integer |
The ID of the deployed branch. |
24 |
| LatestPublishTime |
string |
The latest version publish time, in the format of YYYY-MM-DD HH:mm:ss. |
2024-01-20 12:00:00 |
| IsAvailable |
boolean |
Indicates whether the agent is available for outbound calls. A value of True indicates that the currently deployed branch of the agent has a published version and is available for outbound calls. |
true |
| AgentId |
integer |
The agent ID. |
51 |
| AgentName |
string |
The agent name. |
Intelligent Customer Service Assistant |
| EffectiveVersionName |
string |
The name of the active version. |
v1.0.0 |
| Code |
string |
The status code. |
OK |
| Success |
boolean |
Indicates whether the API call was successful.
|
false |
Examples
Success response
JSON format
{
"AccessDeniedDetail": "Access denied due to insufficient permissions",
"RequestId": "12345678-1234-1234-1234-123456789012",
"Message": "success",
"Data": {
"PageSize": 41,
"Total": 6,
"PageNo": 28,
"List": [
{
"DeployBranchName": "master",
"ModifyTime": "2024-01-15 10:30:00",
"Description": "智能客服助手,提供自动化的客户服务支持",
"AgentMode": 0,
"CreateTime": "2024-01-20 12:00:00",
"EffectiveVersionId": 71,
"Scene": "个人线索转化",
"ApplicationCode": "aicc_demo_app",
"DeployBranchId": 24,
"LatestPublishTime": "2024-01-20 12:00:00",
"IsAvailable": true,
"AgentId": 51,
"AgentName": "智能客服助手",
"EffectiveVersionName": "v1.0.0"
}
]
},
"Code": "OK",
"Success": false
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.