---
title: "Download the coach's full conversation history as JSON"
method: GET
path: "/api/conversations/export"
tags: ["Conversations"]
---

# Download the coach's full conversation history as JSON

`GET /api/conversations/export`

## Request

- Base URL: `https://api.setluca.com`
- URL: `https://api.setluca.com/api/conversations/export`
- Auth: API key in cookie `luca.session_token`

The workspace's full conversation history as one JSON download. It's built for backup and migration, not for polling.

**Session-only.** This endpoint isn't on the API-key allowlist. An organization API key gets a 403 here, whatever scopes it holds.

## Headers

- `Luca-API-Version` '1'

## Response `200`

ok

- ConversationExportResponse
  - `exportedAt` string, required
  - `conversations` object[], required
    - `conversationId` string, required
    - `lead` object, required
      - `id` string, required
      - `name` string, nullable, required
      - `channel` string, nullable, required
    - `phase` string, required
    - `messages` object[], required
      - `id` string, required
      - `direction` string, required
      - `body` string, required
      - `channel` string, required
      - `sentAt` string, nullable, required

## Other responses

- `401`: unauthorized
- `429`: rate limited
- `500`: internal error
- `503`: service unavailable

---

[API](https://skmtc.dev/setluca/apis/luca-api.md) · [All operations](https://skmtc.dev/setluca/apis/luca-api/llms.txt) · [OpenAPI document](https://skmtc.dev/setluca/apis/luca-api/revisions/90a200e4100b?raw)
