API overview
API standards and multilingual preset SDKs
The OpenAPI of this product (MaxCompute/2022-01-04) uses the ROA 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.
Quota management
|
API |
Title |
Description |
| CreateQuota | Create a quota | Creates a quota. When you activate MaxCompute for the first time, you must first create a pay-as-you-go quota. If you create a subscription quota, fees are automatically deducted. |
| ListQuotas | List quotas | Retrieves a list of quotas. |
| QueryQuota | QueryQuota | Queries the information about a specified level-1 quota group. |
| GetQuota | Retrieve information about a specified first-level quota group | Queries the information of a specified first-level quota group. Note: This API operation will be retired on July 31, 2024. The QueryQuota API operation will be provided as a replacement, with identical request parameters, response elements, and features. |
| Compute quota configuration | Compute quota configuration | |
| CreateComputeQuotaPlan | Create a compute quota plan | Creates a named plan for an existing compute level-1 quota to save the compute unit (CU) allocation for the level-1 quota and all existing level-2 quotas. After the plan is created, you can use the associated scheduling operation to configure the execution time. |
| UpdateComputeSubQuota | Update basic compute quota configuration | Updates the complete secondary quota configuration under a compute primary quota. This operation supports adding, retaining, modifying, or deleting secondary quotas. Read the current configuration and retain all secondary quotas that are still in use before you submit the request. |
| GetComputeQuotaPlan | Get compute quota plan details | Queries the details of a single compute quota plan. |
| ListComputeQuotaPlan | List compute quota plans | Lists compute quota plans. |
| UpdateComputeQuotaPlan | Update a quota plan | Updates a quota plan. |
| DeleteComputeQuotaPlan | Delete a compute quota plan | Deletes a MaxCompute compute quota plan. |
| ApplyComputeQuotaPlan | Immediately activate a quota plan | Immediately activates a quota plan. |
| GetComputeQuotaSchedule | GetComputeQuotaSchedule | Displays the time-specific configuration of compute quota. |
| UpdateComputeQuotaSchedule | Update the time-based plan for a compute quota | Updates the time-based plan for a compute quota. |
| GetComputeEffectivePlan | Retrieve the active compute quota plan | Retrieves the active compute quota plan. |
| Compute quota configuration (legacy, not recommended) | Compute quota configuration (legacy, not recommended) | |
| CreateQuotaPlan | Create a quota plan | Creates a quota plan. |
| GetQuotaPlan | Retrieve quota plan information | Retrieves quota plan information. |
| UpdateQuotaPlan | Update a quota plan | Updates the existing plan for a specified quota, including the compute unit (CU) configurations for the primary quota and secondary quotas. The plan name in the request must match the planName in the path. |
| ListQuotasPlans | List quota plans | Queries existing plans under a specified quota and returns the plan names, creation time, and quota configurations. You can use the returned plan names to update plans or configure scheduling. |
| DeleteQuotaPlan | Delete a quota plan | Deletes a quota plan. |
| UpdateQuotaSchedule | Update quota schedule | Updates the daily schedule of a quota or triggers a scheduled execution. Use daily for daily schedules and once for manual triggers. Submit the two operations in separate requests. |
| GetQuotaSchedule | GetQuotaSchedule | Obtains the scheduling plan for a quota plan. |
Project management
|
API |
Title |
Description |
| Basic management (project) | Basic management (project) | |
| UpdateProjectBasicMeta | Modify project basic information | Modifies the basic information of a project. |
| UpdateProjectDefaultQuota | UpdateProjectDefaultQuota | Updates the default computing quota of a project. |
| UpdateProjectIpWhiteList | Update the project IP address whitelist | Updates the IP address whitelist for a MaxCompute project. |
| UpdateProjectModelTier | Upgrade a project to support the schema level | Upgrades the two-level model of a project to a three-level model. |
| GetTrustedProjects | GetTrustedProjects | Obtains the trusted projects of the current project. |
| Roles and permissions (role, user) | Roles and permissions (role, user) | |
| DeleteRole | Delete a role | Deletes a project-level role in MaxCompute. |
| ListProjectUsers | Retrieve the list of users in a project | Retrieves the list of users in a project. |
| CreateRole | Create a project-level role | Creates a project-level role in MaxCompute. |
| GetRoleAcl | GetRoleAcl | Obtains the ACL-based permissions that is granted to a project-level role. |
| GetRoleAclOnObject | GetRoleAclOnObject | Obtains ACL-based permissions on an object that are granted to a project-level role. |
| GetRolePolicy | Retrieve role policy authorization content | Retrieves the policy authorization content of a project-level role. |
| ListUsersByRole | Retrieve users bound to a project-level role | Retrieves the list of users bound to a project-level role. |
| UpdateUsersToRole | Add or remove users from a project role | Adds or removes users from a project role. |
| Package | Package | |
| ListPackages | Retrieve package list | Retrieves the list of packages in a MaxCompute project. |
| UpdatePackage | UpdatePackage | Updates the objects in a package and projects in which the package can be installed. |
| CreatePackage | Create a package | Creates a package. |
| GetPackage | GetPackage | Obtains the information about a package. |
| Tables (table) | Tables (table) | |
| GetTableInfo | Get table information | Retrieves information about MaxCompute internal tables, views, external tables, clustered tables, or transactional tables. |
Resource observability
|
API |
Title |
Description |
| QueryQuotaMetric | Retrieve compute resource consumption information | Queries the time series information of quota resource consumption. |
| QueryTunnelMetricDetail | Query tunnel resource observation details | Queries the detailed data of the Tunnel data transfer service within a specified time range. |
| QueryTunnelMetric | Query time series data for tunnel resource observation | Queries the metric data of the Tunnel data transfer service within a specified time range. |
| GetQuotaUsage | GetQuotaUsage | Queries quota resource consumption information. |
| ListJobMetric | Retrieve job performance metrics | Retrieves the performance metrics of completed jobs. |
| QueryStorageMetric | View time series data for storage resources | Retrieves the time series metrics for storage data. |
| ListStorageTablesInfo | Retrieve table storage details | Queries the table storage details within a MaxCompute project and schema for a specified statistical date. Supports filtering by table name and storage type, and returns paginated results. The response includes storage usage, file count, access volume, and the storage change rate compared to historical snapshots. |
| ListStoragePartitionsInfo | Retrieve partition storage details | Retrieves the storage details of each partition in a partitioned table within a specified MaxCompute project. |
| GetStorageSizeSummary | Retrieve storage usage information | Retrieves storage usage information. |
| GetStorageAmountSummary | Retrieve total storage information | Retrieves the total storage information. |
| GetStorageSummaryCompared | Retrieve year-over-year changes in storage trends | Retrieves the year-over-year changes in storage trends. |
| ListStorageProjectsInfo | Retrieve project storage details | Retrieves the storage details of a project. |
Job O&M
|
API |
Title |
Description |
| ListJobInfos | List jobs | Queries a list of jobs. |
| ListJobSnapshotInfos | Retrieves the list of job snapshots. | Retrieves job snapshot data at a specific point in time. |
| GetJobInfo | View basic job information | Retrieves the basic information of a single job. |
| GetRunningJobs | List running jobs | Queries the runtime data of all running jobs within a specified time range. |
| KillJobs | Stop jobs | Stops multiple specified MaxCompute job instances in batches. Each item requires both the instance ID and the project name. Multiple instances in a single request are processed independently. If one item fails, other instances may have already been stopped. |
| GetJobResourceUsage | GetJobResourceUsage | Performs statistics on all jobs that are complete on a specified day and obtains the total resource usage of each job executor on a daily basis. |
Data migration
|
API |
Title |
Description |
| RetryMmsTask | Retry a data migration task | Retries a data migration task. |
| CreateMmsDataSource | Create a data source | Creates a data source for data migration from the data source to MaxCompute by using MMA. |
| GetMmsDataSource | Retrieve details of a single data source | Retrieves the details of a single MMA data source. |
| ListMmsDataSources | List data sources | Lists MMA data sources. |
| UpdateMmsDataSource | Update data source configuration and start or stop data source instances | Refetches the metadata of an MMA data source. |
| DeleteMmsDataSource | Delete a data source | Deletes an MMA data source, including its migration plans and metadata. |
| CreateMmsFetchMetadataJob | Create a task to synchronize data source metadata | Pulls the metadata of a data source. |
| GetMmsFetchMetadataJob | Retrieve metadata synchronization task details | Retrieves the details of a single MMA metadata retrieval task. |
| ListMmsDbs | List databases in a data source | Lists the databases in an MMA data source. |
| GetMmsDb | Retrieve a database in a data source | Retrieves a database in an MMA data source. |
| ListMmsTables | ListMmsTables | Lists the tables in a MaxCompute Migration Assist (MMA) data source. |
| GetMmsTable | Retrieve a specific table in an MMA data source | Retrieves a specific table in an MMA data source. |
| ListMmsPartitions | List partitions in a data source | Lists the partitions in an MMA data source. |
| GetMmsPartition | Retrieve a partition in a data source | Retrieves a partition in an MMA data source. |
| CreateMmsJob | Create a data migration task | Creates a data migration task. |
| ListMmsJobs | Retrieve migration jobs | Queries the list of migration jobs. |
| GetMmsJob | Retrieve details of a single migration job | Retrieves the details of a single MMA migration plan. |
| GetMmsAsyncTask | Retrieve details of a single asynchronous task related to data migration | Retrieves a single MMA asynchronous task. |
| DeleteMmsJob | Delete a data migration job | Deletes an MMA data migration plan. |
| StartMmsJob | Start a data migration job | Starts a data migration job. |
| StopMmsJob | Stop a data migration job | Stops a data migration job. |
| RetryMmsJob | Retry a data migration job | Retries a data migration job. |
| ListMmsTasks | Retrieve data migration tasks | Retrieves a list of migration tasks. |
| GetMmsTask | Retrieve the details of a single migration task | Retrieves the details of a single migration task. |
| ListMmsTaskLogs | List execution logs for a single migration task | Lists the execution logs for a single migration task. |
| CreateMmsTimer | Create a scheduled task for data migration | Creates a scheduled task for data migration. |
| UpdateMmsTimer | Update a scheduled task | UpdateMmsTimer |
| UpdateMmsTables | Batch update table destinations and status | Updates table metadata. |
| UpdateMmsTable | Update MMS table destination and status | Updates table metadata. |
| UpdateMmsDb | Update the destination and status of an MMS database | Updates the destination and status of an MMS database. |
| ListMmsTimers | List scheduled tasks for data migration | ListMmsTimers |
| ListMmsTimerLogs | List scheduled task logs | ListMmsTimerLogs |
| ListMmsDataSourceConfigItems | List MMA data source configuration items | Lists the configuration items for a specified data source type. |
| GetMmsTimer | Retrieve data migration scheduled task | Queries the configuration and status of a specified data migration scheduled task. |
| DeleteMmsTimer | Delete a scheduled task | Deletes a scheduled task. |
Cost analysis
|
API |
Title |
Description |
| ListInstances | Retrieve instances for cost analysis | Retrieves the list of instances that require cost analysis for a specific time period. |
| SumStorageMetricsByType | Query storage usage by storage type | Queries the storage usage by storage type. |
| ListComputeMetricsBySignature | View job usage details by signature | Queries the details of job compute usage by signature. |
| SumComputeMetricsByUsage | Query usage statistics for scan-based or CU-hour computing | Queries the usage statistics of scan-based computing or CU-hour computing. |
| SumComputeMetricsByRecord | Count usage records | Counts the number of usage records. |
| SumDailyBillsByItem | Query daily billing details by instance or billable item | Queries the daily billing details by instance or billable item. |
| SumBills | Query cost information by instance or billable item | Queries cost information by instance or billable item. |
| SumBillsByDate | Aggregate daily costs by instance or billing item | Aggregates daily costs by instance or billing item. |
| SumStorageMetricsByDate | Summarize storage usage | Queries the storage information for each category or project on a specified date. |
| ListComputeMetricsByInstance | List job compute usage at the instance level | Lists job compute usage at the instance level. |
Other
|
API |
Title |
Description |
| AddImage | Add a custom image | Adds a custom image from Container Registry. You can call GetImage to query the initialization status. |
| AddMyFocusResource | Add a resource to the focus list | Adds a specified MaxCompute project or quota to the focus list of the current caller. The server retrieves the caller identity and the associated tenant from the call context. Call ListMyFocusResource to view the focused resources and RemoveMyFocusResource to remove resources from the focus list. |
| AddTenantUsers | Add tenant users | Adds multiple users to a specified MaxCompute tenant and optionally grants existing tenant roles to the added users. |
| ApplyAutoCluster | Apply automatic clustering suggestions for a table | Applies the clustering suggestions for a specified analysis batch. Only partitioned tables are supported. You can call GetAutoClusterSuggestion to view the recommended configurations and table modification SQL statements before calling this operation. This operation returns a response after the table modification is successfully executed. |
| ChatSse | Call the maxAgent open API | Provides the public endpoint for the MaxAgent service. |
| CheckRamRole | Check whether a RAM role can be assumed | Checks whether a specified Resource Access Management (RAM) role under the current account can be assumed by MaxCompute. |
| CheckTunnelAdditional | Check whether tunnel overlay quota is enabled | Queries whether Tunnel overlay quota is enabled for the current tenant. |
| CreateCrossRegionReplication | Create a cross-region replication task for a project | Creates a cross-region replication task for a specified MaxCompute project and returns the task ID upon success. Each project can have at most one cross-region replication task. The backup region must be different from the source region, and the current tenant must have an available secondary quota in the backup region. Before creating the task, call ListAvailableReplicationRegions to query the available destination regions for the project. |
| CreateDisasterRecovery | Enable zone-disaster recovery for a project | Creates a zone-disaster recovery configuration for a specified MaxCompute project, starts disaster recovery, and returns the configuration ID. After the creation succeeds, you can call GetDisasterRecovery to query the disaster recovery status of the project. |
| CreateLivyServer | Create a livy server | Creates a Livy server asynchronously in a specified MaxCompute project. After the creation request is returned, call GetLivyServer to query the status and wait for the server to enter the Running state. |
| CreateMaterializedView | Create a materialized view based on recommendations | Creates a materialized view based on recommendations in a specified project and returns the instance ID of the creation job. You can call GetMaterializedViewStatus to query the creation progress. |
| CreateNetworkLink | Create network connectivity | Creates network connectivity of a specified type for the current MaxCompute tenant. You can invoke GetNetworkLink to query the connectivity status. |
| CreateQuotaRoutingRule | Create a sub-quota routing rule | Creates a routing rule under a specified sub-quota. The rule name must be unique within the sub-quota. |
| CreateSchema | Create a project schema | Creates a schema in a specified MaxCompute project. You can add a comment to the schema. |
| CreateTenantRole | Create a tenant role | Creates a role in a specified MaxCompute tenant and optionally attaches a policy to the role. |
| DeleteCrossRegionReplication | Delete the cross-region replication task for a project | Deletes the cross-region replication task for a specified MaxCompute project. The call returns a success response even if no replication task exists for the project. |
| DeleteDisasterRecovery | Disable zone-disaster recovery for a project | Disables zone-disaster recovery for a specified MaxCompute project. If the project passes the tenant ownership check and has no disaster recovery configuration, the operation returns a success response directly. If disaster recovery initialization is in progress, wait for the initialization to complete before calling this operation. After a success response is returned, background cleanup may still be in progress. |
| DeleteLivyServer | Delete a livy server | Deletes Livy server records that are in the Terminated or Failed state. For a running server, call UpdateLivyServer to stop the server first, and then delete the record after you confirm that the state is Terminated. |
| DeleteMaterializedView | Delete a materialized view | Deletes a materialized view from a specified project and schema, and removes the corresponding creation record. |
| DeleteSchema | Delete a project schema | Deletes a schema in a specified MaxCompute project. The project name and schema name are used to locate the resource. |
| ExistLxResources | Check whether a commodity instance exists in the current region | Checks whether the account that initiates the current call already has an instance of the specified commodity in the current region based on the commodity code. |
| GetAclAuthInfo | Query object ACL permissions for the current user | Checks whether the current caller identity has the ACL permissions for a specified operation on a group of objects of the same type in a specified project. Returns the check result for each object. |
| GetAutoClusterEstimatedUtility | Query estimated benefits of automatic clustering for a tenant | Queries the estimated benefits of automatic clustering for the current tenant in the current region, summarizing the number of benefiting jobs and the estimated amount of Shuffle data that can be saved, grouped by analysis batch. |
| GetAutoClusterEstimatedUtilityByProject | Query the estimated benefits of automatic clustering for a project | Queries the number of optimizable jobs and the estimated volume of saved shuffle data for a project in a specified analysis batch. You can filter the results by schema and table. |
| GetAutoClusterInfo | Query the actual benefits of automatic clustering for a table | Queries the current clustering configuration and actual benefits of a table, including the number of benefited jobs, saved compute unit (CU) hours, and shuffle data volume. Returns the current configuration of the table even if no benefit records exist. |
| GetAutoClusterSuggestion | Query automatic clustering recommendations for a table | Queries the current clustering configuration, recommended configuration, and estimated shuffle benefits of a specified table. You can view the corresponding table modification SQL statement when a recommendation is available. |
| GetAutoClusterUtility | Query the actual benefits of automatic clustering for a tenant | Summarizes the actual benefits of clustering for the current tenant in the current region, including the number of benefited jobs, saved compute unit (CU) hours, and shuffle data volume. You can query the benefits for the last day or the cumulative benefits since clustering was applied. |
| GetAutoClusterUtilityByProject | Query the actual benefits of auto-clustering for a project | Summarizes the actual benefits of auto-clustering for a project, including the number of benefited jobs, saved compute unit (CU) hours, and shuffle data volume. You can filter the results by schema and table. |
| GetAutoMvDetail | Query automatic materialized view details | Queries the latest statistics information of an automatic materialized view in a specified project, including the definition, storage size, and row count. |
| GetAutoMvUtility | Query the summary of automatic materialized view benefits for the current tenant | Summarizes the benefits and average storage usage of automatic materialized views for the current tenant within a specified date range. |
| GetAutoMvUtilityByProject | Query automatic materialized view benefit summary for a specified project | Summarizes the benefits and average storage usage of automatic materialized views for a specified project within a specified date range. |
| GetAutoMvUtilityTrend | Query the benefit trends of automatic materialized views for the current tenant | Queries the daily statistics of automatic materialized view metrics for the current tenant within a specified date range. You can view daily or cumulative values. |
| GetAutoMvUtilityTrendByProject | Query automatic materialized view benefit trends for a specified project | Queries the daily automatic materialized view metrics for a specified project within a specified date range, supporting both daily and cumulative values. |
| GetCrossRegionReplicationTrends | Query the cross-region replication trends of a project | Queries the daily cross-region replication trends of a specified MaxCompute project to retrieve the source project data volume, replicated data volume, and daily replication traffic. You must specify the backup region, start date, and end date. If no matching replication tasks exist, an empty list is returned. |
| GetEcsQuotaUsage | Query ECS quota usage | Queries the planned and actual resource usage of Elastic Compute Service (ECS) quotas for the tenant and region of the current call. You can aggregate CPU and memory metrics by average or maximum value. The maximum query time range is 7 days. |
| GetEffectivePlan | Query the active quota plan | Queries the active plan for a specified MaxCompute quota and returns the plan name and quota group configurations. The result includes sub-quota configurations if sub-quotas exist. |
| GetExistUserResourceRegion | Query regions with existing user resources | Returns a deduplicated list of regions where the current account has MaxCompute user resources. The list can be filtered by billing method and region. |
| GetFunctionInfo | Query function metadata | Queries the metadata of a function based on the project, schema, and function name, including the implementation class, referenced resources, owner, and creation time. |
| GetIfSupportMultiAz | Query support for creating multi-zone projects | Queries whether the current tenant supports creating multi-zone MaxCompute projects in the requested region. |
| GetImage | Query image details | Queries the details of an image by name and type. You can view the status and source for custom images, and the version and labels for built-in images. |
| GetLivyServer | Query a livy server | Queries the running status and configuration of a Livy server by name, or refreshes the access token. |
| GetMaterializedView | Query materialized view details | Queries the definition, cumulative benefits, refresh configuration, and refresh history of a specified materialized view. |
| GetMaterializedViewsUtility | Retrieve materialized view benefit summary | Summarizes the usage count, saved computing duration, and resource usage of materialized views for the current tenant in a specified region, as well as the estimated saved computing costs. |
| GetMaterializedViewsUtilityByProject | Query materialized view benefits for a specified project | Summarizes the usage count, saved compute resource usage, saved duration, and estimated computing costs of materialized views in a specified project. |
| GetMvRecommendation | Query materialized view recommendations by ID | Performs a paging query on the materialized view recommendation records associated with the current tenant based on the recommendation ID. |
| GetMvRecommendationsUtility | Query materialized view recommendation statistics for the current tenant | Queries the latest daily recommendation statistics for the current tenant, including the proportion of jobs that may benefit and their compute resource usage, as well as the estimated compute volume for creating recommended materialized views. |
| GetMvRecommendationsUtilityByProject | Query materialized view recommendation statistics for a specified project | Queries the recommendation statistics for the latest day of a specified project, including the proportion of jobs that may benefit and their compute resource usage, and the estimated compute volume for creating recommended materialized views. |
| GetNetworkLink | Retrieve network connectivity | Queries the network connectivity in the current tenant by name and returns the connection status, associated VPC, and network configurations of the corresponding type. |
| GetProgress | Query MMS migration progress | Queries the migration partitions, data volume, and node progress for each data source of the current user in the current region by using paging. |
| GetQuotaRoutingRule | Query sub-quota routing rules | Queries the routing rule configurations under a specified sub-quota, including matching conditions, routing modes, and additional settings. |
| GetResourceInfo | Query project resource metadata | Queries the metadata of a MaxCompute resource based on the project, schema, and resource name, including the resource type, size, and owner. |
| GetSpeed | Query MMS migration speed | Queries the statistics on the data volume of completed migration tasks for each data source in the current region by day or hour. |
| GetStorageSuggestion | List tiered storage suggestions by project | Performs a paging query on tiered storage suggestions for the current tenant by project, and compares the current costs of each project with the estimated costs after implementing the suggestions. |
| GetStorageSuggestionByProject | Query tiered storage suggestions for tables and partitions in a project | Queries storage optimization suggestions for tables or partitions in a specified project. You can filter the results by storage type and paginate the response. |
| GetStorageSuggestionDownloadUrl | Retrieve the download URL for tiered storage suggestions | Exports tiered storage suggestions that meet the specified conditions within a project. If both thresholds are set to -1, platform suggestions are exported. Otherwise, the estimated results of the custom plan are exported. The file is generated asynchronously. |
| GetStorageSuggestionEstimateInfo | Query tiered storage plan estimates for tables and partitions | Estimates the cost changes of tables and partitions in a project based on custom infrequent access and long-term storage thresholds. The first query may trigger a calculation. |
| GetStorageSuggestionEstimateSummary | Query tiered storage plan estimation summary for a project | Estimates the storage and access costs of a project based on custom thresholds for infrequent access and long-term storage. The first query may trigger computation. |
| GetStorageSuggestionSummary | Query tiered storage recommendation summary for a tenant | Queries the tiered storage recommendation summary for the current tenant in a specified region, including the storage volume and costs for each storage type and the overall total. |
| GetStorageSuggestionSummaryByProject | Query the tiered storage suggestion summary for a project | Queries the tiered storage suggestion summary for a specified project and compares the current storage volume and costs with the estimated results of the suggested plan. |
| GetTenant | Query tenant settings overview | Queries the MaxCompute tenant ID and the settings for a specified region. |
| GetTenantRolePolicy | Get tenant role policy | Queries the policy of a specified tenant role. Returns an empty policy document if no policy is set. |
| GetTenantSetting | Query tenant setting switches | Queries the setting switches for a specified MaxCompute tenant and region. |
| GetTenantUser | Query a tenant user | Queries a user in the current tenant by account ID and returns the account information and associated tenant roles. |
| GetUserInfoByProject | Query a specified project member | Queries the name and security level of a single project member based on the project name and user ID. |
| ListAllTenantRoles | List tenant roles | Lists the names and types of roles in a specified MaxCompute tenant. You can query role policies by calling GetTenantRolePolicy. |
| ListAutoClusterInfo | List tables with automatic clustering benefit records in a tenant | Performs a paging query on tables with automatic clustering benefit records for the current tenant in the current region to view the number of benefited jobs, saved compute units, and shuffle data volume for each table. |
| ListAutoClusterInfoByProject | List tables with actual benefit records of auto-clustering in a project | Performs a paging query for tables that have actual benefit records of auto-clustering in a project, and returns the clustering application dates and actual benefits. You can filter the results by schema and table, or call GetAutoClusterInfo to view the current clustering configuration of a table. |
| ListAutoClusterJobInfo | Query actual benefits of auto-clustering by job signature | Performs a paged query on the actual benefits of auto-clustering for a specified table. The paging records are aggregated by job signature and include saved CU hours, shuffle data volume, and job duration. |
| ListAutoClusterSuggestion | List automatic clustering suggestions for a tenant | Queries the clustering suggestions for tables of the current tenant in the current region by using paging, including the recommended cluster keys, bucket count, recommendation score, and estimated saved shuffle data volume. |
| ListAutoClusterSuggestionByProject | List auto-clustering recommendations for a project | Performs a paging query for the auto-clustering recommendations for a project in a specified analysis batch, and returns the recommended configurations, recommendation scores, and estimated Shuffle data savings. The results can be filtered by schema and table. |
| ListAutoClusterSuggestionJobInfo | List jobs associated with auto-clustering recommendations for a table | Performs a paging query to retrieve the job instances that can benefit from the specified table in a selected analysis batch and the estimated shuffle data volume that can be saved for each instance. |
| ListAutoMv | List automatic materialized view benefit details for the current tenant | Performs a paged query to retrieve the automatic materialized view benefit records for the current tenant within a specified date range, and supports paging and sorting by metrics such as the hit count. |
| ListAutoMvByProject | List automatic materialized view benefit details for a specified project | Queries the benefit records of automatic materialized views for a specified project within a specified date range by using paging. The records support sorting by metrics such as the hit count. |
| ListAutoMvProjects | List automatic materialized view configurations for projects | Lists the automatic materialized view settings and storage quotas for projects of the current tenant. |
| ListAvailableReplicationRegions | Query destination regions available for cross-region replication of a project | Queries the destination regions available for cross-region replication for a specified MaxCompute project and returns a list of region IDs. You can call this operation before configuring cross-region replication for a project to confirm the available destination regions. This operation is free of charge. |
| ListCrossRegionReplications | Query cross-region replication tasks by page | Performs a paging query on cross-region replication tasks that have not executed a primary/secondary switchover. You can filter the results by source project name and backup region. The results are sorted by task ID in ascending order and include the source region, backup region, replicated data volume, and the time of the last security snapshot. |
| ListEndpointByRegion | Query region endpoints | Queries the supported MaxCompute service endpoints and Tunnel data transfer endpoints in a specified region. Results are grouped by Internet, VPC, and Alibaba Cloud product interconnect network. Only configured network types for the region are returned. |
| ListImages | List images | Performs a paging query for images by image type and name prefix. |
| ListLivyServer | List livy servers | Lists the Livy servers of the current caller. Supports filtering by status, project, compute quota, image type, and configuration. |
| ListMaterializedViewJobInfo | List jobs that use materialized views | Queries the jobs that use a specified materialized view via paging, along with the compute resources consumed and saved by using the view. |
| ListMaterializedViews | List materialized views in a project | Performs a paged query on materialized views, creation statuses, and benefit statistics in a specified project. Paging is supported. You can filter the results by name prefix, owner, or status. |
| ListMvRecommendationJobInfo | List jobs associated with materialized view recommendations | Queries the job instances in a specified project that may benefit from the materialized view recommendation by using paging. |
| ListMvRecommendations | List materialized view recommendations for a tenant | Queries the materialized view recommendations for the current tenant by using paging. You can filter the results by analysis date and query operation type. |
| ListMvRecommendationsByProject | List materialized view recommendations by project | Performs a paged query on the materialized view recommendations associated with a specified project. You can filter the paging results by analysis date and query operation type. |
| ListMyFocusResource | Query watched resources | Queries the watchlist of the current caller. You can filter the results by resource type. If no watched resources match the filter conditions, an empty list is returned. |
| ListNetworkLinks | List tenant network connectivity | Queries the network connectivity of the current tenant in a specified region and returns the connectivity name, type, status, and associated VPC. To retrieve the connectivity configuration, invoke GetNetworkLink. |
| ListOutboundInternetAddress | List project internet addresses | Queries the accessible internet addresses configured for a specified MaxCompute project. |
| ListProjectMvRecommendations | List materialized view recommendations in a project | Performs a paged query for materialized view recommendations in a specified project. You can further filter the paging results by the source tables involved in the recommended queries. |
| ListQuotaRoutingRules | List routing rule names for a sub-quota | Queries the names of the routing rules configured for a specified sub-quota of the current tenant in the requested region. |
| ListResourcePackage | Query maxCompute resource plans owned by the account | Queries the MaxCompute resource plans and the instance status of resource plan instances that belong to the current Alibaba Cloud account. |
| ListTablePartitions | List table partitions | Queries the partitions of a specified table. You can filter results by partition specification and use a pagination cursor to retrieve subsequent results. |
| ListTenantObjectBindingsByAsync | Query paginated bindings between tenant objects and projects | Queries resources bound to a project, or projects bound to a tenant resource. The server reads association details in parallel and returns the current page of results in a single call. |
| ListTenantUsers | List tenant users | Queries the users and their granted tenant roles in a specified MaxCompute tenant. |
| ListUserResource | Query maxCompute resources owned by the user | Queries the MaxCompute user resources of the current account. You can filter the resources by billing method and region ID. |
| ListUsersInfoByProject | List members of a specified project | Queries the members of a project along with their user IDs and names. To filter by user conditions and paginate the results, use PageQueryProjectUserInfo. |
| ListVswZonesByRegion | Query vSwitch zones supported in a region | Queries the vSwitch zones supported in a specified region for configuring external server networks. If the region is omitted, the region of the current request is used. |
| LivyProxy | Forward a request to a livy server | Forwards supported requests to a Livy server in the Running state for the current calling user. Determines the result of the Livy request based on the data.code field in the response. |
| OperateOdpsCatalog | Forward a catalog API request | Forwards a request with the specified method, path, and parameters to MaxCompute Catalog and returns the catalog response. This operation can be used for semantic models, data scanning, and connections. |
| PageQueryProjectUserInfo | List project members | Filters project members by name or user ID, sorts them by username, and returns a specified page. If both filter conditions are specified, members matching either condition are returned. |
| PreviewTable | Preview table data | Queries partial data and column information of a specified table to view the table structure and sample results. You can specify the maximum number of rows to return. |
| RefreshSubUsers | Refresh RAM users for the current tenant | Synchronizes the RAM user information of the current Alibaba Cloud account to the MaxCompute tenant. You can call this operation after adding new RAM users to the tenant. |
| RemoveImage | Remove a custom image | Removes a custom image registered by the current tenant in MaxCompute by name. |
| RemoveMyFocusResource | Unwatch a resource | Removes a specified project or quota from the watchlist of the current caller. It locates the watchlist entry based on the resource type and resource name without deleting the actual resource. |
| RemoveNetworkLink | Remove network connectivity | Removes the network connectivity of the current tenant by name. Before you delete the network connectivity, you can call GetNetworkLink to verify the target network connectivity. |
| RemoveQuotaRoutingRule | Delete a sub-quota routing rule | Deletes a specified routing rule based on the sub-quota path and rule name. |
| RemoveTenantRole | Remove a tenant role | Removes a specified role from a specified MaxCompute tenant. |
| RemoveTenantUsers | Remove tenant users | Removes users from a specified MaxCompute tenant in batches by account ID. |
| SwitchCrossRegionReplication | Switch a project to the backup cluster for cross-region replication | Switches the specified MaxCompute project to the backup cluster configured for its cross-region replication task and marks the task as switched. If the project passes tenant verification and has no replication tasks to be switched, the operation directly returns ok. To switch the compute quota, configure the quota of the destination cluster separately. |
| TriggerMmsTimer | Trigger a scheduled data migration task immediately | Triggers a scheduled data migration task immediately. |
| UpdateAutoMvProject | Update automatic materialized view configurations for a project | Configures the automatic materialized view switch for a specified project and updates the storage quota. You can call ListAutoMvProjects to query the configuration results. |
| UpdateComputePayAsYouGoQuota | Update pay-as-you-go compute quota | Updates the scheduling configuration of a sub-quota under a pay-as-you-go compute quota, including job priority and the maximum number of compute units (CUs) per job. |
| UpdateLivyServer | Update livy server status | Stops or restarts a specified Livy server, or marks the server as failed. Call GetLivyServer to query the status after the operation. |
| UpdateOutboundInternetAddress | Update project outbound internet addresses | Updates the outbound internet addresses configured for a specified MaxCompute project. New entries must comply with the outbound internet access rules of the project. |
| UpdateProjectSecurity | Update project permission properties | Updates the permission properties of MaxCompute. |
| UpdateProjectStatus | Update project status | Updates the status of a MaxCompute project. |
| UpdateProjectTrustedProjects | Update project trust settings | Updates the trust settings of a project, specifically the list of trusted projects for a specified project. |
| UpdateQuotaRoutingRule | Update a sub-quota routing rule | Updates the configuration of a routing rule based on the sub-quota path and the existing rule name. If a different rule name is specified in the request body, the rule is renamed. |
| UpdateTenantRolePolicy | Update tenant role policy | Replaces the policy of a specified tenant role. Set the policy to an empty string or the string {} to clear the policy. |
| UpdateTenantRolesToUser | Update tenant roles for a user | Grants or revokes tenant roles for a specified tenant user. You can specify the roles to grant and revoke in a single call. |
| UpdateTenantSetting | Update a tenant setting | Enables or disables a setting for a specified tenant and region. You can call GetTenantSetting to query the result. |
| UpdateTenantUserRoles | Update tenant user roles | Grants or revokes specified tenant roles for a user in the current tenant by account ID. The request parameters list the roles to be granted and revoked separately. If an eligible account has not joined the tenant, the API adds the user first. |
| CreateProject | Create a project | Creates a MaxCompute project. |
| DeleteProject | Delete a project | Deletes a MaxCompute project. This operation is irreversible. Use caution when calling this API. |
| DescribeRegions | Query supported maxCompute regions | Queries the list of MaxCompute regions to retrieve region IDs, display names, and endpoints. The response varies based on the account used to invoke the API and the requested language. |
| GetLogviewDownloadUrl | Retrieve offline logview download link | Retrieves the download link for the offline Logview file of an instance in a specified MaxCompute project. The link is valid for 10 minutes from the time of generation. |
| GetProject | Retrieve project information | Queries the basic information of a MaxCompute project. |
| ListFunctions | ListFunctions | Obtains functions in a MaxCompute project. |
| ListProjects | List projects | Retrieves a list of MaxCompute projects. |
| ListResources | List resources | Retrieves a list of resources in a MaxCompute project. |
| ListRoles | Retrieve project-level roles | Retrieves the list of project-level roles in a MaxCompute project. |
| ListSchemas | List schemas in a project | Queries a list of schemas in a project. You can filter the schemas by name prefix and use a pagination cursor to retrieve subsequent results. |
| ListTables | List tables | Retrieves a list of tables in a MaxCompute project. |
| ListTagResources | Query resource and tag bindings | Queries the tag bindings of MaxCompute resources by region and resource type. You can filter the results by resource ID or tag, and use NextToken to query the next page. |
| ListUsers | List users | Retrieves all users under a tenant. |
| TagResources | Attach tags to maxCompute resources | Attaches tags to multiple MaxCompute resources in a specified region. The request includes the resource type, a list of resource IDs, and tag key-value pairs. |
| UntagResources | Remove tags from maxCompute resources | Removes tags from MaxCompute resources of a specified type in a specified region. You can specify tag keys or request to remove all tags from the resources. |
| QueryParentTunnelMetric | Query level-1 tunnel slot metrics | Queries the level-1 Tunnel slot usage or limit for the current tenant in the requested region and returns a time-sampled metric series. The request body must contain at least an empty object. |
| GetMmsNetworkBandwidth | Query MMS network link bandwidth | Queries the average bandwidth, per-minute bandwidth details, and effective maximum bandwidth of a specified NetworkLink for the current user within a given time range. |
| SetTableStorageTier | Set storage tiers for tables or partitions in batches | Sets the storage tiers for tables or partitions in batches within the same project. Returns the tables or partitions that failed to be processed along with the failure reasons. Returns an empty list if all operations succeed. |
| CancelAgentChat | Cancel agent conversation | Stops the ongoing agent generation in a specified conversation and clears pending confirmation operations. |
| CreateSparkSession | Asynchronously create a spark session | Creates a Spark session asynchronously in a specified MaxCompute project. The service binds a specified Livy server based on the request or matches an available server from the pool. Call GetSparkSession with the returned ticketId to query the result. |
| GetConversationMessages | Query conversation message history | Performs a paging query to retrieve the message history of a specified session, including reply content, execution process blocks, and timelines, and optionally refreshes the status of analysis runs. |
| GetSparkSession | Query spark session creation results | Queries the creation status by using the ticket ID returned by CreateSparkSession. After the creation is complete, the response includes the Spark session ID and returns the associated Livy server and Spark session information. |
| ListArtifacts | List analysis artifacts | Performs a paging query on the list of analysis artifacts for the current account. You can filter the results by session and artifact type. |
| ListConversations | List agent sessions | Performs a paging query on the agent session list for the current account. You can filter the results by status, agent type, keyword, and session ID. |
| QueryDataAnalysisGraph | Query the data analytics graph | Queries the data analytics graph. If the operation parameter is not specified, the full graph is returned based on the data source. If the operation parameter is specified, the corresponding incremental graph operation is executed, such as business domain query, node expansion, search, and data source directory. |
| RespondAgentAction | Respond to pending agent actions | Responds to pending confirmation actions (approvals) or clarification questions generated during an agent run to allow the agent to continue execution. |