Banks

Test the bank's LLM connectivity

Changed on

Probe the LLMs this bank would use for retain / consolidation / reflect with one minimal call each (configs shared across operations are probed once), so you can discover 'not configured / unreachable' instead of a silent stall. Deliberate action (makes a real provider call); not for polling. Returns status only — never the provider, model, endpoint, API key, or raw error. Disable with HINDSIGHT_API_ENABLE_BANK_LLM_HEALTH=false.

post/v1/default/banks/{bank_id}/health/llm

Request

Path parameters

bank_idstring required

Headers

authorizationstring nullable

Response

Successful Response

bank_idstring required

Bank identifier

Example response

{
  "bank_id": "user123",
  "operations": [
    {
      "latency_ms": 412,
      "ok": true,
      "operation": "retain",
      "status": "connected"
    },
    {
      "latency_ms": 412,
      "ok": true,
      "operation": "consolidation",
      "status": "connected"
    },
    {
      "ok": false,
      "operation": "reflect",
      "status": "not_configured"
    }
  ]
}

Changes