---
title: "Create Archived Chat"
method: POST
path: "/workspaces/{workspace_id}/chat-archive"
tags: ["chat-archive"]
---

# Create Archived Chat

`POST /workspaces/{workspace_id}/chat-archive`

## Path parameters

- `workspace_id` string, uuid, required

## Request body

- CreateArchivedChatRequest
  - `population_id` string, uuid, required
  - `persona_id` string, uuid, nullable
  - `chat_id` string, uuid, nullable
  - `title` string, nullable
  - `chat_name` string, nullable

## Response `200`

Successful Response

- ArchivedChat — The one chat shape, used internally and on the wire. The first eight fields are `chat_archive_chats` table columns; the rest are computed when the row is fetched (see `shape_chats`).
  - `id` string, uuid, required
  - `owner_id` string, uuid, required
  - `workspace_id` string, uuid, required
  - `population_id` string, uuid, required
  - `persona_id` string, uuid, nullable, required
  - `chat_name` string, required
  - `created_at` string, required
  - `updated_at` string, required
  - `population_name` string, nullable, required
  - `persona_name` string, nullable, required
  - `can_write` boolean, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/useauxos/apis/auxos.md) · [All operations](https://skmtc.dev/useauxos/apis/auxos/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/useauxos/auxos/revisions/2f853c0b59f4/schema)
