Skip to main content
GET
Sentiment Distribution

Authorizations

X-API-Key
string
header
required

API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.

Query Parameters

startDate
string<date>

Start date for data (YYYY-MM-DD)

endDate
string<date>

End date for data (YYYY-MM-DD)

Response

Default Response

sentiment
string
required

Sentiment category (POSITIVE, NEGATIVE, NEUTRAL)

count
number
required

Number of responses with this sentiment

percentage
number
required

Percentage of total responses