Types
UsageEventReportInput
Input parameters for reporting usage events
input
UsageEventReportInputFields
customerId
String!
required
Customer id
dimensions
JSON
Dimensions to include in the events fields
eventName
String!
required
Name of the event
idempotencyKey
String!
required
A key you provide to safely retry the same usage report without double-counting it. Reports with a previously-seen idempotency key are deduplicated for 7 days; after that window a retry is treated as new usage.
resourceId
String
The customer resource this usage applies to. Optional — only required if the customer has multiple resources (for example, one subscription per workspace or site) and usage needs to be tracked separately per resource; omit it to report usage at the customer level.
timestamp
DateTime
Timestamp