Amazon EC2 Image Builder ListWorkflowStepExecutions API

The ListWorkflowStepExecutions API from Amazon EC2 Image Builder — 1 operation(s) for listworkflowstepexecutions.

GitHub OpenAPI

Operations 1

POST /ListWorkflowStepExecutions List Workflow Step Executions #

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/amazon-ec2-image-builder:amazon-ec2-image-builder-listworkflowstepexecutions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

amazon-ec2-image-builder-listworkflowstepexecutions-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: EC2 Image Builder Listworkflowstepexecutions API
  version: '2019-12-02'
  description: Generated from AWS's published Smithy model for EC2 Image Builder. 1 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://imagebuilder.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /ListWorkflowStepExecutions:
    post:
      operationId: ListWorkflowStepExecutions
      summary: List Workflow Step Executions
      description: Returns runtime data for each step in a runtime instance of the workflow that you specify in the request.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListWorkflowStepExecutionsResponse'
              example:
                requestId: c6258beb-bc78-40dc-8bf9-fa5a8a93d3f3
                steps:
                - stepExecutionId: step-2e6fef0d-657c-4b7e-8706-ff24da9afa01
                  name: LaunchBuildInstance
                  action: LaunchInstance
                  status: COMPLETED
                  inputs: '{"waitFor": "ssmAgent"}'
                  outputs: '{"instanceId": "i-1234567890abcdef0"}'
                  startTime: '2026-09-09T19:12:23.418Z'
                  endTime: '2026-09-09T19:14:50.822Z'
                - stepExecutionId: step-f76c24fe-dc70-435b-8dc1-987a0ca6d5a5
                  name: ApplyBuildComponents
                  action: ExecuteComponents
                  status: SKIPPED
                  inputs: '{"instanceId.$": "$.stepOutputs.LaunchBuildInstance.instanceId"}'
                  startTime: '2026-09-09T19:14:51.229Z'
                  endTime: '2026-09-09T19:14:51.229Z'
                - stepExecutionId: step-aa880a39-e72c-4561-aa05-eb3de860441a
                  name: InventoryCollection
                  action: CollectImageMetadata
                  status: COMPLETED
                  inputs: '{"instanceId": "i-1234567890abcdef0"}'
                  outputs: '{"osVersion": "Amazon Linux 2023", "associationId": "7416ce2e-4ee8-4660-8c42-a09a03f61010"}'
                  startTime: '2026-09-09T19:14:51.818Z'
                  endTime: '2026-09-09T19:16:26.267Z'
                - stepExecutionId: step-572bdd17-25c4-4729-9f2e-7fd611807751
                  name: RunSanitizeScript
                  action: SanitizeInstance
                  status: COMPLETED
                  outputs: '{"status": "Success", "output": "Skipping cleanup\n", "runCommandId": "9eef9fe1-12e8-4c97-8e9a-4e79632864f4"}'
                  startTime: '2026-09-09T19:16:26.742Z'
                  endTime: '2026-09-09T19:16:36.559Z'
                - stepExecutionId: step-06026579-939d-4b1b-b36e-fa58cb712a48
                  name: RunSysPrepScript
                  action: RunSysPrep
                  status: SKIPPED
                  inputs: '{"instanceId.$": "$.stepOutputs.LaunchBuildInstance.instanceId"}'
                  startTime: '2026-09-09T19:16:36.973Z'
                  endTime: '2026-09-09T19:16:36.973Z'
                - stepExecutionId: step-50e4312d-400c-453e-957c-714cbee6961c
                  name: CreateOutputAMI
                  action: CreateImage
                  status: COMPLETED
                  inputs: '{"instanceId": "i-1234567890abcdef0"}'
                  outputs: '{"imageId": "ami-1234567890abcdef0"}'
                  startTime: '2026-09-09T19:16:37.499Z'
                  endTime: '2026-09-09T19:19:02.135Z'
                - stepExecutionId: step-22673db0-e280-4948-b9b5-789791531c34
                  name: TerminateBuildInstance
                  action: TerminateInstance
                  status: COMPLETED
                  inputs: '{"instanceId": "i-1234567890abcdef0"}'
                  startTime: '2026-09-09T19:19:02.546Z'
                  endTime: '2026-09-09T19:19:06.132Z'
                workflowBuildVersionArn: arn:aws:imagebuilder:us-west-2:aws:workflow/build/build-image/1.0.3/1
                workflowExecutionId: wf-165b1cb6-3a62-4618-a021-94ddcbe32908
                imageBuildVersionArn: arn:aws:imagebuilder:us-west-2:111122223333:image/my-example-recipe/1.0.0/1
        '429':
          description: CallRateLimitExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CallRateLimitExceededException'
        '400':
          description: ClientException; InvalidPaginationTokenException; InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientException'
        '403':
          description: ForbiddenException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForbiddenException'
        '500':
          description: ServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceException'
        '503':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                maxResults:
                  type: integer
                  description: The maximum number of items to return in a single request. If you don't specify a value, Image
                    Builder returns up to 25 items. The largest page size that you can request is 100 items. A page can contain
                    fewer items than the maximum, with a nextToken to continue paging.
                nextToken:
                  type: string
                  description: A token to specify where to start paginating. Use the nextToken value from a previously truncated
                    response.
                workflowExecutionId:
                  type: string
                  description: The unique identifier that Image Builder assigned to keep track of runtime details when it
                    ran the workflow.
              required:
              - workflowExecutionId
            example:
              workflowExecutionId: wf-165b1cb6-3a62-4618-a021-94ddcbe32908
      tags:
      - Listworkflowstepexecutions
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: imagebuilder
  schemas:
    CallRateLimitExceededException:
      type: object
      properties:
        message:
          type: string
    ClientException:
      type: object
      properties:
        message:
          type: string
    ForbiddenException:
      type: object
      properties:
        message:
          type: string
    ListWorkflowStepExecutionsResponse:
      type: object
      properties:
        requestId:
          type: string
          description: The request ID that uniquely identifies this request.
        steps:
          type: array
          items:
            $ref: '#/components/schemas/WorkflowStepMetadata'
          description: Contains an array of runtime details that represents each step in this runtime instance of the workflow.
        workflowBuildVersionArn:
          type: string
          description: The build version Amazon Resource Name (ARN) for the Image Builder workflow resource that defines the
            steps for this runtime instance of the workflow.
        workflowExecutionId:
          type: string
          description: The unique identifier that Image Builder assigned to keep track of runtime details when it ran the
            workflow.
        imageBuildVersionArn:
          type: string
          description: The image build version resource Amazon Resource Name (ARN) that's associated with the specified runtime
            instance of the workflow.
        message:
          type: string
          description: The output message from the list action, if applicable.
        nextToken:
          type: string
          description: The next token used for paginated responses. When this field isn't empty, there are additional elements
            that the service hasn't included in this request. Use this token with the next request to retrieve additional
            objects.
    ServiceException:
      type: object
      properties:
        message:
          type: string
    ServiceUnavailableException:
      type: object
      properties:
        message:
          type: string
    WorkflowStepMetadata:
      type: object
      properties:
        stepExecutionId:
          type: string
          description: A unique identifier for the workflow step, assigned at runtime.
        name:
          type: string
          description: The name of the workflow step.
        description:
          type: string
          description: Description of the workflow step.
        action:
          type: string
          description: The step action name.
        status:
          type: string
          enum:
          - PENDING
          - SKIPPED
          - RUNNING
          - COMPLETED
          - FAILED
          - CANCELLED
          description: Runtime status for the workflow step.
        rollbackStatus:
          type: string
          enum:
          - RUNNING
          - COMPLETED
          - SKIPPED
          - FAILED
          description: Reports on the rollback status of the step, if applicable.
        message:
          type: string
          description: Detailed output message that the workflow step provides at runtime.
        inputs:
          type: string
          description: Input parameters that Image Builder provides for the workflow step, as a JSON-encoded string.
        outputs:
          type: string
          description: The output values that the workflow step produced for this runtime instance of the workflow, as a JSON-encoded
            string. For example, a step that launches an instance outputs the instance ID. If the step failed, this field
            contains the error message.
        startTime:
          type: string
          description: The timestamp when the workflow step started.
        endTime:
          type: string
          description: The timestamp when the workflow step finished.
        attemptNumber:
          type: integer
          description: The current attempt number for the workflow step. The first run is attempt one. The number increases
            by one for each retry.
        maxAttempts:
          type: integer
          description: The maximum number of attempts allowed for the workflow step, based on the retry configuration in the
            workflow document. If the step doesn't configure retries, the maximum is one attempt.
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/imagebuilder/service/2019-12-02/imagebuilder-2019-12-02.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)