Skip to main content

Request Body

Behavior

Create works standalone — no agent container or orchestration required.
  • Managed hosting is created (Next.js framework), named naive-{slug}-{shortId}, with a default production domain of {projectName}.vercel.app.
  • The response’s template block tells you what to clone to start building (templates). workspaceMode is "local" (direct mode) or "container".
  • NEXT_PUBLIC_APP_URL is set automatically for both preview and production.
  • When the company has an agent container (workspaceMode: "container"): a dedicated engineer agent is provisioned and the starter template is scaffolded into its workspace. Without one, the agent is registered as pending and orchestration adopts the app later.
  • fullstack only: a managed backend is provisioned asynchronously in the background. Once healthy, NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY are injected automatically, and the supabase object appears on GET /v1/apps/:id.
If backend provisioning fails, use POST /v1/apps/:id/retry.

Errors

400
502