`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
const url = 'https://example.com/api/db-namespaces';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/db-namespacesResponses
Section titled “Responses”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" } ]}