Skip to main content
// List + invoke — auto-resolves the user's single fullstack app (or pass { appId })
await naive.functions.list();
await naive.functions.get("hello");
const result = await naive.functions.invoke("hello", { name: "world" });

// Deploy (advanced — caller supplies the Management API body)
await naive.functions.deploy({ slug: "hello", name: "hello", verify_jwt: true, body: "..." });
Requires a type: "fullstack" app. Per-user and AccountKit-gated: naive.functions or naive.forUser(id).functions. Deployment bundling (eszip) is the caller’s responsibility; most teams deploy from their app repo and use this to invoke. See the Edge Functions guide.