ChatDB Bridge

Controlled read-only API bridge for ChatGPT Actions and local PostgreSQL.

Status

Health endpoint: /health

GPT Action schema: /openapi.json

Click “Check health”.

Local API tester

Use your BRIDGE_API_KEY for GPT-safe endpoints. Use BRIDGE_ADMIN_KEY only for admin/raw SQL testing if enabled.

Results will appear here.

Recommended GPT flow

  1. Call listTables.
  2. Call describeTable for any table that looks relevant.
  3. Use searchTableText, getRowsByValue, getRecentRows, or your custom named queries.
  4. Do not expose raw SQL to the GPT unless you intentionally enable it.