Usage
Account usages
An authenticated user application admin can retrieve usage for any account. Any user can request the the usage for their own account.
With accountID, you can get the following usages :
- Seats
- Storage assets
- Storage artifacts
- Number of projects
- Streaming usage output
- Processing usage output
Tenant usages
An authenticated user application admin can retrieve usage for any tenantId.
A user with the capability CAN_VIEW_TENANT_USAGE can retrieve the usage for the tenantId associated with the user.Usage is aggregated across all the accounts associated with the tenantId.
Related Pages
GraphQL API reference
This section lists a few examples. Please refer to HxDR GraphQL Playground (opens in a new tab) to explore complete schema.
query GetAccountUsageV2 {
getAccountUsageV2(params: { accountID: "[accountID]" }) {
... on UsageOutput {
accountID
storageArtifacts
projects
storageAssets
seats
streaming {
startDate
endDate
downloads
files
userStreaming
externalServices
}
}
}
}
An accountID is an ID, which is created when your HxDR account is created. This accountID variable is used here to retrieve the account usages.
To successfully execute a request on HxDR GraphQL playground, See following :
Retrieve the usage of specific pipelines. If no start/end date is supplied, the endpoint logic defaults to the start of the current month until the time the request has been received
JS-SDK reference
Account
Account authorization and profile services