> ## Documentation Index
> Fetch the complete documentation index at: https://docs.molesignal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 创建函数

> 创建可复用的管道变换。

```http theme={null}
POST /api/v1/functions
```

创建可复用变换。VRL 会在创建时编译。只有服务器二进制以 Cargo feature `js-runtime` 构建时才接受
JavaScript，没有单独的运行期开关。创建函数需要 `functions.create`。见[函数](/zh-Hans/functions)。
