---
title: "Import Agent"
method: POST
path: "/v1/agents/import"
tags: ["agents"]
---

# Import Agent

`POST /v1/agents/import`

Import a serialized agent file and recreate the agent(s) in the system.
Returns the IDs of all imported agents.

## Headers

- `x-override-embedding-model` string, nullable

## Response `200`

Successful Response

- ImportedAgentsResponse — Response model for imported agents
  - `agent_ids` string[], required — List of IDs of the imported agents

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/yu-code666/apis/letta-api.md) · [All operations](https://skmtc.net/yu-code666/apis/letta-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/yu-code666/letta-api/versions/6cec99480c13/schema)
