Queries the list of Agents and usage summary information under the current username.
Operation description
Request description
Paging support: Use the
NextTokenandMaxResultsparameters for paging. SetNextTokento an empty character string for the first request.Filtering: Use the
AgentTypeandAgentIdsparameters to filter the returned Agent list.Status filtering: Use the
Statusparameter to filter Agents by status (0: deleted, 1: active).Sorting: Results are sorted by
idin ascending order by default.Additional parameter for anonymous edition: The
FillInstanceparameter automatically populates the bound JVS_COPILOT AgentId of the currently logged-on user.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecd:DescribeCreditPackageAgents |
list |
*All Resource
|
None | None |
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BizType |
string |
No |
The business type. |
BUSINESS |
| AgentType |
string |
No |
The Agent type. Valid values: |
JVS_COPILOT |
| AgentIds |
array |
No |
A JSON string of the AgentId list. Example: |
|
|
string |
No |
The AgentId list. |
jvs-xxxx |
|
| MaxResults |
integer |
No |
The number of entries per page. |
100 |
| NextToken |
string |
No |
The pagination token. Set this parameter to an empty string for the first request. For subsequent requests, use the |
eyJvZmZzZXQiOjIwfQ== |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request trace ID, which is used for troubleshooting. |
xxxx-xxxx-xxxx |
| Agents |
array<object> |
The Agent list. |
|
|
object |
|||
| AgentId |
string |
Agent ID |
agent-abc |
| InstanceType |
string |
The instance type. |
jvs-copilot.standard |
| CreatedTime |
string |
The instance creation time. |
2026-04-01 10:00:00 |
| ExpiredTime |
string |
The time when the instance expires. |
2026-10-01 10:00:00 |
| UsedCredit |
integer |
The amount of credits used. |
100 |
| TotalCredit |
integer |
The total number of credits. |
2000 |
| CreditPackageId |
string |
The ID of the currently active credit package instance. |
cp-inst-001 |
| WarnPercent |
integer |
The alert threshold percentage (0–100). |
80 |
| MaxResults |
integer |
The number of entries per page. |
20 |
| NextToken |
string |
The pagination token. Set this parameter to an empty string for the first request. For subsequent requests, use the |
eyJvZmZzZXQiOjIwfQ== |
Examples
Success response
JSON format
{
"RequestId": "xxxx-xxxx-xxxx",
"Agents": [
{
"AgentId": "agent-abc",
"InstanceType": "jvs-copilot.standard",
"CreatedTime": "2026-04-01 10:00:00",
"ExpiredTime": "2026-10-01 10:00:00",
"UsedCredit": 100,
"TotalCredit": 2000,
"CreditPackageId": "cp-inst-001",
"WarnPercent": 80
}
],
"MaxResults": 20,
"NextToken": "eyJvZmZzZXQiOjIwfQ=="
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.