---
title: "Save Chat Message"
method: POST
path: "/chat/sessions/{session_uuid}/save-message"
tags: ["chat"]
---

# Save Chat Message

`POST /chat/sessions/{session_uuid}/save-message`

## Request

- Base URL: `https://api.fincept.in` (the document declares no server; this is the origin it was published from)
- URL: `https://api.fincept.in/chat/sessions/{session_uuid}/save-message`
- Auth: API key in header `X-API-Key`

Save a message — kept for transition. Deduplicates against auto-persisted messages.

## Path parameters

- `session_uuid` string, required

## Request body

- ChatMessageSave: Save a message (deprecated — backend now auto-persists from /agent/stream).
  - `role` string
  - `content` string, required
  - `provider` string, nullable
  - `model` string, nullable
  - `tokens_used` integer, nullable
  - `response_time_ms` integer, nullable
  - `tool_calls` string, nullable
  - `metadata` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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