Amazon Bedrock Bedrock Stop API

The Bedrock Stop API from Amazon Bedrock — 4 operation(s) for bedrock stop.

GitHub OpenAPI

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /advanced-prompt-optimization-jobs/{jobIdentifier}/stop Stop an advanced prompt optimization job · Stop Advanced Prompt Optimization Job #
Ask an LLM
“How do I cancel an advanced prompt optimization job that is still running?”
“Can I stop a prompt optimization job I started by mistake?”
Tell an agent destructive · confirm first
Stop advanced prompt optimization job {jobIdentifier}.
Cancel the running prompt optimization job {jobIdentifier}.
POST /evaluation-job/{jobIdentifier}/stop Stop an evaluation job · Stop Evaluation Job #
Ask an LLM
“Can I stop an evaluation job that is still being created?”
“What happens to an evaluation job I stop before it finishes?”
Tell an agent destructive · confirm first
Stop evaluation job {jobIdentifier}.
Cancel the evaluation job {jobIdentifier} that is in progress.
POST /model-invocation-job/{jobIdentifier}/stop Stop a batch inference job · Stop Model Invocation Job #
Ask an LLM
“How do I stop a batch inference job so I'm not charged for tokens already processed?”
“Can I halt a model invocation job that is running?”
Tell an agent destructive · confirm first
Stop model invocation job {jobIdentifier}.
Cancel the running batch inference job {jobIdentifier}.
POST /model-customization-jobs/{jobIdentifier}/stop Stop a model customization job · Stop Model Customization Job #
Ask an LLM
“Can I stop a model customization job that is still active?”
“What happens to a custom model I stop mid-training?”
Tell an agent destructive · confirm first
Stop model customization job {jobIdentifier}.
Cancel the active model customization job {jobIdentifier}.
POST /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/{ingestionJobId}/stop Stop a knowledge base data ingestion job · Stop Ingestion Job #
Ask an LLM
“How do I stop a knowledge base ingestion job that is still running?”
“Can I pause and resume a data ingestion job later?”
Tell an agent destructive · confirm first
Stop ingestion job {ingestionJobId} on data source {dataSourceId} in knowledge base {knowledgeBaseId}.
Cancel the running knowledge base ingestion job {ingestionJobId}.
POST /flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}/stop Stop a flow execution · Stop Flow Execution #
Ask an LLM
“How do I stop a flow execution that is still processing?”
“Does stopping a flow execution abort the rest of the flow?”
Tell an agent destructive · confirm first
Stop execution {executionIdentifier} of flow {flowIdentifier} alias {flowAliasIdentifier}.
Abort the running flow execution {executionIdentifier}.
POST /evaluations/batch-evaluate/{batchEvaluationId}/stop Stop a batch evaluation · Stop Batch Evaluation #
Ask an LLM
“Can I stop a batch evaluation that is still running?”
“Are results kept for sessions already evaluated when I stop a batch evaluation?”
Tell an agent destructive · confirm first
Stop batch evaluation {batchEvaluationId}.
Cancel the running batch evaluation {batchEvaluationId}.

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-bedrock:amazon-bedrock-stop-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-bedrock-stop-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Bedrock Stop API
  version: '2023-04-20'
  description: Generated from AWS's published Smithy model for Amazon Bedrock. 7 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://bedrock.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /advanced-prompt-optimization-jobs/{jobIdentifier}/stop:
    post:
      operationId: StopAdvancedPromptOptimizationJob
      summary: Stop Advanced Prompt Optimization Job
      description: Stops an advanced prompt optimization job that is in progress.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StopAdvancedPromptOptimizationJobResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '400':
          description: ConflictException; ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: jobIdentifier
        in: path
        required: true
        schema:
          type: string
        description: The ARN or ID of the advanced prompt optimization job to stop.
      tags:
      - Stop
  /evaluation-job/{jobIdentifier}/stop:
    post:
      operationId: StopEvaluationJob
      summary: Stop Evaluation Job
      description: Stops an evaluation job that is current being created or running.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StopEvaluationJobResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '400':
          description: ConflictException; ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: jobIdentifier
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) of the evaluation job you want to stop.
      tags:
      - Stop
  /model-invocation-job/{jobIdentifier}/stop:
    post:
      operationId: StopModelInvocationJob
      summary: Stop Model Invocation Job
      description: Stops a batch inference job. You're only charged for tokens that were already processed. For more information,
        see Stop a batch inference job.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StopModelInvocationJobResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '400':
          description: ConflictException; ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: jobIdentifier
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) of the batch inference job to stop.
      tags:
      - Stop
  /model-customization-jobs/{jobIdentifier}/stop:
    post:
      operationId: StopModelCustomizationJob
      summary: Stop Model Customization Job
      description: Stops an active model customization job. For more information, see Custom models in the Amazon Bedrock
        User Guide.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StopModelCustomizationJobResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '400':
          description: ConflictException; ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: jobIdentifier
        in: path
        required: true
        schema:
          type: string
        description: Job identifier of the job to stop.
      tags:
      - Stop
  /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/{ingestionJobId}/stop:
    post:
      operationId: StopIngestionJob
      summary: Stop Ingestion Job
      description: Stops a currently running data ingestion job. You can send a StartIngestionJob request again to ingest
        the rest of your data when you are ready.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StopIngestionJobResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BedrockAgentValidationException'
      parameters:
      - name: knowledgeBaseId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the knowledge base for the data ingestion job you want to stop.
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the data source for the data ingestion job you want to stop.
      - name: ingestionJobId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the data ingestion job you want to stop.
      tags:
      - Stop
      servers:
      - url: https://bedrock-agent.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
  /flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}/stop:
    post:
      operationId: StopFlowExecution
      summary: Stop Flow Execution
      description: Stops an Amazon Bedrock flow's execution. This operation prevents further processing of the flow and changes
        the execution status to Aborted.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StopFlowExecutionResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '502':
          description: BadGatewayException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadGatewayException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '424':
          description: DependencyFailedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DependencyFailedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BedrockAgentRuntimeInternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: flowIdentifier
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the flow.
      - name: flowAliasIdentifier
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the flow alias used for the execution.
      - name: executionIdentifier
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the flow execution to stop.
      tags:
      - Stop
      servers:
      - url: https://bedrock-agent-runtime.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
  /evaluations/batch-evaluate/{batchEvaluationId}/stop:
    post:
      operationId: StopBatchEvaluation
      summary: Stop Batch Evaluation
      description: Stops a running batch evaluation. Sessions that have already been evaluated retain their results.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StopBatchEvaluationResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '401':
          description: UnauthorizedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BedrockAgentcoreValidationException'
      parameters:
      - name: batchEvaluationId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the batch evaluation to stop.
      tags:
      - Stop
      servers:
      - url: https://bedrock-agentcore.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
      security:
      - sigv4_bedrock_agentcore: []
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: bedrock
    sigv4_bedrock_agentcore:
      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: bedrock-agentcore
  schemas:
    AccessDeniedException:
      type: object
      properties:
        message:
          type: string
    BadGatewayException:
      type: object
      properties:
        message:
          type: string
        resourceName:
          type: string
          description: The name of the dependency that caused the issue, such as Amazon Bedrock, Lambda, or STS.
    BedrockAgentRuntimeInternalServerException:
      type: object
      properties:
        message:
          type: string
        reason:
          type: string
          description: The reason for the exception. If the reason is BEDROCK_MODEL_INVOCATION_SERVICE_UNAVAILABLE, the model
            invocation service is unavailable. Retry your request.
    BedrockAgentValidationException:
      type: object
      properties:
        message:
          type: string
        fieldList:
          type: array
          items:
            $ref: '#/components/schemas/ValidationExceptionField'
          description: A list of objects containing fields that caused validation errors and their corresponding validation
            error messages.
    BedrockAgentcoreValidationException:
      type: object
      properties:
        message:
          type: string
        reason:
          type: string
          enum:
          - CannotParse
          - FieldValidationFailed
          - IdempotentParameterMismatchException
          - EventInOtherSession
          - ResourceConflict
        fieldList:
          type: array
          items:
            $ref: '#/components/schemas/ValidationExceptionField'
      required:
      - message
      - reason
    ConflictException:
      type: object
      properties:
        message:
          type: string
    DependencyFailedException:
      type: object
      properties:
        message:
          type: string
        resourceName:
          type: string
          description: The name of the dependency that caused the issue, such as Amazon Bedrock, Lambda, or STS.
    IngestionJob:
      type: object
      properties:
        knowledgeBaseId:
          type: string
          description: The unique identifier of the knowledge for the data ingestion job.
        dataSourceId:
          type: string
          description: The unique identifier of the data source for the data ingestion job.
        ingestionJobId:
          type: string
          description: The unique identifier of the data ingestion job.
        description:
          type: string
          description: The description of the data ingestion job.
        status:
          type: string
          enum:
          - STARTING
          - IN_PROGRESS
          - COMPLETE
          - FAILED
          - STOPPING
          - STOPPED
          description: The status of the data ingestion job.
        statistics:
          $ref: '#/components/schemas/IngestionJobStatistics'
        failureReasons:
          type: array
          items:
            type: string
          description: A list of reasons that the data ingestion job failed.
        startedAt:
          type: string
          format: date-time
          description: The time the data ingestion job started. If you stop a data ingestion job, the startedAt time is the
            time the job was started before the job was stopped.
        updatedAt:
          type: string
          format: date-time
          description: The time the data ingestion job was last updated. If you stop a data ingestion job, the updatedAt time
            is the time the job was stopped.
        textReadyAt:
          type: string
          format: date-time
          description: The time at which all text content in the data ingestion job finished extraction and became available
            to query. This time isn't returned until text extraction is complete for all the documents in the job.
      required:
      - knowledgeBaseId
      - dataSourceId
      - ingestionJobId
      - status
      - startedAt
      - updatedAt
    IngestionJobStatistics:
      type: object
      properties:
        numberOfDocumentsScanned:
          type: string
          description: The total number of source documents that were scanned. Includes new, updated, and unchanged documents.
        numberOfMetadataDocumentsScanned:
          type: string
          description: The total number of metadata files that were scanned. Includes new, updated, and unchanged files.
        numberOfNewDocumentsIndexed:
          type: string
          description: The number of new source documents in the data source that were successfully indexed.
        numberOfModifiedDocumentsIndexed:
          type: string
          description: The number of modified source documents in the data source that were successfully indexed.
        numberOfMetadataDocumentsModified:
          type: string
          description: The number of metadata files that were updated or deleted.
        numberOfDocumentsDeleted:
          type: string
          description: The number of source documents that were deleted.
        numberOfDocumentsFailed:
          type: string
          description: The number of source documents that failed to be ingested.
        numberOfDocumentsSkipped:
          type: string
          description: The number of source documents that were skipped during ingestion.
    InternalServerException:
      type: object
      properties:
        message:
          type: string
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
    StopAdvancedPromptOptimizationJobResponse:
      type: object
      properties: {}
    StopBatchEvaluationResponse:
      type: object
      properties:
        batchEvaluationId:
          type: string
          description: The unique identifier of the stopped batch evaluation.
        batchEvaluationArn:
          type: string
          description: The Amazon Resource Name (ARN) of the stopped batch evaluation.
        status:
          type: string
          enum:
          - PENDING
          - IN_PROGRESS
          - COMPLETED
          - COMPLETED_WITH_ERRORS
          - FAILED
          - STOPPING
          - STOPPED
          - DELETING
          description: The status of the batch evaluation after the stop request.
        description:
          type: string
          description: The description of the batch evaluation.
      required:
      - batchEvaluationId
      - batchEvaluationArn
      - status
    StopEvaluationJobResponse:
      type: object
      properties: {}
    StopFlowExecutionResponse:
      type: object
      properties:
        executionArn:
          type: string
          description: The Amazon Resource Name (ARN) that uniquely identifies the flow execution that was stopped.
        status:
          type: string
          enum:
          - Running
          - Succeeded
          - Failed
          - TimedOut
          - Aborted
          description: The updated status of the flow execution after the stop request. This will typically be ABORTED if
            the execution was successfully stopped.
      required:
      - status
    StopIngestionJobResponse:
      type: object
      properties:
        ingestionJob:
          $ref: '#/components/schemas/IngestionJob'
      required:
      - ingestionJob
    StopModelCustomizationJobResponse:
      type: object
      properties: {}
    StopModelInvocationJobResponse:
      type: object
      properties: {}
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
    UnauthorizedException:
      type: object
      properties:
        message:
          type: string
    ValidationException:
      type: object
      properties:
        message:
          type: string
    ValidationExceptionField:
      type: object
      properties:
        name:
          type: string
          description: The name of the field.
        message:
          type: string
          description: A message describing why this field failed validation.
      required:
      - name
      - message
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/bedrock/service/2023-04-20/bedrock-2023-04-20.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)
  sources:
  - https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/bedrock/service/2023-04-20/bedrock-2023-04-20.json
  - https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/bedrock-agent/service/2023-06-05/bedrock-agent-2023-06-05.json
  - https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/bedrock-agent-runtime/service/2023-07-26/bedrock-agent-runtime-2023-07-26.json
  - https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/bedrock-agentcore/service/2024-02-28/bedrock-agentcore-2024-02-28.json