Types
UsageEvent
A usage event record
object
UsageEventFields
customer
Customer
customerId
String!
Customer id
dimensions
JSON
Dimensions associated with the usage event
eventName
String!
The name of the usage event
id
String!
Unique identifier for the entity
idempotencyKey
String!
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
String!
Timestamp