Skip to content
Select themeSelect language

`GET /api/db-namespaces` — the active workspace's recorded database namespaces (handle + schema). Read-tier (`WorkspaceAction::Read`): the rows carry no secret material, only the workspace's own control-plane namespace names, and every member who may reach the install wizard may read them.

GET
/api/db-namespaces
curl --request GET \
--url https://example.com/api/db-namespaces
Media typeapplication/json

GET /api/db-namespaces body — the standard {items, …} list envelope.

object
items
required
Array<object>

One workspace namespace as the install wizard’s schema select consumes it: the stable handle (label) and the physical schema name it owns. No resource id, no secret material — the workspace’s own control-plane names.

object
handle
required
string
schema
required
string
Examplegenerated
{
"items": [
{
"handle": "example",
"schema": "example"
}
]
}