Deno functions
Write standard Request and Response handlers with Deno.serve and TypeScript.
Edge Functions
Write Deno functions, call them from the SDK with typed errors and timeouts, and run them on demand, in the background or on a schedule.
What’s included
Write standard Request and Response handlers with Deno.serve and TypeScript.
Call a function by name with a method, path, headers and body.
One function can serve several paths and methods.
Set a timeout or pass an AbortSignal. Both report the same timeout error.
Tell an error your function returned from a relay failure, so you know whether it ran before you retry.
Choose how the response body is decoded.
List jobs by status and follow one by its ID.
Run a function on a cron schedule, with a payload.
Ship a function with the aura CLI, from Studio, or through the HTTP API.
How it works
Create a Deno.serve handler that reads a Request and returns a Response.
Ship it with aura functions deploy or from Studio.
Call it by name with aura.functions.invoke.
Optionally run it on a cron schedule.
REST API
The SDK is a thin layer over these routes. Send your project’s API key with each request.
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/functions | List the project’s functions. |
| GET | /v1/functions/{name} | Read one function’s details. |
| POST | /v1/functions/{name}/invoke | Run a function with a method, path, headers and body. |
| GET | /v1/functions/jobs | List asynchronous jobs, filtered by status. |
| GET | /v1/functions/jobs/{id} | Read one job. |
| GET | /v1/functions/cron | List scheduled jobs. |
| POST | /v1/functions/cron | Schedule a function with a cron expression. |
| DELETE | /v1/functions/cron/{name} | Delete a scheduled job. |
Questions
Ready to run code?
Functions are included in every project. No credit card required.