Loading

How to retrieve Runtime Manager subscription usage information

Publiseringsdato: Aug 1, 2025
Oppgave

GOAL

This article explains the steps to retrieve the Runtime Manager subscription consumption/usage information using REST API.

This API provides the same consumption details as you see in the Access Management -> SUBSCRIPTION -> Runtime Manager 
Trinn

Step 1: Retrieve the Authorization Token  

Please refer the knowledge article "How to generate your Authorization Bearer token for Anypoint Platform".

Step 2: Retrieve the Organization ID 

By using the Authorization Token from Step 1, execute the below API 
 
curl -H "Authorization: Bearer AUTH_TOKEN" https://anypoint.mulesoft.com/accounts/api/me
 
Below is the output snippet from the above API call, "id" field contains the Organization ID value. 
 
"organization": { 
"name": "user.name", 
"id": "xxxx-yyyy-zzzzz-vvvv"
}
Note: values in the above snippet output is masked. Use it as a reference only
 

Step 3: Retrieve the usage information

By using the Authorization Token and Organization ID from Step 1 & 2, execute the below API call

curl -H "Authorization: bearer AUTH_TOKEN" -H "Content-Type: application/json" 
"https://anypoint.mulesoft.com/accounts/api/cs/organizations/<ORGANIZATION_ID>/usage";
Below is the sample output snippet from the above API call
{
  "productionVCoresConsumed": 1.8,
  "sandboxVCoresConsumed": 3.7,
  "designVCoresConsumed": 0,
  "staticIpsConsumed": 3,
  "vpcsConsumed": 2,
  "loadBalancersConsumed": 1,
  "workerCloudsConsumed": 0
}

Please refer Access Management API for more information on various Access Management API's available.
 

 

Knowledge-artikkelnummer

001114979

 
Laster
Salesforce Help | Article