Reporting app, task, and service instance usage in Tanzu Platform
search cancel

Reporting app, task, and service instance usage in Tanzu Platform

book

Article ID: 424893

calendar_today

Updated On:

Products

VMware Tanzu Application Service VMware Tanzu Platform VMware Tanzu Platform Core

Issue/Introduction

You can use the Cloud Foundry Command Line Interface (cf CLI) to retrieve historical system-level and organization-level usage data for TAS for VMs apps, tasks, and service instances via the Cloud Controller and Usage Service APIs. If you need to retrieve usage data for a specific year, you must apply a filter to the curl command, as detailed in this article.

Resolution

You can run the below curl query to retrieve the service usage, app usage and task usage respectively.

curl "https://apps.YOUR-SYSTEM-DOMAIN/proxy/home/accounting_report/system_report/service_usages?year=2025" -k  -H "authorization: `cf oauth-token`"
curl "https://apps.YOUR-SYSTEM-DOMAIN/proxy/home/accounting_report/system_report/app_usages?year=2025" -k  -H "authorization: `cf oauth-token`"
curl "https://apps.YOUR-SYSTEM-DOMAIN/proxy/home/accounting_report/system_report/task_usages?year=2025" -k  -H "authorization: `cf oauth-token`"

Note: Replace the year 2025 accordingly.

Additional Information

You can refer to the official documentation Reporting app, task, and service instance usage for usage reports and also use apps manager to view the usage report as mentioned here Reporting instance usage with Apps Manager