curl "https://api.scanova.io/user-logs/activity-insight/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
{
"id": 55,
"period_start": "2026-08-31",
"period_end": "2026-09-06",
"ai_response": {
"summary": ["You created 6 QR codes this week, up from an average of 2."],
"insights": ["A shared user (member@scanova.io) logged in for the first time this week."],
"anomalies_explained": ["QR creation spiked mid-week, likely tied to a new campaign."],
"recommendations": ["Consider tagging the new QR codes for easier filtering later."]
},
"total_tokens": 412,
"generated_at": "2026-09-07T02:15:03Z"
}
User Logs & Activity
Get the latest AI activity insight
GET /user-logs/activity-insight/
GET
/
user-logs
/
activity-insight
/
curl "https://api.scanova.io/user-logs/activity-insight/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
{
"id": 55,
"period_start": "2026-08-31",
"period_end": "2026-09-06",
"ai_response": {
"summary": ["You created 6 QR codes this week, up from an average of 2."],
"insights": ["A shared user (member@scanova.io) logged in for the first time this week."],
"anomalies_explained": ["QR creation spiked mid-week, likely tied to a new campaign."],
"recommendations": ["Consider tagging the new QR codes for easier filtering later."]
},
"total_tokens": 412,
"generated_at": "2026-09-07T02:15:03Z"
}
Retrieves the account’s most recent weekly activity insight, on the Management API host (
When nothing notable happened that week,
api.scanova.io), authenticated with your raw Management API key.
GET https://api.scanova.io/user-logs/activity-insight/
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
curl "https://api.scanova.io/user-logs/activity-insight/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
{
"id": 55,
"period_start": "2026-08-31",
"period_end": "2026-09-06",
"ai_response": {
"summary": ["You created 6 QR codes this week, up from an average of 2."],
"insights": ["A shared user (member@scanova.io) logged in for the first time this week."],
"anomalies_explained": ["QR creation spiked mid-week, likely tied to a new campaign."],
"recommendations": ["Consider tagging the new QR codes for easier filtering later."]
},
"total_tokens": 412,
"generated_at": "2026-09-07T02:15:03Z"
}
Insights are generated out-of-band on a weekly schedule, not on request — this endpoint always returns the most recently generated one, ignoring any id.
404 if no insight has been generated yet for the account (e.g. a brand-new account, or before the first weekly run).ai_response falls back to a templated (non-AI-generated) summary rather than calling the underlying model — total_tokens: 0 indicates a templated response; a nonzero value indicates a genuinely AI-generated one.
Related
- Get daily activity stats — the raw data this insight is built from.
- Management API overview — the auth scheme and quota rules that apply to this endpoint.
Authorizations
Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: 401f7ac837da42b97f613d789819ff93537bee6a. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.
Response
200 - application/json
The latest insight.
Was this page helpful?