SOPs

Get SOP violation distribution stats

Changed on

Mirrors /sentiment-stats. Returns total analyzed events, total events in the time range, top violating SOPs, and the full SOP distribution.

post/dashboard/api/sop-stats

Request

  • Base URL
    https://api.agnost.ai
  • URL
    https://api.agnost.ai/dashboard/api/sop-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

SOP distribution with counts per SOP title

total_analyzedinteger required
total_messagesinteger required

Changes