cURL
curl --request GET \ --url https://server.promptwatch.com/api/v1/responses/sentiment-time-series \ --header 'X-API-Key: <api-key>'
[ { "date": "2023-12-25", "positive": 123, "negative": 123, "neutral": 123, "unknown": 123 } ]
Get sentiment changes over time for brand mentions
API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.
Start date for data (YYYY-MM-DD)
End date for data (YYYY-MM-DD)
Default Response
Date of the data point
Number of positive responses
Number of negative responses
Number of neutral responses
Number of responses with unknown sentiment