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). Max range 90 days.

endDate
string<date>

End date for data (YYYY-MM-DD). Max range 90 days.

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

Example: