---
title: "Weekly Storage vs Retrieval counts for a space"
method: GET
path: "/api/v1/activity/weekly-summary"
tags: ["activity"]
---

# Weekly Storage vs Retrieval counts for a space

`GET /api/v1/activity/weekly-summary`

Rolling counts from durable activity events (last `window_days`, UTC). Requires a space the user can access.

## Query parameters

- `space_id` string, required — Space ID to scope counts
- `window_days` integer — Rolling window in days

## Response `200`

Successful Response

- WeeklyActivitySummaryResponse — Rolling-window counts for dashboard Storage vs Retrieval (space-scoped).
  - `storage_this_week` integer, required — Successful create/update/delete events in the window
  - `retrieval_this_week` integer, required — Successful search/list/get memory reads in the window
  - `window_days` integer

## Other responses

- `401` — Unauthorized
- `422` — Validation Error

---

[API](https://skmtc.net/memara/apis/memara-api.md) · [All operations](https://skmtc.net/memara/apis/memara-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/memara/memara-api/revisions/4dc7c4418845/schema)
