---
title: "Convert History Export Pdf"
method: POST
path: "/api/chat/history.pdf"
tags: ["Chat"]
---

# Convert History Export Pdf

`POST /api/chat/history.pdf`

Export Conversation History to PDF.

## Request body

- ChatHistoryConversationInputSchema — Schema for conversation history input.
  - `bot_id` string, uuid, required — Unique identifier for the associated bot.
  - `user_id` string, uuid, nullable — Optional user identifier associated with the conversation.
  - `order` string, nullable — Optional order for sorting the conversation.
  - `date_from` string, date-time, nullable — Optional start date for filtering the conversation.
  - `date_to` string, date-time, nullable — Optional end date for filtering the conversation.

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/chat-fly/apis/chatfly-backend-application.md) · [All operations](https://skmtc.net/chat-fly/apis/chatfly-backend-application/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chat-fly/chatfly-backend-application/revisions/cbb37496f138/schema)
