Skip to content
Hayonix

API reference · Schema

ServerlessVolumeMount

  • volume_idstringrequired

    ID of the volume

    ID with prefix vol_

  • mount_pathstringrequired

    Absolute path inside every worker (not a system path such as /etc or /usr)

    2–256 characters

  • read_onlyboolean

    Mount read-only (default false: workers may write)

Example
{
  "volume_id": "vol_01jc5zq4m8k3v6x9t2w7r0b1e4",
  "mount_path": "/data",
  "read_only": true
}