Amazon Q Applications API

The Applications API from Amazon Q — 2 operation(s) for applications.

GitHub OpenAPI

Operations 5

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 /applications Create a Q Business application · Create Application #
Ask an LLM
“How do I create a new Amazon Q Business application?”
“Can a new Q Business application use an existing IAM role for logs?”
Tell an agent
Create a Q Business application named {displayName}.
Create a Q Business app {displayName} using role {roleArn}.
GET /applications List Q Business applications · List Applications #
Ask an LLM
“Which Amazon Q Business applications exist in my account?”
“Can I page through all my Q Business applications?”
Tell an agent
List my Q Business applications.
Show up to {maxResults} Q Business applications.
GET /applications/{applicationId} Get a Q Business application · Get Application #
Ask an LLM
“What are the details of one Q Business application?”
“Can I look up a Q Business app by its ID?”
Tell an agent
Get Q Business application {applicationId}.
Show the configuration of Q Business app {applicationId}.
PUT /applications/{applicationId} Update a Q Business application · Update Application #
Ask an LLM
“How do I rename an existing Q Business application?”
“Can I change the IAM role a Q Business app uses?”
Tell an agent
Rename Q Business application {applicationId} to {displayName}.
Set the IAM role of Q Business app {applicationId} to {roleArn}.
DELETE /applications/{applicationId} Delete a Q Business application · Delete Application #
Ask an LLM
“How do I delete a Q Business application?”
“Can I remove a Q Business app I no longer use?”
Tell an agent destructive · confirm first
Delete Q Business application {applicationId}.
Remove the Q Business app {applicationId}.

Documentation

Specifications

SDKs

Schemas & Data

Other Resources

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-applications-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-applications-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: QBusiness Applications 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:
    post:
      operationId: CreateApplication
      summary: Create Application
      description: Creates an Amazon Q Business application. There are new tiers for Amazon Q Business. Not all features in
        Amazon Q Business Pro are also available in Amazon Q Business Lite. For information on what's included in Amazon Q
        Business Lite and what's included in Amazon Q Business Pro, see Amazon Q Business tiers. You must use the Amazon Q
        Business console to assign subscription tiers to users. An Amazon Q Apps service linked role will be created if it's
        absent in the Amazon Web Services account when QAppsConfiguration is enabled in the request. For more information,
        see Using service-linked roles for Q Apps. When you create an application, Amazon Q Business may securely transmit
        data for processing from your selected Amazon Web Services region, but within your geography. For more information,
        see Cross region inference in Amazon Q Business.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateApplicationResponse'
        '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'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                displayName:
                  type: string
                  description: A name for the Amazon Q Business application.
                roleArn:
                  type: string
                  description: The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch
                    logs and metrics. If this property is not specified, Amazon Q Business will create a service linked role
                    (SLR) and use it as the application's role.
                identityType:
                  type: string
                  enum:
                  - AWS_IAM_IDP_SAML
                  - AWS_IAM_IDP_OIDC
                  - AWS_IAM_IDC
                  - AWS_QUICKSIGHT_IDP
                  - ANONYMOUS
                  description: The authentication type being used by a Amazon Q Business application.
                iamIdentityProviderArn:
                  type: string
                  description: The Amazon Resource Name (ARN) of an identity provider being used by an Amazon Q Business application.
                identityCenterInstanceArn:
                  type: string
                  description: The Amazon Resource Name (ARN) of the IAM Identity Center instance you are either creating
                    for—or connecting to—your Amazon Q Business application.
                clientIdsForOIDC:
                  type: array
                  items:
                    type: string
                  description: The OIDC client ID for a Amazon Q Business application.
                description:
                  type: string
                  description: A description for the Amazon Q Business application.
                encryptionConfiguration:
                  $ref: '#/components/schemas/EncryptionConfiguration'
                tags:
                  type: array
                  items:
                    $ref: '#/components/schemas/Tag'
                  description: 'A list of key-value pairs that identify or categorize your Amazon Q Business application.
                    You can also use tags to help control access to the application. Tag keys and values can consist of Unicode
                    letters, digits, white space, and any of the following symbols: _ . : / = + - @.'
                clientToken:
                  type: string
                  description: A token that you provide to identify the request to create your Amazon Q Business application.
                attachmentsConfiguration:
                  $ref: '#/components/schemas/AttachmentsConfiguration'
                qAppsConfiguration:
                  $ref: '#/components/schemas/QAppsConfiguration'
                personalizationConfiguration:
                  $ref: '#/components/schemas/PersonalizationConfiguration'
                quickSightConfiguration:
                  $ref: '#/components/schemas/QuickSightConfiguration'
              required:
              - displayName
      tags:
      - Applications
    get:
      operationId: ListApplications
      summary: List Applications
      description: Lists Amazon Q Business applications. Amazon Q Business applications may securely transmit data for processing
        across Amazon Web Services Regions within your geography. For more information, see Cross region inference in Amazon
        Q Business.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListApplicationsResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: nextToken
        in: query
        schema:
          type: string
        description: If the maxResults response was incomplete because there is more data to retrieve, Amazon Q Business returns
          a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q Business
          applications.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of Amazon Q Business applications to return.
      tags:
      - Applications
  /applications/{applicationId}:
    get:
      operationId: GetApplication
      summary: Get Application
      description: Gets information about an existing Amazon Q Business application.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApplicationResponse'
        '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.
      tags:
      - Applications
    put:
      operationId: UpdateApplication
      summary: Update Application
      description: Updates an existing Amazon Q Business application. Amazon Q Business applications may securely transmit
        data for processing across Amazon Web Services Regions within your geography. For more information, see Cross region
        inference in Amazon Q Business. An Amazon Q Apps service-linked role will be created if it's absent in the Amazon
        Web Services account when QAppsConfiguration is enabled in the request. For more information, see Using service-linked
        roles for Q Apps.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateApplicationResponse'
        '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.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                identityCenterInstanceArn:
                  type: string
                  description: The Amazon Resource Name (ARN) of the IAM Identity Center instance you are either creating
                    for—or connecting to—your Amazon Q Business application.
                displayName:
                  type: string
                  description: A name for the Amazon Q Business application.
                description:
                  type: string
                  description: A description for the Amazon Q Business application.
                roleArn:
                  type: string
                  description: An Amazon Web Services Identity and Access Management (IAM) role that gives Amazon Q Business
                    permission to access Amazon CloudWatch logs and metrics.
                attachmentsConfiguration:
                  $ref: '#/components/schemas/AttachmentsConfiguration'
                qAppsConfiguration:
                  $ref: '#/components/schemas/QAppsConfiguration'
                personalizationConfiguration:
                  $ref: '#/components/schemas/PersonalizationConfiguration'
                autoSubscriptionConfiguration:
                  $ref: '#/components/schemas/AutoSubscriptionConfiguration'
      tags:
      - Applications
    delete:
      operationId: DeleteApplication
      summary: Delete Application
      description: Deletes an Amazon Q Business application.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteApplicationResponse'
        '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.
      tags:
      - Applications
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
    Application:
      type: object
      properties:
        displayName:
          type: string
          description: The name of the Amazon Q Business application.
        applicationId:
          type: string
          description: The identifier for the Amazon Q Business application.
        createdAt:
          type: string
          format: date-time
          description: The Unix timestamp when the Amazon Q Business application was created.
        updatedAt:
          type: string
          format: date-time
          description: The Unix timestamp when the Amazon Q Business application was last updated.
        status:
          type: string
          enum:
          - CREATING
          - ACTIVE
          - DELETING
          - FAILED
          - UPDATING
          description: The status of the Amazon Q Business application. The application is ready to use when the status is
            ACTIVE.
        identityType:
          type: string
          enum:
          - AWS_IAM_IDP_SAML
          - AWS_IAM_IDP_OIDC
          - AWS_IAM_IDC
          - AWS_QUICKSIGHT_IDP
          - ANONYMOUS
          description: The authentication type being used by a Amazon Q Business application.
        quickSightConfiguration:
          $ref: '#/components/schemas/QuickSightConfiguration'
    AppliedAttachmentsConfiguration:
      type: object
      properties:
        attachmentsControlMode:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: Information about whether file upload during chat functionality is activated for your application.
    AttachmentsConfiguration:
      type: object
      properties:
        attachmentsControlMode:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: Status information about whether file upload functionality is activated or deactivated for your end
            user.
      required:
      - attachmentsControlMode
    AutoSubscriptionConfiguration:
      type: object
      properties:
        autoSubscribe:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: Describes whether automatic subscriptions are enabled for an Amazon Q Business application using IAM
            identity federation for user management.
        defaultSubscriptionType:
          type: string
          enum:
          - Q_LITE
          - Q_BUSINESS
          description: Describes the default subscription type assigned to an Amazon Q Business application using IAM identity
            federation for user management. If the value for autoSubscribe is set to ENABLED you must select a value for this
            field.
      required:
      - autoSubscribe
    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
    CreateApplicationResponse:
      type: object
      properties:
        applicationId:
          type: string
          description: The identifier of the Amazon Q Business application.
        applicationArn:
          type: string
          description: The Amazon Resource Name (ARN) of the Amazon Q Business application.
    DeleteApplicationResponse:
      type: object
      properties: {}
    EncryptionConfiguration:
      type: object
      properties:
        kmsKeyId:
          type: string
          description: The identifier of the KMS key. Amazon Q Business doesn't support asymmetric keys.
    ErrorDetail:
      type: object
      properties:
        errorMessage:
          type: string
          description: The message explaining the Amazon Q Business request error.
        errorCode:
          type: string
          enum:
          - InternalError
          - InvalidRequest
          - ResourceInactive
          - ResourceNotFound
          description: The code associated with the Amazon Q Business request error.
    GetApplicationResponse:
      type: object
      properties:
        displayName:
          type: string
          description: The name of the Amazon Q Business application.
        applicationId:
          type: string
          description: The identifier of the Amazon Q Business application.
        applicationArn:
          type: string
          description: The Amazon Resource Name (ARN) of the Amazon Q Business application.
        identityType:
          type: string
          enum:
          - AWS_IAM_IDP_SAML
          - AWS_IAM_IDP_OIDC
          - AWS_IAM_IDC
          - AWS_QUICKSIGHT_IDP
          - ANONYMOUS
          description: The authentication type being used by a Amazon Q Business application.
        iamIdentityProviderArn:
          type: string
          description: The Amazon Resource Name (ARN) of an identity provider being used by an Amazon Q Business application.
        identityCenterApplicationArn:
          type: string
          description: The Amazon Resource Name (ARN) of the AWS IAM Identity Center instance attached to your Amazon Q Business
            application.
        roleArn:
          type: string
          description: The Amazon Resource Name (ARN) of the IAM with permissions to access your CloudWatch logs and metrics.
        status:
          type: string
          enum:
          - CREATING
          - ACTIVE
          - DELETING
          - FAILED
          - UPDATING
          description: The status of the Amazon Q Business application.
        description:
          type: string
          description: A description for the Amazon Q Business application.
        encryptionConfiguration:
          $ref: '#/components/schemas/EncryptionConfiguration'
        createdAt:
          type: string
          format: date-time
          description: The Unix timestamp when the Amazon Q Business application was last updated.
        updatedAt:
          type: string
          format: date-time
          description: The Unix timestamp when the Amazon Q Business application was last updated.
        error:
          $ref: '#/components/schemas/ErrorDetail'
        attachmentsConfiguration:
          $ref: '#/components/schemas/AppliedAttachmentsConfiguration'
        qAppsConfiguration:
          $ref: '#/components/schemas/QAppsConfiguration'
        personalizationConfiguration:
          $ref: '#/components/schemas/PersonalizationConfiguration'
        autoSubscriptionConfiguration:
          $ref: '#/components/schemas/AutoSubscriptionConfiguration'
        clientIdsForOIDC:
          type: array
          items:
            type: string
          description: The OIDC client ID for a Amazon Q Business application.
        quickSightConfiguration:
          $ref: '#/components/schemas/QuickSightConfiguration'
    InternalServerException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ListApplicationsResponse:
      type: object
      properties:
        nextToken:
          type: string
          description: If the response is truncated, Amazon Q Business returns this token. You can use this token in a subsequent
            request to retrieve the next set of applications.
        applications:
          type: array
          items:
            $ref: '#/components/schemas/Application'
          description: An array of summary information on the configuration of one or more Amazon Q Business applications.
    PersonalizationConfiguration:
      type: object
      properties:
        personalizationControlMode:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: An option to allow Amazon Q Business to customize chat responses using user specific metadata—specifically,
            location and job information—in your IAM Identity Center instance.
      required:
      - personalizationControlMode
    QAppsConfiguration:
      type: object
      properties:
        qAppsControlMode:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: Status information about whether end users can create and use Amazon Q Apps in the web experience.
      required:
      - qAppsControlMode
    QuickSightConfiguration:
      type: object
      properties:
        clientNamespace:
          type: string
          description: The Amazon Quick Suite namespace that is used as the identity provider. For more information about
            Quick Suite namespaces, see Namespace operations.
      required:
      - clientNamespace
    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
    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
    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
    UpdateApplicationResponse:
      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)