Get rolling share of voice time series and breakdowns
Request
- Base URLhttps://app.promptingco.com
- URLhttps://app.promptingco.com/api/v1/analytics/sov/timeseries
- Auth
- API key in header x-api-key
- or HTTP bearer
- or API key in cookie better-auth.session_token
Query parameters
Product ID to use as the primary SOV scope.
Deprecated. Use productId instead. Product ID to use as the primary SOV scope.
View ID to scope results to the view's prompts. Not supported with by=topic or topicId.
UTC calendar bucket used for time-series points and as the unit for rollingWindow. Week buckets start on Monday.
Number of granularity buckets included in each time-series point. Accepts 1 through 30 and defaults to 30.
Selects the earliest calendar bucket returned. Must be supplied with end. For week or month granularity, the containing bucket starts before this date and includes those earlier dates in its rolling calculation.
Selects the latest calendar bucket returned. Must be supplied with start. For week or month granularity, the containing bucket is returned with data accumulated only through this date.
Only valid with by=competitor. When true, return only the product's pinned competitors' SoV (paginated over the pinned subset).
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.