Postman · Arazzo Workflow

Postman Inspect Collection Contents

Version 1.0.0

Read a collection's requests, folders, and saved example responses.

1 workflow 1 source API 1 provider
View Spec View on GitHub AI Agent BuilderAI AgentsAPI CatalogAPI ClientAPI DesignAPI DevelopmentAPI DocumentationAPI GovernanceAPI LifecycleAPI MonitoringAPI NetworkAPI PlatformAPI TestingAudit LogsAutomationCI/CDCollaborationCollectionsComplianceDiscoveryEnvironmentsFlowsGraphQLgRPCHTTPInsightsMCPMCP GeneratorMock ServersMockingMonitorsNewmanOpenAPIPlatformPrivate API NetworkPublic API NetworkSecret ScanningSpec HubSpecificationsSSOTestingVaultWebSocketWorkflowsWorkspacesArazzoWorkflows

Provider

postman

Workflows

inspect-collection-contents
Enumerate a collection's definition, requests, folders, and responses.
Reads a collection and then lists its requests, folders, and saved example responses for a complete read-only inventory.
4 steps inputs: collectionId outputs: folders, name, requests, responses
1
getCollection
getCollection
Fetch the full collection definition including metadata and items.
2
listRequests
getCollectionRequests
List all requests in the collection with their method and URL metadata.
3
listFolders
getCollectionFolders
List all folders in the collection along with their hierarchy metadata.
4
listResponses
getCollectionResponses
List all saved example responses in the collection.

Source API Descriptions

Arazzo Workflow Specification

postman-inspect-collection-contents-workflow.yml Raw ↑
arazzo: 1.0.1
info:
  title: Postman Inspect Collection Contents
  summary: Read a collection's requests, folders, and saved example responses.
  description: >-
    A read-only audit pattern for understanding what a collection contains. The
    workflow fetches the collection definition, then enumerates its requests,
    folders, and saved example responses so callers can build an inventory of
    the collection's structure. 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: collectionsApi
  url: ../openapi/postman-collections-api-openapi.yml
  type: openapi
workflows:
- workflowId: inspect-collection-contents
  summary: Enumerate a collection's definition, requests, folders, and responses.
  description: >-
    Reads a collection and then lists its requests, folders, and saved example
    responses for a complete read-only inventory.
  inputs:
    type: object
    required:
    - collectionId
    properties:
      collectionId:
        type: string
        description: The collection's unique ID or UID to inspect.
  steps:
  - stepId: getCollection
    description: >-
      Fetch the full collection definition including metadata and items.
    operationId: getCollection
    parameters:
    - name: collectionId
      in: path
      value: $inputs.collectionId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      name: $response.body#/collection/info/name
  - stepId: listRequests
    description: >-
      List all requests in the collection with their method and URL metadata.
    operationId: getCollectionRequests
    parameters:
    - name: collectionId
      in: path
      value: $inputs.collectionId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      requests: $response.body#/data
  - stepId: listFolders
    description: >-
      List all folders in the collection along with their hierarchy metadata.
    operationId: getCollectionFolders
    parameters:
    - name: collectionId
      in: path
      value: $inputs.collectionId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      folders: $response.body#/data
  - stepId: listResponses
    description: >-
      List all saved example responses in the collection.
    operationId: getCollectionResponses
    parameters:
    - name: collectionId
      in: path
      value: $inputs.collectionId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      responses: $response.body#/data
  outputs:
    name: $steps.getCollection.outputs.name
    requests: $steps.listRequests.outputs.requests
    folders: $steps.listFolders.outputs.folders
    responses: $steps.listResponses.outputs.responses