# Alibaba Cloud Platform for Artificial Intelligence PAI - DatasetAcc API

> Alibaba Cloud Platform for Artificial Intelligence PAI - DatasetAcc API on Apizie: 28 endpoints (Associates a mount point with a dataset accelerator slot, Creates and registers a Dataset Accelerator slot endpoint, Creates a Dataset Accelerator instance, Creates and registers a slot, …) 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://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:aliyun-paielasticdatasetaccelerator`
- Category: Cloud
- Status: byok
- Source: https://api.alibabacloud.com/product/paielasticdatasetaccelerator
- Page: https://zieapi.vercel.app/api/cloud/aliyun-paielasticdatasetaccelerator
- OpenAPI: https://zieapi.vercel.app/api/cloud/aliyun-paielasticdatasetaccelerator/openapi.json

Alibaba Cloud OpenAPI for Platform for Artificial Intelligence PAI - DatasetAcc (paielasticdatasetaccelerator, version 2022-08-01). Calls are signed with ACS3-HMAC-SHA256 using your AccessKey ID and secret.

## Endpoints

### Associates a mount point with a dataset accelerator slot
`POST https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/bind-endpoint` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| EndpointId | string | yes | The ID of the dataset accelerator slot mount point. To obtain the mount point ID, see https://help.aliyun.com/document_detail/467913.html |
| SlotId | string | yes | The ID of the dataset accelerator slot. To obtain the dataset accelerator slot ID, see https://help.aliyun.com/document_detail/467905.html |

### Creates and registers a Dataset Accelerator slot endpoint
`POST https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/create-endpoint` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| InstanceId | string | yes | 所属加速实例的ID |
| Name | string | no | The name of the mount point. The name can be up to 64 characters in length. If this parameter is left empty (including an empty string),… |
| Type | string | no | The network type of the mount point. The required parameters vary based on the network type. Valid values: VPC: The mount point is in a… |
| VpcId | string | no | The ID of the VPC used by the mount point |
| VswitchId | string | no | The ID of the vSwitch used by the mount point. The vSwitch must belong to the specified VPC |

### Creates a Dataset Accelerator instance
`POST https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/create-instance` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Capacity | string | yes | The maximum capacity of the Dataset Accelerator instance. The input string must conform to the following specification: Quantity… |
| Description | string | no | The description of the Dataset Accelerator instance. The description can be up to 1024 characters in length |
| MaxEndpoint | string | no | The maximum number of mount points for the Dataset Accelerator instance |
| MaxSlot | string | no | The maximum number of slots for the Dataset Accelerator instance |
| Name | string | no | The name of the Dataset Accelerator instance. The name must meet the following requirements: The name can be up to 64 characters in… |
| PaymentType | string | yes | The billing method of the Dataset Accelerator instance. Valid values: PayAsYouGo: pay-as-you-go. Subscription: subscription |
| ProviderType | string | no | The resource provider type of the Dataset Accelerator instance |
| StorageType | string | no | The storage type of the Dataset Accelerator instance |
| Tags | array | no | The custom tags added to the Dataset Accelerator instance |
| Type | string | yes | The type of the Dataset Accelerator instance. Valid values: basic: Basic Edition. enhanced: Enhanced Edition |

### Creates and registers a slot
`POST https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/create-slot` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Capacity | string | yes | The maximum capacity of the slot. The format of the input string must conform to the Quantity… |
| Description | string | no | The description of the slot. The description can be up to 1024 characters in length |
| EndpointIds | string | no | The list of mount point IDs to mount when creating the slot. Separate multiple mount point IDs with commas (,) |
| Endpoints | array | no | The list of mount points to create along with the slot |
| InstanceId | string | yes | The unique identifier of the Dataset Accelerator instance associated with the slot. For information about how to obtain the instance ID,… |
| IoType | string | no | The read/write property of the slot. Valid values: readonly: read-only. readwrite: read and write |
| LifeCycle | object | no | The lifecycle of the slot |
| Name | string | no | The name of the slot. The name can be up to 64 characters in length |
| StorageType | string | yes | The storage type of the slot. Valid values: OSS: OSS file storage. NAS: NAS file storage |
| StorageUri | string | yes | The resource identifier of the data in the slot. The format varies based on the data type |
| Tags | array | no | The custom tags added to the slot |

### Creates slots for Dataset Accelerator in batches
`POST https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/create-slots` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| DryRun | string | no | Specifies whether to perform a dry run for this request. A dry run checks parameter validity and resource availability without actually… |
| Slots | array | no | The list of Dataset Accelerator slots |

### Creates a tag for a resource
`POST https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/create-tag` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Key | string | yes | The key of the tag. The key can be up to 64 Unicode characters in length |
| ResourceId | string | yes | The ID of the resource to which the tag belongs. If ResourceType is set to Instance, set this parameter to the ID of a Dataset Accelerator… |
| ResourceType | string | yes | The type of the resource to which the tag belongs. Valid values: Instance: Dataset Accelerator instance. Slot: slot |
| Value | string | yes | The value of the tag. The value can be up to 64 Unicode characters in length |

### Deletes a slot endpoint for Dataset Accelerator
`POST https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/delete-endpoint` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| EndpointId | string | yes | The ID of the slot endpoint |

### Deletes a Dataset Accelerator instance
`POST https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/delete-instance` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| InstanceId | string | yes | The Dataset Accelerator instance ID. To obtain the instance ID, call https://help.aliyun.com/document_detail/467899.html |

### Deletes a slot
`POST https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/delete-slot` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| SlotId | string | yes | The slot ID. To obtain the slot ID, call https://help.aliyun.com/document_detail/467905.html |
| Force | string | no | Specifies whether to force delete the slot without waiting for it to stop. Valid values: true: The slot is force deleted without waiting… |

### Deletes a tag from a resource
`POST https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/delete-tag` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| ResourceType | string | yes | The type of the resource to which the tag belongs. Valid values: Instance: Dataset Accelerator instance. Slot: slot |
| ResourceId | string | yes | The ID of the resource to which the tag belongs. If ResourceType is set to Instance, set this parameter to the ID of a Dataset Accelerator… |
| Key | string | yes | The key of the tag |

### Retrieves information about a specified Dataset Accelerator component
`GET https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/describe-component` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| ComponentId | string | yes | The Dataset Accelerator component ID. To obtain the component ID, call https://help.aliyun.com/document_detail/467918.html |
| RenderTemplate | string | no | Specifies whether to render and display the component template. If the value is true, the response includes the rendered template content.… |
| Values | string | no | The parameters used for rendering the component template (JSON-encoded) |

### Retrieves information about a specified Dataset Accelerator slot endpoint
`GET https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/describe-endpoint` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| EndpointId | string | yes | The ID of the Dataset Accelerator slot endpoint. To obtain the endpoint ID, call https://help.aliyun.com/document_detail/467913.html |

### Retrieves information about a specified Dataset Accelerator instance
`GET https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/describe-instance` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| InstanceId | string | yes | The Dataset Accelerator instance ID. To obtain the instance ID, call https://help.aliyun.com/document_detail/467899.html |

### Retrieves information about a specified Dataset Accelerator slot
`GET https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/describe-slot` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| SlotId | string | yes | The slot ID. For information about how to obtain the slot ID, see https://help.aliyun.com/document_detail/467905.html |

### Retrieves a list of Dataset Accelerator components
`GET https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/list-components` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| ComponentIds | string | no | The IDs of Dataset Accelerator components. Separate multiple component IDs with commas (,) |
| Name | string | no | The name of the Dataset Accelerator component. Fuzzy match is supported |
| Version | string | no | The version of the Dataset Accelerator component |
| SortBy | string | no | The field by which to sort the results |
| Order | string | no | The sort order. Valid values: Desc: descending order. Asc: ascending order |
| PageNumber | integer | no | The page number of the component list. Minimum value: 1. Default value: 1 |
| PageSize | integer | no | The number of components to display per page in a paged query. Default value: 10 |

### Lists the mount targets for dataset acceleration slots
`GET https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/list-endpoints` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| EndpointIds | string | no | A list of mount target IDs. Separate multiple IDs with commas (,) |
| SlotIds | string | no | The ID of the dataset acceleration slot. For more information about how to obtain the slot ID, see… |
| Name | string | no | The name of the mount target. Fuzzy matching is supported |
| Type | string | no | The network type of the mount target. The required parameters vary based on the network type. VPC: The mount target is in a VPC. INNER:… |
| SortBy | string | no | The field to use for sorting |
| Order | string | no | The sort order. Valid values: Desc: Sorts the results in descending order. Asc: Sorts the results in ascending order |
| PageNumber | integer | no | The page number. The value starts from 1. Default value: 1 |
| PageSize | integer | no | The number of entries to return on each page. Default value: 10 |
| InstanceIds | string | no | The ID of the acceleration instance |

### Retrieves a list of dataset acceleration instances
`GET https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/list-instances` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| InstanceIds | string | no | A list of instance IDs. Separate multiple instance IDs with commas (,) |
| Name | string | no | The instance name. Fuzzy matching is supported |
| Type | string | no | The type of the dataset acceleration instance. For more information, see Product specifications. Valid values: basic: Basic Edition.… |
| PaymentType | string | no | The billing method of the dataset acceleration instance. Valid values: PayAsYouGo: pay-as-you-go. Subscription: subscription |
| Phase | string | no | The status of the dataset acceleration instance. Valid values: Created: initialization. Running: running. Stopped: stopped |
| SortBy | string | no | The field to sort by |
| Order | string | no | The sort order. Valid values: Desc: descending order. Asc: ascending order |
| PageNumber | integer | no | The page number of the dataset acceleration instance list. The value starts from 1. The default value is 1 |
| PageSize | integer | no | The number of dataset acceleration instances to display on each page for a paged query. The default value is 10 |

### Lists information about dataset acceleration slots
`GET https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/list-slots` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| SlotIds | string | no | The IDs of the dataset acceleration slots. Separate multiple IDs with a comma (,) |
| InstanceIds | string | no | The unique ID of the dataset acceleration instance to which the slot belongs. For more information, see… |
| Name | string | no | The name of the dataset acceleration slot. Fuzzy matching is supported |
| StorageType | string | no | The data storage type of the dataset acceleration slot. Valid values: OSS: OSS file storage. NAS: NAS file storage |
| Phase | string | no | The status of the dataset acceleration slot. Valid values: Created: The slot is created. Preparing: Resources are being prepared. Loading:… |
| SortBy | string | no | The field to sort by |
| Order | string | no | The sort order. Valid values: Desc: Descending order. Asc: Ascending order |
| PageNumber | integer | no | The page number of the slot list. The value starts from 1. Default value: 1 |
| PageSize | integer | no | The number of slots to return on each page. Default value: 10 |
| EndpointIds | string | no | The unique ID of the accelerated mount target that is associated with the slot |
| StorageUri | string | no | The data storage path (URI) of the dataset acceleration slot |

### Lists tags
`GET https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/list-tags` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| ResourceType | string | no | The type of the resource to which the tag belongs. Valid values: Instance: A dataset acceleration instance. Slot: A dataset acceleration… |
| ResourceId | string | no | The ID of the resource to which the tag belongs. If you set ResourceType to Instance, set this parameter to the ID of the dataset… |
| Key | string | no | The key of the tag. The key can be up to 64 Unicode characters in length |
| Value | string | no | The value of the tag. The value can be up to 64 Unicode characters in length |
| SortBy | string | no | The field to use for sorting |
| Order | string | no | The sort order. Valid values: Desc: Descending order. Asc: Ascending order |
| PageNumber | integer | no | The page number of the tag list. The value starts from 1. The default value is 1 |
| PageSize | integer | no | The number of tags to display on each page in a paged query. The default value is 10 |

### Queries the monitoring metrics of a dataset acceleration instance
`POST https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/query-instance-metrics` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| InstanceId | string | yes | The ID of the dataset acceleration instance that owns the metrics. To get an instance ID, see… |
| Dimensions | string | no | A set of labels for the metric (JSON-encoded) |
| MetricType | string | yes | The type of metric. Valid values: NetworkReceiveBytesPerSecond: Bytes received per second over the network. NetworkTransmitBytesPerSecond:… |
| StartTime | string | no | The start time. Default is one hour before now |
| EndTime | string | no | The end time. Default is the current time |
| TimeStep | string | no | The time interval, in minutes |

### Queries the monitoring metrics for a dataset acceleration slot
`POST https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/query-slot-metrics` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| SlotId | string | yes | ID of the dataset acceleration slot that owns the metrics. To get a slot ID, see https://help.aliyun.com/document_detail/467905.html |
| Dimensions | string | no | Set of labels for the metric (JSON-encoded) |
| MetricType | string | yes | Type of metric. Valid values: NetworkReceiveBytesPerSecond: Bytes received per second over the network. NetworkTransmitBytesPerSecond:… |
| StartTime | string | no | Start time. Default is one hour before now |
| EndTime | string | no | End time. Default is the current time |
| TimeStep | string | no | Time interval in minutes |

### Retrieve performance statistics for dataset acceleration in your Alibaba Cloud account
`POST https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/query-statistic` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Fields | string | no | Type of performance statistics to query. Separate multiple types with commas. InstanceCapacityEachType: Total capacity share for each… |
| StartTime | string | no | Start time. Default is one hour before the current time |
| EndTime | string | no | End time. Default is the current time |

### Reloads data in the data acceleration slot
`POST https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/reload-slot` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| SlotId | string | yes | The data acceleration slot ID. To get the data acceleration slot ID, see [ListSlots]() |

### Stop a dataset acceleration (slot)
`POST https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/stop-slot` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| SlotId | string | yes | Slot ID. For more information about how to get a slot ID, see https://help.aliyun.com/document_detail/467905.html |

### You can remove the association between mount points and specified dataset acceleration slots
`POST https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/unbind-endpoint` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| EndpointId | string | yes | The ID of the dataset acceleration slot mount target. For information about how to obtain the mount target ID, see [ListEndpoints]() |
| SlotId | string | yes | The ID of the dataset acceleration slot. For information about how to obtain the dataset acceleration slot ID, see [ListSlots]() |

### Update the configuration of a dataset acceleration instance
`POST https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/update-instance` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| InstanceId | string | yes | The ID of the dataset acceleration instance. To get an instance ID, see https://help.aliyun.com/document_detail/467899.html |
| Description | string | no | A description of the dataset acceleration instance. The description can be up to 1024 Unicode characters in length |
| MaxSlot | string | no | The maximum number of acceleration slots for the dataset acceleration instance |
| Name | string | no | The name of the dataset acceleration instance. The name must meet the following requirements: It can be up to 64 Unicode characters in… |

### Updates the information for a dataset acceleration slot
`POST https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/update-slot` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| SlotId | string | yes | The slot ID. For more information, see https://help.aliyun.com/document_detail/467905.html |
| Capacity | string | yes | The maximum capacity of the slot. The string must be in the format specified in Quantity… |
| Description | string | no | The description of the slot. The description can be up to 1,024 characters long |
| LifeCycle | object | no | The lifecycle of the slot |
| Name | string | no | The name of the slot. The name can be up to 64 characters long |
| StorageType | string | yes | The data storage type for the slot. Valid values: OSS: OSS file storage. NAS: NAS file storage |
| StorageUri | string | yes | The resource identifier for the data in the slot. The format varies based on the data type |
| Tags | array | no | The custom tags for the slot |

### version
`POST https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/version` (byok)

## Example
```
curl "https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/bind-endpoint" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Alibaba Cloud Platform for Artificial Intelligence PAI - DatasetAcc API?
Create a free Apizie key, then send POST https://zieapi.vercel.app/v1/cloud:aliyun-paielasticdatasetaccelerator/bind-endpoint with the header x-api-key. Every endpoint returns { project, data, timestamp }.

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

### Can AI agents use the Alibaba Cloud Platform for Artificial Intelligence PAI - DatasetAcc API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:aliyun-paielasticdatasetaccelerator.

### What is the status of the Alibaba Cloud Platform for Artificial Intelligence PAI - DatasetAcc API?
Needs your own provider key (bring your own key)
