CognitiveX Docs
API

GET /api/introspect/mood

Get Mood Snapshot

GET /api/introspect/mood

Get Mood Snapshot

Authentication: Authorization: Bearer <key> or X-API-Key: <key>. Create keys at developers.cognitivx.io/keys.

Parameters

NameInTypeRequiredDescription
X-Org-IDheaderstring | nullNo-

Example request

curl -X GET https://api.cognitivx.io/api/introspect/mood \
  -H "Authorization: Bearer icog_..."

Example response

200 application/json

{
  "instant": {
    "valence": 0,
    "arousal": 0,
    "dominance": 0,
    "message_count": 10,
    "ema_alpha": null,
    "last_updated": null
  },
  "session": {
    "valence": 0,
    "arousal": 0,
    "dominance": 0,
    "message_count": 10,
    "ema_alpha": null,
    "last_updated": null
  },
  "persistent": {
    "valence": 0,
    "arousal": 0,
    "dominance": 0,
    "message_count": 10,
    "ema_alpha": null,
    "last_updated": null
  },
  "effective": {
    "valence": 0,
    "arousal": 0,
    "dominance": 0,
    "weights": {},
    "mood_active": false
  }
}

Responses

StatusDescription
200Success. Returns the response body shown below.
422Request validation failed. detail lists each offending field.