viakite
Dashboard

API/Events/Test events this month

Test events this month

GET/v1/projects/{project}/test-events

How many test events (sent with a pk_test_ key) the project's organization stored this calendar month (UTC), across its projects, and the free allowance: 100,000 a month, never billed. Past it, test events are dropped (counted as test_quota) until resets_at. Test events are kept kept_days days. Needs analytics.view.

Secret keyNeeds analytics.viewus.e.vk.viabio.me

Path parameters

projectstringrequired
The project's id (prj_…).

Responses

This month's test events.

project_idstringrequired
usedintegerrequired
Test events the organization stored this month.
limitintegerrequired
Test events a month that are stored free: 100,000.
kept_daysintegerrequired
How long test events are kept.
resets_atstring · date-timerequired
When the count starts again: the first day of next month, 00:00 UTC.
Example response
1{
2 "project_id": "prj_01JD8Q2M4W9XK3T7B5",
3 "used": 1,
4 "limit": 1,
5 "kept_days": 1,
6 "resets_at": "2026-11-21T09:30:00Z"
7}