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
Usage data retrieved successfully
The response is of type object.
object