cURL
curl --request GET \ --url https://api.snitcher.com/radar/operator/v1/usage \ --header 'Authorization: Bearer <token>'
{ "success": true, "data": { "usageCycleFrom": "2023-01-01T00:00:00+00:00", "usageCycleTo": "2023-01-31T23:59:59+00:00", "eventUsage": 12345, "trackingScriptUsages": [ { "trackingScriptId": "12345", "eventUsage": 5678 } ] } }
Returns usage data for tracking scripts in the workspace
Enter your personal access token (PAT) to authenticate
Optional date (Y-m-d) to get usage for the cycle active on that date. If not provided, returns usage for the current cycle.
"2025-10-15"
Usage data retrieved successfully
true
Show child attributes
Start date of the usage cycle
"2023-01-01T00:00:00+00:00"
End date of the usage cycle
"2023-01-31T23:59:59+00:00"
Total number of events used
12345
Usage data for each tracking script
ID of the tracking script
"12345"
Number of events used by this tracking script
5678