Viewing Organization Metrics with the API
Use the API to view metrics for each app type, including:
- Total executions by app type and status
- Number of app instances by app type
- Number of executions for the top app by status
Note: App metrics available via the API are not real-time statistics. There is a small delay between the calculation of these metrics and when they are available to the API.
To view organization metrics you need the following:
Subscription Locator — The Subscription Locator of the Organization you want to access. To find Subscription Locators for your organizations use the GET /v1/userinfo
method to return a list of all of the organizations for your OAuth Token with their Subscription Locators. You can use 0 as the Subscription Locator for the organization that owns the OAuth token.
Use the GET /v1/subscriptions/{subscriptionLocator}/monitoring
method to view statistics for an organization.