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"
}
سجلات المستخدم والنشاط
الحصول على أحدث رؤية نشاط بالذكاء الاصطناعي
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"
}
يجلب أحدث رؤية نشاط أسبوعية للحساب، على مضيف واجهة برمجة التطبيقات للإدارة (
عندما لا يحدث شيء يستحق الذكر في ذلك الأسبوع، يعود
api.scanova.io)، مع المصادقة باستخدام مفتاح واجهة برمجة التطبيقات للإدارة الخام الخاص بك.
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"
}
تُولَّد الرؤى خارج نطاق الطلب وفق جدول أسبوعي، وليس عند الطلب — يعيد هذا الطرف دائمًا آخر رؤية تم توليدها، متجاهلاً أي معرّف. يُعاد
404 إذا لم يتم توليد أي رؤية بعد لهذا الحساب (مثل حساب جديد تمامًا، أو قبل التشغيل الأسبوعي الأول).ai_response إلى ملخص قائم على قالب (وليس مولَّدًا بالذكاء الاصطناعي) بدلاً من استدعاء النموذج الأساسي — تشير total_tokens: 0 إلى استجابة قائمة على قالب؛ وتشير القيمة غير الصفرية إلى استجابة مولَّدة فعليًا بالذكاء الاصطناعي.
ذو صلة
- الحصول على إحصاءات النشاط اليومية — البيانات الخام التي بُنيت عليها هذه الرؤية.
- نظرة عامة على واجهة برمجة التطبيقات للإدارة — مخطط المصادقة وقواعد الحصة المطبّقة على هذا الطرف.
التفويضات
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.
الاستجابة
200 - application/json
The latest insight.
هل كانت هذه الصفحة مفيدة؟