Amazon Q Q Retrievers API

The Q Retrievers API from Amazon Q — 2 operation(s) for q retrievers.

GitHub OpenAPI
Business capability
Retrieval & Embeddings AE-110.60

Operations 5

POST /applications/{applicationId}/retrievers Create Retriever #
GET /applications/{applicationId}/retrievers List Retrievers #
GET /applications/{applicationId}/retrievers/{retrieverId} Get Retriever #
PUT /applications/{applicationId}/retrievers/{retrieverId} Update Retriever #
DELETE /applications/{applicationId}/retrievers/{retrieverId} Delete Retriever #

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-q:amazon-q-retrievers-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-q-retrievers-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: QBusiness Retrievers API
  version: '2023-11-27'
  description: Generated from AWS's published Smithy model for QBusiness. 5 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://qbusiness.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /applications/{applicationId}/retrievers:
    post:
      operationId: CreateRetriever
      summary: Create Retriever
      description: Adds a retriever to your Amazon Q Business application.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateRetrieverResponse'
        '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/ValidationException'
      parameters:
      - name: applicationId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of your Amazon Q Business application.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                type:
                  type: string
                  enum:
                  - NATIVE_INDEX
                  - KENDRA_INDEX
                  description: The type of retriever you are using.
                displayName:
                  type: string
                  description: The name of your retriever.
                configuration:
                  $ref: '#/components/schemas/RetrieverConfiguration'
                roleArn:
                  type: string
                  description: The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials
                    stored in a Secrets Manager secret.
                clientToken:
                  type: string
                  description: A token that you provide to identify the request to create your Amazon Q Business application
                    retriever.
                tags:
                  type: array
                  items:
                    $ref: '#/components/schemas/Tag'
                  description: 'A list of key-value pairs that identify or categorize the retriever. You can also use tags
                    to help control access to the retriever. Tag keys and values can consist of Unicode letters, digits, white
                    space, and any of the following symbols: _ . : / = + - @.'
              required:
              - type
              - displayName
              - configuration
      tags:
      - Retrievers
    get:
      operationId: ListRetrievers
      summary: List Retrievers
      description: Lists the retriever used by an Amazon Q Business application.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListRetrieversResponse'
        '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/ValidationException'
      parameters:
      - name: applicationId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the Amazon Q Business application using the retriever.
      - name: nextToken
        in: query
        schema:
          type: string
        description: If the number of retrievers returned exceeds maxResults, Amazon Q Business returns a next token as a
          pagination token to retrieve the next set of retrievers.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of retrievers returned.
      tags:
      - Retrievers
  /applications/{applicationId}/retrievers/{retrieverId}:
    get:
      operationId: GetRetriever
      summary: Get Retriever
      description: Gets information about an existing retriever used by an Amazon Q Business application.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetRetrieverResponse'
        '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/ValidationException'
      parameters:
      - name: applicationId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the Amazon Q Business application using the retriever.
      - name: retrieverId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the retriever.
      tags:
      - Retrievers
    put:
      operationId: UpdateRetriever
      summary: Update Retriever
      description: Updates the retriever used for your Amazon Q Business application.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateRetrieverResponse'
        '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/ValidationException'
      parameters:
      - name: applicationId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of your Amazon Q Business application.
      - name: retrieverId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of your retriever.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                configuration:
                  $ref: '#/components/schemas/RetrieverConfiguration'
                displayName:
                  type: string
                  description: The name of your retriever.
                roleArn:
                  type: string
                  description: The Amazon Resource Name (ARN) of an IAM role with permission to access the retriever and required
                    resources.
      tags:
      - Retrievers
    delete:
      operationId: DeleteRetriever
      summary: Delete Retriever
      description: Deletes the retriever used by an Amazon Q Business application.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteRetrieverResponse'
        '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/ValidationException'
      parameters:
      - name: applicationId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the Amazon Q Business application using the retriever.
      - name: retrieverId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the retriever being deleted.
      tags:
      - Retrievers
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: qbusiness
  schemas:
    AccessDeniedException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ConflictException:
      type: object
      properties:
        message:
          type: string
          description: The message describing a ConflictException.
        resourceId:
          type: string
          description: The identifier of the resource affected.
        resourceType:
          type: string
          description: The type of the resource affected.
      required:
      - message
      - resourceId
      - resourceType
    CreateRetrieverResponse:
      type: object
      properties:
        retrieverId:
          type: string
          description: The identifier of the retriever you are using.
        retrieverArn:
          type: string
          description: The Amazon Resource Name (ARN) of an IAM role associated with a retriever.
    DateAttributeBoostingConfiguration:
      type: object
      properties:
        boostingLevel:
          type: string
          enum:
          - NONE
          - LOW
          - MEDIUM
          - HIGH
          - VERY_HIGH
          - ONE
          - TWO
          description: Specifies the priority tier ranking of boosting applied to document attributes. For version 2, this
            parameter indicates the relative ranking between boosted fields (ONE being highest priority, TWO being second
            highest, etc.) and determines the order in which attributes influence document ranking in search results. For
            version 1, this parameter specifies the boosting intensity. For version 2, boosting intensity (VERY HIGH, HIGH,
            MEDIUM, LOW, NONE) are not supported. Note that in version 2, you are not allowed to boost on only one field and
            make this value TWO.
        boostingDurationInSeconds:
          type: integer
          description: Specifies the duration, in seconds, of a boost applies to a DATE type document attribute.
      required:
      - boostingLevel
    DeleteRetrieverResponse:
      type: object
      properties: {}
    DocumentAttributeBoostingConfiguration:
      type: object
      properties:
        numberConfiguration:
          $ref: '#/components/schemas/NumberAttributeBoostingConfiguration'
        stringConfiguration:
          $ref: '#/components/schemas/StringAttributeBoostingConfiguration'
        dateConfiguration:
          $ref: '#/components/schemas/DateAttributeBoostingConfiguration'
        stringListConfiguration:
          $ref: '#/components/schemas/StringListAttributeBoostingConfiguration'
      description: Exactly one member is set.
    GetRetrieverResponse:
      type: object
      properties:
        applicationId:
          type: string
          description: The identifier of the Amazon Q Business application using the retriever.
        retrieverId:
          type: string
          description: The identifier of the retriever.
        retrieverArn:
          type: string
          description: The Amazon Resource Name (ARN) of the IAM role associated with the retriever.
        type:
          type: string
          enum:
          - NATIVE_INDEX
          - KENDRA_INDEX
          description: The type of the retriever.
        status:
          type: string
          enum:
          - CREATING
          - ACTIVE
          - FAILED
          description: The status of the retriever.
        displayName:
          type: string
          description: The name of the retriever.
        configuration:
          $ref: '#/components/schemas/RetrieverConfiguration'
        roleArn:
          type: string
          description: The Amazon Resource Name (ARN) of the role with the permission to access the retriever and required
            resources.
        createdAt:
          type: string
          format: date-time
          description: The Unix timestamp when the retriever was created.
        updatedAt:
          type: string
          format: date-time
          description: The Unix timestamp when the retriever was last updated.
    InternalServerException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    KendraIndexConfiguration:
      type: object
      properties:
        indexId:
          type: string
          description: The identifier of the Amazon Kendra index.
      required:
      - indexId
    ListRetrieversResponse:
      type: object
      properties:
        retrievers:
          type: array
          items:
            $ref: '#/components/schemas/Retriever'
          description: An array of summary information for one or more retrievers.
        nextToken:
          type: string
          description: If the response is truncated, Amazon Q Business returns this token, which you can use in a later request
            to list the next set of retrievers.
    NativeIndexConfiguration:
      type: object
      properties:
        indexId:
          type: string
          description: The identifier for the Amazon Q Business index.
        version:
          type: integer
          description: 'A read-only field that specifies the version of the NativeIndexConfiguration. Amazon Q Business introduces
            enhanced document retrieval capabilities in version 2 of NativeIndexConfiguration, focusing on streamlined metadata
            boosting that prioritizes recency and source relevance to deliver more accurate responses to your queries. Version
            2 has the following differences from version 1: Version 2 supports a single Date field (created_at OR last_updated_at)
            for recency boosting Version 2 supports a single String field with an ordered list of up to 5 values Version 2
            introduces number-based boost le'
        boostingOverride:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/DocumentAttributeBoostingConfiguration'
          description: Overrides the default boosts applied by Amazon Q Business to supported document attribute data types.
      required:
      - indexId
    NumberAttributeBoostingConfiguration:
      type: object
      properties:
        boostingLevel:
          type: string
          enum:
          - NONE
          - LOW
          - MEDIUM
          - HIGH
          - VERY_HIGH
          - ONE
          - TWO
          description: Specifies the priority of boosted document attributes in relation to other boosted attributes. This
            parameter determines how strongly the attribute influences document ranking in search results. NUMBER attributes
            can serve as additional boosting factors when needed, but are not supported when using NativeIndexConfiguration
            version 2.
        boostingType:
          type: string
          enum:
          - PRIORITIZE_LARGER_VALUES
          - PRIORITIZE_SMALLER_VALUES
          description: Specifies whether higher or lower numeric values should be prioritized when boosting. Valid values
            are ASCENDING (higher numbers are more important) and DESCENDING (lower numbers are more important).
      required:
      - boostingLevel
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
          description: The message describing a ResourceNotFoundException.
        resourceId:
          type: string
          description: The identifier of the resource affected.
        resourceType:
          type: string
          description: The type of the resource affected.
      required:
      - message
      - resourceId
      - resourceType
    Retriever:
      type: object
      properties:
        applicationId:
          type: string
          description: The identifier of the Amazon Q Business application using the retriever.
        retrieverId:
          type: string
          description: The identifier of the retriever used by your Amazon Q Business application.
        type:
          type: string
          enum:
          - NATIVE_INDEX
          - KENDRA_INDEX
          description: The type of your retriever.
        status:
          type: string
          enum:
          - CREATING
          - ACTIVE
          - FAILED
          description: The status of your retriever.
        displayName:
          type: string
          description: The name of your retriever.
    RetrieverConfiguration:
      type: object
      properties:
        nativeIndexConfiguration:
          $ref: '#/components/schemas/NativeIndexConfiguration'
        kendraIndexConfiguration:
          $ref: '#/components/schemas/KendraIndexConfiguration'
      description: Exactly one member is set.
    ServiceQuotaExceededException:
      type: object
      properties:
        message:
          type: string
          description: The message describing a ServiceQuotaExceededException.
        resourceId:
          type: string
          description: The identifier of the resource affected.
        resourceType:
          type: string
          description: The type of the resource affected.
      required:
      - message
      - resourceId
      - resourceType
    StringAttributeBoostingConfiguration:
      type: object
      properties:
        boostingLevel:
          type: string
          enum:
          - NONE
          - LOW
          - MEDIUM
          - HIGH
          - VERY_HIGH
          - ONE
          - TWO
          description: Specifies the priority tier ranking of boosting applied to document attributes. For version 2, this
            parameter indicates the relative ranking between boosted fields (ONE being highest priority, TWO being second
            highest, etc.) and determines the order in which attributes influence document ranking in search results. For
            version 1, this parameter specifies the boosting intensity. For version 2, boosting intensity (VERY HIGH, HIGH,
            MEDIUM, LOW, NONE) are not supported. Note that in version 2, you are not allowed to boost on only one field and
            make this value TWO.
        attributeValueBoosting:
          type: object
          additionalProperties:
            type: string
            enum:
            - LOW
            - MEDIUM
            - HIGH
            - VERY_HIGH
            - ONE
            - TWO
            - THREE
            - FOUR
            - FIVE
          description: Specifies specific values of a STRING type document attribute being boosted. When using NativeIndexConfiguration
            version 2, you can specify up to five values in order of priority.
      required:
      - boostingLevel
    StringListAttributeBoostingConfiguration:
      type: object
      properties:
        boostingLevel:
          type: string
          enum:
          - NONE
          - LOW
          - MEDIUM
          - HIGH
          - VERY_HIGH
          - ONE
          - TWO
          description: Specifies the priority of boosted document attributes in relation to other boosted attributes. This
            parameter determines how strongly the attribute influences document ranking in search results. STRING_LIST attributes
            can serve as additional boosting factors when needed, but are not supported when using NativeIndexConfiguration
            version 2.
      required:
      - boostingLevel
    Tag:
      type: object
      properties:
        key:
          type: string
          description: The key for the tag. Keys are not case sensitive and must be unique for the Amazon Q Business application
            or data source.
        value:
          type: string
          description: The value associated with the tag. The value may be an empty string but it can't be null.
      required:
      - key
      - value
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    UpdateRetrieverResponse:
      type: object
      properties: {}
    ValidationException:
      type: object
      properties:
        message:
          type: string
          description: The message describing the ValidationException.
        reason:
          type: string
          enum:
          - CANNOT_PARSE
          - FIELD_VALIDATION_FAILED
          - UNKNOWN_OPERATION
          description: The reason for the ValidationException.
        fields:
          type: array
          items:
            $ref: '#/components/schemas/ValidationExceptionField'
          description: The input field(s) that failed validation.
      required:
      - message
      - reason
    ValidationExceptionField:
      type: object
      properties:
        name:
          type: string
          description: The field name where the invalid entry was detected.
        message:
          type: string
          description: A message about the validation exception.
      required:
      - name
      - message
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/qbusiness/service/2023-11-27/qbusiness-2023-11-27.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)