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

---

[API](https://skmtc.net/netxms/apis/netxms-api.md) · [All operations](https://skmtc.net/netxms/apis/netxms-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/netxms/netxms-api/versions/14d93e5115dd/schema)
