Try our new Setup Skill to automatically integrate Hyperspell into your project
curl --request POST \
--url https://api.hyperspell.com/emotional-state \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"conversation": "<string>",
"session_id": "<string>",
"relationship_id": "<string>",
"metadata": {}
}
'{
"resource_id": "<string>",
"summary": "<string>",
"extracted_at": "<string>",
"session_id": "<string>",
"relationship_id": "<string>",
"status": "<string>"
}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).
curl --request POST \
--url https://api.hyperspell.com/emotional-state \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"conversation": "<string>",
"session_id": "<string>",
"relationship_id": "<string>",
"metadata": {}
}
'{
"resource_id": "<string>",
"summary": "<string>",
"extracted_at": "<string>",
"session_id": "<string>",
"relationship_id": "<string>",
"status": "<string>"
}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.
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.
Show child attributes
Was this page helpful?