---
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 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.net/qomplement/apis/fastapi.md) · [All operations](https://skmtc.net/qomplement/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qomplement/fastapi/revisions/b6c76b02a94a/schema)
