---
title: "Import Threads"
method: POST
path: "/accounts/{account_id}/chat/threads/import"
tags: ["chat"]
---

# Import Threads

`POST /accounts/{account_id}/chat/threads/import`

## Request

- Base URL: `https://api.meetadmiral.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.meetadmiral.com/accounts/{account_id}/chat/threads/import`
- Auth: none declared

One-time migration path for the old localStorage transcripts.

## Path parameters

- `account_id` string, uuid, required

## Request body

- ImportRequest
  - `threads` ImportThread[], required
    - `title` string
    - `messages` ImportMessage[]
      - `role` string, required
      - `content` string, required
      - `steps` string[]
      - `error` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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