---
title: "Trigger consolidation"
method: POST
path: "/v1/default/banks/{bank_id}/consolidate"
tags: ["Banks"]
---

# Trigger consolidation

`POST /v1/default/banks/{bank_id}/consolidate`

## 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}/consolidate`
- Auth: none declared
- TypeScript: <https://skmtc.dev/vectorize/apis/hindsight-http-api/docs/v1/default/banks/:bank_id/consolidate/post.ts> (a function with typed inputs; its response is checked against the schema)

Run memory consolidation to create/update observations from recent memories.

## Path parameters

- `bank_id` string, required

## Headers

- `authorization` string, nullable

## Request body

- ConsolidationRequest: Request model for consolidation trigger endpoint.
  - `observation_scopes` array[], nullable: Optional list of tag scopes to consolidate. Each scope is a list of tags. Only unconsolidated memories whose tags contain all tags in at least one scope will be processed. If omitted, all unconsolidated memories are processed.
    - string[]

## Response `200`

Successful Response

- ConsolidationResponse: Response model for consolidation trigger endpoint.
  - `operation_id` string, required: ID of the async consolidation operation
  - `deduplicated` boolean: True if an existing pending task was reused

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-04** `4fda98b75f63`: 1 warning, 1 info
  - removed the optional property `detail/items/url` from the response with the `422` status
  - added optional request body
- **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/consolidate/post.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)
