> ## 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 the content of a File



## OpenAPI

````yaml /openapi/connect_server_api.yaml get /vaults/{vaultUuid}/items/{itemUuid}/files/{fileUuid}/content
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/{fileUuid}/content:
    parameters:
      - in: path
        name: vaultUuid
        schema:
          type: string
          format: uuid
        required: true
        description: The UUID of the Vault the item is in
      - in: path
        name: itemUuid
        schema:
          type: string
          format: uuid
        required: true
        description: The UUID of the Item the File is in
      - in: path
        name: fileUuid
        required: true
        schema:
          type: string
        description: UUID of the file to get content from
    get:
      tags:
        - Files
      summary: Get the content of a File
      operationId: DownloadFileByID
      responses:
        '200':
          description: Success
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
          headers:
            Content-Disposition:
              schema:
                type: string
                example: attachment; filename="privkey.pem"
            Content-Length:
              schema:
                type: string
                example: '6432'
        '401':
          description: Invalid or missing token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                status: 401
                message: Invalid token signature
        '404':
          description: File not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                fileNotFound:
                  summary: File not found
                  value:
                    status: 404
                    message: file {fileUuid} not found
                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
      security:
        - ConnectToken: []
components:
  schemas:
    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

````