---
title: "Send Message"
method: POST
path: "/api/chat/sessions/{session_id}/messages"
tags: ["chat"]
---

# Send Message

`POST /api/chat/sessions/{session_id}/messages`

## Request

- Base URL: `https://api.stellara.natlex.it` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stellara.natlex.it/api/chat/sessions/{session_id}/messages`
- Auth: HTTP bearer

Send a message and receive an AI assistant reply.

## Path parameters

- `session_id` integer, required

## Request body

- ChatMessageRequest
  - `message` string, required

## Response `200`

Successful Response

- ChatMessageResponse
  - `reply` string, required
  - `session_id` integer, required
  - `message_id` integer, required

## Other responses

- `422`: Validation Error

---

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