Memory ingestion time-series
GET/v1/default/banks/{bank_id}/stats/memories-timeseriesMemories ingested over a period, bucketed by time and broken down by fact type.
Authentication required — include an
Authorization: Bearer hsk_...header. See Authentication for details.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
bank_id | string | Yes |
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
period | string | No |
Example Request
bash
curl -X GET 'https://api.hindsight.vectorize.io/v1/default/banks/your-bank-id/stats/memories-timeseries' \
-H 'Authorization: Bearer hsk_your_api_key'Responses
200 — Successful Response
json
{
"bank_id": "Bank Id",
"period": "Period",
"trunc": "Trunc",
"buckets": [
{
"time": "Time",
"world": 0,
"experience": 0,
"observation": 0
}
]
}422 — Validation Error
json
{
"detail": [
{
"loc": [
null
],
"msg": "Message",
"type": "Error Type",
"input": null,
"ctx": {},
"url": "URL"
}
]
}Source: /v1/default/banks/{bank_id}/stats/memories-timeseries