Aletheia Support

Send a chat-native turn to the in-product Aletheia assistant.

DARK MVP (issue #2195): normalizes the chat-native message and runs it through the SAME answer-core the voice adapter uses, returning a chat-shaped result. Gated behind ALETHEIA_SUPPORT_MVP_ENABLED + the ALETHEIA_SUPPORT_ALLOWLIST identity allowlist (src/aletheia-support/gate.ts; defaults to the whole @mnemom.ai domain, and may be set to * to admit every authenticated identity) — every caller the gate doesn't allow (no user, wrong identity, or flag off) gets an identical 404, never a 401/403 that would reveal the route's existence or gating reason. Binds the real grounded answer core (makeGroundedAnswerCore); the fail-closed denyAnswerCore it originally shipped with was replaced when MNE-1937 landed.

post/aletheia-support/chat

Request

  • Base URL: https://api.mnemom.ai/v1
  • URL: https://api.mnemom.ai/v1/aletheia-support/chat
  • Auth: none required

Request body

messagestring required

The caller's chat turn. Must be a non-empty string.

session_idstring

Optional chat session id.

localestring

Optional BCP-47 locale.

Response

The core's answer, chat-shaped. refused:true means the core (or the adapter's length guard) withheld an ungrounded answer; answer is then a fixed canned refusal string, never model-generated.

answerstring required
refusedboolean required
refusalReasonstring

Changes

No recorded changes to this operation across all 1 revision of this API.