---
title: "Export conversations"
method: POST
path: "/api/v1/conversations/export"
tags: ["Conversations"]
---

# Export conversations

`POST /api/v1/conversations/export`

**Required scope:** `data`

## Request body

- ConversationExportRequest
  - `conversations` ConversationRef[]
    - `user_id` string, required
    - `cid` string, required
  - `conversation_ids` string[]
  - `format` 'json' | 'markdown'

## Response `200`

Exported conversation data

---

[API](https://skmtc.net/astrbotdevs/apis/astrbot-openapi-v1.md) · [All operations](https://skmtc.net/astrbotdevs/apis/astrbot-openapi-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/astrbotdevs/astrbot-openapi-v1/revisions/4463c5ffdb9c/schema)
