The node publishes no summary for this operation.
| |
|---|
| Method | POST |
| Path | /api/msg/ai/chat |
| Feature area | Messenger |
| Tag | Other |
| Auth | machine key — Authorization: Bearer $ZEQ_KEY |
| Tier | authenticated (machine-control) |
Parameters
This operation publishes no path, query or header parameters.
Request body
Optional. Content type: application/json.
The node publishes this body as a free-form JSON object — no field schema is exposed in openapi.json.
Send the fields the summary above describes; the endpoint validates them and refuses rather than guessing.
Responses
| Status | Meaning |
|---|
200 | OK |
400 | Bad request — a parameter or body field is missing or malformed |
401 | Missing or invalid credentials |
428 | Precondition required |
500 | Server error |
502 | Upstream error |
400 body
| Field | Type | Required | Description |
|---|
ok | boolean — one of false | yes | — |
error | string | no | Human-readable message. |
code | string | no | Stable machine-readable code, e.g. ADMIN_REQUIRED, INVALID_ZID, ZID_NOT_LINKED. |
401 body
| Field | Type | Required | Description |
|---|
ok | boolean — one of false | yes | — |
error | string | no | Human-readable message. |
code | string | no | Stable machine-readable code, e.g. ADMIN_REQUIRED, INVALID_ZID, ZID_NOT_LINKED. |
428 body
| Field | Type | Required | Description |
|---|
ok | boolean — one of false | yes | — |
error | string | no | Human-readable message. |
code | string | no | Stable machine-readable code, e.g. ADMIN_REQUIRED, INVALID_ZID, ZID_NOT_LINKED. |
500 body
| Field | Type | Required | Description |
|---|
ok | boolean — one of false | yes | — |
error | string | no | Human-readable message. |
code | string | no | Stable machine-readable code, e.g. ADMIN_REQUIRED, INVALID_ZID, ZID_NOT_LINKED. |
502 body
| Field | Type | Required | Description |
|---|
ok | boolean — one of false | yes | |