Actions28
- Chat Actions
- Chat History Actions
- Memory Actions
- Record Actions
- Record Schema Actions
- Claim Actions
Chat → Message a Model
AI-generatedSummary
Message a model, providing persistent context, memory recall, and conversation continuity
Inputs
- chatModel (required) — Model name to send in the chat request.
- chatSubjectId — Optional subject ID; if empty Mnexium creates one automatically.
- chatChatId — Optional chat ID; if empty a new chat ID is generated.
- chatUserMessage (required) — Text sent as a single user message; falls back to incoming JSON fields like message/text/input/prompt.
- chatLearn — Whether Mnexium should learn from this message.
- chatHistory — Whether to include prior chat history context.
- chatRecall — Whether to recall relevant saved memories.
- chatLog — Whether to include this request in Mnexium logs.
- chatSummarize — How Mnexium should summarize chat history.
- chatSystemPrompt — Optional prompt ID or leave empty for auto‑resolve.
- chatMemoryPolicy — Optional memory policy ID or leave empty for auto‑resolve.
- chatShowAdvancedOptions — Show additional chat options.
- chatRecordsRecall — Enable record recall context injection for this chat request.
- chatRecordsLearnMode — Set records extraction behavior for this request.
- chatRecordsTablesJson — Optional allowlist of table names used for records extraction.
- chatRecordsSync — If true, waits for records write completion before returning the response.
- chatRegenerateTrialKey — Trial users only; sends mnx.regenerate_key=true for this request.
Output shape
a single JSON object containing the model's response and context metadata
normally a single item; may include error details or pagination if the response is an array
Examples
Example 1: Send a user message to GPT‑4.1‑mini and receive a response
chatModel=gpt-4.1-mini, chatUserMessage=Hello, chatLearn=true, chatHistory=true
Example 2: Continue an existing chat using a saved Chat ID and recall memory
chatChatId=abc123, chatUserMessage=What did we discuss?, chatRecall=true, chatLearn=true
Example 3: Create a new chat with a subject and custom memory policy
chatSubjectId=sub_456, chatSystemPrompt=Support agent, chatMemoryPolicy=support_policy, chatLearn=true
