API
API
Back to appIntroductionAuthenticationQuickstartCore conceptsUploading callsGetting resultsWebhooksPagination and searchErrorsRate limits and billing
Get pending action items GETGet call volume over time GETGet top categories distribution GETGet AI-synthesized cross-call insights GETGet aggregated dashboard metrics GETGet sentiment distribution and trend GET
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/sentiment

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.

Authorization

ApiKeyAuth
X-API-Key<token>

Organization API key. Format: X-API-Key: at_live_...

In: header

Path Parameters

projectId*string
Formatuuid

Query Parameters

from?string
Formatdate-time
to?string
Formatdate-time

Response 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}

Get aggregated dashboard metrics GET

Returns KPI snapshot including call count, avg duration, sentiment, and action items. When 'from' and/or 'to' are omitted, no date filtering is applied — all data is returned.

Create a new project POST

Next Page