---
title: "Send message to AI chat"
method: POST
path: "/v1/ai/chat/{chat-id}/message"
tags: ["AI Chat"]
---

# Send message to AI chat

`POST /v1/ai/chat/{chat-id}/message`

Send a message to the AI assistant. Returns 202 Accepted and processes
asynchronously. Use GET /v1/ai/chat/{chat-id}/status to poll for result.

## Path parameters

- `chat-id` integer, required

## Request body

- object
  - `message` string, required — Message text to send to AI assistant
  - `context` object — Optional context object passed to the AI assistant

## Response `202`

Message accepted for processing

- object
  - `status` 'processing'

## Other responses

- `400` — Invalid chat ID or missing message
- `401` — Unauthorized
- `403` — Access denied
- `404` — Chat session not found
- `409` — Another request is already in progress
- `503` — AI assistant is not available

## Changes

- **2026-09-17** `a81265c49fa9` — 1 info
  - added the non-success response with the status `503`

[Change history](https://skmtc.dev/netxms/apis/netxms-api/changes/v1/ai/chat/:chat-id/message/post.md)

---

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