---
title: "Unarchive an agent conversation"
method: POST
path: "/agents/{agentKey}/conversations/{conversationId}/unarchive"
tags: ["Agents"]
---

# Unarchive an agent conversation

`POST /agents/{agentKey}/conversations/{conversationId}/unarchive`

Restores an archived agent conversation to the active list.

## Path parameters

- `agentKey` string, required
- `conversationId` string, objectId, required

## Response `200`

Conversation unarchived

- AgentConversationUnarchiveResponse — Envelope returned by `POST /agents/{agentKey}/conversations/{conversationId}/unarchive`.
  - `id` string, objectId, required
  - `status` 'unarchived', required
  - `unarchivedBy` string, objectId, required
  - `unarchivedAt` string, date-time, required
  - `meta` AgentConversationUnarchiveMeta, required — Request-scoped metadata returned by the unarchive route. `requestId` is omitted when upstream middleware did not attach one.
    - `requestId` string
    - `timestamp` string, date-time, required
    - `duration` integer, required

## Other responses

- `400` — Invalid path input or the conversation is not currently archived.
- `401` — Unauthorized
- `404` — Conversation not found

---

[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)
