---
title: "Dehydrate Memory"
method: POST
path: "/api/aaas/memory/dehydrate"
tags: ["AaaS"]
---

# Dehydrate Memory

`POST /api/aaas/memory/dehydrate`

## Request

- Base URL: `https://api.kojiru.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kojiru.com/api/aaas/memory/dehydrate`
- Auth: none declared

Compress an agent's experience into a portable 'Lessons Learned' pack.

## Request body

- MemoryDehydrateRequest
  - `agent_address` string, required
  - `agent_name` string
  - `max_lessons` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kojiru/apis/kojiru-api.md) · [All operations](https://skmtc.dev/kojiru/apis/kojiru-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kojiru/apis/kojiru-api/revisions/7974409f57cd?raw)
