---
title: "GET /applications/{applicationId}/attachments"
method: GET
path: "/applications/{applicationId}/attachments"
---

# GET /applications/{applicationId}/attachments

`GET /applications/{applicationId}/attachments`

Gets a list of attachments associated with an Amazon Q Business web experience or a list of attachements associated with a specific Amazon Q Business conversation.

## Path parameters

- `applicationId` string, required

## Query parameters

- `conversationId` string
- `userId` string
- `nextToken` string
- `maxResults` integer

## Response `200`

Success

- ListAttachmentsResponse
  - `attachments` Attachment[] — An array of information on one or more attachments.
    - `attachmentId` string — The identifier of the Amazon Q Business attachment.
    - `conversationId` string — The identifier of the Amazon Q Business conversation the attachment is associated with.
    - `name` string — Filename of the Amazon Q Business attachment.
    - `copyFrom` object — A CopyFromSource containing a reference to the original source of the Amazon Q Business attachment.
      - `conversation` object — A reference to an attachment in an existing conversation.
        - `conversationId` string, required — The unique identifier of the Amazon Q Business conversation.
        - `attachmentId` string, required — The unique identifier of the Amazon Q Business attachment.
    - `fileType` string — Filetype of the Amazon Q Business attachment.
    - `fileSize` integer — Size in bytes of the Amazon Q Business attachment.
    - `md5chksum` string — MD5 checksum of the Amazon Q Business attachment contents.
    - `createdAt` string, date-time — The Unix timestamp when the Amazon Q Business attachment was created.
    - `status` 'FAILED' | 'SUCCESS' — AttachmentStatus of the Amazon Q Business attachment.
    - `error` object — ErrorDetail providing information about a Amazon Q Business attachment error.
      - `errorMessage` string — The message explaining the Amazon Q Business request error.
      - `errorCode` 'InternalError' | 'InvalidRequest' | 'ResourceInactive' | 'ResourceNotFound' — The code associated with the Amazon Q Business request error.
  - `nextToken` string — 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 attachments.

## Other responses

- `480` — InternalServerException
- `481` — ResourceNotFoundException
- `482` — LicenseNotFoundException
- `483` — ThrottlingException
- `484` — ValidationException
- `485` — AccessDeniedException

---

[API](https://skmtc.net/aws/apis/qbusiness.md) · [All operations](https://skmtc.net/aws/apis/qbusiness/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/qbusiness/versions/82966d6c4053/schema)
