Banks
Update bank configuration
Changed onUpdate 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
- Base URLhttps://hindsight.vectorize.io (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
bank_idstring required
Headers
authorizationstring nullable
Request body
Example request
{
"updates": {
"retain_custom_instructions": "Extract technical details carefully",
"retain_extraction_mode": "custom"
}
}Response
Successful Response
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
- warning
- 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
- info