/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
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
functions sub-client.