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).
Authorizations
API Key or JWT User Token. If using an API Key, set the X-As-User header to act as a specific user. A JWT User Token is always scoped to a specific user.
Body
Request to store an emotional state extraction.
The conversation transcript to extract emotional state from.
Session identifier for the conversation.
Per-relationship scoping key (e.g. 'partner-anna', 'slack:C01234').
Custom metadata for filtering.