AWS Step Functions AWS Step Functions #X Amz Target=AWSStepFunctions.ListStateM… API

The AWS Step Functions #X Amz Target=AWSStepFunctions.ListStateM… API from AWS Step Functions — 2 operation(s) for aws step functions #x amz target=awsstepfunctions.liststatem….

GitHub OpenAPI

Operations 2

POST /#ListStateMachineVersions List State Machine Versions #
POST /#ListStateMachineAliases List State Machine Aliases #

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/aws-step-functions:aws-step-functions-aws-step-functions-x-amz-target-awsstepfunctions-liststatem-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

aws-step-functions-aws-step-functions-x-amz-target-awsstepfunctions-liststatem-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Step Functions Aws Step Functions X Amz Target Awsstepfunctions Liststatem API
  version: '2016-11-23'
  description: Generated from AWS's published Smithy model for AWS Step Functions. 2 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://states.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#ListStateMachineVersions:
    post:
      operationId: ListStateMachineVersions
      summary: List State Machine Versions
      description: 'Lists versions for the specified state machine Amazon Resource Name (ARN). The results are sorted in descending
        order of the version creation time. If nextToken is returned, there are more results available. The value of nextToken
        is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
        Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token
        will return an HTTP 400 InvalidToken error. Related operations: PublishStateMachineVersion DeleteStateMachineVersion'
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ListStateMachineVersionsOutput'
        '400':
          description: InvalidArn; InvalidToken; ValidationException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InvalidArn'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSStepFunctions.ListStateMachineVersions
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/ListStateMachineVersionsInput'
      tags:
      - Aws Step Functions X Amz Target Awsstepfunctions Liststatem
  /#ListStateMachineAliases:
    post:
      operationId: ListStateMachineAliases
      summary: List State Machine Aliases
      description: 'Lists aliases for a specified state machine ARN. Results are sorted by time, with the most recently created
        aliases listed first. To list aliases that reference a state machine version, you can specify the version ARN in the
        stateMachineArn parameter. If nextToken is returned, there are more results available. The value of nextToken is a
        unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep
        all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will
        return an HTTP 400 InvalidToken error. Related operations: CreateStateMachineAlias DescribeStateMachineAlias UpdateStateMachineAlias
        DeleteStateMachineAlias'
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ListStateMachineAliasesOutput'
        '400':
          description: InvalidArn; InvalidToken; StateMachineDeleting; StateMachineDoesNotExist
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InvalidArn'
        '404':
          description: ResourceNotFound
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ResourceNotFound'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSStepFunctions.ListStateMachineAliases
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/ListStateMachineAliasesInput'
      tags:
      - Aws Step Functions X Amz Target Awsstepfunctions Liststatem
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: states
  schemas:
    InvalidArn:
      type: object
      properties:
        message:
          type: string
    ListStateMachineAliasesInput:
      type: object
      properties:
        stateMachineArn:
          type: string
          description: The Amazon Resource Name (ARN) of the state machine for which you want to list aliases. If you specify
            a state machine version ARN, this API returns a list of aliases for that version.
        nextToken:
          type: string
          description: If nextToken is returned, there are more results available. The value of nextToken is a unique pagination
            token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments
            unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP
            400 InvalidToken error.
        maxResults:
          type: integer
          description: The maximum number of results that are returned per call. You can use nextToken to obtain further pages
            of results. The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default. This
            is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.
      required:
      - stateMachineArn
    ListStateMachineAliasesOutput:
      type: object
      properties:
        stateMachineAliases:
          type: array
          items:
            $ref: '#/components/schemas/StateMachineAliasListItem'
          description: Aliases for the state machine.
        nextToken:
          type: string
          description: If nextToken is returned, there are more results available. The value of nextToken is a unique pagination
            token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments
            unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP
            400 InvalidToken error.
      required:
      - stateMachineAliases
    ListStateMachineVersionsInput:
      type: object
      properties:
        stateMachineArn:
          type: string
          description: The Amazon Resource Name (ARN) of the state machine.
        nextToken:
          type: string
          description: If nextToken is returned, there are more results available. The value of nextToken is a unique pagination
            token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments
            unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP
            400 InvalidToken error.
        maxResults:
          type: integer
          description: The maximum number of results that are returned per call. You can use nextToken to obtain further pages
            of results. The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default. This
            is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.
      required:
      - stateMachineArn
    ListStateMachineVersionsOutput:
      type: object
      properties:
        stateMachineVersions:
          type: array
          items:
            $ref: '#/components/schemas/StateMachineVersionListItem'
          description: Versions for the state machine.
        nextToken:
          type: string
          description: If nextToken is returned, there are more results available. The value of nextToken is a unique pagination
            token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments
            unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP
            400 InvalidToken error.
      required:
      - stateMachineVersions
    ResourceNotFound:
      type: object
      properties:
        message:
          type: string
        resourceName:
          type: string
    StateMachineAliasListItem:
      type: object
      properties:
        stateMachineAliasArn:
          type: string
          description: The Amazon Resource Name (ARN) that identifies a state machine alias. The alias ARN is a combination
            of state machine ARN and the alias name separated by a colon (:). For example, stateMachineARN:PROD.
        creationDate:
          type: string
          format: date-time
          description: The creation date of a state machine alias.
      required:
      - stateMachineAliasArn
      - creationDate
    StateMachineVersionListItem:
      type: object
      properties:
        stateMachineVersionArn:
          type: string
          description: The Amazon Resource Name (ARN) that identifies a state machine version. The version ARN is a combination
            of state machine ARN and the version number separated by a colon (:). For example, stateMachineARN:1.
        creationDate:
          type: string
          format: date-time
          description: The creation date of a state machine version.
      required:
      - stateMachineVersionArn
      - creationDate
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/sfn/service/2016-11-23/sfn-2016-11-23.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)