{
"endpoint": "GET /admin/usage/events",
"events": [
{
"eventId": "string",
"idempotencyKey": "string",
"userId": "string",
"user": {
"userId": "string",
"email": "string",
"displayName": "string",
"accountId": "string",
"orgId": "string"
},
"actorId": "string",
"accountId": "string",
"service": "ai.refine",
"feature": "electron.hotkey.dictation",
"sourceSurface": "string",
"workflow": "string",
"requestId": "string",
"sessionId": "string",
"aiResultId": "string",
"provider": "string",
"model": "string",
"status": "succeeded",
"billable": true,
"failureCode": "string",
"metrics": {
"inputChars": 0,
"outputChars": 0,
"audioSeconds": 0,
"inputTokens": 0,
"outputTokens": 0,
"totalTokens": 0,
"requestCount": 1
},
"cost": {
"estimatedCost": 0,
"currency": "USD",
"pricingVersion": "string",
"costBreakdown": {
"inputTokensCost": 0,
"outputTokensCost": 0,
"audioSecondsCost": 0,
"fixedRequestCost": 0
}
},
"tokenUsageSource": "provider",
"planIdSnapshot": "string",
"entitlementSnapshot": {
"property1": "string",
"property2": "string"
},
"createdAt": "2019-08-24T14:15:22.123Z"
}
],
"totalCount": 0,
"page": 1,
"perPage": 1
}