1. Docs
  2. Reference
  3. REST API Docs
  4. Data Export

Data Export

    Data Export allows you to download resource data from Pulumi Cloud for offline analysis or integration with other systems. The Data Export API provides an endpoint for exporting resource search results.

    Export Org Resource Search Query

    GET /api/orgs/{orgName}/search/resources/export

    ExportOrgResourceSearchQuery exports resource search results as a CSV file download. Supports the same query parameters as the standard resource search to filter results.

    Request Parameters

    • orgName string path required
      The organization name
    • collapse boolean query optional
      Collapse results to show one entry per stack instead of per resource
    • cursor string query optional
      Cursor for paginated results
    • facet array query optional
      Facet filters to apply
    • page integer query optional
      Page number for pagination
    • properties boolean query optional
      Include resource properties in search results (may increase response size)
    • query string query optional
      Search query string
    • size integer query optional
      Number of results to return
    • sort array query optional
      Sort order for results
    • top integer query optional
      Number of top aggregation buckets to return

    Responses

    200 CSV file with exported resource data
    Errors: 422 search cluster is unreachable