Postman · Arazzo Workflow

Postman Inspect an API Schema

Version 1.0.0

Read an API, list its schemas, fetch one schema, and read its files.

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-api-schema
Drill from an API into one of its schemas and its files.
Reads an API with its schemas included, lists the schemas, selects the first schema ID, fetches that schema, and reads its files.
4 steps inputs: apiId outputs: apiName, files, schemaId, schemaType
1
getApi
getApi
Read the API including its schema list.
2
listSchemas
getApiSchemas
List all schemas associated with the API and take the first one.
3
getSchema
getApiSchema
Fetch the selected schema's details.
4
getSchemaFiles
getApiSchemaFiles
Read the files that make up the schema.

Source API Descriptions

Arazzo Workflow Specification

postman-inspect-api-schema-workflow.yml Raw ↑
arazzo: 1.0.1
info:
  title: Postman Inspect an API Schema
  summary: Read an API, list its schemas, fetch one schema, and read its files.
  description: >-
    A read-only path for drilling into an API definition's schema. The workflow
    reads an API including its schemas, lists the API's schemas, fetches a single
    schema, and reads the underlying schema files. 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: apisApi
  url: ../openapi/postman-apis-api-openapi.yml
  type: openapi
workflows:
- workflowId: inspect-api-schema
  summary: Drill from an API into one of its schemas and its files.
  description: >-
    Reads an API with its schemas included, lists the schemas, selects the first
    schema ID, fetches that schema, and reads its files.
  inputs:
    type: object
    required:
    - apiId
    properties:
      apiId:
        type: string
        description: The API's unique ID.
  steps:
  - stepId: getApi
    description: >-
      Read the API including its schema list.
    operationId: getApi
    parameters:
    - name: apiId
      in: path
      value: $inputs.apiId
    - name: include
      in: query
      value:
      - schemas
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      apiName: $response.body#/name
  - stepId: listSchemas
    description: >-
      List all schemas associated with the API and take the first one.
    operationId: getApiSchemas
    parameters:
    - name: apiId
      in: path
      value: $inputs.apiId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      schemaId: $response.body#/schemas/0/id
  - stepId: getSchema
    description: >-
      Fetch the selected schema's details.
    operationId: getApiSchema
    parameters:
    - name: apiId
      in: path
      value: $inputs.apiId
    - name: schemaId
      in: path
      value: $steps.listSchemas.outputs.schemaId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      schemaType: $response.body#/type
  - stepId: getSchemaFiles
    description: >-
      Read the files that make up the schema.
    operationId: getApiSchemaFiles
    parameters:
    - name: apiId
      in: path
      value: $inputs.apiId
    - name: schemaId
      in: path
      value: $steps.listSchemas.outputs.schemaId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      files: $response.body#/files
  outputs:
    apiName: $steps.getApi.outputs.apiName
    schemaId: $steps.listSchemas.outputs.schemaId
    schemaType: $steps.getSchema.outputs.schemaType
    files: $steps.getSchemaFiles.outputs.files