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. Required: appId (string). Optional: engine ('postgres', default). Requires authentication.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | ||
| engine | No | ||
| 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. |