---
title: "Save Document Chat Session"
method: POST
path: "/api/batch/document-chat/sessions"
tags: ["Batch Processing"]
---

# Save Document Chat Session

`POST /api/batch/document-chat/sessions`

## Request

- Base URL: `https://api.qomplement.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.qomplement.com/api/batch/document-chat/sessions`
- Auth: HTTP bearer

## Request body

- DocumentChatSessionSave
  - `session_id` string, nullable
  - `document_name` string
  - `batch_id` string, nullable
  - `document_id` string, nullable
  - `messages` object[]
  - `title` string, nullable
  - `extracted_data` object
  - `has_charts` boolean
  - `has_files` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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