v38

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-1793196344.2 KB
Emotional State

Store emotional state

Store a conversation transcript as emotional state and trigger indexing.

The conversation text is stored as a Vault resource in the _emotional_state collection and sent for indexing via the standard pipeline. Mood extraction happens asynchronously via the Hyperdoc pipeline (MoodExtractor).

post/emotional-state

Request body

conversationstring required

The conversation transcript to extract emotional state from.

session_idstring nullable

Session identifier for the conversation.

relationship_idstring nullable

Per-relationship scoping key (e.g. 'partner-anna', 'slack:C01234').

metadataobject nullable

Custom metadata for filtering.

Response

Successful Response

resource_idstring required
summarystring required
extracted_atstring required
session_idstring nullable required
relationship_idstring nullable required
statusstring required