Amazon Q Q Tags API

The Q Tags API from Amazon Q — 2 operation(s) for q tags.

GitHub OpenAPI

Operations 9

GET /v1/tags/{resourceARN} List Tags For Resource #
POST /v1/tags/{resourceARN} Tag Resource #
DELETE /v1/tags/{resourceARN} Untag Resource #
GET /tags/{resourceARN} List Tags For Resource #
POST /tags/{resourceARN} Tag Resource #
DELETE /tags/{resourceARN} Untag Resource #
GET /tags/{resourceArn} List Tags For Resource #
POST /tags/{resourceArn} Tag Resource #
DELETE /tags/{resourceArn} Untag Resource #

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-tags-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-tags-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: QBusiness Tags API
  version: '2023-11-27'
  description: Generated from AWS's published Smithy model for QBusiness. 9 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:
  /v1/tags/{resourceARN}:
    get:
      operationId: ListTagsForResource
      summary: List Tags For Resource
      description: Gets a list of tags associated with a specified resource. Amazon Q Business applications and data sources
        can have tags associated with them.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListTagsForResourceResponse'
        '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: resourceARN
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) of the Amazon Q Business application or data source to get a list of tags
          for.
      tags:
      - Tags
    post:
      operationId: TagResource
      summary: Tag Resource
      description: Adds the specified tag to the specified Amazon Q Business application or data source resource. If the tag
        already exists, the existing value is replaced with the new value.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagResourceResponse'
        '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: resourceARN
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) of the Amazon Q Business application or data source to tag.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                tags:
                  type: array
                  items:
                    $ref: '#/components/schemas/Tag'
                  description: A list of tag keys to add to the Amazon Q Business application or data source. If a tag already
                    exists, the existing value is replaced with the new value.
              required:
              - tags
      tags:
      - Tags
    delete:
      operationId: UntagResource
      summary: Untag Resource
      description: Removes a tag from an Amazon Q Business application or a data source.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UntagResourceResponse'
        '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: resourceARN
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) of the Amazon Q Business application, or data source to remove the tag
          from.
      - name: tagKeys
        in: query
        required: true
        schema:
          type: array
          items:
            type: string
        description: A list of tag keys to remove from the Amazon Q Business application or data source. If a tag key does
          not exist on the resource, it is ignored.
      tags:
      - Tags
  /tags/{resourceARN}:
    get:
      operationId: ListTagsForResource
      summary: List Tags For Resource
      description: Lists the tags associated with an Amazon Q Apps resource.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataQappsListTagsForResourceResponse'
              example:
                tags:
                  department: HR
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataQappsInternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataQappsResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataQappsThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataQappsValidationException'
      parameters:
      - name: resourceARN
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) of the resource whose tags should be listed.
      tags:
      - Tags
      servers:
      - url: https://data.qapps.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
      security:
      - sigv4_qapps: []
    post:
      operationId: TagResource
      summary: Tag Resource
      description: Associates tags with an Amazon Q Apps resource.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagResourceResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataQappsConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataQappsInternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataQappsResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataQappsThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataQappsValidationException'
      parameters:
      - name: resourceARN
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) of the resource to tag.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                tags:
                  type: object
                  additionalProperties:
                    type: string
                  description: The tags to associate with the resource.
              required:
              - tags
            example:
              resourceARN: arn:aws:qapps:us-west-2:123456789012:application/3642ba81-344c-42fd-a480-9119a5a5f26b/qapp/7212ff04-de7b-4831-bd80-45d6975ba1b0
              tags:
                department: HR
      tags:
      - Tags
      servers:
      - url: https://data.qapps.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
      security:
      - sigv4_qapps: []
    delete:
      operationId: UntagResource
      summary: Untag Resource
      description: Disassociates tags from an Amazon Q Apps resource.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UntagResourceResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataQappsInternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataQappsResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataQappsThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataQappsValidationException'
      parameters:
      - name: resourceARN
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) of the resource to disassociate the tag from.
      - name: tagKeys
        in: query
        required: true
        schema:
          type: array
          items:
            type: string
        description: The keys of the tags to disassociate from the resource.
      tags:
      - Tags
      servers:
      - url: https://data.qapps.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
      security:
      - sigv4_qapps: []
  /tags/{resourceArn}:
    get:
      operationId: ListTagsForResource
      summary: List Tags For Resource
      description: Lists the tags for the specified resource.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WisdomListTagsForResourceResponse'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WisdomResourceNotFoundException'
      parameters:
      - name: resourceArn
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) of the resource.
      tags:
      - Tags
      servers:
      - url: https://wisdom.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
      security:
      - sigv4_wisdom: []
    post:
      operationId: TagResource
      summary: Tag Resource
      description: Adds the specified tags to the specified resource.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagResourceResponse'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WisdomResourceNotFoundException'
        '400':
          description: TooManyTagsException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TooManyTagsException'
      parameters:
      - name: resourceArn
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) of the resource.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                tags:
                  type: object
                  additionalProperties:
                    type: string
                  description: The tags used to organize, track, or control access for this resource.
              required:
              - tags
      tags:
      - Tags
      servers:
      - url: https://wisdom.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
      security:
      - sigv4_wisdom: []
    delete:
      operationId: UntagResource
      summary: Untag Resource
      description: Removes the specified tags from the specified resource.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UntagResourceResponse'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WisdomResourceNotFoundException'
      parameters:
      - name: resourceArn
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) of the resource.
      - name: tagKeys
        in: query
        required: true
        schema:
          type: array
          items:
            type: string
        description: The tag keys.
      tags:
      - Tags
      servers:
      - url: https://wisdom.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
      security:
      - sigv4_wisdom: []
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
    sigv4_qapps:
      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: qapps
    sigv4_wisdom:
      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: wisdom
  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
    DataQappsConflictException:
      type: object
      properties:
        message:
          type: string
        resourceId:
          type: string
          description: The unique identifier of the resource
        resourceType:
          type: string
          description: The type of the resource
      required:
      - message
      - resourceId
      - resourceType
    DataQappsInternalServerException:
      type: object
      properties:
        message:
          type: string
        retryAfterSeconds:
          type: integer
          description: The number of seconds to wait before retrying the operation
      required:
      - message
    DataQappsListTagsForResourceResponse:
      type: object
      properties:
        tags:
          type: object
          additionalProperties:
            type: string
          description: The list of tags that are assigned to the resource.
    DataQappsResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
        resourceId:
          type: string
          description: The unique identifier of the resource
        resourceType:
          type: string
          description: The type of the resource
      required:
      - message
      - resourceId
      - resourceType
    DataQappsThrottlingException:
      type: object
      properties:
        message:
          type: string
        serviceCode:
          type: string
          description: The code for the service where the quota was exceeded
        quotaCode:
          type: string
          description: The code of the quota that was exceeded
        retryAfterSeconds:
          type: integer
          description: The number of seconds to wait before retrying the operation
      required:
      - message
      - serviceCode
      - quotaCode
    DataQappsValidationException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    InternalServerException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ListTagsForResourceResponse:
      type: object
      properties:
        tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: A list of tags associated with the Amazon Q Business application or data source.
    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
    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
    TagResourceResponse:
      type: object
      properties: {}
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    TooManyTagsException:
      type: object
      properties:
        message:
          type: string
        resourceName:
          type: string
          description: The specified resource name.
    UntagResourceResponse:
      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
    WisdomListTagsForResourceResponse:
      type: object
      properties:
        tags:
          type: object
          additionalProperties:
            type: string
          description: The tags used to organize, track, or control access for this resource.
    WisdomResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
        resourceName:
          type: string
          description: The specified resource name.
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)
  sources:
  - https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/qbusiness/service/2023-11-27/qbusiness-2023-11-27.json
  - https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/qapps/service/2023-11-27/qapps-2023-11-27.json
  - https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/qconnect/service/2020-10-19/qconnect-2020-10-19.json