# Alibaba Cloud Function Compute 3.0 API

> Alibaba Cloud Function Compute 3.0 API on Apizie: 74 endpoints (Updates the resource group of a Function Compute resource, Creates an alias, Creates a custom domain name, Creates a function, …) 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/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

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

Alibaba Cloud OpenAPI for Function Compute 3.0 (fc, version 2023-03-30). Calls are signed with ACS3-HMAC-SHA256 using your AccessKey ID and secret.

## Endpoints

### Updates the resource group of a Function Compute resource
`POST https://apizie.tech/v1/cloud:aliyun-fc/change-resource-group` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| NewResourceGroupId | string | no | The NewResourceGroupId |
| ResourceId | string | no | The ResourceId |
| ResourceType | string | no | The ResourceType |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The name of the function |
| additionalVersionWeight | object | no | The weight of the canary release version |
| aliasName | string | yes | The name of the alias |
| description | string | no | The description of the alias |
| versionId | string | yes | The version to which the alias points |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| authConfig | object | no | The authentication configuration |
| certConfig | object | no | The HTTPS certificate information |
| corsConfig | object | no | The CORS configuration |
| domainName | string | yes | The domain name. Specify a custom domain name that has an ICP filing obtained through Alibaba Cloud or has been added to Alibaba Cloud for… |
| isE2B | string | no | The isE2B |
| protocol | string | no | The protocol types supported by the domain name. Valid values: HTTP: Only the HTTP protocol is supported. HTTPS: Only the HTTPS protocol… |
| 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 WAF configuration information |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| code | object | no | The ZIP package of the function code. Specify either code or customContainerConfig |
| cpu | number | no | The CPU specification of the function in vCPU. The value must be a multiple of 0.05 vCPU. The minimum value is 0.05 and the maximum value… |
| customContainerConfig | object | no | The configuration of the custom container runtime. After successful configuration, the function can use a custom container image to… |
| customDNS | object | no | The custom DNS configuration |
| customRuntimeConfig | object | no | The custom runtime configuration |
| description | string | no | The description of the function |
| disableInjectCredentials | string | no | Specifies whether to disable STS token injection. Valid values: None: Injects STS tokens in all methods. Env: Does not inject STS tokens… |
| disableOndemand | string | no | Specifies whether to disable the creation of on-demand instances. After this feature is enabled, on-demand instances are not created and… |
| diskSize | integer | no | The disk specification of the function in MB. Valid values: 512 and 10240 |
| enableLongLiving | string | no | Specifies whether to allow provisioned instances of GPU functions to be long-running. When this feature is enabled, function instances… |
| environmentVariables | object | no | The environment variables of the function. You can access the configured environment variables in the runtime environment |
| functionName | string | yes | The name of the function. The name can contain only letters, digits, underscores (_), and hyphens (-). It cannot start with a digit or… |
| gpuConfig | object | no | The GPU configuration of the function |
| handler | string | yes | The function entry point. The specific format is related to the runtime |
| idleTimeout | integer | no | The instance deferred release time |
| instanceConcurrency | integer | no | The maximum concurrency of an instance |
| instanceIsolationMode | string | no | The instance isolation mode |
| instanceLifecycleConfig | object | no | The instance lifecycle hook method configuration |
| internetAccess | string | no | Specifies whether the function can access the Internet. Default value: true |
| juiceFsConfig | object | no | The JuiceFs mount configuration |
| layers | array | no | The list of layers. Multiple layers are merged in descending order of array index. Content from a layer with a smaller index overwrites… |
| logConfig | object | no | The log configuration. Logs generated by the function are written to the configured Logstore |
| memorySize | integer | no | The memory specification of the function in MB. The value must be a multiple of 64 MB. The minimum value is 128 MB and the maximum value… |
| microSandboxConfig | object | no | The microSandboxConfig |
| nasConfig | object | no | The NAS configuration. After you configure this parameter, the function can access the specified NAS resources |
| ossMountConfig | object | no | The OSS mount configuration |
| polarFsConfig | object | no | The PolarFs configuration. After you configure this parameter, the function can access the specified PolarFs resources |
| resourceGroupId | string | no | The resourceGroupId |
| role | string | no | The RAM role that you grant to Function Compute. After the role is configured, Function Compute assumes this role to generate temporary… |
| runtime | string | yes | The runtime environment of the function. Currently supported runtime environments include: nodejs12, nodejs14, nodejs16, nodejs18,… |
| sessionAffinity | string | no | The session affinity policy for Function Compute invocation requests. To implement request affinity for the MCP SSE protocol, set this… |
| sessionAffinityConfig | string | no | The session affinity configuration that corresponds to the sessionAffinity type. For MCP_SSE affinity, configure… |
| tags | array | no | The list of tags |
| timeout | integer | no | The timeout period for function execution in seconds. The minimum value is 1, the maximum value is 86400, and the default value is 3. The… |
| 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 you configure this parameter, the function can access the specified VPC resources |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| layerName | string | yes | The layer name |
| code | object | no | The code information of the layer |
| compatibleRuntime | array | no | The runtimes that are supported by the layer |
| description | string | no | The description of the layer version |
| license | string | no | The license agreement for the layer |

### Creates an explicit session resource. The system automatically generates a unique session ID, pre-allocates…
`POST https://apizie.tech/v1/cloud:aliyun-fc/create-session` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The name of the function for which to create the session |
| qualifier | string | no | The version or alias of the function |
| allowInternetAccess | string | no | The allowInternetAccess |
| disableSessionIdReuse | string | no | Specifies whether to disable session ID reuse. Default value: False, which indicates that after a session expires, you can use the same… |
| enableAutoPause | string | no | The enableAutoPause |
| enableAutoResume | string | no | The enableAutoResume |
| juiceFsConfig | object | no | The JuiceFs mount configuration |
| nasConfig | object | no | The NAS configuration. After this parameter is configured, instances associated with the session can access the specified NAS resources |
| network | object | no | The network |
| ossMountConfig | object | no | The OSS configuration. After this parameter is configured, instances associated with the session can access the specified OSS resources |
| polarFsConfig | object | no | The PolarFs configuration. After this parameter is configured, instances associated with the session can access the specified PolarFs… |
| sessionId | string | no | The custom session ID. If not configured, the server generates one. If configured, this value is used as the session ID. This parameter is… |
| sessionIdleTimeoutInSeconds | integer | no | The session idle timeout |
| sessionTTLInSeconds | integer | no | The session lifetime |
| snapshotId | string | no | The snapshotId |

### Creates a user snapshot from a normal and unexpired micro-sandbox session
`POST https://apizie.tech/v1/cloud:aliyun-fc/create-snapshot` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The name of the function for which the snapshot is created |
| qualifier | string | no | The alias of the function |
| description | string | no | The description |
| sessionId | string | no | The sessionId |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The function name |
| description | string | no | The description of the trigger |
| invocationRole | string | no | The RAM role that is used by the event source such as Object Storage Service (OSS) to invoke the function |
| qualifier | string | no | The version or alias of the function |
| sourceArn | string | no | The Alibaba Cloud Resource Name (ARN) of the trigger event source |
| triggerConfig | string | yes | The configurations of the trigger. The configurations vary based on the trigger type. The following items list the data structures for… |
| triggerName | string | yes | The name of the trigger. The name can contain only letters, digits, hyphens (-), and underscores (_). The name must be 1 to 128 characters… |
| triggerType | string | yes | The type of the trigger. Valid values: oss: OSS event triggers. For more information, see… |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The function name |
| vpcId | string | yes | The ID of the VPC |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The name of the function |
| aliasName | string | yes | The name of the function alias |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The name of the function |
| qualifier | string | no | The version or alias of the function |

### Deletes the concurrency configuration
`POST https://apizie.tech/v1/cloud:aliyun-fc/delete-concurrency-config` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The name of the function |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| domainName | string | yes | The domain name |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The name of the function |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The name of the function |
| versionId | string | yes | The version of the function |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| layerName | string | yes | The layer name |
| version | string | yes | The layer version |

### Deletes the provisioned configuration
`POST https://apizie.tech/v1/cloud:aliyun-fc/delete-provision-config` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The name of the function |
| qualifier | string | no | The alias of the function |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The name of the function |
| qualifier | string | no | The alias of the function |

### Deletes a specified session, blocks new request routing, and purges session metadata from the database.…
`POST https://apizie.tech/v1/cloud:aliyun-fc/delete-session` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The function name |
| sessionId | string | yes | The session ID to delete |
| qualifier | string | no | The function alias or version associated with the session ID to delete |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The function name |
| snapshotId | string | yes | The ID of the snapshot to delete |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The function name |
| triggerName | string | yes | The trigger name |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The function name |
| vpcId | string | yes | The VPC-connected instance ID |

### Queries the regions supported by Function Compute 3.0
`GET https://apizie.tech/v1/cloud:aliyun-fc/describe-regions` (byok)

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

### Disables function invocations. You can also stop all ongoing requests. When a function is disabled, new…
`POST https://apizie.tech/v1/cloud:aliyun-fc/disable-function-invocation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| abortOngoingRequest | string | no | Specifies whether to immediately stop all ongoing requests |
| reason | string | no | The reason for disabling the function invocation |
| functionName | string | yes | The name of the function to disable |

### The EnableFunctionInvocation operation allows a function to be invoked and resumes the creation of…
`POST https://apizie.tech/v1/cloud:aliyun-fc/enable-function-invocation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The name of the function that you want to allow for invocation |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The function name |
| aliasName | string | yes | Function alias |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The name of the function |
| qualifier | string | no | The version or alias of the function |

### Retrieves the details of a specified asynchronous task
`GET https://apizie.tech/v1/cloud:aliyun-fc/get-async-task` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The function name |
| taskId | string | yes | The asynchronous task ID |
| qualifier | string | no | The function version or alias |

### Retrieves the concurrency configuration
`GET https://apizie.tech/v1/cloud:aliyun-fc/get-concurrency-config` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The function name |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| domainName | string | yes | The domain name |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The function name |
| qualifier | string | no | The function version or alias |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The function name |
| qualifier | string | no | The version or alias of the function |

### Retrieves information about a layer version
`GET https://apizie.tech/v1/cloud:aliyun-fc/get-layer-version` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| layerName | string | yes | The name of the layer |
| version | string | yes | The version of the layer |

### Retrieves the version information of a layer by its Alibaba Cloud Resource Name (ARN)
`GET https://apizie.tech/v1/cloud:aliyun-fc/get-layer-version-by-arn` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| arn | string | yes | The ARN of the layer |

### Retrieves the provisioned configuration
`GET https://apizie.tech/v1/cloud:aliyun-fc/get-provision-config` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The name of the function |
| qualifier | string | no | The alias of the function |

### Retrieves the elastic configuration of a function
`GET https://apizie.tech/v1/cloud:aliyun-fc/get-scaling-config` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The function name |
| qualifier | string | no | The function alias |

### Retrieves the details of a specified session, including the session ID, associated function, affinity type,…
`GET https://apizie.tech/v1/cloud:aliyun-fc/get-session` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The name of the function to which the session belongs |
| sessionId | string | yes | The ID of the session to query |
| qualifier | string | no | The alias or version of the function associated with the session ID to query |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The function name |
| snapshotId | string | yes | The snapshot ID |

### Retrieves the details of a specified trigger
`GET https://apizie.tech/v1/cloud:aliyun-fc/get-trigger` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The name of the function |
| triggerName | string | yes | The name of the trigger |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The name of the function |
| qualifier | string | no | The version or alias of the function |
| x-fc-invocation-type | string | no | The function invoke type. Valid values: Sync and Async |
| x-fc-log-type | string | no | The log type returned for function invoke. Valid values: None and Tail |
| body | string | no | The parameters for function invoke |
| x-fc-async-task-id | string | no | The ID of the asynchronous task. You must enable asynchronous tasks in advance. We recommend that you set a business-related ID when you… |

### Lists aliases
`GET https://apizie.tech/v1/cloud:aliyun-fc/list-aliases` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The function name |
| prefix | string | no | The prefix of the alias name |
| nextToken | string | no | The token that marks the start of the next page of results |
| limit | integer | no | The number of aliases to return |

### Lists the asynchronous invocation configurations for one or more functions
`GET https://apizie.tech/v1/cloud:aliyun-fc/list-async-invoke-configs` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | no | The name of the function. If you do not specify this parameter, the asynchronous invocation configurations of all functions are returned |
| nextToken | string | no | The token that is used for paging |
| limit | integer | no | The maximum number of results to return |

### Lists the details of asynchronous tasks
`GET https://apizie.tech/v1/cloud:aliyun-fc/list-async-tasks` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The name of the function |
| prefix | string | no | The prefix of the asynchronous task ID. The system returns a list of asynchronous tasks that match the prefix |
| nextToken | string | no | The pagination token to return more results. You do not need to provide this parameter for the first query. Obtain the token for a… |
| limit | integer | no | The number of asynchronous tasks to return. The default value is 20. The value must be in the range of [1, 100] |
| qualifier | string | no | The version or alias of the function |
| status | string | no | The execution status of the asynchronous task. Enqueued: The asynchronous message is enqueued and waits for processing. Dequeued: The… |
| startedTimeBegin | integer | no | The start of the time range when the asynchronous task was started |
| startedTimeEnd | integer | no | The end of the time range when the asynchronous task was started |
| sortOrderByTime | string | no | The sorting order of the returned asynchronous tasks. asc: ascending order desc: descending order |
| includePayload | string | no | Specifies whether to return the input parameters of the asynchronous task. true: If this parameter is set to true, the `invocationPayload`… |

### Lists the concurrency configurations
`GET https://apizie.tech/v1/cloud:aliyun-fc/list-concurrency-configs` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | no | The function name. If you do not specify this parameter, the concurrency configurations of all functions are listed |
| nextToken | string | no | The token for paging |
| limit | integer | no | The maximum number of results to return |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| prefix | string | no | The domain name prefix |
| nextToken | string | no | The pagination start token |
| limit | integer | no | The number of custom domain names to return |

### Lists the versions of a specified function
`GET https://apizie.tech/v1/cloud:aliyun-fc/list-function-versions` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The function name |
| nextToken | string | no | The token that marks the start of the next page of results |
| direction | string | no | The order in which to sort the versions. Valid values: BACKWARD and FORWARD |
| limit | integer | no | The number of versions to return |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| prefix | string | no | The prefix of the function name |
| nextToken | string | no | The pagination token |
| limit | integer | no | The number of functions to return. Valid values: 1 to 100 |
| fcVersion | string | no | The version of the function. Valid values: v3: Lists only Function Compute 3.0 functions. v2: Lists only Function Compute 2.0 functions.… |
| tags | string | no | The tags used to filter functions (JSON-encoded) |
| runtime | string | no | The runtime used to filter functions |
| gpuType | string | no | The GPU type used to filter functions |
| description | string | no | The description used to filter functions |
| functionName | string | no | The name of the function |
| resourceGroupId | string | no | The ID of the resource group |

### Lists function instances
`GET https://apizie.tech/v1/cloud:aliyun-fc/list-instances` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The function name |
| qualifier | string | no | The function version or alias |
| withAllActive | string | no | Specifies whether to list all active instances |
| instanceStatus | string | no | An array of instance statuses. The operation returns only instances whose status is in this array (JSON-encoded) |
| startTimeMs | integer | no | The start time of the query range, specified as a UNIX timestamp in milliseconds |
| endTimeMs | integer | no | The end time of the query range, specified as a UNIX timestamp in milliseconds |
| startKey | string | no | The token that specifies where to start the query. It is returned in a truncated response and can be used to retrieve the next page of… |
| limit | string | no | The maximum number of instances to return |
| instanceIds | string | no | A list of instance IDs to return (JSON-encoded) |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| layerName | string | yes | The layer name |
| startVersion | string | no | The version from which to start the query |
| limit | integer | no | The number of versions to return |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| prefix | string | no | The layer name prefix |
| nextToken | string | no | The pagination start token |
| limit | integer | no | The number of layers to return |
| public | string | no | Specifies whether the layer is public. Valid values: true, false |
| official | string | no | Specifies whether the layer is an official layer. Valid values: true, false |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | no | The name of the function. If you do not specify this parameter, the provisioned configurations for all functions are returned |
| nextToken | string | no | The token to start the next page of results |
| limit | integer | no | The number of provisioned configurations to return |

### Lists the elastic configurations of a function
`GET https://apizie.tech/v1/cloud:aliyun-fc/list-scaling-configs` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | no | The name of the function |
| nextToken | string | no | The starting pagination token |
| limit | integer | no | The number of elastic configurations to return |

### Lists the active or expired sessions of a specified function. This operation supports filtering by…
`GET https://apizie.tech/v1/cloud:aliyun-fc/list-sessions` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The name of the function |
| qualifier | string | no | The alias or version of the function |
| limit | integer | no | The maximum number of sessions to return. Default value: 20 |
| nextToken | string | no | The pagination token |
| sessionStatus | string | no | The session status to filter. By default, all session information in the Active or Expired state is returned. You can specify Active to… |
| sessionId | string | no | The ID of the session used for filtering. If you specify this parameter, all active or expired status information associated with the… |

### Lists snapshot information
`GET https://apizie.tech/v1/cloud:aliyun-fc/list-snapshots` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | no | The function name |
| sessionId | string | no | The source session ID from which the snapshot was created. When specified, functionName must also be specified |
| qualifier | string | no | The function alias |
| limit | integer | no | The maximum number of snapshots to return. Valid values: 1 to 100. Default value: 20 |
| nextToken | string | no | The pagination token used to retrieve more results |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| ResourceType | string | yes | The resource type |
| ResourceId | string | no | The list of resource IDs (JSON-encoded) |
| Tag | string | no | The list of tags. You can specify up to 20 tags (JSON-encoded) |
| NextToken | string | no | The token that is used to retrieve the next page of results |
| Limit | integer | no | The number of resources to return |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The name of the function |
| prefix | string | no | The prefix of the trigger name |
| nextToken | string | no | The pagination start token |
| limit | integer | no | The number of returned triggers |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The name of the function |

### Pauses or saves a session
`POST https://apizie.tech/v1/cloud:aliyun-fc/pause-session` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The name of the function for the session |
| sessionId | string | yes | The ID of the session to be saved |
| qualifier | string | no | The alias or version of the function associated with the session ID to be saved |
| fileSystemOnly | string | no | The fileSystemOnly |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The name of the function |
| description | string | no | The description of the layer version |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| asyncTask | string | no | Optional. Specify whether to enable the asynchronous task feature |
| destinationConfig | object | no | Optional. The struct of the destination of asynchronous invocations |
| maxAsyncEventAgeInSeconds | integer | no | Optional. The maximum validity period of a message. Valid values: [1,604800]. Default value: 86400. Unit: seconds |
| maxAsyncRetryAttempts | integer | no | Optional. The maximum number of retries if an asynchronous invocation fails. Valid values: [0,8]. If you do not configure this parameter,… |
| functionName | string | yes | The function name |
| qualifier | string | no | The function version or alias |

### Sets the concurrency for a function
`POST https://apizie.tech/v1/cloud:aliyun-fc/put-concurrency-config` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The function name |
| reservedConcurrency | integer | yes | The reserved concurrency of the function. Other functions cannot use the concurrency. The reserved concurrency includes the total… |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| layerName | string | yes | The name of the layer |
| public | string | no | Specifies whether to make the layer public. Valid values: true and false |
| acl | string | no | The access permissions of the layer. Valid values: 1 (public) and 0 (private). The default value is 0 |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The function name |
| qualifier | string | no | The function alias |
| alwaysAllocateCPU | string | no | Specifies whether to always allocate CPU. Default value: true |
| alwaysAllocateGPU | string | no | Specifies whether to always allocate GPU. Default value: true |
| defaultTarget | integer | no | The default minimum number of provisioned instances. Valid values: 0 to 10000. If no metric-based auto elastic policy or scheduled elastic… |
| scheduledActions | array | no | The scheduled scaling configuration |
| target | integer | yes | This parameter is no longer recommended. Use the defaultTarget parameter instead. The target number of provisioned resources. Valid… |
| targetTrackingPolicies | array | no | The metric-based scaling policy configuration |

### Sets the elastic configuration for a function
`POST https://apizie.tech/v1/cloud:aliyun-fc/put-scaling-config` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The function name |
| qualifier | string | no | The function alias |
| enableMixMode | string | no | Specifies whether to enable the mix mode |
| enableOnDemandScaling | string | no | Specifies whether to enable on-demand scaling |
| horizontalScalingPolicies | array | no | The horizontal scaling policies |
| minInstances | integer | no | The minimum number of instances |
| requestDispatchPolicy | string | no | The request dispatch policy |
| residentPoolId | string | no | The ID of the resident resource pool |
| scheduledPolicies | array | no | The scheduled elastic policies |

### Resumes a session
`POST https://apizie.tech/v1/cloud:aliyun-fc/resume-session` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The name of the function for the session |
| sessionId | string | yes | The ID of the session to be resumed |
| qualifier | string | no | The alias or version of the function associated with the session ID to be resumed |
| fileSystemOnly | string | no | The fileSystemOnly |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The name of the function |
| taskId | string | yes | The ID of the asynchronous task |
| qualifier | string | no | The version or alias of the function |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| ResourceId | array | yes | The resource IDs |
| ResourceType | string | no | The type of the resource |
| Tag | array | yes | The tags |

### Removes tags from resources
`POST https://apizie.tech/v1/cloud:aliyun-fc/untag-resources` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| ResourceType | string | yes | The resource type |
| ResourceId | string | yes | A list of resource IDs (JSON-encoded) |
| TagKey | string | no | The keys of the tags to remove. You can specify up to 50 tag keys (JSON-encoded) |
| All | string | no | Specifies whether to remove all tags |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The function name |
| aliasName | string | yes | The function alias |
| additionalVersionWeight | object | no | Weight of the canary release version |
| description | string | no | Description of the alias |
| versionId | string | no | Version that the alias points to |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| domainName | string | yes | The domain name |
| authConfig | object | no | The authentication configuration |
| certConfig | object | no | The HTTPS certificate information |
| corsConfig | object | no | The CORS configuration |
| protocol | string | no | The protocol type supported by the domain name. Valid values: HTTP: Only the HTTP protocol is supported. HTTPS: Only the HTTPS protocol is… |
| 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 Protection configuration information |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The function name |
| code | object | no | The ZIP package of the function code. Specify either code or customContainerConfig |
| 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 custom container runtime configuration. After this parameter is configured, the function can use a custom container image for… |
| customDNS | object | no | The custom DNS configuration |
| customRuntimeConfig | object | no | The custom runtime configuration |
| description | string | no | The description of the function |
| disableInjectCredentials | string | no | Specifies whether to disable STS token injection. Valid values: None: Injects STS tokens in all methods. Env: Does not inject STS tokens… |
| disableOndemand | string | no | Specifies whether to disable the creation of on-demand instances. After this feature is enabled, on-demand instances are not created, and… |
| diskSize | integer | no | The disk specification of the function in MB. Valid values: 512 and 10240 |
| enableLongLiving | string | no | Specifies whether to allow provisioned instances of GPU functions to be long-running. When this feature is enabled, function instances… |
| environmentVariables | object | no | The environment variables of the function. You can access the configured environment variables in the runtime environment |
| gpuConfig | object | no | The GPU configuration of the function |
| handler | string | no | The function entry point. The specific format is related to the runtime |
| idleTimeout | integer | no | The delayed release time of the instance |
| instanceConcurrency | integer | no | The maximum concurrency of an instance |
| instanceIsolationMode | string | no | The instance isolation mode |
| instanceLifecycleConfig | object | no | The instance lifecycle hook method configuration |
| internetAccess | string | no | Specifies whether to allow access to the Internet |
| juiceFsConfig | object | no | The JuiceFs mount configuration |
| layers | array | no | The list of layers. Multiple layers are merged in descending order of array index. Content from a layer with a smaller index overwrites… |
| logConfig | object | no | The log configuration. Logs generated by the function are written to the configured Logstore |
| memorySize | integer | no | The memory specification of the function in MB. The value must be a multiple of 64 MB. The memory specification varies depending on the… |
| microSandboxConfig | object | no | The microSandboxConfig |
| nasConfig | object | no | The NAS configuration. After this parameter is configured, the function can access the specified NAS resources |
| ossMountConfig | object | no | The OSS mount configuration |
| polarFsConfig | object | no | The PolarFs configuration. After this parameter is configured, the function can access the specified PolarFs resources |
| role | string | no | The RAM role that grants Function Compute the required permissions. Scenarios include: 1. Sending logs generated by the function to your… |
| runtime | string | no | The runtime environment of the function |
| sessionAffinity | string | no | The session affinity policy for Function Compute invocation requests. To implement request affinity for the MCP SSE protocol, set this… |
| sessionAffinityConfig | string | no | The session affinity configuration that corresponds to the sessionAffinity type. For MCP_SSE affinity, populate the… |
| timeout | integer | no | The timeout period for function execution, in seconds. Minimum value: 1. Default value: 3. The function is terminated if it exceeds this… |
| tracingConfig | object | no | The Tracing Analysis configuration. After Function Compute is integrated with Tracing Analysis, you can record the time consumed by… |
| vpcConfig | object | no | The VPC configuration. After this parameter is configured, the function can access the specified VPC resources |

### Updates the session configuration for active sessions, such as lifecycle configurations including…
`POST https://apizie.tech/v1/cloud:aliyun-fc/update-session` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The name of the function to which the session belongs |
| sessionId | string | yes | The ID of the session to update |
| qualifier | string | no | The alias or version of the function associated with the session ID to update |
| allowInternetAccess | string | no | The allowInternetAccess |
| disableSessionIdReuse | string | no | Specifies whether to disable session ID reuse after the session expires. Default value: False, which indicates that after a session… |
| enableAutoPause | string | no | The enableAutoPause |
| enableAutoResume | string | no | The enableAutoResume |
| juiceFsConfig | object | no | JuiecFs 挂载配置 |
| nasConfig | object | no | 会话 NAS 挂载点配置 |
| network | object | no | The network |
| ossMountConfig | object | no | 会话 OSS 挂载点配置 |
| polarFsConfig | object | no | 会话 PolarFs 挂载点配置 |
| sessionIdleTimeoutInSeconds | integer | no | The session idle timeout |
| sessionTTLInSeconds | integer | no | The session lifetime |

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://fcv3.ap-southeast-1.aliyuncs.com |
| functionName | string | yes | The function name |
| triggerName | string | yes | The trigger name |
| 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 |
| qualifier | string | no | The version or alias of the service to which the function belongs |
| triggerConfig | string | no | The configuration of the trigger. The configuration vary based on the trigger type |

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

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

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

## FAQ

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

### Is the Alibaba Cloud Function Compute 3.0 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 3.0 itself also needs your own key from aliyuncs.com.

### Can AI agents use the Alibaba Cloud Function Compute 3.0 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.

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