---
title: "Import Mind Artifact"
method: POST
path: "/api/agents/import-mind"
tags: ["mind-transplant"]
---

# Import Mind Artifact

`POST /api/agents/import-mind`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/agents/import-mind`
- Auth: none declared

Import a ``.tqmind``.

Default (no ``target_agent_id``): mint a brand-new agent owned by the caller.
With ``target_agent_id``: graft the donor mind onto that existing agent the
caller owns - ``mode=replace`` (snapshot then wipe) or ``mode=merge``
(non-destructive union). Defaults to ``replace`` when grafting.

## Headers

- `x-impersonate-identity-id` string, nullable

## Response `201`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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