Types
UsageUpdatedV2
Usage updated event supporting both feature and credit consumption
object
UsageUpdatedV2Fields
accountId
String!
The unique identifier for the account
customerId
String!
Customer id
entitlementReference
Reference to the entitlement whose usage was updated
environmentId
UUID!
The unique identifier for the environment
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.
usage
Usage