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

# Migrate Import

`POST /api/ui/migrate/import`

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

---

[API](https://skmtc.net/moorcheh-ai/apis/memanto-memory-that-ai-agents-love.md) · [All operations](https://skmtc.net/moorcheh-ai/apis/memanto-memory-that-ai-agents-love/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/moorcheh-ai/memanto-memory-that-ai-agents-love/revisions/ff157f2fc5d5/schema)
