---
title: "Consolidate Memories"
method: POST
path: "/agents/{agent_id}/memories/consolidate"
tags: ["agents"]
---

# Consolidate Memories

`POST /agents/{agent_id}/memories/consolidate`

Consolidate agent memories — merge duplicates and prune expired entries.

## Path parameters

- `agent_id` string, uuid, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/meganova/apis/fastapi.md) · [All operations](https://skmtc.dev/meganova/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc.dev/meganova/apis/fastapi/revisions/b57a65c0cc03?raw)
