Sets the credit usage quota for a specified Agent.
Operation description
Operation description
You can use this API operation to set the credit usage quota for a specific type of Agent. Batch setting of quotas for multiple Agents is supported.
Before you begin
The
AgentTypeparameter specifies the type of Agent for which you want to set the quota, such asJVSClaworOpenClaw.The
AgentIdsparameter is an array that can contain up to 100 Agent IDs.The
CreditQuotaparameter specifies the credit usage quota for each Agent.
Examples
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecd:SetAgentCreditQuota |
update |
*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. |
JVSClaw |
| AgentIds |
array |
No |
The list of Agent IDs. |
|
|
string |
No |
The list of Agent IDs. |
jvs-0bwu3iffqhduyz3kq |
|
| CreditQuota |
integer |
No |
The credit quota. |
200 |
|
No |
The operator scenarios type. Valid values:
|
NaturalMonthlyOwn |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
9B353D6D-53C9-1C24-95D5-2D24596DBCF1 |
Examples
Success response
JSON format
{
"RequestId": "9B353D6D-53C9-1C24-95D5-2D24596DBCF1"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.