---
title: "Memory ingestion time-series"
method: GET
path: "/v1/default/banks/{bank_id}/stats/memories-timeseries"
tags: ["Banks"]
---

# Memory ingestion time-series

`GET /v1/default/banks/{bank_id}/stats/memories-timeseries`

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

Memories ingested over a period, bucketed by time and broken down by fact type.

## Path parameters

- `bank_id` string, required

## Query parameters

- `period` string
- `time_field` string: Timestamp column to bucket on. `created_at` (default) = ingest time; `mentioned_at` / `occurred_start` = event time, useful for migrated corpora where ingest time is a single point and doesn't reflect the underlying knowledge timeline. Unknown values fall back to `created_at`.

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- MemoriesTimeseriesResponse: Time-series of memory ingestion bucketed by time and fact type.
  - `bank_id` string, required
  - `period` string, required: One of: 1h, 12h, 1d, 7d, 30d, 90d.
  - `trunc` string, required: Bucket granularity: minute, hour, day.
  - `time_field` string: Timestamp column used to assign each row to a bucket. `created_at` shows ingest time; `mentioned_at` / `occurred_start` show event time (falls back to `created_at` per row when null).
  - `buckets` MemoryTimeseriesBucket[]: Per-bucket counts, always returned fully padded for the requested period.
    - `time` string, required: Bucket start timestamp in ISO-8601 (UTC).
    - `world` integer: World-fact memories ingested in this bucket.
    - `experience` integer: Experience memories ingested in this bucket.
    - `observation` integer: Observations recorded in this bucket.

## Other responses

- `404`: The bank does not exist.
- `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 the non-success response with the status `404`
- **2026-05-15** `0d08f271b9db`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/vectorize/apis/hindsight-http-api/changes/v1/default/banks/:bank_id/stats/memories-timeseries/get.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/951fd4ce91d1?raw)
