# Alibaba Cloud Function Compute API

> Alibaba Cloud Function Compute API on Apizie: 66 endpoints (Creates an alias, Creates a custom domain name, Creates a function, Publishes a layer version, …) 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://apizie.tech/v1/cloud:aliyun-fc-open/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

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

Alibaba Cloud OpenAPI for Function Compute (fc-open, version 2021-04-06). Calls are signed with ACS3-HMAC-SHA256 using your AccessKey ID and secret.

## Endpoints

### Creates an alias
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/create-alias` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The name of the service |
| additionalVersionWeight | object | no | The canary release version and the corresponding weight that the alias points to. The canary release version takes effect only when a… |
| aliasName | string | yes | The name of the alias. The name can contain only letters, digits, underscores (_), and hyphens (-). The name cannot start with a digit or… |
| description | string | no | The description of the alias |
| resolvePolicy | string | no | The canary release mode. Valid values: Random: random canary release. Content: rule-based canary release. Default value: none |
| routePolicy | object | no | The canary release rule. Traffic that meets the canary release rule is routed to the canary release instance |
| versionId | string | yes | The version ID that the alias points to |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The start date when the function is invoked. The format is EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The trace ID of the Function Compute invocation request |

### Creates a custom domain name
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/create-custom-domain` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| certConfig | object | no | The HTTPS certificate information |
| domainName | string | yes | The domain name. Enter a custom domain name that has been filed or has an access filing with Alibaba Cloud |
| protocol | string | no | The protocol type supported by the domain name. Valid values: HTTP: Only HTTP is supported. HTTPS: Only HTTPS is supported. HTTP,HTTPS:… |
| routeConfig | object | no | The route table that maps paths to functions when the custom domain name is accessed |
| tlsConfig | object | no | The TLS configuration information |
| wafConfig | object | no | The Web Application Firewall (WAF) configuration information |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time when the API is called. The format is EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The custom request ID |

### Creates a function
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/create-function` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The name of the service |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| caPort | integer | no | The listening port of the HTTP server for custom runtime or custom container runtime |
| code | object | no | The ZIP package of the function code. You must specify either code or customContainerConfig |
| cpu | number | no | The CPU specification of the function. Unit: vCPU. The value must be a multiple of 0.05 vCPU |
| customContainerConfig | object | no | The configurations of the Custom Container runtime. After the configurations are set, the function can use a custom container image to… |
| customDNS | object | no | The custom DNS configuration of the function |
| customHealthCheckConfig | object | no | The custom health check configuration of the function. This parameter is applicable only to Custom Runtime and Custom Container |
| customRuntimeConfig | object | no | The detailed configuration of the Custom Runtime function |
| description | string | no | The description of the function |
| diskSize | integer | no | The disk specification of the function. Unit: MB. Valid values: 512 MB or 10240 MB |
| environmentVariables | object | no | The environment variables of the function. You can access the environment variables within the function. For more information, see… |
| functionName | string | yes | The name of the function. The name can contain only letters, digits, underscores (_), and hyphens (-). The name cannot start with a digit… |
| gpuMemorySize | integer | no | The GPU memory specification of the function. Unit: MB. The value must be a multiple of 1024 MB |
| handler | string | yes | The entry point of the function. The format varies by language. For more information, see… |
| initializationTimeout | integer | no | The timeout period for the initializer function. Default value: 3. Unit: seconds. Minimum value: 1. Maximum value: 300 (5 minutes). The… |
| initializer | string | no | The entry point of the initializer function. For more information, see https://help.aliyun.com/document_detail/157704.html |
| instanceConcurrency | integer | no | The maximum concurrency of an instance |
| instanceLifecycleConfig | object | no | The instance lifecycle configuration |
| instanceSoftConcurrency | integer | no | The soft concurrency of an instance, used for graceful scale-out. When the concurrency on an instance exceeds the soft concurrency,… |
| instanceType | string | no | The instance type of the function. Valid values: e1: elastic instance. c1: performance instance. fc.gpu.tesla.1: GPU Tesla series instance… |
| layers | array | no | The list of layers. Multiple layers are merged in descending order of array index. The content of a layer with a smaller index overwrites… |
| memorySize | integer | no | The memory size of the function. Unit: MB. The value must be a multiple of 64 MB. The memory specifications vary based on the function… |
| runtime | string | yes | The runtime environment of the function. Valid values: nodejs20, nodejs18, nodejs16, nodejs14, nodejs12, nodejs10, nodejs8, nodejs6,… |
| timeout | integer | no | The timeout period for the function. Unit: seconds. Minimum value: 1. Default value: 3. The function is terminated if it exceeds this… |
| X-Fc-Code-Checksum | string | no | The CRC-64 value of the function code package |
| X-Fc-Date | string | no | The start date of the function invocation. Format: EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The invocation ID of the function. This value corresponds to the requestId in the response parameters |

### Publishes a layer version
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/create-layer-version` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| layerName | string | yes | The name of the layer. Maximum length: 128 characters |
| Code | object | yes | The code of the layer |
| compatibleRuntime | array | no | The list of runtime environments supported by the layer |
| description | string | no | The description of the layer. Maximum length: 256 characters |
| X-Fc-Account-Id | string | no | Your Alibaba Cloud account ID |
| X-Fc-Date | string | no | The start date when the function is invoked. The format is EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The trace ID of the Function Compute invocation request |

### Creates a service
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/create-service` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| description | string | no | The description of the service |
| internetAccess | string | no | Specifies whether to allow functions to access the Internet. Valid values: true: allows functions to access the Internet. This is the… |
| logConfig | object | no | The log configuration. Logs generated by functions are written to the configured Logstore |
| nasConfig | object | no | The NAS configuration. After this parameter is configured, functions can access the specified NAS resources |
| ossMountConfig | object | no | The OSS mount configuration |
| role | string | no | The Resource Access Management (RAM) role that grants the required permissions to Function Compute. Scenarios include: Sending logs… |
| serviceName | string | yes | The name of the service. The name can contain only letters, digits, underscores (_), and hyphens (-). It cannot start with a digit or a… |
| tracingConfig | object | no | The tracing configuration. After Function Compute is integrated with Tracing Analysis, you can record the time consumed by requests in… |
| vpcConfig | object | no | The VPC configuration. After this parameter is configured, functions can access the specified VPC resources |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The start date of the function invocation, in the EEE, d MMM yyyy HH:mm:ss GMT format |
| X-Fc-Trace-Id | string | no | The custom request ID |

### Creates a trigger
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/create-trigger` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The name of the service |
| functionName | string | yes | The name of the function |
| description | string | no | The description of the trigger |
| invocationRole | string | no | The role that the event source (such as OSS) uses to invoke the function. For more information, see… |
| qualifier | string | no | The version or alias of the service |
| sourceArn | string | no | The Alibaba Cloud Resource Name (ARN) of the trigger event source. This parameter can be ignored for timer, HTTP, and EventBridge… |
| triggerConfig | string | yes | The trigger configuration, which varies based on the trigger type. For the specific format, refer to the following data structures: OSS… |
| triggerName | string | yes | The name of the trigger. The name can contain only letters, digits, underscores (_), and hyphens (-). The name cannot start with a digit… |
| triggerType | string | yes | The type of the trigger. Valid values: oss: OSS trigger. For more information, see https://help.aliyun.com/document_detail/62922.html.… |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time when the client sends the request. The format is EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The custom request ID |

### Creates a VPC connection
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/create-vpc-binding` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The service name |
| vpcId | string | yes | The ID of the VPC to associate |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The start date of the function invocation. The format is EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The custom request ID |

### Deletes an alias
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/delete-alias` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The service name |
| aliasName | string | yes | The alias |
| If-Match | string | no | If the ETag value that is specified in the request matches the ETag value of the object, the object is returned with an HTTP 200 OK status… |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The start date of the function invocation. The format is EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The trace ID of the Function Compute invocation request |

### Deletes a custom domain name
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/delete-custom-domain` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| domainName | string | yes | The domain name |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time when the API is called. The format is EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The custom request ID |

### Deletes a function. Before deleting a function, delete all triggers associated with the function
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/delete-function` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| If-Match | string | no | The value used to ensure that the resource to be modified matches the expected resource. This value is obtained from the response of the… |
| serviceName | string | yes | The service name |
| functionName | string | yes | The function name |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The date when the function invocation starts. The format is EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The invocation ID of the function. This value corresponds to the requestId parameter in the response |

### Deletes an asynchronous invocation configuration
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/delete-function-async-invoke-config` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The service name |
| functionName | string | yes | The function name |
| qualifier | string | no | The version or alias of the service |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time when the function is invoked. The value is in the EEE,d MMM yyyy HH:mm:ss GMT format |
| X-Fc-Trace-Id | string | no | The trace ID of the request for Function Compute API |

### Deletes the concurrency configuration of a function
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/delete-function-on-demand-config` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The service name |
| functionName | string | yes | The name of the function |
| qualifier | string | yes | The service alias or LATEST. Versions are not supported |
| If-Match | string | no | If the ETag specified in the request matches the ETag of the object, the object is returned with HTTP status code 200 OK. If the ETag… |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The start date of the function invocation, in the EEE,d MMM yyyy HH:mm:ss GMT format |
| X-Fc-Trace-Id | string | no | The trace ID, which is the unique identifier of the request in the call chain |

### Deletes a layer version
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/delete-layer-version` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| layerName | string | yes | The name of the layer |
| version | string | yes | The layer version |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time when the function is invoked. The value is in the EEE,d MMM yyyy HH:mm:ss GMT format |
| X-Fc-Trace-Id | string | no | The trace ID of the request for Function Compute API |

### Deletes a service
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/delete-service` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| If-Match | string | no | Ensures that the service to be modified matches the expected service. This value is obtained from the responses of the… |
| serviceName | string | yes | The service name |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time when the Function Compute API is called. The format is EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The custom request ID |

### Deletes a service version
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/delete-service-version` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The name of the service |
| versionId | string | yes | The version number of the service |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The start date of the function invocation. The format is EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The trace ID of the Function Compute invocation request |

### Deletes a trigger
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/delete-trigger` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| If-Match | string | no | This parameter is used to ensure that the modified resource is consistent with the resource to be modified. You can obtain the parameter… |
| serviceName | string | yes | The name of the service |
| functionName | string | yes | The name of the function |
| triggerName | string | yes | The name of the trigger |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time when the request is initiated on the client. The format of the value is: EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The custom request ID |

### Deletes an access control policy from a specified policy group for a VPC firewall
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/delete-vpc-binding` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The service name |
| vpcId | string | yes | The VPC ID |
| X-Fc-Account-Id | string | no | The ID of the Alibaba Cloud account |
| X-Fc-Date | string | no | The time when the function is invoked. The value is in the EEE,d MMM yyyy HH:mm:ss GMT format |
| X-Fc-Trace-Id | string | no | The request ID |

### Unregisters an event source service for Function Compute invocation. This API is deprecated and is no longer…
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/deregister-event-source` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The service name |
| functionName | string | yes | The function name |
| qualifier | string | no | The alias or version |
| sourceArn | string | yes | The event source resource identifier |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The start date of the function invocation, in the format of EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The trace ID of the Function Compute invocation request |

### Queries the list of regions for Function Compute 2.0
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/describe-regions` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| AcceptLanguage | string | no | Filters the returned results by language, such as Chinese or English. For more information, see RFC 7231. Valid values: zh-CN: Chinese.… |

### Retrieves account information
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/get-account-settings` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time when the Function Compute API is called. The format is EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The custom request ID |

### Retrieves alias information
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/get-alias` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The name of the service |
| aliasName | string | yes | The name of the alias |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The start date when the function is invoked. The format is EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The trace ID of the Function Compute invocation request |

### Retrieves the configuration of a custom domain name
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/get-custom-domain` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| domainName | string | yes | The domain name |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time when the API is called. The format is EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The custom request ID |

### Queries the information about a function
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/get-function` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The name of the service |
| qualifier | string | no | The version or alias of the service |
| functionName | string | yes | The name of the function |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time on which the function is invoked. The format of the value is: EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The custom request ID |

### Retrieves the asynchronous invocation configuration of a function in a service
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/get-function-async-invoke-config` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The service name |
| functionName | string | yes | The function name |
| qualifier | string | no | The version or alias of the service |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time of the Function Compute invocation. The format is EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The trace ID of the Function Compute invocation request |

### Queries the code package of a function
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/get-function-code` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The name of the service |
| functionName | string | yes | The name of the function |
| qualifier | string | no | The version or alias of the service |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time on which the function is invoked. The format of the value is: EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The custom request ID |

### Obtains configurations of on-demand instances
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/get-function-on-demand-config` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The name of the service |
| functionName | string | yes | The name of the function |
| qualifier | string | yes | Service alias or LATEST. Other versions are not supported |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time on which the function is invoked. The format of the value is: EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The unique ID of the trace |

### Queries versions of a layer
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/get-layer-version` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| layerName | string | yes | The name of the layer |
| version | string | yes | The layer version |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time when the function is invoked. The value is in the EEE,d MMM yyyy HH:mm:ss GMT format |
| X-Fc-Trace-Id | string | no | The trace ID of the request for Function Compute API |

### Queries the details of provisioned configurations
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/get-provision-config` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The service name |
| qualifier | string | yes | The name of the alias |
| functionName | string | yes | The function name |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time when the function is invoked. The value is in the EEE,d MMM yyyy HH:mm:ss GMT format |
| X-Fc-Trace-Id | string | no | The trace ID of the request for Function Compute API |

### Queries all the tags of a resource
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/get-resource-tags` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| resourceArn | string | yes | The Alibaba Cloud Resource Name (ARN) of the resource. You can use the value of this parameter to query information about the resource,… |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time when the function is invoked. The value is in the EEE,d MMM yyyy HH:mm:ss GMT format |
| X-Fc-Trace-Id | string | no | The request ID |

### Queries information about a specified service
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/get-service` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The name of the service |
| qualifier | string | no | The version or alias of the service |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time on which the function is invoked. The format of the value is: EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The custom request ID |

### Gets asynchronous task records that meet specified conditions
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/get-stateful-async-invocation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The name of service to which the asynchronous tasks belong |
| functionName | string | yes | The name of function to which the asynchronous task belongs |
| invocationId | string | yes | The ID of the asynchronous task. If you use an SDK to invoke a function, we recommend that you specify a business-related ID to facilitate… |
| qualifier | string | no | The version or alias of the service to which the asynchronous task belongs |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Code-Checksum | string | no | The CRC-64 value of the function code package. This value is used to check data integrity. The value is automatically calculated by a tool |
| X-Fc-Log-Type | string | no | The method used to return logs. Default value: None. Valid values: Tail: returns the last 4 KB of logs that are generated for the current… |
| X-Fc-Invocation-Type | string | no | The method used to invoke the function. Valid values: Sync: synchronous invocation mode Async: asynchronous invocation mode |
| X-Fc-Date | string | no | The time when the function is invoked. The value is in the EEE,d MMM yyyy HH:mm:ss GMT format |
| X-Fc-Trace-Id | string | no | The trace ID of the request for Function Compute API |

### Queries the information about a trigger
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/get-trigger` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The name of the service |
| functionName | string | yes | The name of the function |
| triggerName | string | yes | The name of the trigger |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time when the request is initiated on the client. The format of the value is: EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The custom request ID |

### Invoke a function
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/invoke-function` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| X-Fc-Invocation-Type | string | no | The invocation method. Valid values: Sync: synchronous invocations Async: asynchronous invocations Default value: Sync |
| X-Fc-Log-Type | string | no | The method used to return logs. Valid values: Tail: returns the last 4 KB of logs that are generated for the current request. None: No… |
| serviceName | string | yes | The name of the service |
| qualifier | string | no | The version ID or alias of the service |
| functionName | string | yes | The name of the function |
| body | string | no | The event to be processed by the function. Set this parameter to a binary string. Function Compute passes the event to the function for… |
| X-Fc-Stateful-Async-Invocation-Id | string | no | The ID of the asynchronous task. You must enable the asynchronous task feature in advance. When you use an SDK to invoke a function, we… |
| X-Fc-Stateful-Async-Invocation-Enable | string | no | Specifies whether to enable the asynchronous task mode for requests. Default value: false. Valid values: true false This parameter takes… |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time when the function is invoked. The format is EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The trace ID of the request for Function Compute API. The value is the same as that of the requestId parameter in the response |

### Queries the list of aliases
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/list-aliases` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The service name |
| limit | integer | no | The maximum number of resources to return. If this parameter is not specified, the default value is 20. The maximum value is 100. The… |
| nextToken | string | no | The token used to retrieve more results. You do not need to provide this parameter for the first query. For subsequent queries, obtain the… |
| prefix | string | no | The prefix that the names of returned resources must start with |
| startKey | string | no | The key from which the results start to be returned. The results are returned in alphabetical order starting from the value specified by… |
| X-Fc-Account-Id | string | no | The Alibaba Cloud account ID |
| X-Fc-Date | string | no | The start date of the function invocation, in the format of EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The trace ID of the Function Compute invocation request |

### Retrieves a list of custom domain names
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/list-custom-domains` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| prefix | string | no | The prefix of the domain names to return |
| startKey | string | no | The starting point for the query. Results are returned in alphabetical order starting from the first domain name that is alphabetically… |
| nextToken | string | no | The token for the next page of results. If not all results that match the query conditions are returned, the server returns a nextToken… |
| limit | integer | no | The maximum number of resources to return. Valid values: 0 to 100. Default value: 20. The number of returned results is less than or equal… |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time when the API is called. The format is EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The custom request ID |

### Retrieves the list of event sources for Function Compute invocations
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/list-event-sources` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The service name |
| functionName | string | yes | The function name |
| qualifier | string | no | The alias or version |
| X-Fc-Account-Id | string | no | The Alibaba Cloud account ID |
| X-Fc-Date | string | no | The start date of the function invocation, in the EEE,d MMM yyyy HH:mm:ss GMT format |
| X-Fc-Trace-Id | string | no | The trace ID of the Function Compute invocation request |

### Queries all asynchronous configurations for a function under a service. If the number of configurations…
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/list-function-async-invoke-configs` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The service name |
| functionName | string | yes | The name of the function |
| limit | integer | no | The maximum number of results to return. If this parameter is not specified, the default value is 20, and the maximum value is 100. The… |
| nextToken | string | no | The token used to return more results. This parameter is not required for the first query. The token for subsequent queries is obtained… |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Code-Checksum | string | no | The CRC-64 value of the function code package, which is used to verify integrity. This value must be automatically calculated by the tool |
| X-Fc-Log-Type | string | no | The type of logs to return for the request. Valid values: Tail: Returns the last 4 KB of logs generated by the current request. None: Does… |
| X-Fc-Invocation-Type | string | no | The invoke type. Valid values: Sync: Synchronization invoke. Async: Asynchronous invoke |
| X-Fc-Date | string | no | The invocation time of Function Compute, in the EEE, d MMM yyyy HH:mm:ss GMT format |
| X-Fc-Trace-Id | string | no | The trace ID of the Function Compute invocation request |
| AccountID | string | no | The AccountID |

### Retrieves a list of functions
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/list-functions` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The service name |
| qualifier | string | no | The version ID or alias of the service |
| limit | integer | no | The maximum number of resources to return. If this parameter is not specified, the default value is 20. The maximum value is 100. The… |
| nextToken | string | no | The token used to retrieve more results. You do not need to provide this parameter for the first query. For subsequent queries, obtain the… |
| prefix | string | no | Limits the returned resource names to those that start with the specified prefix |
| startKey | string | no | Specifies that results are returned starting from the first entry that is alphabetically equal to or after startKey |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The start date of the call, in the format of EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The custom request ID |

### Queries the list of currently available instances for a function
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/list-instances` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The name of the service |
| functionName | string | yes | The name of the function |
| qualifier | string | no | The version or alias |
| instanceIds | string | no | The instance ID (JSON-encoded) |
| limit | integer | no | The maximum number of resources to return. Valid values: 0 to 1000. The number of returned results can be less than the specified number… |
| X-Fc-Account-Id | string | no | Your Alibaba Cloud account ID |
| X-Fc-Date | string | no | The X-Fc-Date |
| X-Fc-Trace-Id | string | no | The X-Fc-Trace-Id |

### Gets a list of layer versions
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/list-layer-versions` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| layerName | string | yes | The layer name. You can query only custom layer versions. You cannot query versions of official public layers |
| startVersion | integer | no | The initial version of the layer |
| limit | integer | no | The maximum number of resources to return. Default value: 20. The value cannot exceed 100. The number of returned configurations is less… |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time when the operation is called. The format is: EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The trace ID of the request for Function Compute API |

### Gets a list of layers
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/list-layers` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| prefix | string | no | The name prefix of the layer. The names of returned resources must contain the prefix. If the name prefix is a, the names of returned… |
| startKey | string | no | The name of the start layer. The returned layers are sorted in alphabetical order, and the layers that include and follow the layer… |
| nextToken | string | no | The token required to obtain more results. If the number of resources exceeds the limit, the nextToken parameter is returned. You can… |
| limit | integer | no | The maximum number of resources to return. Default value: 20. Maximum value: 100. The number of returned configurations is less than or… |
| public | string | no | Specifies whether to obtain only the common layer. Default value: false |
| official | string | no | Specifies whether to obtain the official public layer. When the official parameter is set to true, the public field does not take effect.… |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time when the function is invoked. The format is: EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The trace ID of the request for Function Compute API |

### Queries on-demand instance configurations a function
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/list-on-demand-configs` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| prefix | string | no | The prefix that names of returned resources must contain. For example, if you set prefix to a, the names of returned resources must start… |
| startKey | string | no | The position from which the list begins. Results are sorted in alphabetical order and those results following startKey (inclusive) are… |
| nextToken | string | no | The token required to obtain more results. If the number of layers exceeds the limit, the nextToken parameter is returned. You can include… |
| limit | integer | no | The maximum number of results to return. If this parameter is not set, 20 is returned by default, and the maximum value cannot exceed 100.… |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time when the function is invoked. The value is in the EEE,d MMM yyyy HH:mm:ss GMT format |
| X-Fc-Trace-Id | string | no | The trace ID of the request for Function Compute API |

### Queries configurations of provisioned instances
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/list-provision-configs` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| limit | integer | no | The maximum number of results to return. Default value: 20. Maximum value: 100. The number of returned resources is less than or equal to… |
| nextToken | string | no | The token required to obtain more results. You do not need to specify this parameter in the first call. If a NextToken value is returned… |
| serviceName | string | no | The name of the service to which resources belong |
| qualifier | string | no | The qualifier of the service to which resources belong. The qualifier must be aliasName and used together with the serviceName parameter |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time when the function is invoked. The value is in the EEE,d MMM yyyy HH:mm:ss GMT format |
| X-Fc-Trace-Id | string | no | The trace ID of the request for Function Compute API |

### Retrieves the list of purchased subscription instances. This API is deprecated and is not recommended for use
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/list-reserved-capacities` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| nextToken | string | no | The token for the next query |
| limit | string | no | The maximum number of results to return. Valid values: 1 to 100 |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time when the Function Compute API is called. The format is EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The custom request ID |

### Retrieves a list of service versions
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/list-service-versions` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The name of the service |
| limit | integer | no | The maximum number of resources to return. If this parameter is not specified, the default value is 20. The maximum value is 100. The… |
| nextToken | string | no | The token used to retrieve more results. You do not need to provide this parameter for the first query. For subsequent queries, obtain the… |
| startKey | string | no | Specifies that results are returned starting from the first version that is sorted by version number and is equal to or after the startKey… |
| direction | string | no | The sort direction of the returned versions. Valid values: FORWARD: Sorts versions in ascending order. BACKWARD: Sorts versions in… |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The start date of the function invocation, in the format of EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The trace ID of the Function Compute invocation request |

### Retrieves a list of services
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/list-services` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| limit | integer | no | The maximum number of resources to return. If this parameter is not specified, the default value is 20. The maximum value is 100. The… |
| nextToken | string | no | The token that marks the starting position for the current query. Leave this parameter empty to start from the beginning. You do not need… |
| prefix | string | no | The prefix that the names of returned resources must match. For example, if Prefix is set to a, only resources whose names start with a… |
| startKey | string | no | The key from which the results start to be returned. Results are returned in alphabetical order starting from and including the value of… |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The start date of the function invocation. The format is EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The custom request ID |

### Retrieves the list of function resources that have asynchronous tasks enabled under the current account
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/list-stateful-async-invocation-functions` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| limit | integer | no | The maximum number of resources to return. If not specified, the default value is 20. The maximum value is 100. The number of returned… |
| nextToken | string | no | The token that marks the current position from which to start reading. An empty value indicates reading from the beginning. You do not… |
| X-Fc-Account-Id | string | no | Your Alibaba Cloud account ID |
| X-Fc-Date | string | no | The start date of the function invocation. Format: EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The ID used for Tracing Analysis |

### Queries all asynchronous invocations in an asynchronous task that meets specific conditions
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/list-stateful-async-invocations` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The name of the service to which the asynchronous task belongs |
| functionName | string | yes | The name of the function to which the asynchronous task belongs |
| qualifier | string | no | The version or alias of the service to which the asynchronous task belongs |
| status | string | no | The state of the asynchronous task. Enqueued: The asynchronous task is enqueued and is waiting to be executed. Succeeded: The invocation… |
| nextToken | string | no | The token required to obtain more results. You do not need to specify this parameter in the first call. If a NextToken value is returned… |
| limit | integer | no | The maximum number of asynchronous tasks to be returned. The default value is 20. Valid values: [1,100] |
| startedTimeBegin | integer | no | The start time of the asynchronous task |
| startedTimeEnd | integer | no | The end time of the asynchronous task |
| sortOrderByTime | string | no | The method that you want to use to sort the returned asynchronous tasks. asc: the ascending order desc: the descending order |
| invocationIdPrefix | string | no | The name prefix of the asynchronous tasks. This parameter is used to limit the names of the returned asynchronous tasks. For example, if… |
| includePayload | string | no | Specifies whether to return the invocationPayload parameter in the response. true: returns the `invocationPayload` parameter in the… |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Code-Checksum | string | no | The CRC-64 value of the function code package. This value is used to check data integrity. The value is automatically calculated by the tool |
| X-Fc-Log-Type | string | no | The method used to return logs. Tail: returns the last 4 KB of logs that are generated for the current request. None: does not return logs… |
| X-Fc-Invocation-Type | string | no | The method used to invoke the function. Sync: synchronous invocations Async: asynchronous invocations |
| X-Fc-Date | string | no | The time when the function is invoked. The value is in the EEE,d MMM yyyy HH:mm:ss GMT format |
| X-Fc-Trace-Id | string | no | The trace ID of the request for Function Compute API |

### Queries all tagged services
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/list-tagged-resources` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| nextToken | string | no | The token required to obtain more results. If the number of layers exceeds the limit, the nextToken parameter is returned. You can include… |
| limit | integer | no | The maximum number of results to return. Default value: 20. Maximum value: 100. The number of returned resources is less than or equal to… |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time when the function is invoked. The value is in the EEE,d MMM yyyy HH:mm:ss GMT format |
| X-Fc-Trace-Id | string | no | The trace ID of the request for Function Compute API |

### Queries the list of triggers for a specified function
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/list-triggers` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The name of the service |
| functionName | string | yes | The name of the function |
| limit | integer | no | The maximum number of resources to return. If this parameter is not specified, the default value is 20. The maximum value is 100. The… |
| nextToken | string | no | The token used to retrieve more results. You do not need to provide this parameter for the first query. Obtain the token for subsequent… |
| prefix | string | no | The prefix that the names of returned resources must start with |
| startKey | string | no | Specifies that the results are returned in alphabetical order starting from the value of startKey (inclusive) |
| X-Fc-Account-Id | string | no | The Alibaba Cloud account ID |
| X-Fc-Date | string | no | The time when the client sends the request. The format is EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The custom request ID |

### Queries a list of existing VPC connections
`GET https://apizie.tech/v1/cloud:aliyun-fc-open/list-vpc-bindings` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The name of the service |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time when the function is invoked. The value is in the EEE,d MMM yyyy HH:mm:ss GMT format |
| X-Fc-Trace-Id | string | no | The request ID |

### Publishes a service version
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/publish-service-version` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The name of the service. |
| description | string | no | The description of the service version. |
| If-Match | string | no | The ETag value of the service. This value is used to ensure that the modified service is consistent with the service to be modified. The… |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account. |
| X-Fc-Date | string | no | The start time when the function is invoked. Specify the time in the yyyy-mm-ddhh:mm:ss format. |
| X-Fc-Trace-Id | string | no | 2020-12-1210:00:00 |

### Creates or updates the asynchronous invocation configuration of a function
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/put-function-async-invoke-config` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The service name |
| functionName | string | yes | The name of the function |
| qualifier | string | no | The version or alias of the service |
| destinationConfig | object | no | The configuration struct for the asynchronous invocation destination |
| maxAsyncEventAgeInSeconds | integer | no | The maximum lifetime of a message. Valid values: 1 to 604800. Default value: 86400. Unit: seconds |
| maxAsyncRetryAttempts | integer | no | The maximum number of retries after an asynchronous invocation fails. This parameter is optional. Valid values: 0 to 8. If you do not… |
| statefulInvocation | string | no | Specifies whether to enable asynchronous tasks. true: Asynchronous tasks are enabled. false: Asynchronous tasks are disabled |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The start date of the function invocation. Format: EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The trace ID of the Function Compute invocation request |

### Creates a function rule
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/put-function-on-demand-config` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The name of the service |
| functionName | string | yes | The name of the function |
| qualifier | string | yes | The service alias or latest version. Other versions are not supported |
| maximumInstanceCount | integer | yes | The maximum number of on-demand instances. For more information, see https://help.aliyun.com/document_detail/185038.html |
| If-Match | string | no | If the ETag specified in the request matches the ETag value of the object, the object and 200 OK are returned. Otherwise, 412 Precondition… |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time when the function is invoked. The value is in the EEE,d MMM yyyy HH:mm:ss GMT format |
| X-Fc-Trace-Id | string | no | The unique ID of the trace |

### Modifies permissions of a layer
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/put-layer-acl` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| layerName | string | yes | The name of the layer |
| public | string | no | Specifies whether the layer is public. true: Public. false: Not public |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time when the operation is called. The format is: EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The trace ID of the request for Function Compute API |

### Creates a provisioned configuration
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/put-provision-config` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The service name |
| qualifier | string | yes | The service alias or LATEST. Versions are not supported |
| functionName | string | yes | The function name |
| alwaysAllocateCPU | string | no | Specifies whether to always allocate CPU. Default value: true |
| scheduledActions | array | no | The scheduled scaling policy configuration |
| target | integer | yes | The target number of provisioned resources. Valid values: 0 to 10000 |
| targetTrackingPolicies | array | no | The metric tracking scaling policy configuration |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The start date of the function invocation. The format is EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The trace ID of the Function Compute invocation request |

### Registers an event source service for Function Compute invocations
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/register-event-source` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The service name |
| functionName | string | yes | The function name |
| qualifier | string | no | The alias or version |
| sourceArn | string | yes | The event source resource identifier |
| X-Fc-Account-Id | string | no | Your Alibaba Cloud account ID |
| X-Fc-Date | string | no | The date when the function invocation starts. The format is EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The trace ID of the Function Compute invocation request |

### Stops an asynchronous task
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/stop-stateful-async-invocation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The name of the service to which the asynchronous task belongs |
| functionName | string | yes | The name of the function to which the asynchronous task belongs |
| invocationId | string | yes | The ID of the instance that is used to run the asynchronous task |
| qualifier | string | no | The version or alias of the service to which the asynchronous task belongs |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time when the function is invoked. The value is in the EEE,d MMM yyyy HH:mm:ss GMT format |
| X-Fc-Trace-Id | string | no | The trace ID of the request for Function Compute API |

### Adds tags to a specified resource
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/tag-resource` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| resourceArn | string | yes | The identity of the Alibaba Cloud resource. You can use this parameter to confirm the account, service, and region to which the resource… |
| tags | object | yes | The tag dictionary |
| X-Fc-Account-Id | string | no | Your Alibaba Cloud account ID |
| X-Fc-Date | string | no | The start date of the function invocation, in the format of EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The custom request ID |

### Deletes tags from a resource
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/untag-resource` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| all | string | no | Specifies whether to delete all tags. This parameter takes effect only when no tag keys are specified. Valid values: true: Deletes all… |
| resourceArn | string | yes | The identity of the Alibaba Cloud resource. You can use this parameter to confirm the account, service, and region to which the resource… |
| tagKeys | array | no | The list of tag keys to delete |
| X-Fc-Account-Id | string | no | Your Alibaba Cloud account ID |
| X-Fc-Date | string | no | The start date of the function invocation, in the format of EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The custom request ID |

### Updates an alias
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/update-alias` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| serviceName | string | yes | The name of the service |
| aliasName | string | yes | The name of the alias |
| additionalVersionWeight | object | no | The canary release version to which the alias points and the weight of the canary release version. The canary release version takes effect… |
| description | string | no | The description of the alias |
| resolvePolicy | string | no | The canary release mode. Default values: off. Valid values: Random: random canary release. Content: rule-based canary release |
| routePolicy | object | no | The canary release rule. Traffic that meets the canary release rule is routed to the canary release instance |
| versionId | string | no | The ID of the version to which the alias points |
| If-Match | string | no | If the ETag specified in the request matches the ETag value of the object, the object and 200 OK are returned. Otherwise, 412 Precondition… |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time on which the function is invoked. The format of the value is: EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The trace ID of the invocation request of Function Compute |

### Updates a custom domain name
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/update-custom-domain` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| domainName | string | yes | The domain name |
| certConfig | object | no | The HTTPS certificate configuration |
| protocol | string | no | The protocol type supported by the domain name. Valid values: HTTP: Only HTTP is supported. HTTPS: Only HTTPS is supported. HTTP,HTTPS:… |
| routeConfig | object | no | The route table that maps paths to functions when the custom domain name is accessed |
| tlsConfig | object | no | The TLS configuration |
| wafConfig | object | no | The Web Application Firewall (WAF) configuration |
| X-Fc-Account-Id | string | no | The Alibaba Cloud account ID |
| X-Fc-Date | string | no | The time when the API is called. The time is in the EEE,d MMM yyyy HH:mm:ss GMT format |
| X-Fc-Trace-Id | string | no | The custom request ID |

### Updates function information
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/update-function` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| If-Match | string | no | Used to ensure that the resource being modified matches the expected resource. The value is obtained from the responses of… |
| serviceName | string | yes | The service name |
| functionName | string | yes | The function name |
| InstanceConcurrency | integer | no | The maximum concurrency of an instance |
| caPort | integer | no | The listening port of the HTTP Server for custom and custom container runtimes |
| code | object | no | Code supports two methods to provide the function code package. You must use one and only one method in a single request: Specify… |
| cpu | number | no | The CPU specification of the function in vCPU. The value must be a multiple of 0.05 vCPU |
| customContainerConfig | object | no | The configuration for the Custom Container runtime. After configuration, the function can use a custom container image to execute the… |
| customDNS | object | no | The custom DNS configuration for the function |
| customHealthCheckConfig | object | no | The custom health check configuration for the function, applicable only to Custom Runtime and Custom Container |
| customRuntimeConfig | object | no | The detailed configuration for Custom Runtime functions |
| description | string | no | The function description |
| diskSize | integer | no | The disk specification of the function in MB. Valid values: 512 MB or 10240 MB |
| environmentVariables | object | no | The environment variables set for the function. You can retrieve the values of environment variables within the function. For more… |
| gpuMemorySize | integer | no | The GPU memory specification of the function in MB. The value must be a multiple of 1024 MB |
| handler | string | no | The entry point for function execution. The specific format is language-dependent. For more information, see… |
| initializationTimeout | integer | no | The timeout for the initializer function in seconds. Minimum value: 1. Default value: 3. The initializer function is terminated if it… |
| initializer | string | no | The entry point for the initializer function execution. The specific format is language-dependent. For more information, see… |
| instanceLifecycleConfig | object | no | The instance lifecycle configuration |
| instanceSoftConcurrency | integer | no | The soft concurrency of an instance, used for graceful scaling. When the concurrency on an instance exceeds the soft concurrency, instance… |
| instanceType | string | no | The instance type of the function. Valid values: e1: elastic instance. c1: performance instance. fc.gpu.tesla.1: GPU Tesla series instance… |
| layers | array | no | The list of layers. Multiple layers are merged in descending order of array index. Files in a layer with a smaller index overwrite files… |
| memorySize | integer | no | The memory specification of the function in MB. The value must be a multiple of 64 MB. Memory specifications vary by function instance… |
| runtime | string | no | The language runtime environment for the function. Valid values: nodejs20, nodejs18, nodejs16, nodejs14, nodejs12, nodejs10, nodejs8,… |
| timeout | integer | no | The timeout for function execution in seconds. Minimum value: 1. Default value: 3. The function is terminated if it exceeds this time limit |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Code-Checksum | string | no | The CRC-64 value of the function code package |
| X-Fc-Date | string | no | The start date of the function invocation in the format of EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The invocation ID of the function, which corresponds to the requestId in the response |

### Updates service information
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/update-service` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| If-Match | string | no | Ensures that the service being modified matches the expected service. The value is obtained from the responses of the… |
| serviceName | string | yes | The name of the service |
| description | string | no | The description of the service |
| internetAccess | string | no | Specifies whether to allow the function to access the Internet: true: The function is allowed to access the Internet. false: The function… |
| logConfig | object | no | The log configuration. Logs generated by the function are written to the Logstore specified in this configuration |
| nasConfig | object | no | The NAS configuration. After this configuration is set, the function can access the specified NAS resources |
| ossMountConfig | object | no | The OSS mount configuration |
| role | string | no | The RAM role that grants Function Compute the required permissions. Scenarios include: Sending logs generated by the function to your… |
| tracingConfig | object | no | The tracing configuration. After Function Compute is integrated with Tracing Analysis, you can record the time consumed by requests in… |
| vpcConfig | object | no | The VPC configuration. After this configuration is set, Function Compute can access the specified VPC resources |
| X-Fc-Account-Id | string | no | Your Alibaba Cloud account ID |
| X-Fc-Date | string | no | The time when the Function Compute API is called. The format is EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The custom request ID |

### Modifies a trigger
`POST https://apizie.tech/v1/cloud:aliyun-fc-open/update-trigger` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fc.ap-southeast-1.aliyuncs.com |
| If-Match | string | no | This parameter is used to ensure that the modified resource is consistent with the resource to be modified. You can obtain the parameter… |
| serviceName | string | yes | The name of the service |
| functionName | string | yes | The name of the function |
| triggerName | string | yes | The name of the trigger |
| description | string | no | The description of the trigger |
| invocationRole | string | no | The role that is used by the event source such as Object Storage Service (OSS) to invoke the function. For more information, see… |
| qualifier | string | no | The version or alias of the service |
| triggerConfig | string | no | The configurations of the trigger. The configurations vary based on the trigger type. For more information about the format, see the… |
| X-Fc-Account-Id | string | no | The ID of your Alibaba Cloud account |
| X-Fc-Date | string | no | The time when the request is initiated on the client. The format of the value is: EEE,d MMM yyyy HH:mm:ss GMT |
| X-Fc-Trace-Id | string | no | The custom request ID |

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

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

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

## FAQ

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

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

### Can AI agents use the Alibaba Cloud Function Compute API?
Yes. Add the Apizie MCP server (https://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-fc-open.

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