GetTenantMemoryConfig
Queries the tenant-level memory configurations of the current account by agent provider, business platform, and business type.
Operation description
Specify the agent provider, business platform, and business type corresponding to the configuration. After modification, you can use the same combination to query whether the configuration has been updated.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
appstreaming:GetTenantMemoryConfig |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AgentProvider |
string |
No |
The agent provider. This parameter is used together with AgentPlatform and BizType to locate the memory configuration. You must use a configured business combination. |
OpenClaw |
| AgentPlatform |
string |
No |
The business platform to which the agent belongs. Specify the platform corresponding to the tenant memory configuration, such as the enterprise platform |
ENTERPRISE |
| BizType |
integer |
No |
The business type code. This parameter is used together with the provider and business platform. Common values include |
1 |
| AgentInstanceId |
string |
No |
This parameter is not enabled. Do not specify this parameter. The current API operation queries tenant configurations by provider, business platform, and business type. The example is used to illustrate the field status. |
N/A (not enabled) |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response result of this API call. |
||
| RequestId |
string |
The unique identifier of the request, which can be used for troubleshooting. |
01A1CEEB-CDFF-18F9-B2BF-9997600D**** |
| Data |
object |
The tenant memory configuration that matches the business combination. |
|
| Enabled |
boolean |
The tenant-level memory switch for the corresponding business combination. A value of |
|
| TenantEnabled |
boolean |
This field is not enabled. To obtain the tenant-level configuration switch returned by the current API operation, read the Enabled field. |
|
| InstanceDesiredEnabled |
boolean |
This field is not enabled. The current query result does not provide the instance desired switch. |
|
| EffectiveEnabled |
boolean |
This field is not enabled. The current query result does not provide the effective switch of the instance. |
|
| DisabledReason |
string |
This field is not enabled. The current query result does not provide the disable reason. The example is used to illustrate the field status. |
N/A (not enabled) |
Examples
Success response
JSON format
{
"RequestId": "01A1CEEB-CDFF-18F9-B2BF-9997600D****",
"Data": {
"Enabled": false,
"TenantEnabled": false,
"InstanceDesiredEnabled": false,
"EffectiveEnabled": false,
"DisabledReason": "N/A (not enabled)"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.