All Products
Search
Document Center

Tair (Redis® OSS-Compatible):API overview

Last Updated:Oct 23, 2026

API standards and multilingual preset SDKs

The OpenAPI of this product (R-kvstore/2015-01-01) uses the RPC signature style. We have encapsulated SDKs for common programming languages for developers. Developers can download the SDK to directly call this product's OpenAPI without worrying about technical details. If the existing SDK does not meet your needs, you can use the signature mechanism for self-signing integration. Since the details of self-signing are very complex, it may take around 5 business days. Therefore, we recommend joining our DingTalk service group (147535001692) and conducting signature integration under expert guidance.

Before using the API, you need to prepare your identity account and access key (AccessKey) to effectively access the API through client tools (such as SDK and CLI). For details, see Obtain an AccessKey.

Custom signature scenarios

If your business scenario has special requirements and you need to integrate the API through self-signing, we recommend consulting our technical support team first (DingTalk service group: 147535001692) to obtain professional guidance and ensure efficient integration.

Account and security preparation

Alibaba Cloud accounts have full administrative permissions over all resources. Once an AccessKey is compromised, all associated resources will be at risk of unauthorized access. To ensure security, it is recommended to create a RAM user with only API access permissions and configure its AccessKey, while configuring RAM policies based on the principle of least privilege (PoLP). Use the Alibaba Cloud account only in specific scenarios where Alibaba Cloud account permissions are explicitly required.

Lifecycle management

API

Title

Description

CreateInstance Create an instance Creates an ApsaraDB for Redis Community Edition instance with the classic or cloud-native architecture, or a Tair in-memory instance with the classic architecture. To create a Tair instance with the cloud-native architecture, call the CreateTairInstance operation.
AddShardingNode Add data shard nodes to a cluster instance Adds data shard nodes to a cluster instance. This operation supports only cloud-native Cluster Edition instances.
CreateGlobalDistributeCache Convert an existing instance into the first child instance of a distributed instance Converts an existing Tair memory-optimized (Classic Edition) instance into the first child instance of a distributed instance.
DeleteShardingNode Delete data shard nodes from a cluster instance Deletes data shard nodes from a cluster instance. This operation is supported only for cloud-native instances in the cluster architecture.
DeleteInstance Release an instance Releases an ApsaraDB for Tair (Redis® OSS-Compatible) database instance.
DestroyInstance Destroy an instance in the recycle bin Permanently destroys an instance and its data backups from the recycle bin.
ModifyInstanceSpec Modify instance specifications Modifies the specifications of an ApsaraDB Tair (Redis OSS-Compatible) instance.
DescribeRegions Query available regions Queries all regions and their corresponding active zones supported by ApsaraDB for Tair (Redis® OSS-Compatible) database instances.
DescribeZones Query supported zones Queries the zones supported by Tair (Redis® OSS-Compatible) in a specified region. To query the zones that are active for purchase, call the DescribeAvailableResource operation.
DescribeAvailableResource List available resources in a zone Queries the instance types available for creation in a specified zone.
TransformToPrePaid Change the billing method from pay-as-you-go to subscription Transforms a pay-as-you-go Tair (Redis® OSS-Compatible) instance into a subscription instance.
MigrateToOtherZone Migrate an instance to another zone Migrates an ApsaraDB Tair (Redis OSS-Compatible) instance to another zone in the same region.

Instance management

API

Title

Description

CreateTairInstance Create a tair (Enterprise edition) instance Creates a cloud-native Tair (Enterprise Edition) instance.
CreateInstances Create multiple instances Creates multiple ApsaraDB for Tair (Redis OSS-compatible) database Classic Edition instances.
EnableAdditionalBandwidth Adjust instance bandwidth Adjusts the bandwidth of an ApsaraDB Tair (Redis® OSS-Compatible) instance. Currently, only the pay-as-you-go billing method is supported. You only need to specify the InstanceId, NodeId (optional), Bandwidth, and ChargeType parameters.
ModifyInstanceAttribute Modify partial instance information Modifies partial information of an ApsaraDB for Tair (Redis® OSS-Compatible) database instance, including the instance password and name.
ModifyResourceGroup Modify the resource group of an instance Modifies the resource group to which a Tair (Redis® OSS-Compatible) instance belongs.
ModifyInstanceMaintainTime Modify maintenance window Modifies the maintenance window of an ApsaraDB for Tair (Redis® OSS-Compatible) database instance. Alibaba Cloud performs routine maintenance on the instance within the specified maintenance window.
ModifyInstanceMajorVersion Upgrade major version Upgrades the major engine version of a Tair (Redis® OSS-Compatible) database instance.
ModifyInstanceMinorVersion Upgrade minor version Upgrades the minor version of an ApsaraDB Tair (Redis® OSS-Compatible) database instance.
ModifyDBInstanceAutoUpgrade Modify automatic minor engine version update switch Modifies the automatic minor engine version update switch for an instance.
DescribeInstancesOverview Query instance overview Queries the overview information of one or more ApsaraDB for Tair (Redis® OSS-Compatible) database instances.
DescribeInstances Query instance list information Queries the information of one or more Tair (Redis® OSS-Compatible) instances.
DescribeDedicatedClusterInstanceList List instances in a dedicated cluster Queries the information about ApsaraDB for Tair (Redis-compatible) database instances in a dedicated cluster.
DescribeInstanceAttribute Query instance details Queries the details of an ApsaraDB Tair (Redis-compatible) database instance.
DescribeGlobalDistributeCache Query the details of a distributed instance Queries the details of a distributed instance.
DescribeEngineVersion Query major and minor version information of an instance Queries the major and minor version information of a Tair (Redis® OSS-Compatible) database instance, as well as the release notes for the minor version.
DescribeRoleZoneInfo Query node and zone information Queries the roles, types, minor versions, and zones of nodes in a Tair (Redis® OSS-Compatible) instance.
DescribeClusterMemberInfo Query the node configuration information of a cluster Queries the node configuration information of a Tair (Redis® OSS-Compatible) cluster instance, such as specifications and maximum connections.
DescribeDBInstanceNetInfo Query network information of an instance Queries the network information of an ApsaraDB for Tair (Redis® OSS-Compatible) database instance.
DescribeDBNodeDirectVipInfo Query the vIPs of child instances for a direct connection instance Queries the virtual IP address (VIP) information of the child instances of a cluster instance in direct connection mode.
DescribeLogicInstanceTopology Query the logical topology of an instance Queries the logical topology structure of an ApsaraDB for Tair (Redis® OSS-Compatible) database instance.
RestartInstance Restart an instance Restarts a running Tair (Redis® OSS-Compatible) database instance.
FlushExpireKeys Clear expired keys Purges expired keys from a Tair (Redis® OSS-Compatible) instance.
FlushInstanceForDB Clear data from a specified DB of an instance Clears data from a specified database in an ApsaraDB for Tair (Redis® OSS-Compatible) instance.
FlushInstance Flush instance data Flushes all data from an ApsaraDB for Tair (Redis® OSS-Compatible) database instance. The data cannot be recovered.
SwitchInstanceHA Perform primary/secondary switchover Performs a primary/secondary switchover to switch node roles. This operation is applicable to scenarios such as disaster recovery drills and nearest access for applications in multi-zone deployments.
SyncDtsStatus Set specification change restrictions for an instance Before you use Data Transmission Service (DTS) to migrate or synchronize data of an ApsaraDB for Tair (Redis OSS-Compatible) database instance, you can invoke this operation to restrict the instance so that it does not execute Upgrade/Downgrade operations. This prevents data migration or synchronization nodes from becoming failed due to Upgrade/Downgrade.
RemoveSubInstance Convert a child instance to a standard instance Removes a child instance from a distributed instance and converts it to a standard instance. Data is retained.
LockDBInstanceWrite Lock instance write operations Locks an instance so that it supports only data reads and does not support writes.
UnlockDBInstanceWrite Unlock instance write lock Unlocks a write-locked instance. After the instance is unlocked, the instance supports both reading and writing data.
RebootProxy Restart or rebuild proxy nodes of an instance Restarts the proxy nodes of a running Tair (Redis® OSS-Compatible) database instance.
UpgradeProxy Upgrade database proxy nodes of a cluster instance Upgrades the proxy nodes of a cluster instance to the latest version.

Connection management

API

Title

Description

ModifyInstanceNetExpireTime Extend the retention period of the classic network endpoint Extends the retention period of the classic network endpoint for a Tair (Redis® OSS-Compatible) database instance that retains the classic network endpoint after a switch from the classic network to a VPC.
ModifyDBInstanceConnectionString Modify the endpoint and port of an instance Modifies the endpoint and port of a Tair (Redis® OSS-Compatible) instance.
ModifyIntranetAttribute Adjust the internal bandwidth of an instance in a dedicated cluster Temporarily adjusts the internal network bandwidth of an ApsaraDB for Tair (Redis® OSS-Compatible) database instance in a dedicated cluster.
DescribeIntranetAttribute Query bandwidth information of an instance Queries the current bandwidth of a Tair (Redis® OSS-Compatible) instance.
SwitchNetwork Switch VPC or vSwitch Switches the virtual private cloud (VPC) or vSwitch of an ApsaraDB for Tair (Redis® OSS-Compatible) database instance. If the instance uses the classic network, the instance is switched to a VPC.
AllocateInstancePublicConnection Apply for a public endpoint for an instance Applies for a public endpoint for a Tair (Redis® OSS-Compatible) instance.
ReleaseInstancePublicConnection Release a public endpoint Releases the public endpoint of a Tair (Redis® OSS-Compatible) instance.
AllocateDirectConnection Apply for a direct connection endpoint for a cluster instance Applies for a direct connection endpoint for an ApsaraDB Tair (Redis® OSS-Compatible) database cluster instance.
ReleaseDirectConnection Release the direct connection address of a cluster instance Releases the direct connection address of a Tair (Redis® OSS-Compatible) cluster instance.
SwitchInstanceProxy Enable or disable the proxy mode for a cluster instance Enables or shuts down the proxy mode for a Tair (Redis® OSS-Compatible) database cluster instance in a dedicated cluster.

Renewal management

API

Title

Description

ModifyInstanceAutoRenewalAttribute Enable or disable auto-renewal for an instance Enables or disables the auto-renewal feature for a Tair (Redis® OSS-Compatible) instance before it expires.
DescribePrice Query price Queries the fees generated by operations such as creating a Tair (Redis® OSS-Compatible) database instance, upgrading the instance configuration, or renewing the instance.
DescribeInstanceAutoRenewalAttribute Query whether auto-renewal is enabled for an instance Queries whether auto-renewal is enabled for a Tair (Redis® OSS-Compatible) instance.
RenewAdditionalBandwidth Renew bandwidth The bandwidth of ApsaraDB for Tair (Redis® OSS-Compatible) database instances has been upgraded to the pay-as-you-go pattern. This operation is no longer recommended.
TransformInstanceChargeType Change billing method Changes the billing method of a Tair (Redis® OSS-Compatible) database instance. You can switch between the pay-as-you-go and subscription billing methods.
RenewInstance Manually renew a subscription instance Creates a renewal order for a subscription ApsaraDB for Tair (Redis OSS-Compatible) instance.

Account management

API

Title

Description

CreateAccount Create an account Creates an account for an ApsaraDB for Tair (Redis® OSS-Compatible) database instance.
DeleteAccount Delete an account Deletes an account of an ApsaraDB for Tair (Redis® OSS-Compatible) database instance.
ModifyAccountDescription Modify account description Modifies the account description of an ApsaraDB for Tair (Redis® OSS-Compatible) database instance.
ModifyAccountPassword Modify account password Modifies the password of a specified account in a Tair (Redis® OSS-Compatible) instance.
DescribeAccounts Query account information Queries the information about an account in a specified ApsaraDB for Tair (Redis® OSS-Compatible) database instance.
ResetAccountPassword Reset password Resets the password of an ApsaraDB for Tair (Redis® OSS-Compatible) database account.
GrantAccountPrivilege Modify account permissions Modifies the permissions of an ApsaraDB for Tair (Redis® OSS-Compatible) database account.

Backup and recovery

API

Title

Description

CreateBackup Manually back up data Creates a data backup for an ApsaraDB for Tair (Redis® OSS-Compatible) database instance.
ModifyBackupPolicy Modify backup policy settings Modifies the automatic backup policy of an ApsaraDB for Tair (Redis® OSS-Compatible) database instance.
DescribeBackupTasks Query backup task execution status Queries the execution status of backup tasks for a Tair (Redis® OSS-Compatible) database instance.
DescribeBackupPolicy Query the automatic backup policy Queries the backup policy of an ApsaraDB Tair (Redis® OSS-Compatible) database instance, including the backup cycle and backup time.
DescribeBackups View backup sets Queries the backup file information of an ApsaraDB for Tair (Redis® OSS-Compatible) database instance.
RestoreInstance Restore data Restores data from a specified backup file to a Tair (Redis OSS-Compatible) database instance.
DescribeClusterBackupList Query backups of a cluster instance Queries the backup list of an ApsaraDB for Tair (Redis-compatible) database cluster instance.

Monitoring management

API

Title

Description

DescribeDBInstanceMonitor Query the monitoring collection granularity of a tair instance Queries the monitoring collection granularity of a Tair instance.
DescribeMonitorItems Query monitoring items Queries the list of monitoring items supported by a Tair (Redis® OSS-Compatible) instance.
DescribeHistoryMonitorValues Query performance monitoring information of an instance Queries the performance monitoring information of a Tair (Redis® OSS-Compatible) instance.

Log management

API

Title

Description

ModifyAuditLogConfig Modify audit log settings Enables or modifies the audit log settings of an ApsaraDB for Tair (Redis® OSS-Compatible) database instance.
DescribeAuditLogConfig Query audit log configuration Queries the audit log configuration of a Tair (Redis® OSS-Compatible) instance, such as whether audit logging is enabled and the log retention period.
DescribeAuditRecords Query instance audit logs Queries the audit logs of an ApsaraDB for Tair (Redis® OSS-Compatible) database instance.
DescribeRunningLogRecords Query the running logs of an instance Queries the running logs of an ApsaraDB for Tair (Redis® OSS-Compatible) database instance.
DescribeSlowLogRecords View slow query log details Queries the slow query logs generated by a Tair (Redis® OSS-Compatible) database instance within a specified time period.
InitializeKvstorePermission Grant a service-linked role Associates the service-linked role named AliyunServiceRoleForKvstore with Tair (Redis® OSS-Compatible) database.
DescribeServiceLinkedRoleExists Query service-linked role authorization Queries whether the service-linked role has been authorized for Tair (Redis® OSS-Compatible).

Network security

API

Title

Description

ModifySecurityIps Modify IP whitelist Configures the IP whitelist of a Tair (Redis® OSS-Compatible) instance.
ModifySecurityGroupConfiguration Set security groups in instance whitelist Settings the security groups in the whitelist of a Tair (Redis® OSS-Compatible) instance.
ModifyInstanceSSL Modify TLS (SSL) settings Enables the Transport Layer Security (TLS) encryption protocol for an ApsaraDB Tair (Redis® OSS-Compatible) database instance.
ModifyInstanceVpcAuthMode Modify password-free access settings for a VPC Enables or initiates a shutdown of password-free access over a VPC. After this feature is enabled, cloud servers in the same VPC can connect to the ApsaraDB for Tair (Redis® OSS-Compatible) database instance without a password. Connections using a username and password are still supported.
DescribeSecurityIps Query the IP address whitelist of an instance Queries the IP address whitelist of a Tair (Redis® OSS-Compatible) instance.
DescribeSecurityGroupConfiguration Query configured security groups Queries the security groups in the Settings of the whitelist for an ApsaraDB for Tair (Redis® OSS-Compatible) database instance.
DescribeInstanceSSL Query whether TLS (SSL) encryption is enabled Queries whether TLS (SSL) encryption authentication is enabled for a Tair (Redis® OSS-Compatible) database instance.

Parameter management

API

Title

Description

ModifyInstanceConfig Modify instance parameter settings Modifies the parameter settings of an ApsaraDB for Tair (Redis® OSS-Compatible) database instance.
DescribeParameterTemplates Query parameters and default values Queries the parameters and default values of ApsaraDB Tair (Redis® OSS-Compatible) database instances across different architectures and major engine versions.
DescribeInstanceConfig Query instance parameter settings Queries some default configuration parameters of a Tair (Redis® OSS-Compatible) instance.
DescribeParameters Query configuration and running parameters of an instance Queries the configuration parameters and running parameters of a Tair (Redis® OSS-Compatible) instance.
DescribeParameterModificationHistory Query parameter modification history Queries the parameter modification history of an ApsaraDB for Tair (Redis® OSS-Compatible) database instance.

Tag management

API

Title

Description

ListTagResources Query tag list Queries the labels you attach to ApsaraDB for Tair (Redis® OSS-Compatible) database instances.
TagResources Bind tags to one or more instances Attaches labels to one or more ApsaraDB for Tair (Redis® OSS-Compatible) database instances.
UntagResources Remove tags from an instance Removes labels from an ApsaraDB for Tair (Redis OSS-compatible) database instance.

Performance optimization

API

Title

Description

CreateCacheAnalysisTask Create a cache analysis task Manually initiates a cache analysis task for an instance.
DescribeCacheAnalysisReport View instance cache analysis report Retrieves the cache analysis report for an instance on a specified date.
DescribeCacheAnalysisReportList Query the list of cache analysis reports of an instance Queries the list of cache analysis reports of an instance.

Data encryption

API

Title

Description

ModifyInstanceTDE Enable TDE Enables the transparent data encryption (TDE) feature for an ApsaraDB for Tair (Redis® OSS-Compatible) database instance, with support for custom keys.
DescribeInstanceTDEStatus Query whether TDE is enabled for an instance Queries whether the TDE data encryption feature is enabled for an ApsaraDB for Tair (Redis® OSS-Compatible) database instance.
DescribeEncryptionKeyList Query custom keys of an instance Queries the list of custom keys used by an ApsaraDB for Tair (Redis® OSS-Compatible) database instance.
DescribeEncryptionKey Query TDE custom key details of an instance Queries the details of a custom Transparent Data Encryption (TDE) key for an ApsaraDB for Redis (Tair) instance.
CheckCloudResourceAuthorized Query KMS key authorization status Queries whether an ApsaraDB for Redis (Tair) instance has been granted authorization to use the Key Management Service (KMS).

O&M task management

API

Title

Description

DescribeActiveOperationTaskCount Query the number of O&M tasks for a tair instance Queries the number of O&M tasks for a Tair instance.
DescribeHistoryTasks Query historical O&M tasks Queries the task list in the task center.
DescribeHistoryTasksStat Query task statistics in the task center Queries task statistics in the task center.
ModifyActiveOperationTask Modify the scheduled switchover time of an O&M task Modifies the scheduled switchover time of an O&M task.
DescribeActiveOperationTask Query O&M task details Queries the details of O&M tasks for an ApsaraDB for Redis (Tair) instance.
DescribeActiveOperationMaintenanceConfig Query O&M task configuration of an instance Queries the O&M task configuration of an instance.
ModifyActiveOperationMaintainConfig Modify O&M task configuration Modifies the configuration of an O&M task.

Whitelist template management

API

Title

Description

CreateGlobalSecurityIPGroup Create an IP address whitelist template Creates a global IP address whitelist template.
ModifyGlobalSecurityIPGroupName Modify IP whitelist template name Modifies the name of a global IP address whitelist template.
DescribeGlobalSecurityIPGroupRelation Query IP whitelist template information associated with an instance Queries the information about global IP whitelist templates associated with an instance.
DeleteGlobalSecurityIPGroup Delete an IP whitelist template Deletes a global IP address whitelist template.
ModifyGlobalSecurityIPGroup Modify an IP whitelist template Modifies a global IP address whitelist template.
ModifyGlobalSecurityIPGroupRelation Add an instance to an IP whitelist template Adds a specified instance to a specified IP whitelist template.
DescribeGlobalSecurityIPGroup Query IP whitelist templates Queries global IP whitelist templates.

Parameter template management

API

Title

Description

ModifyInstanceParameter Apply a parameter template to an instance Applies a parameter template to a specified instance. This assigns the parameter values from the template to the specified instance. After you modify a parameter template, you must reapply it to the specified instance for the modified parameter values to take effect.
DeleteParameterGroup Delete a parameter template Deletes a parameter template.
DescribeParameterGroupSupportParam Query configurable parameters for parameter templates Queries the list of parameters that can be configured in parameter templates of different versions.
DescribeParameterGroup Query basic information about a query parameter template Queries the basic information about a query parameter template.
ModifyParameterGroup Modify a parameter template Modifies the settings of a parameter template.
DescribeParameterGroups List available parameter templates Queries available parameter templates.
CreateParameterGroup Create a parameter template Creates a parameter template.
DescribeParameterGroupTemplateList Parameter template system parameters Queries the details of configurable query parameters in a parameter template, such as default values, value ranges, and descriptions.

Event management

API

Title

Description

DescribeActiveOperationTasks Query multiple proactive O&M events Queries the details of O&M events for an instance.
ModifyActiveOperationTasks Modify the planned switchover time of an O&M event Modifies the switchover time of scheduled O&M events for an instance.
CancelActiveOperationTasks Cancel O&M events Cancels O&M events in batches.
ModifyEventInfo Modify event information Modifies event information.
DescribeHistoryEvents Query historical events Queries historical events in Event Center.
DescribeHistoryEventsStat Query historical event statistics Queries historical event statistics.

Fault simulation

API

Title

Description

SwitchInstanceZoneFailOver Simulate a zone-level failover Performs an impersonation of a zone-level failure of an active ApsaraDB for Tair (Redis® OSS-Compatible) cluster architecture database instance, triggering an automatic switchover to the secondary zone.
MasterNodeShutDownFailOver Simulate a failure of a specified node Simulates a failure of a specified data node or proxy node in Tair (Redis® OSS-Compatible). The instance automatically performs a primary/secondary switchover to ensure high availability.

Intelligent inspection

API

Title

Description

CancelInspectionTask Disable intelligent inspection task Disables an AI assistant inspection task.
CreateInspectionSchedule Create a scheduled inspection task Creates a scheduled inspection task configuration.
DescribeInspectionTasks View inspection tasks Queries the list of intelligent inspection tasks.
DescribeInspectionTaskReport View inspection task report Queries the report of a specific inspection task.
DescribeInspectionSchedules List scheduled inspection tasks Queries the configurations of scheduled inspection tasks.
DescribeInspectionScheduleReports View scheduled inspection task reports Queries the historical inspection reports for timed scheduling.
DeleteInspectionSchedule Delete a specified scheduled inspection task configuration Deletes a specified scheduled inspection task configuration. ScheduleId specifies the ID of the scheduling configuration to delete, and InstanceId specifies the ID of the AI assistant instance. This operation does not release the database instance.
CreateInspectionTask Create a manual inspection task Creates a manual inspection task.

Serverless KV management

API

Title

Description

CreateTairSkvDdbWorkspace Create a tair serverless KV workspace Creates a Tair Serverless KV workspace instance.
DescribeTairSkvDdbTableSchema Query tair serverless KV table schema Retrieves the table schema and configuration information of a specified instance.
CreateTairSkvDdbTable Create a tair serverless KV table instance Creates a Tair Serverless KV table instance.
DescribeTairSkvDdbTable Query tair serverless KV table instances Queries all Tair Serverless KV table instances in a specified workspace.

Others

API

Title

Description

DescribeTaskDetail Query node details Queries the details of a node.
ModifyInstanceBandwidth Modify instance bandwidth Sets the target bandwidth value for a Tair (Redis® OSS-Compatible) database instance.
ModifyTaskInfo Modify node operation Performs a node operation. Currently, this operation supports modifying the execution time of a node.
ModifyBackupExpireTime Extend the expiration time of manual backup data Extends the expiration time of manual backup data.
DeleteBackup Delete a backup set Deletes a specified backup set. Only manual backup sets can be deleted.
CreateTairKVCacheVNode Create a tair kVCache vNode instance Creates a Tair VNode virtual node instance.
DescribeTairKVCacheInferInstances List tair kVCache instances Queries the details of one or more Tair KVCache instances.
TransformToEcs Convert classic architecture to cloud-native Converts a local disk instance to a cloud-native instance.
ModifyDBInstanceMonitor Modify the monitoring collection granularity of a tair instance Modifies the monitoring collection granularity of a Tair instance.
DescribeTags List existing tags Queries all tags in the specified region.
DescribeDbInstanceConnectivity Retrieve instance connectivity diagnostics Checks the connectivity from a source client IP address to an instance.
DescribeInstanceMultiVIP Query LB information of an instance Queries the load balancer (LB) information of an instance.