Export data to a Cloud Storage bucket or BigQuery table
Stay organized with collectionsSave and categorize content based on your preferences.
This document explains how to export usage and forecast data of the resources in
your project, folder, or organization to a Cloud Storage bucket or
BigQuery table. To export this data as a CSV file to your local
workstation, see insteadExport data to your local workstation.
You can use the Capacity Planner API to export usage data to a
Cloud Storage bucket or a BigQuery table for the
following resources:
Compute Engine instances
Persistent Disk volumes
GPUs
TPUs
Reservations
This usage data helps you analyze usage trends and plan for future capacity
needs.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe Capacity Planner API allows you to export usage and forecast data for Compute Engine resources, including VM instances, Persistent Disk volumes, GPUs, and Reservations.\u003c/p\u003e\n"],["\u003cp\u003eThis API is currently in private preview and is subject to the Pre-GA Offerings Terms, meaning it is available "as is" with potentially limited support.\u003c/p\u003e\n"],["\u003cp\u003eYou can export data to either a Cloud Storage bucket or a BigQuery table, to allow for future capacity needs planning and the analysis of trends in usage.\u003c/p\u003e\n"],["\u003cp\u003eAccess to the Capacity Planner API and its user guide requires membership in capacity-planner-api-users@googlegroups.com; contact your Technical Account Manager or the Sales team for further information.\u003c/p\u003e\n"],["\u003cp\u003eThe option is also available to export Compute Engine resource usage and forecast data as a CSV file to a local workstation using the Google Cloud console.\u003c/p\u003e\n"]]],[],null,["| **Preview**\n|\n|\n| This product is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA products are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\nThis document explains how to export usage and forecast data of the resources in\nyour project, folder, or organization to a Cloud Storage bucket or\nBigQuery table. To export this data as a CSV file to your local\nworkstation, see instead\n[Export data to your local workstation](/capacity-planner/docs/export-data-api).\n\nYou can use the Capacity Planner API to export usage data to a\nCloud Storage bucket or a BigQuery table for the\nfollowing resources:\n\n- Compute Engine instances\n\n- Persistent Disk volumes\n\n- GPUs\n\n- TPUs\n\n- Reservations\n\nThis usage data helps you analyze usage trends and plan for future capacity\nneeds.\n\nBefore you begin\n\nIf you haven't used Capacity Planner before, review\n[Capacity Planner overview](/capacity-planner/docs/overview)\nand enable Capacity Planner by completing the\n[prerequisites for projects and users](/capacity-planner/docs/overview#prerequisites).\n\nExport data to a Cloud Storage bucket or BigQuery table\n\nFor instructions, see\n[Capacity Planner API: Preview User Guide](https://drive.google.com/file/d/1cLHV8jGLtotFEptUyiHe1PXr-u2MZ9xi/).\n| **Important:** To access the user guide, you must be a member of [capacity-planner-api-users@googlegroups.com](mailto:capacity-planner-api-users@googlegroups.com). For more information, contact your assigned [technical account manager (TAM)](/tam) or the [sales team](/contact).\n\nFor more information about using the Capacity Planner API, see the\n[REST Capacity Planner API reference](/capacity-planner/docs/reference/rest).\n\nWhat's next\n\n- [Audit logging information](/capacity-planner/docs/audit-logging)"]]