Behavior
Use this endpoint when an app is stuck inerror or provisioning status, or is missing provider infrastructure (e.g. an active fullstack app whose background Supabase provisioning failed). It checks which provider links are missing and re-provisions them:
- No Vercel project linked → creates the Vercel project, seeds
NEXT_PUBLIC_APP_URL, and links it. - Fullstack with no Supabase project linked → starts Supabase provisioning in the background (the
supabaseobject appears onGET /v1/apps/:idonce healthy). - Already-linked infrastructure is left untouched.
active.
Response Fields
| Field | Values | Meaning |
|---|---|---|
vercel | ok, created | ok = already linked; created = re-provisioned now |
supabase | ok, provisioning, not_applicable | provisioning = re-provisioning started in background; not_applicable = frontend_only app |
Errors
400
502