Banks

Update bank configuration

Changed on

Update configuration overrides for a bank. Only hierarchical behavioral settings can be overridden (retention parameters, recall settings, etc.). Keys can be provided in Python field format (retain_extraction_mode) or environment variable format (HINDSIGHT_API_RETAIN_EXTRACTION_MODE).

patch/v1/default/banks/{bank_id}/config

Request

Path parameters

bank_idstring required

Headers

authorizationstring nullable

Request body

updatesobject required

Configuration overrides. Keys can be in Python field format (retain_extraction_mode) or environment variable format (HINDSIGHT_API_RETAIN_EXTRACTION_MODE). Only hierarchical fields can be overridden per-bank.

Example request

{
  "updates": {
    "retain_custom_instructions": "Extract technical details carefully",
    "retain_extraction_mode": "custom"
  }
}

Response

Successful Response

bank_idstring required

Bank identifier

configobject required

Fully resolved configuration with all hierarchical overrides applied (Python field names)

overridesobject required

Bank-specific configuration overrides only (Python field names)

Example response

{
  "bank_id": "my-bank",
  "config": {
    "retain_chunk_size": 3000,
    "retain_extraction_mode": "verbose"
  },
  "overrides": {
    "retain_extraction_mode": "verbose"
  }
}

Changes

    • warning

      removed the optional property // from the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status