> ## Documentation Index
> Fetch the complete documentation index at: https://docs.decodahealth.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Patient Attachments For Export

> Return every note attachment for the patient — every revision, no pagination.

Metadata only; raw bytes are served by ``/note-attachments/raw-bundle``.



## OpenAPI

````yaml get /user/patient/{patient_id}/note-attachments/export-list
openapi: 3.1.0
info:
  title: Decoda API
  description: External API documentation for the Decoda Health platform.
  version: '1.0'
servers: []
security: []
paths:
  /user/patient/{patient_id}/note-attachments/export-list:
    get:
      tags:
        - Patient Documents
      summary: List Patient Attachments For Export
      description: >-
        Return every note attachment for the patient — every revision, no
        pagination.


        Metadata only; raw bytes are served by ``/note-attachments/raw-bundle``.
      operationId: >-
        list_patient_attachments_for_export_user_patient__patient_id__note_attachments_export_list_get
      parameters:
        - name: TENANT
          in: header
          required: true
          schema:
            type: string
            title: Tenant
          description: The tenant you are making this request on behalf of
        - name: API-KEY
          in: header
          required: true
          schema:
            type: string
            title: Api-Key
          description: Your api key
        - name: patient_id
          in: path
          required: true
          schema:
            type: string
            title: Patient Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/NoteAttachmentForExport'
                title: >-
                  Response List Patient Attachments For Export User Patient 
                  Patient Id  Note Attachments Export List Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    NoteAttachmentForExport:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        gcsPath:
          type: string
          title: Gcspath
        annotations:
          anyOf:
            - items:
                additionalProperties: true
                type: object
              type: array
            - type: 'null'
          title: Annotations
        parentAttachmentId:
          anyOf:
            - type: string
            - type: 'null'
          title: Parentattachmentid
        versionIndex:
          type: integer
          title: Versionindex
        createdDate:
          type: string
          format: date-time
          title: Createddate
        noteParentDir:
          anyOf:
            - type: string
            - type: 'null'
          title: Noteparentdir
        attachmentParentDir:
          type: string
          title: Attachmentparentdir
      type: object
      required:
        - id
        - name
        - gcsPath
        - versionIndex
        - createdDate
        - attachmentParentDir
      title: NoteAttachmentForExport
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````