---
title: "Unarchive conversation"
method: PATCH
path: "/conversations/{conversationId}/unarchive"
tags: ["Conversations"]
---

# Unarchive conversation

`PATCH /conversations/{conversationId}/unarchive`

Restore an archived conversation.

- Path params: `conversationId`
- Query params: none
- Body: none

## Path parameters

- `conversationId` string, objectId, required

## Response `200`

Conversation unarchived successfully

- object
  - `id` string, objectId — Conversation identifier
  - `status` 'unarchived' — New archive status of the conversation
  - `unarchivedBy` string, objectId — User who unarchived the conversation
  - `unarchivedAt` string, date-time — Timestamp when the conversation was unarchived
  - `meta` object
    - `requestId` string — Request correlation identifier
    - `timestamp` string, date-time — Response generation timestamp
    - `duration` integer — Server processing time in milliseconds

## Other responses

- `400` — Conversation is not currently archived
- `401` — Unauthorized
- `403` — Forbidden - token is missing the `conversation:write` scope
- `404` — Conversation not found or caller lacks unarchive permission
- `500` — Persistence layer failed to update the conversation document.

---

[API](https://skmtc.net/pipeshub-ai/apis/pipeshub-api.md) · [All operations](https://skmtc.net/pipeshub-ai/apis/pipeshub-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pipeshub-ai/pipeshub-api/versions/abd27cfefc73/schema)
