Sentiments

Get sentiment distribution stats

Changed on
post/dashboard/api/sentiment-stats

Request

  • Base URL
    https://api.agnost.ai
  • URL
    https://api.agnost.ai/dashboard/api/sentiment-stats
  • Auth
    • HTTP bearer and API key in header x-org-id
    • or API key in header x-api-key

Request body

time_range'1min' | '1h' | '1d' | '1w' | '1m' | 'all'
pageinteger
page_sizeinteger

Response

Sentiment distribution with counts per tag

total_analyzedinteger required
total_messagesinteger required

Changes