تحلیل بازدید و سرعت صفحه
بازدیدکنندگان، بازدید صفحه، پرتکرارترینها و سرعت صفحه از بازدیدکنندگان واقعی، بدون کوکی و بدون نگهداشتن دادههای شخصی.
/v1/functions/{name}/analytics/settingsAnalytics settings#
Whether web analytics and speed insights are on, the speed sample, the plan's limits and the script tag to add to the site.
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- همهٔ نقشها
پارامترها
namestringمسیرالزامیthe function's or app's name
pattern
^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$· up to 63 characters
پاسخ
200AnalyticsSettings
analyticsbooleanspeed_insightsbooleanspeed_sampleinteger1–100
updated_atstring (date-time) | nullplanstringlimitsAnalyticsLimitsallowedbooleanretention_daysintegerevents_per_secondintegerper team
burstintegerper team
paths_per_hourintegerdistinct paths per project and hour; the rest count as
(other)
scriptobjectsrcstringtagstring
خطاها
| وضعیت | توضیح |
|---|---|
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 404 | not_found |
| 500 | internal: an unexpected failure |
نمونه
curl "https://api.ibel.ai/v1/functions/my-api/analytics/settings" \
-H "Authorization: Bearer $KEY"/v1/functions/{name}/analytics/settingsChange analytics settings#
Turn web analytics or speed insights on or off and set the speed sample (1-100 percent of page loads whose vitals are kept). Turning a feature on needs the Pro plan.
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- مالک، ادمین، توسعهدهنده
پارامترها
namestringمسیرالزامیthe function's or app's name
pattern
^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$· up to 63 characters
بدنهٔ درخواستapplication/json
analyticsbooleanspeed_insightsbooleanspeed_sampleinteger1–100
پاسخ
200AnalyticsSettings
analyticsbooleanspeed_insightsbooleanspeed_sampleinteger1–100
updated_atstring (date-time) | nullplanstringlimitsAnalyticsLimitsallowedbooleanretention_daysintegerevents_per_secondintegerper team
burstintegerper team
paths_per_hourintegerdistinct paths per project and hour; the rest count as
(other)
scriptobjectsrcstringtagstring
خطاها
| وضعیت | توضیح |
|---|---|
| 400 | bad_request |
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 402 | plan_required: web analytics and speed insights need the Pro plan |
| 403 | Not allowed: forbidden |
| 404 | not_found |
| 500 | internal: an unexpected failure |
نمونه
curl -X PATCH "https://api.ibel.ai/v1/functions/my-api/analytics/settings" \
-H "Authorization: Bearer $KEY" \
-d '{"analytics":true,"speed_insights":true,"speed_sample":1}'/v1/functions/{name}/analyticsWeb analytics#
Visitors, page views and bounce rate for a period (and the period before), a series by hour (two days or less) or Tehran day, and the top pages, referrers, countries, devices, operating systems and browsers. Filters combine.
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- همهٔ نقشها
پارامترها
namestringمسیرالزامیthe function's or app's name
pattern
^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$· up to 63 charactersperiodstringکوئریthe period ending now (default
7d); ignored whenfromortois givenone of
24h,7d,30d,90d,12mofromstring (date-time)کوئریstart of a custom range (ISO time); clipped to the plan's retention
tostring (date-time)کوئریend of a custom range (ISO time, default now)
environmentstringکوئریdefault
productionone of
production,preview,allpathstringکوئریone page, such as
/pricingup to 300 characters
referrerstringکوئریa referring site's hostname
up to 300 characters
countrystringکوئریtwo letters;
XXis unknownup to 2 characters
devicestringکوئریdevice class
one of
desktop,mobile,tabletosstringکوئریan operating system name
up to 300 characters
browserstringکوئریa browser name
up to 300 characters
limitintegerکوئریrows in each top list (1-100, default 10)
1–100 · default
10
پاسخ
200AnalyticsSummary
enabledbooleanfromstring (date-time)tostring (date-time)stepstringone of
hour,dayenvironmentstringfiltersmap of stringtotalsAnalyticsTotalsvisitorsintegerpage_viewsintegerbounce_ratenumber | nullpercent, one decimal; null with no visits or with a
pathfilter
previousAnalyticsTotalsvisitorsintegerpage_viewsintegerbounce_ratenumber | nullpercent, one decimal; null with no visits or with a
pathfilter
seriesobject[]tstring (date-time)visitorsintegerpage_viewsinteger
topobjecta referrer key
""is direct trafficpagesAnalyticsRow[]keystringvisitorsintegerpage_viewsinteger
referrersAnalyticsRow[]keystringvisitorsintegerpage_viewsinteger
countriesAnalyticsRow[]keystringvisitorsintegerpage_viewsinteger
devicesAnalyticsRow[]keystringvisitorsintegerpage_viewsinteger
osAnalyticsRow[]keystringvisitorsintegerpage_viewsinteger
browsersAnalyticsRow[]keystringvisitorsintegerpage_viewsinteger
خطاها
| وضعیت | توضیح |
|---|---|
| 400 | analytics_bad_period, analytics_bad_range, analytics_bad_environment, analytics_bad_filter, bad_param |
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 404 | not_found |
| 500 | internal: an unexpected failure |
نمونه
curl "https://api.ibel.ai/v1/functions/my-api/analytics" \
-H "Authorization: Bearer $KEY"/v1/functions/{name}/analyticsDelete analytics data#
Turn both features off and delete every count kept for the project.
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- مالک، ادمین، توسعهدهنده
- تایید دوم
- با نشست داشبورد، عامل دوم در ۱۰ دقیقهٔ اخیر لازم است؛ کلید API نیازی ندارد.
پارامترها
namestringمسیرالزامیthe function's or app's name
pattern
^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$· up to 63 characters
پاسخ
200object
deletedbooleanalways
true
خطاها
| وضعیت | توضیح |
|---|---|
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 403 | Not allowed: forbidden, step_up_required |
| 404 | not_found |
| 500 | internal: an unexpected failure |
نمونه
curl -X DELETE "https://api.ibel.ai/v1/functions/my-api/analytics" \
-H "Authorization: Bearer $KEY"/v1/functions/{name}/analytics/breakdownOne analytics list in full#
Every value of one dimension over the period, most visitors first, up to 500 rows.
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- همهٔ نقشها
پارامترها
namestringمسیرالزامیthe function's or app's name
pattern
^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$· up to 63 charactersbystringکوئریالزامیthe dimension
one of
path,referrer,country,device,os,browserperiodstringکوئریthe period ending now (default
7d); ignored whenfromortois givenone of
24h,7d,30d,90d,12mofromstring (date-time)کوئریstart of a custom range (ISO time); clipped to the plan's retention
tostring (date-time)کوئریend of a custom range (ISO time, default now)
environmentstringکوئریdefault
productionone of
production,preview,allpathstringکوئریone page, such as
/pricingup to 300 characters
referrerstringکوئریa referring site's hostname
up to 300 characters
countrystringکوئریtwo letters;
XXis unknownup to 2 characters
devicestringکوئریdevice class
one of
desktop,mobile,tabletosstringکوئریan operating system name
up to 300 characters
browserstringکوئریa browser name
up to 300 characters
limitintegerکوئریrows (1-500, default 100)
1–500 · default
100
پاسخ
200AnalyticsBreakdown
bystringfromstring (date-time)tostring (date-time)rowsAnalyticsRow[]keystringvisitorsintegerpage_viewsinteger
خطاها
| وضعیت | توضیح |
|---|---|
| 400 | analytics_bad_period, analytics_bad_range, analytics_bad_environment, analytics_bad_filter, bad_param |
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 404 | not_found |
| 500 | internal: an unexpected failure |
نمونه
curl "https://api.ibel.ai/v1/functions/my-api/analytics/breakdown?by=by" \
-H "Authorization: Bearer $KEY"/v1/functions/{name}/speed-insightsSpeed insights#
Page speed from real visitors on mobile or desktop: a score from 0 to 100, the 75th percentile of LCP, INP, CLS, FCP and TTFB with the share of good, needs-improvement and poor reports, a series, and the same per route. CLS is a plain number, the other metrics milliseconds.
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- همهٔ نقشها
پارامترها
namestringمسیرالزامیthe function's or app's name
pattern
^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$· up to 63 charactersdevicestringکوئریdefault
mobile(tablets count as mobile)one of
mobile,desktopperiodstringکوئریthe period ending now (default
7d); ignored whenfromortois givenone of
24h,7d,30d,90d,12mofromstring (date-time)کوئریstart of a custom range (ISO time); clipped to the plan's retention
tostring (date-time)کوئریend of a custom range (ISO time, default now)
environmentstringکوئریdefault
productionone of
production,preview,alllimitintegerکوئریroutes (1-500, default 50)
1–500 · default
50
پاسخ
200SpeedInsights
enabledbooleanfromstring (date-time)tostring (date-time)stepstringone of
hour,dayenvironmentstringdevicestringone of
mobile,desktopscoreinteger | nullratingstring | nullone of
good,needs_improvement,poor,nullnintegermetricsobjectlcpSpeedMetricp75number | nullmilliseconds; CLS a plain number
nintegerreports
scoreinteger | nullratingstring | nullone of
good,needs_improvement,poor,nullgoodintegerpercent of reports
needs_improvementintegerpoorinteger
inpSpeedMetricp75number | nullmilliseconds; CLS a plain number
nintegerreports
scoreinteger | nullratingstring | nullone of
good,needs_improvement,poor,nullgoodintegerpercent of reports
needs_improvementintegerpoorinteger
clsSpeedMetricp75number | nullmilliseconds; CLS a plain number
nintegerreports
scoreinteger | nullratingstring | nullone of
good,needs_improvement,poor,nullgoodintegerpercent of reports
needs_improvementintegerpoorinteger
fcpSpeedMetricp75number | nullmilliseconds; CLS a plain number
nintegerreports
scoreinteger | nullratingstring | nullone of
good,needs_improvement,poor,nullgoodintegerpercent of reports
needs_improvementintegerpoorinteger
ttfbSpeedMetricp75number | nullmilliseconds; CLS a plain number
nintegerreports
scoreinteger | nullratingstring | nullone of
good,needs_improvement,poor,nullgoodintegerpercent of reports
needs_improvementintegerpoorinteger
seriesobject[]tstring (date-time)scoreinteger | nullnintegerlcpnumber | nullinpnumber | nullclsnumber | nullfcpnumber | nullttfbnumber | null
routesobject[]routestringscoreinteger | nullratingstring | nullone of
good,needs_improvement,poor,nullnintegermetricsobjectlcpSpeedMetricp75number | nullmilliseconds; CLS a plain number
nintegerreports
scoreinteger | nullratingstring | nullone of
good,needs_improvement,poor,nullgoodintegerpercent of reports
needs_improvementintegerpoorinteger
inpSpeedMetricp75number | nullmilliseconds; CLS a plain number
nintegerreports
scoreinteger | nullratingstring | nullone of
good,needs_improvement,poor,nullgoodintegerpercent of reports
needs_improvementintegerpoorinteger
clsSpeedMetricp75number | nullmilliseconds; CLS a plain number
nintegerreports
scoreinteger | nullratingstring | nullone of
good,needs_improvement,poor,nullgoodintegerpercent of reports
needs_improvementintegerpoorinteger
fcpSpeedMetricp75number | nullmilliseconds; CLS a plain number
nintegerreports
scoreinteger | nullratingstring | nullone of
good,needs_improvement,poor,nullgoodintegerpercent of reports
needs_improvementintegerpoorinteger
ttfbSpeedMetricp75number | nullmilliseconds; CLS a plain number
nintegerreports
scoreinteger | nullratingstring | nullone of
good,needs_improvement,poor,nullgoodintegerpercent of reports
needs_improvementintegerpoorinteger
خطاها
| وضعیت | توضیح |
|---|---|
| 400 | analytics_bad_period, analytics_bad_range, analytics_bad_environment, analytics_bad_device, bad_param |
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 404 | not_found |
| 500 | internal: an unexpected failure |
نمونه
curl "https://api.ibel.ai/v1/functions/my-api/speed-insights" \
-H "Authorization: Bearer $KEY"/v1/apps/{name}/analytics/settingsAnalytics settings#
Whether web analytics and speed insights are on, the speed sample, the plan's limits and the script tag to add to the site.
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- همهٔ نقشها
پارامترها
namestringمسیرالزامیthe function's or app's name
pattern
^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$· up to 63 characters
پاسخ
200AnalyticsSettings
analyticsbooleanspeed_insightsbooleanspeed_sampleinteger1–100
updated_atstring (date-time) | nullplanstringlimitsAnalyticsLimitsallowedbooleanretention_daysintegerevents_per_secondintegerper team
burstintegerper team
paths_per_hourintegerdistinct paths per project and hour; the rest count as
(other)
scriptobjectsrcstringtagstring
خطاها
| وضعیت | توضیح |
|---|---|
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 404 | not_found |
| 500 | internal: an unexpected failure |
نمونه
curl "https://api.ibel.ai/v1/apps/my-api/analytics/settings" \
-H "Authorization: Bearer $KEY"/v1/apps/{name}/analytics/settingsChange analytics settings#
Turn web analytics or speed insights on or off and set the speed sample (1-100 percent of page loads whose vitals are kept). Turning a feature on needs the Pro plan.
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- مالک، ادمین، توسعهدهنده
پارامترها
namestringمسیرالزامیthe function's or app's name
pattern
^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$· up to 63 characters
بدنهٔ درخواستapplication/json
analyticsbooleanspeed_insightsbooleanspeed_sampleinteger1–100
پاسخ
200AnalyticsSettings
analyticsbooleanspeed_insightsbooleanspeed_sampleinteger1–100
updated_atstring (date-time) | nullplanstringlimitsAnalyticsLimitsallowedbooleanretention_daysintegerevents_per_secondintegerper team
burstintegerper team
paths_per_hourintegerdistinct paths per project and hour; the rest count as
(other)
scriptobjectsrcstringtagstring
خطاها
| وضعیت | توضیح |
|---|---|
| 400 | bad_request |
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 402 | plan_required: web analytics and speed insights need the Pro plan |
| 403 | Not allowed: forbidden |
| 404 | not_found |
| 500 | internal: an unexpected failure |
نمونه
curl -X PATCH "https://api.ibel.ai/v1/apps/my-api/analytics/settings" \
-H "Authorization: Bearer $KEY" \
-d '{"analytics":true,"speed_insights":true,"speed_sample":1}'/v1/apps/{name}/analyticsWeb analytics#
Visitors, page views and bounce rate for a period (and the period before), a series by hour (two days or less) or Tehran day, and the top pages, referrers, countries, devices, operating systems and browsers. Filters combine.
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- همهٔ نقشها
پارامترها
namestringمسیرالزامیthe function's or app's name
pattern
^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$· up to 63 charactersperiodstringکوئریthe period ending now (default
7d); ignored whenfromortois givenone of
24h,7d,30d,90d,12mofromstring (date-time)کوئریstart of a custom range (ISO time); clipped to the plan's retention
tostring (date-time)کوئریend of a custom range (ISO time, default now)
environmentstringکوئریdefault
productionone of
production,preview,allpathstringکوئریone page, such as
/pricingup to 300 characters
referrerstringکوئریa referring site's hostname
up to 300 characters
countrystringکوئریtwo letters;
XXis unknownup to 2 characters
devicestringکوئریdevice class
one of
desktop,mobile,tabletosstringکوئریan operating system name
up to 300 characters
browserstringکوئریa browser name
up to 300 characters
limitintegerکوئریrows in each top list (1-100, default 10)
1–100 · default
10
پاسخ
200AnalyticsSummary
enabledbooleanfromstring (date-time)tostring (date-time)stepstringone of
hour,dayenvironmentstringfiltersmap of stringtotalsAnalyticsTotalsvisitorsintegerpage_viewsintegerbounce_ratenumber | nullpercent, one decimal; null with no visits or with a
pathfilter
previousAnalyticsTotalsvisitorsintegerpage_viewsintegerbounce_ratenumber | nullpercent, one decimal; null with no visits or with a
pathfilter
seriesobject[]tstring (date-time)visitorsintegerpage_viewsinteger
topobjecta referrer key
""is direct trafficpagesAnalyticsRow[]keystringvisitorsintegerpage_viewsinteger
referrersAnalyticsRow[]keystringvisitorsintegerpage_viewsinteger
countriesAnalyticsRow[]keystringvisitorsintegerpage_viewsinteger
devicesAnalyticsRow[]keystringvisitorsintegerpage_viewsinteger
osAnalyticsRow[]keystringvisitorsintegerpage_viewsinteger
browsersAnalyticsRow[]keystringvisitorsintegerpage_viewsinteger
خطاها
| وضعیت | توضیح |
|---|---|
| 400 | analytics_bad_period, analytics_bad_range, analytics_bad_environment, analytics_bad_filter, bad_param |
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 404 | not_found |
| 500 | internal: an unexpected failure |
نمونه
curl "https://api.ibel.ai/v1/apps/my-api/analytics" \
-H "Authorization: Bearer $KEY"/v1/apps/{name}/analyticsDelete analytics data#
Turn both features off and delete every count kept for the project.
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- مالک، ادمین، توسعهدهنده
- تایید دوم
- با نشست داشبورد، عامل دوم در ۱۰ دقیقهٔ اخیر لازم است؛ کلید API نیازی ندارد.
پارامترها
namestringمسیرالزامیthe function's or app's name
pattern
^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$· up to 63 characters
پاسخ
200object
deletedbooleanalways
true
خطاها
| وضعیت | توضیح |
|---|---|
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 403 | Not allowed: forbidden, step_up_required |
| 404 | not_found |
| 500 | internal: an unexpected failure |
نمونه
curl -X DELETE "https://api.ibel.ai/v1/apps/my-api/analytics" \
-H "Authorization: Bearer $KEY"/v1/apps/{name}/analytics/breakdownOne analytics list in full#
Every value of one dimension over the period, most visitors first, up to 500 rows.
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- همهٔ نقشها
پارامترها
namestringمسیرالزامیthe function's or app's name
pattern
^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$· up to 63 charactersbystringکوئریالزامیthe dimension
one of
path,referrer,country,device,os,browserperiodstringکوئریthe period ending now (default
7d); ignored whenfromortois givenone of
24h,7d,30d,90d,12mofromstring (date-time)کوئریstart of a custom range (ISO time); clipped to the plan's retention
tostring (date-time)کوئریend of a custom range (ISO time, default now)
environmentstringکوئریdefault
productionone of
production,preview,allpathstringکوئریone page, such as
/pricingup to 300 characters
referrerstringکوئریa referring site's hostname
up to 300 characters
countrystringکوئریtwo letters;
XXis unknownup to 2 characters
devicestringکوئریdevice class
one of
desktop,mobile,tabletosstringکوئریan operating system name
up to 300 characters
browserstringکوئریa browser name
up to 300 characters
limitintegerکوئریrows (1-500, default 100)
1–500 · default
100
پاسخ
200AnalyticsBreakdown
bystringfromstring (date-time)tostring (date-time)rowsAnalyticsRow[]keystringvisitorsintegerpage_viewsinteger
خطاها
| وضعیت | توضیح |
|---|---|
| 400 | analytics_bad_period, analytics_bad_range, analytics_bad_environment, analytics_bad_filter, bad_param |
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 404 | not_found |
| 500 | internal: an unexpected failure |
نمونه
curl "https://api.ibel.ai/v1/apps/my-api/analytics/breakdown?by=by" \
-H "Authorization: Bearer $KEY"/v1/apps/{name}/speed-insightsSpeed insights#
Page speed from real visitors on mobile or desktop: a score from 0 to 100, the 75th percentile of LCP, INP, CLS, FCP and TTFB with the share of good, needs-improvement and poor reports, a series, and the same per route. CLS is a plain number, the other metrics milliseconds.
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- همهٔ نقشها
پارامترها
namestringمسیرالزامیthe function's or app's name
pattern
^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$· up to 63 charactersdevicestringکوئریdefault
mobile(tablets count as mobile)one of
mobile,desktopperiodstringکوئریthe period ending now (default
7d); ignored whenfromortois givenone of
24h,7d,30d,90d,12mofromstring (date-time)کوئریstart of a custom range (ISO time); clipped to the plan's retention
tostring (date-time)کوئریend of a custom range (ISO time, default now)
environmentstringکوئریdefault
productionone of
production,preview,alllimitintegerکوئریroutes (1-500, default 50)
1–500 · default
50
پاسخ
200SpeedInsights
enabledbooleanfromstring (date-time)tostring (date-time)stepstringone of
hour,dayenvironmentstringdevicestringone of
mobile,desktopscoreinteger | nullratingstring | nullone of
good,needs_improvement,poor,nullnintegermetricsobjectlcpSpeedMetricp75number | nullmilliseconds; CLS a plain number
nintegerreports
scoreinteger | nullratingstring | nullone of
good,needs_improvement,poor,nullgoodintegerpercent of reports
needs_improvementintegerpoorinteger
inpSpeedMetricp75number | nullmilliseconds; CLS a plain number
nintegerreports
scoreinteger | nullratingstring | nullone of
good,needs_improvement,poor,nullgoodintegerpercent of reports
needs_improvementintegerpoorinteger
clsSpeedMetricp75number | nullmilliseconds; CLS a plain number
nintegerreports
scoreinteger | nullratingstring | nullone of
good,needs_improvement,poor,nullgoodintegerpercent of reports
needs_improvementintegerpoorinteger
fcpSpeedMetricp75number | nullmilliseconds; CLS a plain number
nintegerreports
scoreinteger | nullratingstring | nullone of
good,needs_improvement,poor,nullgoodintegerpercent of reports
needs_improvementintegerpoorinteger
ttfbSpeedMetricp75number | nullmilliseconds; CLS a plain number
nintegerreports
scoreinteger | nullratingstring | nullone of
good,needs_improvement,poor,nullgoodintegerpercent of reports
needs_improvementintegerpoorinteger
seriesobject[]tstring (date-time)scoreinteger | nullnintegerlcpnumber | nullinpnumber | nullclsnumber | nullfcpnumber | nullttfbnumber | null
routesobject[]routestringscoreinteger | nullratingstring | nullone of
good,needs_improvement,poor,nullnintegermetricsobjectlcpSpeedMetricp75number | nullmilliseconds; CLS a plain number
nintegerreports
scoreinteger | nullratingstring | nullone of
good,needs_improvement,poor,nullgoodintegerpercent of reports
needs_improvementintegerpoorinteger
inpSpeedMetricp75number | nullmilliseconds; CLS a plain number
nintegerreports
scoreinteger | nullratingstring | nullone of
good,needs_improvement,poor,nullgoodintegerpercent of reports
needs_improvementintegerpoorinteger
clsSpeedMetricp75number | nullmilliseconds; CLS a plain number
nintegerreports
scoreinteger | nullratingstring | nullone of
good,needs_improvement,poor,nullgoodintegerpercent of reports
needs_improvementintegerpoorinteger
fcpSpeedMetricp75number | nullmilliseconds; CLS a plain number
nintegerreports
scoreinteger | nullratingstring | nullone of
good,needs_improvement,poor,nullgoodintegerpercent of reports
needs_improvementintegerpoorinteger
ttfbSpeedMetricp75number | nullmilliseconds; CLS a plain number
nintegerreports
scoreinteger | nullratingstring | nullone of
good,needs_improvement,poor,nullgoodintegerpercent of reports
needs_improvementintegerpoorinteger
خطاها
| وضعیت | توضیح |
|---|---|
| 400 | analytics_bad_period, analytics_bad_range, analytics_bad_environment, analytics_bad_device, bad_param |
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 404 | not_found |
| 500 | internal: an unexpected failure |
نمونه
curl "https://api.ibel.ai/v1/apps/my-api/speed-insights" \
-H "Authorization: Bearer $KEY"/v1/analyticsAnalytics across the team#
Every app and function of the team: whether each feature is on, and the last 7 days' production visitors and page views.
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- همهٔ نقشها
پاسخ
200AnalyticsProjects
planstringlimitsAnalyticsLimitsallowedbooleanretention_daysintegerevents_per_secondintegerper team
burstintegerper team
paths_per_hourintegerdistinct paths per project and hour; the rest count as
(other)
projectsobject[]namestringkindstringone of
function,appanalyticsbooleanspeed_insightsbooleanpage_views_7dintegervisitors_7dinteger
خطاها
| وضعیت | توضیح |
|---|---|
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 500 | internal: an unexpected failure |
نمونه
curl "https://api.ibel.ai/v1/analytics" \
-H "Authorization: Bearer $KEY"