ActionTrail provides a console for visual operations and supports multiple API integration methods: OpenAPI Explorer, Alibaba Cloud SDK, and Resource Orchestration Service (ROS). Choose the method that best fits your requirements.
OpenAPI Explorer
OpenAPI Explorer helps developers find, debug, and call API operations across Alibaba Cloud services. It integrates intelligent search, documentation, online debugging, SDK download, sample code, error diagnosis, and call statistics. OpenAPI Explorer also generates SDK sample code for each API call. For more information, see What is OpenAPI?
Version description
Alibaba Cloud uses version numbers to manage cloud service APIs. ActionTrail supports API version 2020-07-06. 2020-07-06 is a version identifier, not a date. 2020-07-06 is the latest ActionTrail API version.
|
Version |
Description |
|
Recommended |
Online debugging
ActionTrail supports API debugging in OpenAPI Explorer. Before calling API operations, review the available versions, endpoints, and integration methods.

Debugging page
Access OpenAPI Explorer.
Endpoints
Select an endpoint in the same region as your resources to reduce latency. For example, in the China (Zhangjiakou) region, the public endpoint is actiontrail.cn-zhangjiakou.aliyuncs.com and the VPC endpoint is actiontrail-vpc.cn-zhangjiakou.aliyuncs.com.
-
Public endpoints are globally accessible.
-
VPC endpoints are accessible only within a VPC in a specific region. Benefits:
-
High security: accessible only from within a VPC, providing stronger privacy.
-
Fast response: data travels over VPCs, avoiding public network latency and bandwidth limitations.
-
Low cost: traffic stays on the internal network.
-
For more information, see Endpoints.
Identities
OpenAPI Explorer uses your Alibaba Cloud account for debugging by default. Because an Alibaba Cloud account has full API permissions, we recommend that you use a Resource Access Management (RAM) user for API calls and routine O&M. Grant the RAM user the required ActionTrail permissions. Use RAM to implement access control.
|
Identity |
Supported |
|
Yes |
|
|
RAM user (recommended) |
Yes |
|
RAM role (recommended) |
Yes |
References
Integration methods
SDKs cover the widest range of operations and integrate easily with your applications. We recommend SDKs for calling API operations.
Supported methods
|
Method |
Supported |
|
Alibaba Cloud SDK (recommended) |
Yes |
|
Yes |
|
|
Yes |
|
|
Yes |
-
Alibaba Cloud SDK
-
Alibaba Cloud SDKs are available in Java, C#, Go, Python, TypeScript, Node.js, PHP, and C++. You can integrate SDKs into your applications to directly call API operations. SDKs handle request signing, timeouts, and retries, and return structured responses. Alibaba Cloud SDK.
-
Supported languages and dependencies are listed in ActionTrail SDK.
-
-
Alibaba Cloud CLI
-
Alibaba Cloud CLI is a general-purpose command-line tool built on the Alibaba Cloud API. You can use it to interact with and manage Alibaba Cloud services from a shell. For more information about Alibaba Cloud CLI, see What is Alibaba Cloud CLI
-
Use Alibaba Cloud CLI to call ActionTrail API operations..
-
-
ROS
-
ROS simplifies cloud resource management through template-based infrastructure. Define resources such as Elastic Compute Service (ECS) and ApsaraDB RDS instances in a template, and ROS automatically creates and configures them. What is ROS?.
-
Use ROS to call ActionTrail API operations. Work with ROS.
-
-
Custom API encapsulation
For native HTTP calls, construct and sign custom requests. For more information about the signature mechanism, see List of operations by function and V3 request structure and signature.
Usage notes
If an API call returns an error, verify that the input parameters and values are valid based on the error code.
You can also diagnose errors by request ID or SDK error information on the OpenAPI Troubleshoot page.
FAQ
-
ActionTrail monitors and records Alibaba Cloud account activities, supporting behavior analysis, security analysis, resource change tracking, and behavior compliance audit. For more information, see ActionTrail.
-
ActionTrail SDKs are available in Java, C#, Go, Python, Node.js, TypeScript, PHP, and C++. For more information, see SDK references.