ReferenceDashboard
Get sentiment distribution and trend
Returns sentiment distribution (positive/neutral/negative/unknown) and daily trend. When 'from' and/or 'to' are omitted, no date filtering is applied — all data is returned.
GET
/v1/projects/{projectId}/dashboard/sentimentReturns sentiment distribution (positive/neutral/negative/unknown) and daily trend. When 'from' and/or 'to' are omitted, no date filtering is applied — all data is returned.
Authorization
ApiKeyAuth X-API-Key<token>
Organization API key. Format: X-API-Key: at_live_...
In: header
Path Parameters
projectId*string
Format
uuidQuery Parameters
from?string
Format
date-timeto?string
Format
date-timeResponse Body
*/*
*/*
curl -X GET "https://example.com/v1/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/dashboard/sentiment"{ "distribution": { "positive": 0, "neutral": 0, "negative": 0, "unknown": 0, "total": 0 }, "trend": [ { "date": "2019-08-24", "positivePercent": 0.1, "neutralPercent": 0.1, "negativePercent": 0.1 } ], "averageConfidence": 0.1}