Google Cloud Platform · Arazzo Workflow

Google Cloud Platform Audit Folder and Projects

Version 1.0.0

Search for a folder, fetch its record, then list the projects directly under it.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub API ManagementCloud ComputingInfrastructurePlatform-as-a-ServiceArazzoWorkflows

Provider

google-cloud-platform

Workflows

audit-folder-and-projects
Find a folder by query then read it and enumerate its child projects.
Searches for a folder, gets it by id, and lists its child projects.
3 steps inputs: folderId, query outputs: folderName, projects, state
1
searchFolder
Search for the folder and capture the first matching folder resource name.
2
getFolder
Fetch the full folder record by its resource id.
3
listChildProjects
List the projects that are direct children of the matched folder.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Google Cloud Platform Audit Folder and Projects
  summary: Search for a folder, fetch its record, then list the projects directly under it.
  description: >-
    Audits a folder and the projects it contains. The workflow searches for a
    folder by query, fetches the matched folder by its resource id for full
    metadata, and lists the projects that are direct children of that folder so
    callers can review the folder and its contents together. Every step spells
    out its request inline so the flow can be read and executed without opening
    the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: foldersApi
  url: ../openapi/google-cloud-platform-folders-api-openapi.yml
  type: openapi
- name: projectsApi
  url: ../openapi/google-cloud-platform-projects-api-openapi.yml
  type: openapi
workflows:
- workflowId: audit-folder-and-projects
  summary: Find a folder by query then read it and enumerate its child projects.
  description: >-
    Searches for a folder, gets it by id, and lists its child projects.
  inputs:
    type: object
    required:
    - query
    - folderId
    properties:
      query:
        type: string
        description: Folder search query, e.g. displayName=Engineering.
      folderId:
        type: string
        description: The folder resource id to fetch (e.g. 500123).
  steps:
  - stepId: searchFolder
    description: >-
      Search for the folder and capture the first matching folder resource name.
    operationId: cloudresourcemanager.folders.search
    parameters:
    - name: query
      in: query
      value: $inputs.query
    - name: pageSize
      in: query
      value: 1
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      folderName: $response.body#/folders/0/name
  - stepId: getFolder
    description: >-
      Fetch the full folder record by its resource id.
    operationId: cloudresourcemanager.folders.get
    parameters:
    - name: folderId
      in: path
      value: $inputs.folderId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      state: $response.body#/state
      parent: $response.body#/parent
  - stepId: listChildProjects
    description: >-
      List the projects that are direct children of the matched folder.
    operationId: cloudresourcemanager.projects.list
    parameters:
    - name: parent
      in: query
      value: $steps.searchFolder.outputs.folderName
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      projects: $response.body#/projects
  outputs:
    folderName: $steps.searchFolder.outputs.folderName
    state: $steps.getFolder.outputs.state
    projects: $steps.listChildProjects.outputs.projects

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/google-cloud-platform-audit-folder-and-projects-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.