> ## Documentation Index
> Fetch the complete documentation index at: https://www.1password.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Get all the files inside an Item



## OpenAPI

````yaml /openapi/connect_server_api.yaml get /vaults/{vaultUuid}/items/{itemUuid}/files
openapi: 3.0.2
info:
  title: 1Password Connect
  description: REST API interface for 1Password Connect.
  version: 1.8.1
  contact:
    name: 1Password Integrations
    email: support@1password.com
    url: https://support.1password.com/
servers:
  - url: http://localhost:8080/v1
security: []
tags:
  - name: Items
    description: Access and manage items inside 1Password Vaults
  - name: Vaults
    description: Access 1Password Vaults
  - name: Activity
    description: Access API Request Activity
paths:
  /vaults/{vaultUuid}/items/{itemUuid}/files:
    get:
      tags:
        - Files
      summary: Get all the files inside an Item
      operationId: GetItemFiles
      parameters:
        - in: path
          name: vaultUuid
          schema:
            type: string
            format: uuid
          required: true
          description: The UUID of the Vault to fetch Items from
        - in: path
          name: itemUuid
          schema:
            type: string
            format: uuid
          required: true
          description: The UUID of the Item to fetch files from
        - in: query
          name: inline_files
          schema:
            type: boolean
            example: true
          description: >-
            Tells server to return the base64-encoded file contents in the
            response.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/File'
        '401':
          description: Invalid or missing token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                status: 401
                message: Invalid token signature
        '404':
          description: Item not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                itemNotFound:
                  summary: Item not found
                  value:
                    status: 404
                    message: item {itemUuid} not found
                vaultNotFound:
                  summary: Vault not found
                  value:
                    status: 404
                    message: vault {vaultUuid} not found
        '413':
          description: File content too large to display
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                fileTooLarge:
                  summary: File too large
                  value:
                    status: 413
                    message: >-
                      File is too large to inline in request. Use the
                      /v1/vaults/{vaultUUID}/items/{itemUUID}/files/{fileUUID}/content
                      endpoint instead.
      security:
        - ConnectToken: []
components:
  schemas:
    File:
      type: object
      properties:
        id:
          type: string
          description: ID of the file
        name:
          type: string
          description: Name of the file
        size:
          type: integer
          description: Size in bytes of the file
        content_path:
          type: string
          description: >-
            Path of the Connect API that can be used to download the contents of
            this file.
          readOnly: true
        section:
          type: object
          description: For files that are in a section, this field describes the section.
          properties:
            id:
              type: string
        content:
          type: string
          format: byte
          description: >-
            Base64-encoded contents of the file. Only set if size <=
            OP_MAX_INLINE_FILE_SIZE_KB kb and `inline_files` is set to `true`.
      example:
        id: 6r65pjq33banznomn7q22sj44e
        name: foo.txt
        size: 35
        content_path: >-
          v1/vaults/ionaiwtdvgclrixbt6ztpqcxnq/items/p7eflcy7f5mk7vg6zrzf5rjjyu/files/6r65pjq33banznomn7q22sj44e/content
        content: VGhlIGZ1dHVyZSBiZWxvbmdzIHRvIHRoZSBjdXJpb3VzLgo=
    ErrorResponse:
      type: object
      properties:
        status:
          type: integer
          description: HTTP Status Code
        message:
          type: string
          description: A message detailing the error
  securitySchemes:
    ConnectToken:
      type: http
      scheme: bearer
      bearerFormat: JWT

````