GetTenantMemoryConfig

Updated at:

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

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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.

ENTERPRISE

BizType

integer

No

The business type code. This parameter is used together with the provider and business platform. Common values include 1 (Enterprise Edition), 10 (Personal Edition), and 20 (Commercial Edition).

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 true indicates that the switch is enabled, and a value of false indicates that the switch is disabled. This field may be omitted if no switch is configured for the combination.

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.