---
title: "Archive Conversation"
method: POST
path: "/trips/{trip_id}/conversations/{conversation_id}/archive"
---

# Archive Conversation

`POST /trips/{trip_id}/conversations/{conversation_id}/archive`

## Request

- Base URL: `https://stardrift.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://stardrift.ai/trips/{trip_id}/conversations/{conversation_id}/archive`
- Auth: none declared

Take a conversation off this trip's page.

What that MEANS depends on the link, because the roster now lists chats
this trip does not own. A chat filed here (primary) is archived, as it
always was. A chat that merely REFERENCED this trip loses the reference row
instead: archiving is global, so archiving one would silently pull a chat
off the user's phone because they tidied a trip page on the laptop. Both
arms leave the trip page, which is the whole of the caller's intent.

## Path parameters

- `trip_id` string, required
- `conversation_id` string, required

## Response `200`

Successful Response

- MessageResponse
  - `message` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/stardrift/apis/stardrift-api.md) - [All operations](https://skmtc.dev/stardrift/apis/stardrift-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stardrift/apis/stardrift-api/revisions/be9ed1e6c38a?raw)
