Amazon Bedrock Bedrock Ingestionjobs API

The Bedrock Ingestionjobs API from Amazon Bedrock — 2 operation(s) for bedrock ingestionjobs.

GitHub OpenAPI

Operations 3

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

GET /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/{ingestionJobId} Get a data ingestion job · Get Ingestion Job #
Ask an LLM
“How do I check the status of a single data ingestion job?”
“Did a specific ingestion job succeed or fail?”
Tell an agent
Get ingestion job {ingestionJobId} for data source {dataSourceId} in knowledge base {knowledgeBaseId}.
Show the status of ingestion job {ingestionJobId}.
POST /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/ List ingestion jobs for a data source · List Ingestion Jobs #
Ask an LLM
“Which ingestion jobs have run for a data source?”
“Can I filter the ingestion job list?”
Tell an agent
List ingestion jobs for data source {dataSourceId} in knowledge base {knowledgeBaseId}.
List ingestion jobs for {dataSourceId} matching {filters}.
PUT /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/ Start a data ingestion job · Start Ingestion Job #
Ask an LLM
“How do I kick off a new ingestion job for a data source?”
“Can I add a description when starting an ingestion job?”
Tell an agent
Start an ingestion job for data source {dataSourceId} in knowledge base {knowledgeBaseId}.
Start ingestion job {dataSourceId} in knowledge base {knowledgeBaseId} described as {description}.

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-ingestionjobs-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-ingestionjobs-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Bedrock Ingestionjobs API
  version: '2023-04-20'
  description: Generated from AWS's published Smithy model for Amazon Bedrock. 3 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-agent.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/{ingestionJobId}:
    get:
      operationId: GetIngestionJob
      summary: Get Ingestion Job
      description: Gets information about a data ingestion job. Data sources are ingested into your knowledge base so that
        Large Language Models (LLMs) can use your data.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetIngestionJobResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '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 get information on.
      - 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 get information on.
      - name: ingestionJobId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the data ingestion job you want to get information on.
      tags:
      - Ingestionjobs
  /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/:
    post:
      operationId: ListIngestionJobs
      summary: List Ingestion Jobs
      description: Lists the data ingestion jobs for a data source. The list also includes information about each job.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListIngestionJobsResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '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 list of data ingestion jobs.
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the data source for the list of data ingestion jobs.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                filters:
                  type: array
                  items:
                    $ref: '#/components/schemas/IngestionJobFilter'
                  description: Contains information about the filters for filtering the data.
                sortBy:
                  $ref: '#/components/schemas/IngestionJobSortBy'
                maxResults:
                  type: integer
                  description: The maximum number of results to return in the response. If the total number of results is
                    greater than this value, use the token returned in the response in the nextToken field when making another
                    request to return the next batch of results.
                nextToken:
                  type: string
                  description: If the total number of results is greater than the maxResults value provided in the request,
                    enter the token returned in the nextToken field in the response in this field to return the next batch
                    of results.
      tags:
      - Ingestionjobs
    put:
      operationId: StartIngestionJob
      summary: Start Ingestion Job
      description: Begins a data ingestion job. Data sources are ingested into your knowledge base so that Large Language
        Models (LLMs) can use your data.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartIngestionJobResponse'
        '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'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '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.
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the data source you want to ingest into your knowledge base.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                clientToken:
                  type: string
                  description: A unique, case-sensitive identifier to ensure that the API request completes no more than one
                    time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return
                    an error. For more information, see Ensuring idempotency.
                description:
                  type: string
                  description: A description of the data ingestion job.
      tags:
      - Ingestionjobs
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
  schemas:
    AccessDeniedException:
      type: object
      properties:
        message:
          type: string
    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.
    ConflictException:
      type: object
      properties:
        message:
          type: string
    GetIngestionJobResponse:
      type: object
      properties:
        ingestionJob:
          $ref: '#/components/schemas/IngestionJob'
      required:
      - ingestionJob
    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
    IngestionJobFilter:
      type: object
      properties:
        attribute:
          type: string
          enum:
          - STATUS
          description: The name of field or attribute to apply the filter.
        operator:
          type: string
          enum:
          - EQ
          description: The operation to apply to the field or attribute.
        values:
          type: array
          items:
            type: string
          description: A list of values that belong to the field or attribute.
      required:
      - attribute
      - operator
      - values
    IngestionJobSortBy:
      type: object
      properties:
        attribute:
          type: string
          enum:
          - STATUS
          - STARTED_AT
          description: The name of field or attribute to apply sorting of data.
        order:
          type: string
          enum:
          - ASCENDING
          - DESCENDING
          description: The order for sorting the data.
      required:
      - attribute
      - order
    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.
    IngestionJobSummary:
      type: object
      properties:
        knowledgeBaseId:
          type: string
          description: The unique identifier of the knowledge base 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.
        startedAt:
          type: string
          format: date-time
          description: The time the data ingestion job started.
        updatedAt:
          type: string
          format: date-time
          description: The time the data ingestion job was last updated.
        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.
        statistics:
          $ref: '#/components/schemas/IngestionJobStatistics'
      required:
      - knowledgeBaseId
      - dataSourceId
      - ingestionJobId
      - status
      - startedAt
      - updatedAt
    InternalServerException:
      type: object
      properties:
        message:
          type: string
    ListIngestionJobsResponse:
      type: object
      properties:
        ingestionJobSummaries:
          type: array
          items:
            $ref: '#/components/schemas/IngestionJobSummary'
          description: A list of data ingestion jobs with information about each job.
        nextToken:
          type: string
          description: If the total number of results is greater than the maxResults value provided in the request, use this
            token when making another request in the nextToken field to return the next batch of results.
      required:
      - ingestionJobSummaries
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
    ServiceQuotaExceededException:
      type: object
      properties:
        message:
          type: string
    StartIngestionJobResponse:
      type: object
      properties:
        ingestionJob:
          $ref: '#/components/schemas/IngestionJob'
      required:
      - ingestionJob
    ThrottlingException:
      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-agent/service/2023-06-05/bedrock-agent-2023-06-05.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)