AI Chat Interface for PostgreSQL Databases

b0a78b17-6922-4764-8dd5-2e07046477f9

Latency
3682ms
Cost
$0.0007
Tokens
374
Status
success
gemini-3-flash-preview

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "6501a54f-a68c-452d-b353-d7e871ca3780",
    "timestamp": 1783445973734
  },
  {
    "data": {
      "kind": "@n8n/n8n-nodes-langchain.chatTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783445973734
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "6501a54f-a68c-452d-b353-d7e871ca3780",
    "timestamp": 1783445973734
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "8accbeeb-7eaf-4e9e-aabc-de8ab3a0459b",
    "timestamp": 1783445973735
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783445973735
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783445973735
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0005778,
      "provider": "openai",
      "latencyMs": 1894,
      "promptTokens": 1,
      "completionTokens": 231
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783445975629
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "8accbeeb-7eaf-4e9e-aabc-de8ab3a0459b",
    "timestamp": 1783445975629
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "11f2013f-a080-4c9e-8773-c90492e2c628",
    "timestamp": 1783445975631
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "postgres",
      "latencyMs": 0,
      "operation": "executeQuery",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783445975631
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "11f2013f-a080-4c9e-8773-c90492e2c628",
    "timestamp": 1783445975631
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "0df33341-c859-4a54-b6d9-a99670e8d76d",
    "timestamp": 1783445975632
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783445975632
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "0df33341-c859-4a54-b6d9-a99670e8d76d",
    "timestamp": 1783445975632
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "c18ced71-6330-4ba0-9c52-1bb5852b3039",
    "timestamp": 1783445975633
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "postgres",
      "latencyMs": 0,
      "operation": "executeQuery",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783445975633
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "c18ced71-6330-4ba0-9c52-1bb5852b3039",
    "timestamp": 1783445975633
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "557623c6-e499-48a6-a066-744f64f8b6f3",
    "timestamp": 1783445975634
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "postgres",
      "latencyMs": 0,
      "operation": "executeQuery",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783445975634
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "557623c6-e499-48a6-a066-744f64f8b6f3",
    "timestamp": 1783445975634
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "cd32221b-2a36-408d-b57e-8115fcd810c9",
    "timestamp": 1783445975635
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783445975635
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783445975635
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0000844,
      "provider": "openai",
      "latencyMs": 1781,
      "promptTokens": 123,
      "completionTokens": 19
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783445977416
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "cd32221b-2a36-408d-b57e-8115fcd810c9",
    "timestamp": 1783445977416
  }
]