---
title: "Archive Segment Endpoint"
method: POST
path: "/api/agent-chat/segments/{segment_id}/archive"
tags: ["Agent Chat"]
---

# Archive Segment Endpoint

`POST /api/agent-chat/segments/{segment_id}/archive`

Archive a campaign from ANY live status — makes it inert everywhere
(no sending, no enqueue, no autopilot replies, no budget/priority share,
retro leaves it alone) and hides it from the sidebar. Reversible via
/unarchive. Interrupts any live agent turn first, like /stop.

## Path parameters

- `segment_id` string, required

## Cookies

- `ex_access` string, nullable
- `ex_org` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/explee/apis/explee-api.md) · [All operations](https://skmtc.dev/explee/apis/explee-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/explee/explee-api/revisions/f169bc6e9447/schema)
