Skip to main content
The Edge Functions primitive operates on a fullstack app’s managed backend. Management operations (list/get/deploy) use the backend management API via the apps backend proxy; invocation uses the project’s /functions/v1 endpoint. App-scoped, on both the company mount and per-user mount; the kit must enable the functions primitive on per-user mounts.

Endpoints

CLI equivalents:
Upstream POST …/functions/deploy is multipart-only. The apps Supabase proxy accepts agent-friendly JSON (files: [{ name, content }]) and translates it into metadata + one file part per source (same shape as supabase functions deploy --use-api). Omitting files on deploy injects a hello stub; omitting body on create does the same — never an opaque unknown error.

SDK

See the Edge Functions guide and the functions sub-client.