SOPs

Get assistant messages matching a specific SOP violation

Changed on

Mirrors /sentiment-messages, but matches on the assistant output rather than the user input. The tag field is the SOP title to filter on.

post/dashboard/api/sop-messages

Request

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

SOP title to match

limitinteger

Response

Paginated assistant messages that violated the SOP

Changes