Analytics
Would this person see it?
POST
/analytics/debug-audienceNeedsanalytics.viewExplains which published guidance a visitor would get on a URL and why each item would or wouldn't show (domain, URL, schedule, audience, frequency). Read-only: nothing is recorded.
Authorization
secretKeyheader
AuthorizationBearer <sk_…>A secret API key from Settings → API keys. It acts with its creator's role.
Request Body
application/json- body
url*stringLength
1 <= length <= 2048userId?|number|nulltraits?|nulllocale?|nullenvironment?stringDefault
"production"Value in
"production""staging"device?|nulltimeZone?|nullcontent?Response Body
OK
application/json- response
context*summary*results*array<>Shell
curl -X POST 'https://app.cueston.com/api/analytics/debug-audience' \
-H 'Content-Type: application/json' \
-d '{
"url": "https://app.acme.com/settings/billing"
}'Example Response
JSON
{
"context": {
"url": "https://app.acme.com/settings/billing",
"userId": "user-123",
"locale": "de-DE",
"environment": "production",
"device": "string",
"timeZone": "string",
"identified": true,
"evaluatedAt": "2026-10-26T09:30:00Z"
},
"summary": {
"total": 3,
"eligible": 0
},
"results": [
{
"contentType": "tour",
"contentId": 42,
"name": "Onboarding tour",
"eligible": true,
"reasons": [
{
"check": "domain",
"passed": true,
"detail": "string",
"skipped": true,
"ruleId": "string"
}
]
}
]
}Broken targetsGET
Tooltips and tour steps whose target element wasn't on the page — usually a selector broken by a UI change. Most affected first, at most 200.
One end user's activityGET
What one identified user (the id your app passes to `Cueston.identify()`) saw and did. 404 when the workspace has never seen them.