> ## 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.

# Create function

> Create a reusable pipeline transform.

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

Create a reusable transform. VRL is compiled on create. JavaScript is accepted only when the server
binary was built with Cargo feature `js-runtime`; there is no separate runtime toggle. Creating a
function requires `functions.create`. See [Functions](/en-US/functions).
