Chef · Arazzo Workflow

Chef Snapshot an Infra Server Organization Inventory

Version 1.0.0

Walk nodes, cookbooks, roles, environments, and data bags to build one organization snapshot.

1 workflow 5 source APIs 1 provider
View Spec View on GitHub Application DeliveryAutomationComplianceConfiguration ManagementDevOpsDevSecOpsHabitatInfrastructure as CodeInSpecArazzoWorkflows

Provider

chef

Workflows

snapshot-org-inventory
Collect a full point-in-time inventory of a Chef Infra Server organization.
Walks every top-level Infra Server collection for the organization in the base URL and returns each as a named output for diffing or archiving.
5 steps inputs: snapshotLabel outputs: cookbooks, dataBags, environments, nodes, roles
1
collectNodes
List every node under management. This is the backbone of the snapshot and the collection most likely to have drifted since the last run.
2
collectCookbooks
List the cookbooks published to the organization along with their available versions, establishing what the nodes are able to converge.
3
collectRoles
List the roles defined for the organization, which is how run lists in the node snapshot resolve to real recipes.
4
collectEnvironments
List the environments, capturing how the organization separates production, staging, and development cookbook version constraints.
5
collectDataBags
List the data bags themselves without reading their items, recording where configuration data lives while leaving encrypted contents untouched.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Chef Snapshot an Infra Server Organization Inventory
  summary: Walk nodes, cookbooks, roles, environments, and data bags to build one organization snapshot.
  description: >-
    The read-only sweep behind CMDB synchronization, drift reporting, and
    disaster-recovery documentation. Chef's Infra Server keeps each class of
    object behind its own collection endpoint, so a complete picture of an
    organization means walking all of them in one pass and treating the result
    as a single point-in-time snapshot. The workflow lists nodes, cookbooks,
    roles, environments, and data bags in sequence, emitting each collection as
    a named output that a downstream system can diff against its own inventory.
    Data bag items are not read here, only the bags themselves, which keeps
    encrypted secrets out of the snapshot by design. Each 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: cookbooksApi
  url: ../openapi/chef-cookbooks-api-openapi.yml
  type: openapi
- name: dataBagsApi
  url: ../openapi/chef-data-bags-api-openapi.yml
  type: openapi
- name: environmentsApi
  url: ../openapi/chef-environments-api-openapi.yml
  type: openapi
- name: nodesApi
  url: ../openapi/chef-nodes-api-openapi.yml
  type: openapi
- name: rolesApi
  url: ../openapi/chef-roles-api-openapi.yml
  type: openapi
workflows:
- workflowId: snapshot-org-inventory
  summary: Collect a full point-in-time inventory of a Chef Infra Server organization.
  description: >-
    Walks every top-level Infra Server collection for the organization in the
    base URL and returns each as a named output for diffing or archiving.
  inputs:
    type: object
    properties:
      snapshotLabel:
        type: string
        description: An optional label for the snapshot run (e.g. "2026-07-16-nightly").
  steps:
  - stepId: collectNodes
    description: >-
      List every node under management. This is the backbone of the snapshot and
      the collection most likely to have drifted since the last run.
    operationId: listNodes
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      nodes: $response.body
  - stepId: collectCookbooks
    description: >-
      List the cookbooks published to the organization along with their
      available versions, establishing what the nodes are able to converge.
    operationId: listCookbooks
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      cookbooks: $response.body
  - stepId: collectRoles
    description: >-
      List the roles defined for the organization, which is how run lists in the
      node snapshot resolve to real recipes.
    operationId: listRoles
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      roles: $response.body
  - stepId: collectEnvironments
    description: >-
      List the environments, capturing how the organization separates
      production, staging, and development cookbook version constraints.
    operationId: listEnvironments
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      environments: $response.body
  - stepId: collectDataBags
    description: >-
      List the data bags themselves without reading their items, recording where
      configuration data lives while leaving encrypted contents untouched.
    operationId: listDataBags
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      dataBags: $response.body
  outputs:
    nodes: $steps.collectNodes.outputs.nodes
    cookbooks: $steps.collectCookbooks.outputs.cookbooks
    roles: $steps.collectRoles.outputs.roles
    environments: $steps.collectEnvironments.outputs.environments
    dataBags: $steps.collectDataBags.outputs.dataBags

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/chef-infra-inventory-snapshot-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.