---
title: "Update bank configuration"
method: PATCH
path: "/v1/default/banks/{bank_id}/config"
tags: ["Banks"]
---

# Update bank configuration

`PATCH /v1/default/banks/{bank_id}/config`

## Request

- Base URL: `https://hindsight.vectorize.io` (the document declares no server; this is the origin it was published from)
- URL: `https://hindsight.vectorize.io/v1/default/banks/{bank_id}/config`
- Auth: none declared
- TypeScript: <https://skmtc.dev/vectorize/apis/hindsight-http-api/docs/v1/default/banks/:bank_id/config/patch.ts> (a function with typed inputs; its response is checked against the schema)

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).

## Path parameters

- `bank_id` string, required

## Headers

- `authorization` string, nullable

## Request body

- BankConfigUpdate: Request model for updating bank configuration.
  - `updates` object, 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.

## Response `200`

Successful Response

- BankConfigResponse: Response model for bank configuration.
  - `bank_id` string, required: Bank identifier
  - `config` object, required: Fully resolved configuration with all hierarchical overrides applied (Python field names)
  - `overrides` object, required: Bank-specific configuration overrides only (Python field names)

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-04** `4fda98b75f63`: 1 warning
  - removed the optional property `detail/items/url` from the response with the `422` status
- **2026-05-15** `0d08f271b9db`: 3 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
  - added the optional property `detail/items/url` to the response with the `422` status

[Operation history](https://skmtc.dev/vectorize/apis/hindsight-http-api/changes/v1/default/banks/:bank_id/config/patch.md)

---

[API](https://skmtc.dev/vectorize/apis/hindsight-http-api.md) - [All operations](https://skmtc.dev/vectorize/apis/hindsight-http-api/llms.txt) - [OpenAPI document](https://skmtc.dev/vectorize/apis/hindsight-http-api/revisions/45e711cd0897?raw)
