Functions
Create function
Create a serverless function. The function serves at https://{slug}.fn.raffusercloud.com — the slug is your name plus a short random suffix, so names never collide across accounts.
Functions unlock after your first top-up of $5 or more (the money stays in your balance). Deploy code afterwards with a source upload and a deployment, or use a starter template.
Timeouts above 3600s require extended_timeout: true (max 86400s / 24h). Long runs bill wall-clock memory while they execute — there is no extra fee.
post/api/v1/functions
Headers
X-Project-IDstring uuid required
Project ID. Required for all mutating operations (create, delete, power actions, resize).
Request body
Response
Function created (status pending until first deployment)