osirAppProvisionDatabase
osirAppProvisionDatabase: Provision a managed Postgres database for an Osir app. The connection string is stored as the app's DATABASE_URL secret (encrypted, injected on the next osirAppDeploy) and is NEVER returned. Requires authentication.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | App id from osirAppList. | |
| engine | No | Database engine; only 'postgres' (the default) is supported. | |
| sessionKey | No | Session key (osk_...) returned by checkDeviceLoginStatus. Pass it on every call when logged in via the in-chat device flow; omit when connected via OAuth. |