---
title: "Migrate Import"
method: POST
path: "/api/ui/migrate/import"
tags: ["Web UI"]
---

# Migrate Import

`POST /api/ui/migrate/import`

## Request

- The document declares no server URL.
- Auth: none declared

Run an end-to-end migration.

Body: ``{provider, file?, api_key?, agent_id?}``. Loads-or-exports,
maps, chunks at 100/req, and writes via ``DirectClient.batch_remember``.
Returns numeric summary only — no LLM narrative.

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-06-26** `ef6e8ba211db`: 1 info
  - endpoint added
- **2026-06-23** `3f3d8570f1a6`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/moorcheh-ai/apis/memanto-memory-that-ai-agents-love/changes/api/ui/migrate/import/post.md)

---

[API](https://skmtc.dev/moorcheh-ai/apis/memanto-memory-that-ai-agents-love.md) - [All operations](https://skmtc.dev/moorcheh-ai/apis/memanto-memory-that-ai-agents-love/llms.txt) - [OpenAPI document](https://skmtc.dev/moorcheh-ai/apis/memanto-memory-that-ai-agents-love/revisions/ef842776283e?raw)
