---
title: "Save Chat Session"
method: POST
path: "/api/workflows/chat/sessions"
tags: ["Workflows"]
---

# Save Chat Session

`POST /api/workflows/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/workflows/chat/sessions`
- Auth: HTTP bearer

Save or update a workflow AI chat session.

## Request body

- ChatSessionSave: Request model for saving a chat session
  - `session_id` string, nullable
  - `workflow_id` string, nullable
  - `title` string, nullable
  - `messages` object[]
  - `generated_workflows` object[]

## 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)
