Functions
Create function
Changed onCreate a serverless function. The function serves at https://{slug}.fn.onraff.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
Request
- Base URLhttps://api.rafftechnologies.com
- URLhttps://api.rafftechnologies.com/api/v1/functions
- AuthAPI key in header X-API-Key
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)
Changes
- info
endpoint added
- info