# POST /api/ai-help/messages

POST /api/ai-help/messages

Canonical URL: https://opennodeflow.dev/wiki/api-post-api-ai-help-messages/
JSON reference: https://opennodeflow.dev/wiki/api-post-api-ai-help-messages/index.json
Source snapshot: 2026-10-23

POST /api/ai-help/messages



```http
POST /api/ai-help/messages
```


## Contract

`{requestId,conversationId,mode,message,thinking,context}`; UUID identifiers generated before sending; message up to 20,000 characters; mode `help` (default) or `executor`; thinking `low`, `medium`, `high` or `xhigh`, defaulting to Medium for Help and High for Executor. Context contains optional workspace/workflow IDs, saved workflow revision, selected node IDs and view. Accepts asynchronous work with HTTP 202 and returns its request.

## Request



```json
{
  "path": [],
  "query": [],
  "body": []
}
```



## Response



```json
{
  "statuses": [
    202
  ],
  "fields": []
}
```



## Guard

Trusted-host Host/Origin boundary; per-route revision, version and validation checks apply.

## Use this endpoint

The base URL is your own ONF host, for example `http://localhost:4310`. Read [HTTP API usage](/wiki/http-api/) for request bodies, revision guards, accepted-run behavior and errors.

A source-registered route is not a promise that every real provider or every input combination has been tested. Use [agent safety](/wiki/agent-safety/) when an operation can run code or change external systems.

---

## Documentation provenance

- `server/ai-help.ts`

This page describes maintained source, not a live inventory or an authorization to perform actions.
