Skip to content
Select themeSelect language

`POST /api/apps` -- create an App. Validates name + manifest_yaml up front so a 400 surfaces before the DB; a name collision returns 400 with a clear message.

POST
/api/apps
curl --request POST \
--url https://example.com/api/apps \
--header 'Content-Type: application/json' \
--data '{ "description": "example", "manifest_yaml": "example", "name": "example" }'
Media typeapplication/json
object
description
string | null
manifest_yaml

YAML manifest text. Defaults to an empty string – the user can author the manifest after the App is created.

string
name
required
string
Examplegenerated
{
"description": "example",
"manifest_yaml": "example",
"name": "example"
}
Media typeapplication/json

Wire-shape App view returned by every HTTP handler. Mirrors the DB row 1:1; the created_by is included so the UI can show “Created by you” without a second lookup.

object
app_db_resource_id

ADR 0023 v4 / S2c – when set, runs of this App auto-inject SET LOCAL supacloud.app_id against connections to this Resource and the App’s per-App app_<slug> schema is bootstrapped on save.

string | null format: uuid
created_at
required
string format: date-time
created_by
string | null format: uuid
description
string | null
framework
required

ADR 0030 – build framework: plain | react | svelte.

string
id
required
string format: uuid
manifest_yaml
required
string
name
required
string
slug
required
string
updated_at
required
string format: date-time
workspace_id
required
string format: uuid
Examplegenerated
{
"app_db_resource_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"created_at": "2026-04-15T12:00:00Z",
"created_by": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"description": "example",
"framework": "example",
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"manifest_yaml": "example",
"name": "example",
"slug": "example",
"updated_at": "2026-04-15T12:00:00Z",
"workspace_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}