- AI-powered features, such as AI summaries or AI chatbots, using built-in Lovable AI
- Sending emails or push notifications
- Payment processing, for example with Stripe
- Heavy computations or external API calls
Where your app’s server code runs
Where your app runs its server code depends on when the app was created:- New Lovable apps created from May 13, 2026, which use TanStack Start, run their server code inside the app itself, as server functions and API routes. Many newer apps have no edge functions at all.
- Older React + Vite apps run their server code as edge functions, on the built-in backend.
Monitor your functions
Go to More → Database → Manage → Edge functions to see every function in your project, with its status, invocation count, success rate, and when it was last updated. The time range selector has two modes: Relative covers ranges from the last 15 minutes up to the last 5 days, and Absolute lets you pick an exact start and end time. Click a function to see how it performed over time:- Succeeded and Failed invocation counts with a chart over the selected range.
- Copy URL to copy the function’s endpoint.
- View logs to open Logs pre-filtered to this function’s output.
- View code to open the function’s source in the code editor.
FAQ
How do I create or edit an edge function?
How do I create or edit an edge function?
Ask Lovable in the project chat. There is no create button in the Edge functions view: Lovable writes and deploys functions as part of building the feature you describe. To change one, describe the new behavior, or open its code with View code.
Do edge functions run while my project is paused?
Do edge functions run while my project is paused?
No. Edge functions are unavailable while a project is paused, so features that depend on them stop working until you resume the project. See Pause a database you’re not using.
Where do I see why a function failed?
Where do I see why a function failed?
Open the function and click View logs, which opens the Logs view filtered to that function. Each failed invocation includes the error output. You can also paste the error into the project chat and ask Lovable to fix it.
What are the limits for an edge function?
What are the limits for an edge function?
A project has a maximum number of edge functions, and a deploy fails once it reaches that number. A deployment timeout is not a limit on how long a function can run.If a function runs out of time or memory, or its bundle is too large to deploy, contact support for the figures that apply to your project. Edge function limits do not apply to your app’s own server code: see Where your app’s server code runs.
Can I deploy or roll back a single edge function?
Can I deploy or roll back a single edge function?
You can ask Lovable in the project chat to deploy one or more chosen functions.Restoring an earlier version of your project redeploys every edge function from that version, not one, and only when that version changes a function at all.A restore also fails outright when the project is already at its maximum number of functions. Your app’s server routes work differently: they are part of the app, so you roll one back by restoring and publishing an earlier version. See Where your app’s server code runs.