Amazon API Gateway · Arazzo Workflow

AWS API Gateway Inspect a REST API Method

Version 1.0.0

Confirm a REST API, list its resources, and read the method configuration for a chosen resource and verb.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub API GatewayCloudRESTHTTPWebSocketServerlessMCPAgentCoreDeveloper PortalArazzoWorkflows

Provider

aws-api-gateway

Workflows

inspect-rest-api-method
Resolve a resource and read its method configuration.
Confirms a REST API, lists resources, and reads a method for the supplied resource and HTTP verb.
3 steps inputs: httpMethod, restApiId outputs: apiKeyRequired, authorizationType, resourceId, restApiName
1
confirmRestApi
Confirm the REST API exists.
2
listResources
List resources to resolve a target resource id.
3
getMethod
Read the method configuration for the resolved resource and HTTP verb.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: AWS API Gateway Inspect a REST API Method
  summary: Confirm a REST API, list its resources, and read the method configuration for a chosen resource and verb.
  description: >-
    A read-only audit of an Amazon API Gateway V1 method. The workflow confirms
    the REST API exists, lists its resources to resolve a target resource id,
    and retrieves the method definition for the requested HTTP verb so its
    authorization type and api-key requirement can be inspected. 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: methodsApi
  url: ../openapi/aws-api-gateway-methods-api-openapi.yml
  type: openapi
- name: resourcesApi
  url: ../openapi/aws-api-gateway-resources-api-openapi.yml
  type: openapi
- name: restapisApi
  url: ../openapi/aws-api-gateway-restapis-api-openapi.yml
  type: openapi
workflows:
- workflowId: inspect-rest-api-method
  summary: Resolve a resource and read its method configuration.
  description: >-
    Confirms a REST API, lists resources, and reads a method for the supplied
    resource and HTTP verb.
  inputs:
    type: object
    required:
    - restApiId
    - httpMethod
    properties:
      restApiId:
        type: string
        description: Identifier of the REST API to inspect.
      httpMethod:
        type: string
        description: HTTP verb of the method to read.
  steps:
  - stepId: confirmRestApi
    description: Confirm the REST API exists.
    operationId: getRestApi
    parameters:
    - name: restapi_id
      in: path
      value: $inputs.restApiId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      restApiName: $response.body#/name
  - stepId: listResources
    description: List resources to resolve a target resource id.
    operationId: getResources
    parameters:
    - name: restapi_id
      in: path
      value: $inputs.restApiId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      resourceId: $response.body#/items/0/id
  - stepId: getMethod
    description: Read the method configuration for the resolved resource and HTTP verb.
    operationId: getMethod
    parameters:
    - name: restapi_id
      in: path
      value: $inputs.restApiId
    - name: resource_id
      in: path
      value: $steps.listResources.outputs.resourceId
    - name: http_method
      in: path
      value: $inputs.httpMethod
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      authorizationType: $response.body#/authorizationType
      apiKeyRequired: $response.body#/apiKeyRequired
  outputs:
    restApiName: $steps.confirmRestApi.outputs.restApiName
    resourceId: $steps.listResources.outputs.resourceId
    authorizationType: $steps.getMethod.outputs.authorizationType
    apiKeyRequired: $steps.getMethod.outputs.apiKeyRequired

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/aws-api-gateway-inspect-rest-api-method-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.