Skip to content

Type Alias: CreateDatabaseRequest

type CreateDatabaseRequest = object;

Defined in: packages/sdk/src/index.ts:204

Body for client.createDatabase() — goal-first (goal drives the engine classifier) with an optional explicit engine override.

Property Type Description Defined in
engine? Engine SK-DB-010 — explicit engine override. When omitted the API runs the SK-MULTIENG-002 classifier on goal text. Power-user escape hatch per GLOBAL-015; absent path is the goal-first default per GLOBAL-020. The API rejects unknown engines with invalid_engine (400). packages/sdk/src/index.ts:212
goal? string - packages/sdk/src/index.ts:206
name? string - packages/sdk/src/index.ts:205
preset? "agent_memory_v1" SK-HDC-020 — opt-in preset that pins a deterministic schema (no goal-inference, no LLM). Currently the only allowed value is "agent_memory_v1" — the four-table memory schema nlqdb_remember writes into. Mutually exclusive with engine (the preset pins postgres). Server rejects with preset_disabled (deployment flag off), invalid_preset, or preset_engine_conflict (400). packages/sdk/src/index.ts:219