# Alibaba Cloud MaxCompute API

> Alibaba Cloud MaxCompute API on Apizie: 114 endpoints (Immediately activates a quota plan, Creates a compute quota plan, Creates a data source to perform data migration from the data source to MaxCompute through Migration Service, Creates a task to pull datasource metadata, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://www.apizie.tech/v1/cloud:aliyun-maxcompute/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:aliyun-maxcompute`
- Category: Cloud
- Status: byok
- Source: https://api.alibabacloud.com/product/maxcompute
- Page: https://www.apizie.tech/api/cloud/aliyun-maxcompute
- OpenAPI: https://www.apizie.tech/api/cloud/aliyun-maxcompute/openapi.json

Alibaba Cloud OpenAPI for MaxCompute (maxcompute, version 2022-01-04). Calls are signed with ACS3-HMAC-SHA256 using your AccessKey ID and secret.

## Endpoints

### Immediately activates a quota plan
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/apply-compute-quota-plan` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| nickname | string | yes | The nickname of the level-1 quota |
| planName | string | yes | The name of the quota plan |

### Creates a compute quota plan
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/create-compute-quota-plan` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| nickname | string | yes | The nickname of the level-1 quota |
| name | string | yes | The name of the quota plan |
| quota | object | no | The quota properties |

### Creates a data source to perform data migration from the data source to MaxCompute through Migration Service
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/create-mms-data-source` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| config | object | no | The data source configurations. Call ListMmsDataSourceConfigItems first to retrieve the valid and required configuration items for the… |
| name | string | no | The name of the data source |
| networklink | string | no | The ID of the MaxCompute network connectivity |
| type | string | no | The type of the data source |

### Creates a task to pull datasource metadata
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/create-mms-fetch-metadata-job` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The ID of the datasource |
| dbName | string | no | Specifies the source database, schema, or dataset whose metadata you want to update |
| tableNames | array | no | Specifies the source tables whose metadata you want to update |

### Creates a data migration task
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/create-mms-job` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The ID of the data source |
| columnMapping | object | no | The mapping of source column names to destination column names |
| dstDbName | string | no | The name of the destination MaxCompute project |
| dstSchemaName | string | no | The name of the destination MaxCompute schema |
| enableDataMigration | string | no | Specifies whether to migrate the table data |
| enableSchemaMigration | string | no | Specifies whether to migrate the table schema |
| enableVerification | string | no | Specifies whether to enable verification. Currently, verification is performed by executing SELECT COUNT on the source and destination to… |
| eta | string | no | The expected migration completion time. Note: A smaller ETA value indicates a higher priority for the migration task |
| increment | string | no | Specifies whether to enable incremental migration. If enabled, only new or changed partitions are migrated. Note that changed partitions… |
| name | string | no | The name of the migration job |
| others | object | no | The other configuration information |
| partitionFilters | object | no | The mapping of table names to partition filter expressions |
| partitions | array | no | The list of partition IDs |
| schemaOnly | string | no | Specifies whether to migrate only metadata |
| sourceName | string | no | The name of the data source |
| srcDbName | string | no | The name of the source database |
| srcSchemaName | string | no | The name of the source schema in the three-level namespace |
| tableBlackList | array | no | The table blacklist |
| tableMapping | object | no | The mapping of source tables to destination tables |
| tableWhiteList | array | no | The table whitelist. Note: If both a whitelist and a blacklist are specified, only the blacklist takes effect |
| tables | array | no | The list of table names |
| taskType | string | no | The type of the migration task |

### CreateMmsTimer
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/create-mms-timer` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The data source ID |
| columnMapping | object | no | {source column name: destination column name} |
| enableDataMigration | string | no | Specifies whether to migrate the table data |
| enableSchemaMigration | string | no | Specifies whether to migrate the table schema |
| enableVerification | string | no | Specifies whether to enable verification. Currently, the verification method executes SELECT COUNT on the source and destination to… |
| name | string | no | The name of the scheduled task |
| others | object | no | Other configuration information |
| partitionFilters | object | no | The partition filter expression. Configure the partition filter expression for the specified table |
| partitions | array | no | The list of partition IDs for the tables to be migrated. Specify this parameter when type is set to Partitions |
| scheduleType | string | no | The schedule type of the scheduled task. Valid values: Daily (runs daily) and Hourly (runs hourly) |
| srcDbName | string | no | The name of the source database |
| tableBlackList | array | no | When type is set to Database, use tableBlackList to specify the tables to exclude from migration |
| tableMapping | object | no | The mapping between the source table name and the destination table name |
| tableWhiteList | array | no | The list of tables to migrate when type is set to Database. If tableWhiteList is not specified, all tables in the corresponding database… |
| tables | array | no | When type is set to Tables, use this parameter to specify the names of the tables to migrate |
| value | string | no | The schedule time of the scheduled task. When scheduleType is set to Daily, the value is in the HH:MM format. When scheduleType is set to… |

### Creates a package
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/create-package` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | yes | The name of the MaxCompute project |
| isInstall | string | no | Specifies whether to install the package |
| body | string | no | The request body parameters |

### Creates a MaxCompute project
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/create-project` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | string | no | The request body parameters |

### Creates a quota. When you activate MaxCompute for the first time, you must first create a pay-as-you-go…
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/create-quota` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| chargeType | string | yes | The billing method. Valid values: payasyougo and subscription |
| commodityData | string | no | The specifications of the quota commodity. This parameter is required only when the billing method is set to subscription. The minimum… |
| partNickName | string | no | This parameter is required only when the billing method is set to subscription.> |
| commodityCode | string | yes | The commodity code. For example, on the Alibaba Cloud China site, the commodity code for pay-as-you-go is odps and the commodity code for… |

### Creates a quota plan
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/create-quota-plan` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| nickname | string | yes | QuotaNickName |
| tenantId | string | no | The tenant ID |
| region | string | no | The region ID |
| body | string | no | The request body parameters |

### Creates a role at the MaxCompute project level
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/create-role` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | yes | The name of the MaxCompute project |
| body | string | no | The request body parameters. For valid values, see https://help.aliyun.com/document_detail/27935.html |

### Deletes a MaxCompute quota plan
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/delete-compute-quota-plan` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| nickname | string | yes | The nickname of level-1 compute quota |
| planName | string | yes | The name of quota plan |

### Deletes a MaxCompute Migration Assist (MMA) data source and its associated migration plans and metadata
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/delete-mms-data-source` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The data source ID |

### Deletes a MaxCompute Migration Assist (MMA) data migration plan
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/delete-mms-job` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The data source ID |
| jobId | string | yes | The job ID |

### Deletes a timer from a specified data source
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/delete-mms-timer` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The ID of the data source |
| timerId | string | yes | The timer ID |

### Deletes a MaxCompute project. This operation is irreversible. Use this API with caution
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/delete-project` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | yes | The name of the project |
| isLogical | string | no | Specifies whether to perform a logical deletion. The default value is true. A value of false indicates a physical deletion |

### Deletes a quota plan
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/delete-quota-plan` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| nickname | string | yes | QuotaNickName |
| planName | string | yes | The name of the quota plan |
| tenantId | string | no | The ID of the tenant |
| region | string | no | The ID of the region |

### Deletes a project-level role in MaxCompute
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/delete-role` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | yes | The name of the project |
| roleName | string | yes | The name of the role |

### GetComputeEffectivePlan
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-compute-effective-plan` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| nickname | string | yes | The nickname of level-1 compute quota |

### Get detailed information of a single compute quota plan
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-compute-quota-plan` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| nickname | string | yes | The nickname of level-1 compute quota |
| planName | string | yes | The name of quota plan |

### Displays the time-specific configuration of compute quota
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-compute-quota-schedule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| nickname | string | yes | The nickname of level-1 compute quota |
| displayTimezone | string | no | Display time zone |

### Queries basic information about a job
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-job-info` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| instanceId | string | yes | The job ID |

### Performs statistics on all jobs that are complete on a specified day and obtains the total resource usage of…
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-job-resource-usage` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| date | string | yes | The date that is accurate to the day part for the query. The date must be in the yyyy-MM-dd format |
| jobOwnerList | string | no | The list of job executors (JSON-encoded) |
| quotaNicknameList | string | no | The list of nicknames of quotas that are used by jobs (JSON-encoded) |
| pageNumber | integer | no | The page number |
| pageSize | integer | no | The number of entries per page. Default value: 10. Maximum value: 100 |

### Retrieves the download link for the offline Logview file of an instance in a specified MaxCompute project.…
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-logview-download-url` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| project | string | yes | The name of the MaxCompute project. This parameter is used to specify the project to which the instance whose offline Logview is to be… |
| instance | string | yes | The ID of the MaxCompute instance. The instance must belong to the project specified by the project parameter |
| useVpcEndpoint | string | no | Specifies whether to use the OSS VPC endpoint to generate the download link. Valid values: false: Uses the default OSS endpoint. true:… |

### Retrieves a single asynchronous task in MMA
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-mms-async-task` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The unique identifier of the MMS data source. This value is obtained from the id field of the object returned by ListMmsDataSources |
| asyncTaskId | string | yes | The identifier of the MMS metadata synchronization task. This value is obtained from the scanId field of the object returned by… |

### Retrieves the details of a single MaxCompute Migration Assist (MMA) data source
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-mms-data-source` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The ID of the data source |
| withConfig | string | no | Specifies whether to obtain the specific configuration items of the data source |
| lang | string | no | The language of the description for the configuration items |

### Retrieves a database from a MaxCompute Migration Assist (MMA) data source
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-mms-db` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The ID of the data source |
| dbId | string | yes | The database ID |

### Retrieves the details of a MaxCompute Migration Assist (MMA) job that fetches metadata
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-mms-fetch-metadata-job` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The data source ID |
| scanId | string | yes | The ID of the asynchronous task for metadata synchronization |

### Retrieves the details of a single MMA migration plan
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-mms-job` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The data source ID |
| jobId | string | yes | The job ID |

### Retrieves a partition from a MaxCompute Migration Assist (MMA) data source
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-mms-partition` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The data source ID |
| partitionId | string | yes | The partition ID |

### Retrieves a table from a MaxCompute Migration Assist (MMA) data source
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-mms-table` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The data source ID |
| tableId | string | yes | The table ID |

### Retrieves the details of a specific migration task
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-mms-task` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The data source ID |
| taskId | string | yes | The migration task ID |

### GetMmsTimer
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-mms-timer` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The ID of the data source |
| timerId | string | yes | The ID of the timer |

### Obtains the information about a package
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-package` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | yes | The name of the MaxCompute project |
| packageName | string | yes | The name of the package |
| sourceProject | string | no | The project to which the package belongs. This parameter is required if the package is installed in the MaxCompute project |

### Queries the basic information of a MaxCompute project
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-project` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | yes | The project name |
| verbose | string | no | Specifies whether to include additional information (securityProperties, superAdmins) |
| withStorageTierInfo | string | no | Specifies whether to include additional information (properties.storageTierInfo) |
| withQuotaProductType | string | no | Specifies whether to include additional information (productType) |

### Retrieve information for the specified level-1 quota group. Warning: This operation will be decommissioned…
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-quota` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| nickname | string | yes | The name of the quota |
| tenantId | string | no | The tenantId |
| region | string | no | The region |
| AkProven | string | no | The AkProven |
| mock | string | no | Specifies whether to include submodules. Valid values: -true: includes submodules. -false (default): does not include submodules |

### Obtains the information of a quota plan
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-quota-plan` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| nickname | string | yes | The name of the quota |
| planName | string | yes | The name of the quota plan |
| tenantId | string | no | The ID of the tenant |
| region | string | no | The ID of the region |

### Obtains the scheduling plan for a quota plan
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-quota-schedule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| nickname | string | yes | The name of the quota |
| tenantId | string | no | The ID of the tenant |
| region | string | no | The ID of the region |
| displayTimezone | string | no | The time zone |

### Queries quota resource consumption information
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-quota-usage` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| nickname | string | yes | The alias of the level-1 quota |
| tenantId | string | no | The ID of the tenant. You can log on to the MaxCompute console, and choose Tenants > Tenant Property from the left-side navigation pane to… |
| region | string | no | The region ID |
| from | integer | yes | The time when the query starts. The value is the log time that is specified when log data is written. The time range that is specified in… |
| to | integer | yes | The time when the query ends. The value is the log time that is specified when log data is written. The time range that is specified in… |
| subQuotaNickname | string | no | The alias of the level-2 quota |
| aggMethod | string | no | The aggregation algorithm. For a better page experience, up to 60 points can be displayed for each metric. If you select a time range… |
| productId | string | no | The quota type. Default value: ODPS. ODPS: computing quota TUNNEL: Tunnel quota |
| plotTypes | string | no | The types of the charts (JSON-encoded) |
| yAxisTypes | string | no | The data metric fields (JSON-encoded) |

### Obtains the ACL-based permissions that is granted to a project-level role
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-role-acl` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | yes | The name of the MaxCompute project |
| roleName | string | yes | The name of the role |

### Obtains ACL-based permissions on an object that are granted to a project-level role
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-role-acl-on-object` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | yes | The name of the MaxCompute project |
| roleName | string | yes | The name of the role |
| objectType | string | yes | The type of the object |
| objectName | string | yes | The name of the object |

### Obtains the policy that is attached to a project-level role
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-role-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | yes | The name of the MaxCompute project |
| roleName | string | yes | The name of the role |

### Obtains the running state data of jobs that are in the running state in a specified period of time
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-running-jobs` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| from | integer | yes | The time when the query starts. This parameter specifies the time when a job is submitted. The time range that is specified by the from… |
| to | integer | yes | The time when the query ends. This parameter specifies the time when a job is submitted. The time interval that is specified by the from… |
| jobOwnerList | string | no | The list of job executors (JSON-encoded) |
| quotaNicknameList | string | no | The list of nicknames of quotas that are used by jobs (JSON-encoded) |
| pageNumber | integer | no | The page number |
| pageSize | integer | no | The number of entries per page. Default value: 10. Maximum value: 20 |

### Retrieves the total storage information
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-storage-amount-summary` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| tenantId | string | no | The tenant ID. You can view the tenant ID by logging on to the MaxCompute console and choosing Tenant Management > Tenant Properties in… |
| region | string | no | The region ID |
| date | string | no | The date for statistics collection. The value is at the day level and must be in the YYYYMMdd format |

### Retrieves a summary of storage usage
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-storage-size-summary` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| tenantId | string | no | The tenant ID |
| region | string | no | The region ID |
| date | string | no | The date of statistics. The value is at the day level. The format is YYYYMMdd |

### Retrieves the year-on-year (YoY) change in storage usage
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-storage-summary-compared` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| tenantId | string | no | The tenant ID. You can log on to the MaxCompute console and choose Tenant Property in the navigation pane on the left to view the tenant ID |
| region | string | no | The region ID |
| beginDate | string | yes | The start date |
| endDate | string | yes | The end date |
| type | string | yes | The storage metric for comparison. Valid values: size amount |
| projects | string | no | The list of projects (JSON-encoded) |

### Queries the information about MaxCompute internal tables, views, external tables, clustered tables, or…
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-table-info` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | yes | The name of the project to which the table or view to be queried belongs |
| schemaName | string | no | The name of the schema to which the table or view to be queried belongs |
| tableName | string | yes | The name of the table or view to be queried |
| type | string | no | The type of the table or view to be queried. Valid values: internal: Internal table. external: External table. view: View.… |

### Obtains the trusted projects of the current project
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/get-trusted-projects` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | yes | The name of the MaxCompute project |

### Terminates a running job
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/kill-jobs` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| tenantId | string | no | The tenant ID |
| region | string | no | The region ID |
| body | string | no | The list of jobs to terminate. The instanceId is obtained from the job instance ID returned by ListJobInfos, and the projectName is… |

### Lists job compute usage at the instance level
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-compute-metrics-by-instance` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endDate | integer | no | The end date. This value is a UNIX timestamp in milliseconds |
| instanceId | string | no | The job ID |
| jobOwner | string | no | The job owner |
| pageNumber | integer | no | The page number |
| pageSize | integer | no | The number of entries per page. Default value: 10 |
| projectNames | array | no | The project name |
| signature | string | no | The SQL job signature |
| specCodes | array | no | The specification types |
| startDate | integer | no | The start date. This value is a UNIX timestamp in milliseconds |
| types | array | no | The metering types |

### View detailed compute usage for jobs by Signature
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-compute-metrics-by-signature` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endDate | integer | no | The end time for the query. This value is a UNIX timestamp representing milliseconds |
| instanceId | string | no | The instance ID |
| jobOwner | string | no | The job owner |
| pageNumber | integer | no | The page number |
| pageSize | integer | no | The number of entries to return on each page. Default value: 10 |
| projectNames | array | no | The project names |
| signature | string | no | The SQL job signature |
| startDate | integer | no | The start time for the query. This value is a UNIX timestamp representing milliseconds |
| types | array | no | The metering type. `ComputationSql`: the metering data of SQL jobs that are performed on internal tables |

### Lists compute quota plans
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-compute-quota-plan` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| nickname | string | yes | The nickname of the level-1 quota |

### Obtains functions in a MaxCompute project
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-functions` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | yes | The name of the MaxCompute project |
| schemaName | string | no | the name of schema |
| prefix | string | no | The names of the returned resources. The names must start with the value specified by the prefix parameter. If the prefix parameter is set… |
| marker | string | no | Specifies the marker after which the returned list begins |
| maxItem | integer | no | The maximum number of entries to return on each page |

### Retrieves a list of projects for cost analysis over a specified time period
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-instances` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| startDate | integer | yes | The start time of the time range for cost analysis |
| endDate | integer | yes | The end time of the time range for cost analysis |

### Lists jobs
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-job-infos` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| tenantId | string | no | The tenant ID |
| region | string | no | The region ID |
| orderColumn | string | no | The sort column |
| ascOrder | string | no | Specifies whether to sort the results in ascending order |
| pageNumber | integer | no | The page number |
| pageSize | integer | no | The number of entries to return on each page |
| extNodeIdList | array | no | The upstream node IDs |
| extNodeNameList | array | no | The upstream node names |
| from | integer | yes | The start timestamp |
| instanceIdList | array | no | The job instance Id |
| jobOwnerList | array | no | The list of job owners |
| priorityList | array | no | The job priorities |
| projectList | array | no | The project names |
| quotaNickname | string | no | The quota nickname |
| sceneTagList | array | no | The intelligent diagnostics tags |
| signatureList | array | no | The job signatures |
| sortByList | array | no | The multi-column sort fields |
| sortOrderList | array | no | The multi-column sort orders |
| statusList | array | no | The job statuses |
| taskNameList | array | no | The job names |
| to | integer | yes | The end timestamp |
| typeList | array | no | The job types |

### Retrieves the performance metrics of completed jobs
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-job-metric` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| startTime | integer | yes | The start time of the query time range. The value is a UNIX timestamp in seconds |
| endTime | integer | yes | The end time of the query time range. The value is a UNIX timestamp in seconds |
| group | string | no | The grouping basis. Valid values: project: grouping and aggregation by project quota: grouping and aggregation by quota type: grouping and… |
| metric | string | no | The metric information |
| period | integer | no | The monitoring statistical period |
| project | array | no | The list of MaxCompute project names used for filtering |
| quota | array | no | The list of compute quota nicknames used for filtering |
| type | string | no | The metric type |

### Retrieves job snapshot data at a specific point in time
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-job-snapshot-infos` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| tenantId | string | no | The tenant ID. You can view the tenant ID by logging on to the MaxCompute console and choosing Tenant Management > Tenant Properties in… |
| region | string | no | The region ID |
| orderColumn | string | no | The sort column. Valid values: submittedAtTime waitingTime runningAtTime runningTime snapshotTime totalTime cpuUsage memoryUsage minCpuPct… |
| ascOrder | string | no | Specifies whether to sort the results in ascending order |
| pageNumber | integer | no | The page number |
| pageSize | integer | no | The page size, which is the maximum number of entries to return per page |
| extNodeIdList | array | no | The upstream node IDs |
| from | integer | no | The start timestamp. This parameter is invalid. The end timestamp is the snapshot time that you want to view |
| instanceIdList | array | no | The job instance IDs |
| jobOwnerList | array | no | The list of job owners |
| priorityList | array | no | The job priorities |
| projectList | array | no | The project names |
| quotaNickname | string | no | The nickname of the compute quota used by the job |
| signatureList | array | no | The SQL job signatures |
| sortByList | array | no | The multi-column sort fields |
| sortOrderList | array | no | The multi-column sort orders |
| statusList | array | no | The job statuses |
| to | integer | yes | The end timestamp |
| typeList | array | no | The job types |

### Lists the configuration items for a specified data source type
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-mms-data-source-config-items` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceType | string | yes | The data source type |
| lang | string | no | The language for the descriptions of the configuration items. Defaults to Chinese (`zh_CN`) |

### Lists MMA data sources
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-mms-data-sources` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | no | The name of the data source |
| type | string | no | The type of the data source |
| region | string | no | The region ID |
| pageNum | integer | no | The page number. If you do not specify this parameter, all records are returned |
| pageSize | integer | no | The number of entries to return on each page. If you do not specify this parameter, all records are returned |

### Lists the databases in an MMA data source
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-mms-dbs` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The ID of the data source |
| name | string | no | The name of the data source |
| status | string | no | The status of the data source |
| sorter | string | no | The sorting conditions (JSON-encoded) |
| pageNum | integer | no | The page number |
| pageSize | integer | no | The number of entries per page |

### Lists migration jobs
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-mms-jobs` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The data source ID |
| name | string | no | The name of the data source |
| srcDbName | string | no | The name of the source database |
| srcTableName | string | no | The name of the source table |
| dstDbName | string | no | The destination MaxCompute project |
| dstTableName | string | no | The destination MaxCompute table |
| status | string | no | The status of the migration job |
| stopped | integer | no | Indicates whether the job is stopped |
| timerId | integer | no | The timer ID |
| pageNum | integer | no | The number of the page to return |
| pageSize | integer | no | The number of items to return per page |
| sorter.status | string | no | Sorting by status |

### Lists the partitions in a MaxCompute Migration Assist (MMA) data source
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-mms-partitions` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The data source ID |
| dbId | integer | no | The database ID |
| dbName | string | no | The database name |
| updated | string | no | Filters partitions whose metadata has been updated |
| tableName | string | no | The table name |
| tableId | integer | no | The ID of the table that contains the partition |
| value | string | no | The partition value |
| status | string | no | The migration status (JSON-encoded) |
| lastDdlTimeStart | string | no | The minimum lastDdlTime value |
| lastDdlTimeEnd | string | no | The maximum lastDdlTime value |
| pageNum | integer | no | The page number to return |
| pageSize | integer | no | The number of entries to return per page |
| sorter.numRows | string | no | Sorts by number of rows |
| sorter.size | string | no | Sorts by data size |
| sorter.lastDdlTime | string | no | Sorts by lastDdlTime |

### Lists the tables in a MaxCompute Migration Assist (MMA) data source
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-mms-tables` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The ID of the data source |
| onlyName | string | no | Specifies whether to return only the names of the tables |
| dbId | integer | no | The ID of the database |
| dbName | string | no | The name of the database |
| name | string | no | The name of the table |
| dstProjectName | string | no | The name of the destination MaxCompute project |
| dstSchemaName | string | no | The name of the destination MaxCompute schema. This parameter is null if the destination MaxCompute project does not have a schema layer |
| dstName | string | no | The name of the destination MaxCompute table |
| type | string | no | The table type |
| hasPartitions | string | no | The partitioned table |
| status | string | no | The migration status (JSON-encoded) |
| lastDdlTimeStart | string | no | The start of the time range for lastDdlTime |
| lastDdlTimeEnd | string | no | The end of the time range for lastDdlTime |
| pageNum | integer | no | The page number |
| pageSize | integer | no | The number of entries to return on each page |
| sorter.numRows | string | no | The sort order for the number of rows |
| sorter.size | string | no | The sort order for the data size |
| sorter.lastDdlTime | string | no | The sort order for lastDdlTime |

### Lists the execution logs of a single migration task
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-mms-task-logs` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The ID of the data source |
| taskId | string | yes | The ID of the migration task |

### Queries the list of migration tasks
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-mms-tasks` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The data source ID |
| jobId | integer | no | The migration job ID |
| jobName | string | no | The job name |
| srcDbName | string | no | The source database name |
| srcTableName | string | no | The source table name |
| dstDbName | string | no | The destination MaxCompute project |
| dstTableName | string | no | The destination MaxCompute table |
| status | string | no | The migration task status |
| partition | string | no | The partition value. Filters migration tasks that migrated a specific partition value |
| pageNum | integer | no | The page number |
| pageSize | integer | no | The page size |
| sorter.startTime | string | no | Sorts the results by start time |
| sorter.status | string | no | Sorts the results by status |

### ListMmsTimerLogs
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-mms-timer-logs` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The data source ID |
| timerId | string | yes | timer id |
| pageNum | integer | no | The page number |
| pageSize | integer | no | The number of entries per page |

### ListMmsTimers
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-mms-timers` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The data source ID |
| name | string | no | The table name |
| srcDbName | string | no | The source database name |
| srcTableName | string | no | The source table name |
| stopped | string | no | Specifies whether the job is stopped |
| pageNum | integer | no | The page number |
| pageSize | integer | no | The number of entries per page |

### Retrieves the list of packages in a MaxCompute project
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-packages` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | yes | The name of the MaxCompute project |

### Retrieves the list of users in a project
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-project-users` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | yes | The name of the MaxCompute project |

### Lists MaxCompute projects
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-projects` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| tenantId | string | no | The tenant ID. You can view the tenant ID by logging on to the MaxCompute console (https://maxcompute.console.aliyun.com) and choosing… |
| region | string | no | The region ID |
| quotaNickName | string | no | The nickname of the quota. You can view the quota nickname by logging on to the MaxCompute console (https://maxcompute.console.aliyun.com)… |
| quotaName | string | no | The name of the quota. The name is automatically generated by the system. You can view the quota name by logging on to the MaxCompute… |
| prefix | string | no | The prefix used to filter the returned resource names. The returned resource names must start with the specified prefix. For example, if… |
| marker | string | no | The marker used to specify the starting point of the returned results. The results are sorted in alphabetical order and returned starting… |
| maxItem | integer | no | The maximum number of results to return per page. Default value: 10 |
| saleTags | string | no | The instance ID and billing method of the default compute quota |
| type | string | no | The project type. Valid values: managed: internal project external: external project |
| sortBy | string | no | The field used to sort the results. Currently, only createdTime is supported |
| sortOrder | string | no | The sort order. This parameter takes effect only when sortBy is specified. Valid values: ASC and DESC. The values are case-insensitive |
| listSystemCatalog | string | no | Specifies whether to list the built-in SYSTEM_CATALOG project. This project provides information such as project metadata and usage… |

### Retrieves a list of quotas
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-quotas` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| tenantId | string | no | The tenantId |
| region | string | no | The region |
| productId | string | no | The productId |
| billingType | string | no | The billing method |
| saleTags | string | no | Filters quotas by billing tags. Billing tags are created by users for cloud products |
| marker | string | no | Specifies the marker after which results are returned in alphabetical order |
| maxItem | integer | no | The maximum number of items to return |

### Obtains quota plans
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-quotas-plans` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| nickname | string | yes | The name of the quota |
| tenantId | string | no | The ID of the tenant |
| region | string | no | The ID of the region |

### Retrieves a list of resources in a MaxCompute project
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-resources` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | yes | The name of the MaxCompute project |
| schemaName | string | no | The name of the schema |
| name | string | no | The name of the resource |
| marker | string | no | Results are returned in alphabetical order, starting with the first entry after the marker |
| maxItem | integer | no | The maximum number of results to return per page |

### Retrieves the list of project-level roles in a MaxCompute project
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-roles` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | yes | The name of the MaxCompute project |

### Retrieves the storage details of each partition in a partitioned table within a specified MaxCompute project
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-storage-partitions-info` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| tenantId | string | no | The tenant ID. You can view the tenant ID by logging on to the MaxCompute console and choosing Tenant Management > Tenant Properties in… |
| region | string | no | The region ID |
| date | string | yes | The statistical date at the day level. Specify the time parameter in the YYYYMMdd format |
| project | string | yes | The name of the MaxCompute project |
| schema | string | no | The name of the schema |
| table | string | yes | The table name |
| partitionPrefix | string | no | The partition name for fuzzy matching |
| types | string | no | The storage types (JSON-encoded) |
| orderColumn | string | no | The sort column |
| ascOrder | string | no | Specifies whether to sort the results in ascending order |
| pageSize | integer | no | The number of entries to return on each page. Default value: 10 |
| pageNumber | integer | no | The page number |

### Retrieves the storage details of MaxCompute projects
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-storage-projects-info` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| tenantId | string | no | The tenant ID. You can view the tenant ID by logging on to the MaxCompute console and choosing Tenant Management > Tenant Properties in… |
| region | string | no | The region ID |
| projectPrefix | string | no | The prefix of the MaxCompute project name |
| date | string | yes | The statistical date, in the YYYYMMdd format. Data is collected on a daily basis |
| recentDays | integer | no | The number of days used for comparison |
| orderColumn | string | no | The sort column. Valid values: totalStorage longTermStorage lowFreqStorage standardStorage recycleBinStorage |
| ascOrder | string | no | Specifies whether to sort the results in ascending order |
| pageSize | integer | no | The number of entries to return on each page |
| pageNumber | integer | no | The page number |

### Retrieves the storage details of tables in a MaxCompute project
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-storage-tables-info` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| tenantId | string | no | The tenant ID. You can view the tenant ID by logging on to the MaxCompute console and choosing Tenant Management > Tenant Properties in… |
| region | string | no | The region ID |
| date | string | yes | The statistical date at the day level. Specify the time parameter in the `YYYYMMdd` format |
| recentDays | integer | no | The number of days for year-over-year comparison |
| project | string | yes | The name of the MaxCompute project |
| schema | string | no | The schema to which the table belongs |
| tablePrefix | string | no | The table name for fuzzy match |
| types | string | no | The storage type (JSON-encoded) |
| orderColumn | string | no | The sort column |
| ascOrder | string | no | Specifies whether to sort the results in ascending order |
| pageSize | integer | no | The number of entries to return on each page. Default value: 10 |
| pageNumber | integer | no | The page number |

### Retrieves a list of tables in a MaxCompute project
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-tables` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | yes | The name of the MaxCompute project |
| prefix | string | no | Limits the returned resource names to those that start with the specified prefix. For example, if the prefix is a, all returned resource… |
| marker | string | no | Specifies the marker. The returned results start from the first item that follows the marker in alphabetical order |
| maxItem | integer | no | The maximum number of results to return per page |
| type | string | no | The table type |
| schemaName | string | no | The schema name |

### Obtains users in a MaxCompute project
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-users` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| pageNumber | integer | no | The number of the page to return |
| pageSize | integer | no | The number of entries to return on each page |

### Retrieves the list of users bound to a project-level role
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/list-users-by-role` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | yes | The name of the MaxCompute project |
| roleName | string | yes | The name of the role |

### Queries the information about a specified level-1 quota group
`GET https://www.apizie.tech/v1/cloud:aliyun-maxcompute/query-quota` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| nickname | string | yes | The quota name |
| tenantId | string | no | The tenant ID |
| region | string | no | The region ID |
| AkProven | string | no | The trusted AccessKey pairs |
| mock | string | no | Specifies whether to include submodules. Valid values: true and false. -true: The request includes submodules. -false (default): The… |

### Queries time-series information about quota resource consumption
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/query-quota-metric` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| startTime | integer | yes | The start time of the query time range. The value is a UNIX timestamp in seconds |
| endTime | integer | yes | The end time of the query time range. The value is a UNIX timestamp in seconds |
| metric | string | yes | The name of the observed metric. Valid values: cpu and memory |
| strategy | string | no | The data aggregation policy. Default value: max. Valid values: max and avg. Data is collected every 1 minute. If the query time range is… |
| interval | integer | no | The fixed interval in seconds. By default, this parameter is empty, which indicates that the adaptive interval policy of the system is… |
| nickname | string | no | The nickname of the level-1 quota. This parameter is required |
| subMetric | string | no | The subMetric |
| subQuotaNickname | string | no | The nickname of the level-2 quota |

### Queries time-series metrics of data storage
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/query-storage-metric` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| startTime | integer | yes | The start of the time range to query |
| endTime | integer | yes | The end of the time range to query |
| metric | string | yes | The name of the metric. Valid value: summary |
| projectList | array | no | The names of the projects |
| typeList | array | no | The storage class. Valid values include the following: totalStorage longTermStorage lowFreqStorage standardStorage recycleBinStorage |

### Queries metric data for the Tunnel Data Transmission Service within a specified time range
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/query-tunnel-metric` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| startTime | integer | yes | The start of the time range for the query |
| endTime | integer | yes | The end of the time range for the query |
| metric | string | yes | The name of the metric |
| strategy | string | no | The data aggregation policy. The default value is `max`. Data is collected at a frequency of 1 minute. If you query data over a long time… |
| codeList | array | no | A list of HTTP status codes for requests |
| groupList | array | no | A list of grouping criteria |
| operationList | array | no | A list of operation types |
| project | string | no | The name of the project |
| quotaNickname | string | no | The nickname of the level-2 Tunnel quota. The nickname of a shared quota is `default`. The format of a dedicated quota nickname is… |
| tableList | array | no | A list of table names. The tables belong to a project. Therefore, if `tableList` is not empty, `project` cannot be empty |
| topN | integer | no | The maximum number of data entries to return. This parameter takes effect when the grouping criterion includes `table` or `ip`. The… |

### Queries details about the Tunnel Data Transmission Service for a specified time range
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/query-tunnel-metric-detail` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| startTime | integer | yes | The start of the query time range. This is a Unix timestamp in seconds |
| endTime | integer | yes | The end of the query time range. This is a Unix timestamp in seconds |
| metric | string | yes | The metric name |
| ascOrder | string | no | Specifies whether to sort the results in ascending order. If you set this parameter to `true`, the results are sorted in ascending order.… |
| codeList | array | no | A list of error codes to filter the results |
| groupList | array | no | The list of grouping dimensions |
| limit | integer | no | The maximum number of entries to return. Default: 10. Maximum: 100 |
| operationList | array | no | A list of operation types |
| orderColumn | string | no | The sort column |
| project | string | no | The name of the project |
| quotaNickname | string | no | The nickname of the level-2 tunnel quota. The nickname for a shared quota is `default`. For an exclusive quota, the nickname is in the… |
| tableList | array | no | A list of table names. The `project` parameter is required if you specify a list of tables. All tables must belong to the specified project |

### Retries a data migration job
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/retry-mms-job` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The ID of the data source |
| jobId | string | yes | The ID of the migration job |

### Retries a data migration task
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/retry-mms-task` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The data source ID |
| taskId | string | yes | The migration task ID |

### Starts a data migration job
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/start-mms-job` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The data source ID |
| jobId | string | yes | The migration job ID |

### Stops a data migration job
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/stop-mms-job` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The data source ID |
| jobId | string | yes | The migration job ID |

### Summarizes cost information by instance or billable item
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/sum-bills` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endDate | integer | no | The end time of the billing cycle |
| projectNames | array | no | A list of instance names. This parameter is not required if `statsType` is set to `FEE_ITEM` |
| startDate | integer | no | The start time of the billing cycle |
| statsType | string | no | The dimension by which to summarize costs. Valid values: `PROJECT` (by instance) and `FEE_ITEM` (by billable item) |
| topN | integer | no | The number of top results to return after sorting by cost |

### Retrieves a daily summary of costs, grouped by instance or billable item
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/sum-bills-by-date` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endDate | integer | no | The end time of the cost statistics period |
| projectNames | array | no | A list of instance names. In this context, an instance is a MaxCompute project |
| startDate | integer | no | The start time of the cost statistics period |
| statsType | string | no | The statistics type. Valid values: `PROJECT` (by instance) and `FEE_ITEM` (by billable item) |
| topN | integer | no | The number of top results to return, sorted by cost |

### Counts the number of usage records
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/sum-compute-metrics-by-record` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endDate | integer | no | The end time of the statistical period. The value is a millisecond-level timestamp. This parameter is required |
| projectNames | array | no | The list of instance names |
| startDate | integer | no | The start time of the statistical period. The value is a millisecond-level timestamp. This parameter is required |

### Aggregates compute usage by scanned data volume or CU usage
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/sum-compute-metrics-by-usage` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endDate | integer | no | The end timestamp for the query, in milliseconds |
| projectNames | array | no | The project names |
| startDate | integer | no | The start timestamp for the query, in milliseconds |
| usageType | string | no | The usage type. Valid values: `CU` (CU usage) and `SCAN` (scanned data volume) |

### View a daily breakdown of costs by instance or billable item
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/sum-daily-bills-by-item` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endDate | integer | no | The endDate |
| pageNumber | integer | no | The pageNumber |
| pageSize | integer | no | The pageSize |
| projectNames | array | no | The projectNames |
| startDate | integer | no | The startDate |
| statsType | string | no | The statsType |
| types | array | no | The types |

### Retrieves aggregated storage metrics over a specified date range, grouped by project or storage class
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/sum-storage-metrics-by-date` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endDate | integer | no | The end of the time range to query. The value must be a timestamp in milliseconds. This parameter is required |
| projectNames | array | no | The project names. If this parameter is not specified, the data of all projects is returned |
| startDate | integer | no | The beginning of the time range to query. The value must be a timestamp in milliseconds. This parameter is required |
| statsType | string | no | The dimension for aggregating storage metrics. This parameter is required. Valid values: `PROJECT` `STORAGE_TYPE` |

### Queries storage usage statistics by storage type
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/sum-storage-metrics-by-type` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endDate | integer | no | The end time of the statistical period. This parameter is required. Unit: milliseconds (UNIX timestamp) |
| projectNames | array | no | The instance name |
| startDate | integer | no | The start time of the statistical period. This parameter is required. Unit: milliseconds (UNIX timestamp) |
| statsType | string | no | The statistics type. Valid values: PROJECT: instance. STORAGE_TYPE: storage type |

### Triggers a timer for a specific datasource
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/trigger-mms-timer` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The ID of the datasource |
| timerId | string | yes | The ID of the timer |

### Update the ComputeQuotaPlan
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/update-compute-quota-plan` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| nickname | string | yes | The nickname of level-1 compute quota |
| name | string | yes | The name of quota plan |
| quota | object | no | The parameters of quota plan |

### Updates the time-based schedule for a computing quota
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/update-compute-quota-schedule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| nickname | string | yes | The nickname of the level-1 quota |
| body | array | no | The request body parameters |
| scheduleTimezone | string | no | The time zone. The default value is UTC+8 |

### Updates the basic configuration of a MaxCompute quota, including adding or deleting level-2 quotas, defining…
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/update-compute-sub-quota` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| nickname | string | yes | The nickname of level-1 compute quota |
| subQuotaInfoList | array | no | The list of level-2 quotas |

### Refreshes the metadata of a MaxCompute Migration Assist (MMA) data source
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/update-mms-data-source` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The data source ID |
| action | string | no | The type of the update operation: UPDATE_CONFIG: updates the data source configuration. START: starts the data source instance. STOP:… |
| config | object | no | The data source configuration. The configuration items vary based on the data source |
| name | string | no | The new name of the data source |
| test | string | no | Tests the data source configuration |

### Updates the metadata of a specified database
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/update-mms-db` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The ID of the data source |
| dbId | string | yes | The ID of the database |
| dstName | string | no | The name of the destination schema in MaxCompute |
| dstProjectName | string | no | The name of the destination MaxCompute project |
| status | string | no | The migration status |

### Updates table metadata
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/update-mms-table` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The ID of the data source |
| tableId | string | yes | The ID of the table |
| dstName | string | no | The name of the destination MaxCompute table. If you do not specify this parameter, the source table name is used |
| dstProjectName | string | no | The name of the destination MaxCompute project |
| dstSchemaName | string | no | The schema of the destination MaxCompute project |
| status | string | no | The migration status |

### Updates table metadata
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/update-mms-tables` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The ID of the data source |
| dbName | string | no | The name of the database that contains the source tables to be updated |
| dstProjectName | string | no | The destination MaxCompute project |
| dstSchemaName | string | no | The destination MaxCompute schema |
| status | string | no | The migration status |
| tableNames | array | no | The list of source tables to be updated |
| tables | array | no | This parameter is deprecated |

### UpdateMmsTimer
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/update-mms-timer` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sourceId | string | yes | The data source ID |
| timerId | string | yes | The scheduled task ID |
| scheduleType | string | no | The scheduling type of the scheduled task |
| stopped | string | no | Indicates whether the scheduled task is stopped |
| tableBlackList | array | no | The tables to exclude when type is set to Database |
| tableWhiteList | array | no | The tables to migrate when type is set to Database |
| value | string | no | The scheduling time of the scheduled task. If scheduleType is set to Daily, the value is in the HH:MM format. If scheduleType is set to… |

### Updates the objects in a package and projects in which the package can be installed
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/update-package` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | yes | The name of the MaxCompute project |
| packageName | string | yes | The name of the package |
| body | string | no | The request body parameters |

### Modifies the basic information of a project
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/update-project-basic-meta` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | yes | The project name |
| comment | string | no | The project description |
| properties | object | no | The basic properties of the project |

### Updates the default computing quota of a project
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/update-project-default-quota` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | yes | Project name |
| quota | string | no | The default computing quota that is used to allocate computing resources, the jobs that are initiated by this project consume the… |

### Modifies the IP address whitelist of a MaxCompute project
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/update-project-ip-white-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | yes | The name of the MaxCompute project |
| body | string | no | The request body parameters |

### Upgrades a project's Layer 2 model to a Layer 3 model
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/update-project-model-tier` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | yes | The name of the project |

### Updates a quota plan
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/update-quota-plan` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| nickname | string | yes | The quota name |
| planName | string | yes | The quota plan name |
| tenantId | string | no | The tenant ID |
| region | string | no | The region ID |
| body | string | no | The request body parameters |

### Updates the scheduling plan for a quota plan
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/update-quota-schedule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| nickname | string | yes | The name of the quota |
| tenantId | string | no | The ID of the tenant |
| region | string | no | The ID of the region |
| body | string | no | The request body parameters |

### Add or remove users from a project role
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/update-users-to-role` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | yes | The name of the MaxCompute project |
| roleName | string | yes | The name of the project role |
| add | array | no | The action to add users to the project role |
| remove | array | no | The action to remove users from the project role |

### version
`POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/version` (byok)

## Example
```
curl "https://www.apizie.tech/v1/cloud:aliyun-maxcompute/apply-compute-quota-plan" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Alibaba Cloud MaxCompute API?
Create a free Apizie key, then send POST https://www.apizie.tech/v1/cloud:aliyun-maxcompute/apply-compute-quota-plan with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Alibaba Cloud MaxCompute API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Alibaba Cloud MaxCompute itself also needs your own key from aliyuncs.com.

### Can AI agents use the Alibaba Cloud MaxCompute API?
Yes. Add the Apizie MCP server (https://www.apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:aliyun-maxcompute.

### What is the status of the Alibaba Cloud MaxCompute API?
Needs your own provider key (bring your own key)
