AWS Glue AWS Glue #X Amz Target=AWSGlue.BatchGetWorkflows API

The AWS Glue #X Amz Target=AWSGlue.BatchGetWorkflows API API from AWS Glue — 1 operation(s) for aws glue #x amz target=awsglue.batchgetworkflows api.

GitHub OpenAPI

Operations 1

POST /#BatchGetWorkflows Batch Get Workflows #

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-glue:aws-glue-aws-glue-x-amz-target-awsglue-batchgetworkflows-api-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-glue-aws-glue-x-amz-target-awsglue-batchgetworkflows-api-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Glue Aws Glue X Amz Target Awsglue Batchgetworkflows Api API
  version: '2017-03-31'
  description: Generated from AWS's published Smithy model for AWS Glue. 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://glue.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#BatchGetWorkflows:
    post:
      operationId: BatchGetWorkflows
      summary: Batch Get Workflows
      description: Returns a list of resource metadata for a given list of workflow names. After calling the ListWorkflows
        operation, you can call this operation to access the data to which you have been granted permissions. This operation
        supports all IAM permissions, including permission conditions that uses tags.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/BatchGetWorkflowsResponse'
        '500':
          description: InternalServiceException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServiceException'
        '400':
          description: InvalidInputException; OperationTimeoutException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InvalidInputException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSGlue.BatchGetWorkflows
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/BatchGetWorkflowsRequest'
      tags:
      - Aws Glue X Amz Target Awsglue Batchgetworkflows Api
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: glue
  schemas:
    Action:
      type: object
      properties:
        JobName:
          type: string
          description: The name of a job to be run.
        Arguments:
          type: object
          additionalProperties:
            type: string
          description: The job arguments used when this trigger fires. For this job run, they replace the default arguments
            set in the job definition itself. You can specify arguments here that your own job-execution script consumes,
            as well as arguments that Glue itself consumes. For information about how to specify and consume your own Job
            arguments, see the Calling Glue APIs in Python topic in the developer guide. For information about the key-value
            pairs that Glue consumes to set up your job, see the Special Parameters Used by Glue topic in the developer guide.
        Timeout:
          type: integer
          description: The JobRun timeout in minutes. This is the maximum time that a job run can consume resources before
            it is terminated and enters TIMEOUT status. This overrides the timeout value set in the parent job. Jobs must
            have timeout values less than 7 days or 10080 minutes. Otherwise, the jobs will throw an exception. When the value
            is left blank, the timeout is defaulted to 2,880 minutes for Glue version 4.0 and earlier, or 480 minutes for
            Glue version 5.0 and later. Any existing Glue jobs that had a timeout value greater than 7 days will be defaulted
            to 7 days. For instance if you have specified a tim
        SecurityConfiguration:
          type: string
          description: The name of the SecurityConfiguration structure to be used with this action.
        NotificationProperty:
          $ref: '#/components/schemas/NotificationProperty'
        CrawlerName:
          type: string
          description: The name of the crawler to be used with this action.
    BatchGetWorkflowsRequest:
      type: object
      properties:
        Names:
          type: array
          items:
            type: string
          description: A list of workflow names, which may be the names returned from the ListWorkflows operation.
        IncludeGraph:
          type: boolean
          description: Specifies whether to include a graph when returning the workflow resource metadata.
      required:
      - Names
    BatchGetWorkflowsResponse:
      type: object
      properties:
        Workflows:
          type: array
          items:
            $ref: '#/components/schemas/Workflow'
          description: A list of workflow resource metadata.
        MissingWorkflows:
          type: array
          items:
            type: string
          description: A list of names of workflows not found.
    BlueprintDetails:
      type: object
      properties:
        BlueprintName:
          type: string
          description: The name of the blueprint.
        RunId:
          type: string
          description: The run ID for this blueprint.
    Condition:
      type: object
      properties:
        LogicalOperator:
          type: string
          enum:
          - EQUALS
          description: A logical operator.
        JobName:
          type: string
          description: The name of the job whose JobRuns this condition applies to, and on which this trigger waits.
        State:
          type: string
          enum:
          - STARTING
          - RUNNING
          - STOPPING
          - STOPPED
          - SUCCEEDED
          - FAILED
          - TIMEOUT
          - ERROR
          - WAITING
          - EXPIRED
          description: The condition state. Currently, the only job states that a trigger can listen for are SUCCEEDED, STOPPED,
            FAILED, and TIMEOUT. The only crawler states that a trigger can listen for are SUCCEEDED, FAILED, and CANCELLED.
        CrawlerName:
          type: string
          description: The name of the crawler to which this condition applies.
        CrawlState:
          type: string
          enum:
          - RUNNING
          - CANCELLING
          - CANCELLED
          - SUCCEEDED
          - FAILED
          - ERROR
          description: The state of the crawler to which this condition applies.
    Crawl:
      type: object
      properties:
        State:
          type: string
          enum:
          - RUNNING
          - CANCELLING
          - CANCELLED
          - SUCCEEDED
          - FAILED
          - ERROR
          description: The state of the crawler.
        StartedOn:
          type: string
          format: date-time
          description: The date and time on which the crawl started.
        CompletedOn:
          type: string
          format: date-time
          description: The date and time on which the crawl completed.
        ErrorMessage:
          type: string
          description: The error message associated with the crawl.
        LogGroup:
          type: string
          description: The log group associated with the crawl.
        LogStream:
          type: string
          description: The log stream associated with the crawl.
    CrawlerNodeDetails:
      type: object
      properties:
        Crawls:
          type: array
          items:
            $ref: '#/components/schemas/Crawl'
          description: A list of crawls represented by the crawl node.
    Edge:
      type: object
      properties:
        SourceId:
          type: string
          description: The unique of the node within the workflow where the edge starts.
        DestinationId:
          type: string
          description: The unique of the node within the workflow where the edge ends.
    EventBatchingCondition:
      type: object
      properties:
        BatchSize:
          type: integer
          description: Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.
        BatchWindow:
          type: integer
          description: Window of time in seconds after which EventBridge event trigger fires. Window starts when first event
            is received.
      required:
      - BatchSize
    InternalServiceException:
      type: object
      properties:
        Message:
          type: string
          description: A message describing the problem.
    InvalidInputException:
      type: object
      properties:
        Message:
          type: string
          description: A message describing the problem.
        FromFederationSource:
          type: boolean
          description: Indicates whether or not the exception relates to a federated source.
    JobNodeDetails:
      type: object
      properties:
        JobRuns:
          type: array
          items:
            $ref: '#/components/schemas/JobRun'
          description: The information for the job runs represented by the job node.
    JobRun:
      type: object
      properties:
        Id:
          type: string
          description: The ID of this job run.
        Attempt:
          type: integer
          description: The number of the attempt to run this job.
        PreviousRunId:
          type: string
          description: The ID of the previous run of this job. For example, the JobRunId specified in the StartJobRun action.
        TriggerName:
          type: string
          description: The name of the trigger that started this job run.
        JobName:
          type: string
          description: The name of the job definition being used in this run.
        JobMode:
          type: string
          enum:
          - SCRIPT
          - VISUAL
          - NOTEBOOK
          description: 'A mode that describes how a job was created. Valid values are: SCRIPT - The job was created using
            the Glue Studio script editor. VISUAL - The job was created using the Glue Studio visual editor. NOTEBOOK - The
            job was created using an interactive sessions notebook. When the JobMode field is missing or null, SCRIPT is assigned
            as the default value.'
        JobRunQueuingEnabled:
          type: boolean
          description: Specifies whether job run queuing is enabled for the job run. A value of true means job run queuing
            is enabled for the job run. If false or not populated, the job run will not be considered for queueing.
        StartedOn:
          type: string
          format: date-time
          description: The date and time at which this job run was started.
        LastModifiedOn:
          type: string
          format: date-time
          description: The last time that this job run was modified.
        CompletedOn:
          type: string
          format: date-time
          description: The date and time that this job run completed.
        JobRunState:
          type: string
          enum:
          - STARTING
          - RUNNING
          - STOPPING
          - STOPPED
          - SUCCEEDED
          - FAILED
          - TIMEOUT
          - ERROR
          - WAITING
          - EXPIRED
          description: The current state of the job run. For more information about the statuses of jobs that have terminated
            abnormally, see Glue Job Run Statuses.
        Arguments:
          type: object
          additionalProperties:
            type: string
          description: The job arguments associated with this run. For this job run, they replace the default arguments set
            in the job definition itself. You can specify arguments here that your own job-execution script consumes, as well
            as arguments that Glue itself consumes. Job arguments may be logged. Do not pass plaintext secrets as arguments.
            Retrieve secrets from a Glue Connection, Secrets Manager or other secret management mechanism if you intend to
            keep them within the Job. For information about how to specify and consume your own Job arguments, see the Calling
            Glue APIs in Python topic in the developer gui
        ErrorMessage:
          type: string
          description: An error message associated with this job run.
        PredecessorRuns:
          type: array
          items:
            $ref: '#/components/schemas/Predecessor'
          description: A list of predecessors to this job run.
        AllocatedCapacity:
          type: integer
          description: This field is deprecated. Use MaxCapacity instead. The number of Glue data processing units (DPUs)
            allocated to this JobRun. From 2 to 100 DPUs can be allocated; the default is 10. A DPU is a relative measure
            of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see
            the Glue pricing page.
        ExecutionTime:
          type: integer
          description: The amount of time (in seconds) that the job run consumed resources.
        Timeout:
          type: integer
          description: The JobRun timeout in minutes. This is the maximum time that a job run can consume resources before
            it is terminated and enters TIMEOUT status. This value overrides the timeout value set in the parent job. Jobs
            must have timeout values less than 7 days or 10080 minutes. Otherwise, the jobs will throw an exception. When
            the value is left blank, the timeout is defaulted to 2,880 minutes for Glue version 4.0 and earlier, or 480 minutes
            for Glue version 5.0 and later. Any existing Glue jobs that had a timeout value greater than 7 days will be defaulted
            to 7 days. For instance if you have specified
        MaxCapacity:
          type: number
          description: For Glue version 1.0 or earlier jobs, using the standard worker type, the number of Glue data processing
            units (DPUs) that can be allocated when this job runs. A DPU is a relative measure of processing power that consists
            of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the Glue pricing page. For Glue
            version 2.0+ jobs, you cannot specify a Maximum capacity. Instead, you should specify a Worker type and the Number
            of workers. Do not set MaxCapacity if using WorkerType and NumberOfWorkers. The value that can be allocated for
            MaxCapacity depends on whether you are ru
        WorkerType:
          type: string
          enum:
          - Standard
          - G.1X
          - G.2X
          - G.4X
          - G.8X
          - G.025X
          - Z.2X
          - G.12X
          - G.16X
          - R.1X
          - R.2X
          - R.4X
          - R.8X
          description: The type of predefined worker that is allocated when a job runs. Accepts a value of G.025X, G.1X, G.2X,
            G.4X, G.8X, G.12X, G.16X, R.1X, R.2X, R.4X, or R.8X for Spark jobs. Accepts the value Z.2X for Ray jobs. For the
            G.025X worker type, each worker maps to 0.25 DPU (2 vCPUs, 4 GB of memory) with 84GB disk, and provides 1 executor
            per worker. We recommend this worker type for low volume streaming jobs. This worker type is only available for
            Glue version 3.0 or later streaming jobs. For the G.1X worker type, each worker maps to 1 DPU (4 vCPUs, 16 GB
            of memory) with 94GB disk, and provides 1 exec
        NumberOfWorkers:
          type: integer
          description: The number of workers of a defined workerType that are allocated when a job runs.
        SecurityConfiguration:
          type: string
          description: The name of the SecurityConfiguration structure to be used with this job run.
        LogGroupName:
          type: string
          description: The name of the log group for secure logging that can be server-side encrypted in Amazon CloudWatch
            using KMS. This name can be /aws-glue/jobs/, in which case the default encryption is NONE. If you add a role name
            and SecurityConfiguration name (in other words, /aws-glue/jobs-yourRoleName-yourSecurityConfigurationName/), then
            that security configuration is used to encrypt the log group.
        NotificationProperty:
          $ref: '#/components/schemas/NotificationProperty'
        GlueVersion:
          type: string
          description: In Spark jobs, GlueVersion determines the versions of Apache Spark and Python that Glue available in
            a job. The Python version indicates the version supported for jobs of type Spark. Ray jobs should set GlueVersion
            to 4.0 or greater. However, the versions of Ray, Python and additional libraries available in your Ray job are
            determined by the Runtime parameter of the Job command. For more information about the available Glue versions
            and corresponding Spark and Python versions, see Glue version in the developer guide. Jobs that are created without
            specifying a Glue version default to Glue 5.1.
        DPUSeconds:
          type: number
          description: This field can be set for either job runs with execution class FLEX or when Auto Scaling is enabled,
            and represents the total time each executor ran during the lifecycle of a job run in seconds, multiplied by a
            DPU factor (1 for G.1X, 2 for G.2X, or 0.25 for G.025X workers). This value may be different than the executionEngineRuntime
            * MaxCapacity as in the case of Auto Scaling jobs, as the number of executors running at a given time may be less
            than the MaxCapacity. Therefore, it is possible that the value of DPUSeconds is less than executionEngineRuntime
            * MaxCapacity.
        ExecutionClass:
          type: string
          enum:
          - FLEX
          - STANDARD
          description: Indicates whether the job is run with a standard or flexible execution class. The standard execution-class
            is ideal for time-sensitive workloads that require fast job startup and dedicated resources. The flexible execution
            class is appropriate for time-insensitive jobs whose start and completion times may vary. Only jobs with Glue
            version 3.0 and above and command type glueetl will be allowed to set ExecutionClass to FLEX. The flexible execution
            class is available for Spark jobs.
        MaintenanceWindow:
          type: string
          description: This field specifies a day of the week and hour for a maintenance window for streaming jobs. Glue periodically
            performs maintenance activities. During these maintenance windows, Glue will need to restart your streaming jobs.
            Glue will restart the job within 3 hours of the specified maintenance window. For instance, if you set up the
            maintenance window for Monday at 10:00AM GMT, your jobs will be restarted between 10:00AM GMT to 1:00PM GMT.
        ProfileName:
          type: string
          description: The name of an Glue usage profile associated with the job run.
        StateDetail:
          type: string
          description: This field holds details that pertain to the state of a job run. The field is nullable. For example,
            when a job run is in a WAITING state as a result of job run queuing, the field has the reason why the job run
            is in that state.
        ExecutionRoleSessionPolicy:
          type: string
          description: This inline session policy to the StartJobRun API allows you to dynamically restrict the permissions
            of the specified execution role for the scope of the job, without requiring the creation of additional IAM roles.
    Node:
      type: object
      properties:
        Type:
          type: string
          enum:
          - CRAWLER
          - JOB
          - TRIGGER
          description: The type of Glue component represented by the node.
        Name:
          type: string
          description: The name of the Glue component represented by the node.
        UniqueId:
          type: string
          description: The unique Id assigned to the node within the workflow.
        TriggerDetails:
          $ref: '#/components/schemas/TriggerNodeDetails'
        JobDetails:
          $ref: '#/components/schemas/JobNodeDetails'
        CrawlerDetails:
          $ref: '#/components/schemas/CrawlerNodeDetails'
    NotificationProperty:
      type: object
      properties:
        NotifyDelayAfter:
          type: integer
          description: After a job run starts, the number of minutes to wait before sending a job run delay notification.
    Predecessor:
      type: object
      properties:
        JobName:
          type: string
          description: The name of the job definition used by the predecessor job run.
        RunId:
          type: string
          description: The job-run ID of the predecessor job run.
    Predicate:
      type: object
      properties:
        Logical:
          type: string
          enum:
          - AND
          - ANY
          description: An optional field if only one condition is listed. If multiple conditions are listed, then this field
            is required.
        Conditions:
          type: array
          items:
            $ref: '#/components/schemas/Condition'
          description: A list of the conditions that determine when the trigger will fire.
    StartingEventBatchCondition:
      type: object
      properties:
        BatchSize:
          type: integer
          description: Number of events in the batch.
        BatchWindow:
          type: integer
          description: Duration of the batch window in seconds.
    Trigger:
      type: object
      properties:
        Name:
          type: string
          description: The name of the trigger.
        WorkflowName:
          type: string
          description: The name of the workflow associated with the trigger.
        Id:
          type: string
          description: Reserved for future use.
        Type:
          type: string
          enum:
          - SCHEDULED
          - CONDITIONAL
          - ON_DEMAND
          - EVENT
          description: The type of trigger that this is.
        State:
          type: string
          enum:
          - CREATING
          - CREATED
          - ACTIVATING
          - ACTIVATED
          - DEACTIVATING
          - DEACTIVATED
          - DELETING
          - UPDATING
          description: The current state of the trigger.
        Description:
          type: string
          description: A description of this trigger.
        Schedule:
          type: string
          description: 'A cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For
            example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *).'
        Actions:
          type: array
          items:
            $ref: '#/components/schemas/Action'
          description: The actions initiated by this trigger.
        Predicate:
          $ref: '#/components/schemas/Predicate'
        EventBatchingCondition:
          $ref: '#/components/schemas/EventBatchingCondition'
    TriggerNodeDetails:
      type: object
      properties:
        Trigger:
          $ref: '#/components/schemas/Trigger'
    Workflow:
      type: object
      properties:
        Name:
          type: string
          description: The name of the workflow.
        Description:
          type: string
          description: A description of the workflow.
        DefaultRunProperties:
          type: object
          additionalProperties:
            type: string
          description: A collection of properties to be used as part of each execution of the workflow. The run properties
            are made available to each job in the workflow. A job can modify the properties for the next jobs in the flow.
        CreatedOn:
          type: string
          format: date-time
          description: The date and time when the workflow was created.
        LastModifiedOn:
          type: string
          format: date-time
          description: The date and time when the workflow was last modified.
        LastRun:
          $ref: '#/components/schemas/WorkflowRun'
        Graph:
          $ref: '#/components/schemas/WorkflowGraph'
        MaxConcurrentRuns:
          type: integer
          description: You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some
            cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs. If you leave this
            parameter blank, there is no limit to the number of concurrent workflow runs.
        BlueprintDetails:
          $ref: '#/components/schemas/BlueprintDetails'
    WorkflowGraph:
      type: object
      properties:
        Nodes:
          type: array
          items:
            $ref: '#/components/schemas/Node'
          description: A list of the the Glue components belong to the workflow represented as nodes.
        Edges:
          type: array
          items:
            $ref: '#/components/schemas/Edge'
          description: A list of all the directed connections between the nodes belonging to the workflow.
    WorkflowRun:
      type: object
      properties:
        Name:
          type: string
          description: Name of the workflow that was run.
        WorkflowRunId:
          type: string
          description: The ID of this workflow run.
        PreviousRunId:
          type: string
          description: The ID of the previous workflow run.
        WorkflowRunProperties:
          type: object
          additionalProperties:
            type: string
          description: The workflow run properties which were set during the run.
        StartedOn:
          type: string
          format: date-time
          description: The date and time when the workflow run was started.
        CompletedOn:
          type: string
          format: date-time
          description: The date and time when the workflow run completed.
        Status:
          type: string
          enum:
          - RUNNING
          - COMPLETED
          - STOPPING
          - STOPPED
          - ERROR
          description: The status of the workflow run.
        ErrorMessage:
          type: string
          description: 'This error message describes any error that may have occurred in starting the workflow run. Currently
            the only error message is "Concurrent runs exceeded for workflow: foo."'
        Statistics:
          $ref: '#/components/schemas/WorkflowRunStatistics'
        Graph:
          $ref: '#/components/schemas/WorkflowGraph'
        StartingEventBatchCondition:
          $ref: '#/components/schemas/StartingEventBatchCondition'
    WorkflowRunStatistics:
      type: object
      properties:
        TotalActions:
          type: integer
          description: Total number of Actions in the workflow run.
        TimeoutActions:
          type: integer
          description: Total number of Actions that timed out.
        FailedActions:
          type: integer
          description: Total number of Actions that have failed.
        StoppedActions:
          type: integer
          description: Total number of Actions that have stopped.
        SucceededActions:
          type: integer
          description: Total number of Actions that have succeeded.
        RunningActions:
          type: integer
          description: Total number Actions in running state.
        ErroredActions:
          type: integer
          description: Indicates the count of job runs in the ERROR state in the workflow run.
        WaitingActions:
          type: integer
          description: Indicates the count of job runs in WAITING state in the workflow run.
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/glue/service/2017-03-31/glue-2017-03-31.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)