# Alibaba Cloud Logic Composer API

> Alibaba Cloud Logic Composer API on Apizie: 17 endpoints (Creates a workflow, Deletes a workflow, Disables a workflow. A disabled workflow is not running, Enables a workflow, …) 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-composer/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

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

Alibaba Cloud OpenAPI for Logic Composer (composer, version 2018-12-12). Calls are signed with ACS3-HMAC-SHA256 using your AccessKey ID and secret.

## Endpoints

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://composer.ap-southeast-1.aliyuncs.com |
| FlowName | string | yes | The name of the workflow |
| FlowDescription | string | no | The description of the workflow |
| Definition | string | no | The definition of the workflow, which must be a JSON string |
| TemplateId | string | no | The ID of the template |
| FlowSource | string | no | The source of the workflow. Valid values: Default: Create the workflow in the console. CloudConfig: Create the workflow by using Cloud… |
| ResourceGroupId | string | no | The ID of the resource group |

### Deletes a workflow
`POST https://www.apizie.tech/v1/cloud:aliyun-composer/delete-flow` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://composer.ap-southeast-1.aliyuncs.com |
| FlowId | string | yes | The ID of the workflow that you want to delete |

### Disables a workflow. A disabled workflow is not running
`POST https://www.apizie.tech/v1/cloud:aliyun-composer/disable-flow` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://composer.ap-southeast-1.aliyuncs.com |
| FlowId | string | yes | The ID of the workflow that you want to disable |

### Enables a workflow
`POST https://www.apizie.tech/v1/cloud:aliyun-composer/enable-flow` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://composer.ap-southeast-1.aliyuncs.com |
| FlowId | string | yes | The ID of the workflow to be enabled |

### Queries information about a workflow
`POST https://www.apizie.tech/v1/cloud:aliyun-composer/get-flow` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://composer.ap-southeast-1.aliyuncs.com |
| FlowId | string | yes | The ID of the workflow |

### Retrieves the details of an orchestration template
`POST https://www.apizie.tech/v1/cloud:aliyun-composer/get-template` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://composer.ap-southeast-1.aliyuncs.com |
| TemplateId | string | yes | The template ID |

### Queries information about a specific version of a workflow
`POST https://www.apizie.tech/v1/cloud:aliyun-composer/get-version` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://composer.ap-southeast-1.aliyuncs.com |
| FlowId | string | yes | The workflow ID |
| VersionId | string | yes | The version ID |

### Triggers a workflow to be executed multiple times
`POST https://www.apizie.tech/v1/cloud:aliyun-composer/group-invoke-flow` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://composer.ap-southeast-1.aliyuncs.com |
| FlowId | string | yes | The ID of the workflow that you want to execute |
| GroupKey | string | yes | The name of the group. The name must be unique among the groups |
| Data | string | yes | The information required by the group execution. Set this parameter to a JSON array of strings in the following format:`{"Items": []}`.… |
| ClientToken | string | yes | The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure… |
| TotalCount | integer | yes | The number of times of execution. The value must be the same as the number of strings in the value of the Data parameter |
| Tags | string | no | The tag that is attached to each time of execution. The value is a JSON array. The number of tags in the array is the same as the value of… |

### Runs a workflow
`POST https://www.apizie.tech/v1/cloud:aliyun-composer/invoke-flow` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://composer.ap-southeast-1.aliyuncs.com |
| FlowId | string | yes | The workflow ID |
| Parameters | string | no | The parameters required by the template. The value must be a JSON string |
| Data | string | no | The input parameters required by the trigger of the workflow. The value must be a JSON string |
| ClientToken | string | no | Used for idempotence to avoid duplicate runs |

### Queries all workflows in the current region
`POST https://www.apizie.tech/v1/cloud:aliyun-composer/list-flows` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://composer.ap-southeast-1.aliyuncs.com |
| PageSize | integer | no | Specifies the number of workflows to return on each page. A page can contain a maximum of 100 workflows. Default value: 10 |
| PageNumber | integer | no | The page number of the current page. Minimum value: 1. Default value: 1 |
| FlowName | string | no | The name of the workflow |
| Filter | string | no | The filter condition, which is in the JSON format of {"key":"value"}. Example: {"key1":"value1"} |
| ResourceGroupId | string | no | The ID of the resource group |

### Retrieves a list of resources with specified tags
`POST https://www.apizie.tech/v1/cloud:aliyun-composer/list-tag-resources` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://composer.ap-southeast-1.aliyuncs.com |
| ResourceType | string | yes | The resource type definition. Valid values: ALIYUN::LC::FLOW: Logic Composer workflow |
| NextToken | string | no | The token that is used to start the next query |
| MaxResults | integer | no | The maximum number of entries that is returned on each page |
| ResourceId | string | no | The resource IDs (JSON-encoded) |
| Tag | string | no | The tags to add to the instance. The maximum number of tags is 20 (JSON-encoded) |

### Lists the templates visible to the current user
`POST https://www.apizie.tech/v1/cloud:aliyun-composer/list-templates` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://composer.ap-southeast-1.aliyuncs.com |
| PageNumber | integer | no | The page number. The value starts from 1. The default value is 1 |
| PageSize | integer | no | The number of entries to return on each page. The maximum value is 100 and the default value is 10 |
| Name | string | no | The keyword used to search for templates. This parameter does not take effect if the Tag parameter is specified |
| Tag | string | no | The tag used to filter templates |
| Lang | string | no | The language of the template. Valid values: zh: Chinese en: English |

### Queries all versions of a workflow
`POST https://www.apizie.tech/v1/cloud:aliyun-composer/list-versions` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://composer.ap-southeast-1.aliyuncs.com |
| FlowId | string | yes | The ID of the workflow whose versions you want to query |
| PageNumber | integer | no | The page number of the page to return. The value must be an integer that is greater than 0. Default value: 1 |
| PageSize | integer | no | The number of versions to return on each page. One page contains a maximum of 100 versions. Default value: 10 |

### Attaches tags to one or more resources
`POST https://www.apizie.tech/v1/cloud:aliyun-composer/tag-resources` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://composer.ap-southeast-1.aliyuncs.com |
| ResourceType | string | yes | The type of the resources. Set the value to ALIYUN::LC::FLOW. ALIYUN::LC::FLOW indicates Logic Composer workflows |
| ResourceId | string | yes | Specifies a maximum of 50 resource IDs (JSON-encoded) |
| Tag | string | yes | Specifies a list of tags that you want to attach to the resources (JSON-encoded) |

### Removes tags from one or more resources
`POST https://www.apizie.tech/v1/cloud:aliyun-composer/untag-resources` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://composer.ap-southeast-1.aliyuncs.com |
| ResourceType | string | yes | The type of the resources. Set the value to ALIYUN::LC::FLOW. ALIYUN::LC::FLOW indicates Logic Composer workflows |
| All | string | no | Specifies whether to remove all tags from the specified resource groups or members. Valid values: false (default value) true |
| ResourceId | string | yes | Specifies a maximum of 50 resource IDs (JSON-encoded) |
| TagKey | string | no | An array consisting of the keys of the tags that you want to remove (JSON-encoded) |

### Updates information about a workflow
`POST https://www.apizie.tech/v1/cloud:aliyun-composer/update-flow` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://composer.ap-southeast-1.aliyuncs.com |
| FlowId | string | yes | The ID of the workflow whose information you want to update |
| FlowName | string | no | The new name that you want to specify for the workflow |
| FlowDescription | string | no | The new description that you want to specify for the workflow |
| Definition | string | no | The new definition that you want to specify for the workflow |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://composer.ap-southeast-1.aliyuncs.com |

## Example
```
curl "https://www.apizie.tech/v1/cloud:aliyun-composer/create-flow" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Alibaba Cloud Logic Composer API?
Create a free Apizie key, then send POST https://www.apizie.tech/v1/cloud:aliyun-composer/create-flow with the header x-api-key. Every endpoint returns { project, data, timestamp }.

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

### Can AI agents use the Alibaba Cloud Logic Composer 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-composer.

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