Ask AI Analytics
Publisher-facing Ask AI engagement rollup: summary KPIs plus a daily time-series. Numbers match the Dappier platform analytics dashboard for the same filters.
X-RateLimit-* headers are returned, 429 with Retry-After when exceeded) and cached server-side for up to 30 minutes (send Cache-Control: no-cache to skip the cache read; the X-Cache response header reports HIT, MISS, BYPASS, or DISABLED).Authorizations
Bearer token authentication using your Dappier API key. Get your API key at https://platform.dappier.com/profile/api-keys.
Query Parameters
Inclusive start of the analytics window, formatted YYYY-MM-DD (UTC). Optional — if either start_date or end_date is omitted, both default to the trailing 7-day window ending today_UTC (i.e., start_date = today_UTC - 6).
"2026-04-01"
Inclusive end of the analytics window, formatted YYYY-MM-DD (UTC). Optional — if either start_date or end_date is omitted, both default to the trailing 7-day window ending today_UTC. Must be on or after start_date; the total range must be ≤ 365 days.
"2026-04-30"
External widget id (e.g. wd_...). Validated against the key's tenant — an unknown or other-tenant id returns 400 widget_id not found. Scopes results to that widget's AI agent. Omit for all of the tenant's widgets.
"wd_92831"
External placement id.
Deployment type, e.g. brand_agent, sponsored_conversation, embed. Omit for all.
"brand_agent"
Publisher-supplied ad-tracking macro filter (HTML attribute on <dappier-ask-ai-widget>).
Publisher-supplied ad-tracking macro filter.
Publisher-supplied ad-tracking macro filter.
Response
Engagement rollup for the requested window and filters.
Always true for a 200 response.
true
Echoes back only the filters you supplied in the request.
Full 13-metric rollup for the window. The block is internally self-consistent; all percentages are rounded to 2 decimals.
Per-day subset for charting, ascending by date.

