Visibility & Mentions
Get per-prompt sentiment analytics for a product
get/api/v1/analytics/sentiment
Request
- Base URLhttps://app.promptingco.com
- URLhttps://app.promptingco.com/api/v1/analytics/sentiment
- Auth
- API key in header x-api-key
- or HTTP bearer
- or API key in cookie better-auth.session_token
Query parameters
productIdstring required
Product ID to use as the primary sentiment scope.
by'prompt'
viewIdstring
View ID to scope results to prompts assigned to the view.
promptIdstring
Prompt ID. Returns a daily sentiment time series for one prompt.
topicIdstring
Topic ID to filter per-prompt sentiment rows.
startstring
Start of date window, formatted as YYYY-MM-DD.
endstring
End of date window, formatted as YYYY-MM-DD.
wow'true' | 'false'
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.