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

# Retrieve a file

> Retrieve a file from cloud storage. Files are associated with analysis results (fraud detection, parsing, verification) and include original uploads and generated heatmaps.



## OpenAPI

````yaml /openapi.json get /v1/files/{fileName}
openapi: 3.1.0
info:
  title: DeepXL API
  description: >-
    Professional document analysis and verification API for fraud detection,
    identity verification, and data extraction.
  contact:
    name: DeepXL Support
    url: https://deepxl.ai/contact
    email: hello@deepxl.ai
  version: 1.1.0
servers:
  - url: https://api.deepxl.ai
    description: Production
security: []
tags:
  - name: Fraud Detection
    description: Detect manipulated or AI-generated content in documents and images.
  - name: Document Parsing
    description: Extract structured data from IDs, bank statements, and pay stubs.
  - name: ID Verification
    description: Match an ID document against a selfie.
  - name: File Retrieval
    description: Fetch original uploads or generated heatmaps from a prior analysis.
paths:
  /v1/files/{fileName}:
    get:
      tags:
        - File Retrieval
      summary: Retrieve a file
      description: >-
        Retrieve a file from cloud storage. Files are associated with analysis
        results (fraud detection, parsing, verification) and include original
        uploads and generated heatmaps.
      operationId: get_file_v1_files__fileName__get
      parameters:
        - name: fileName
          in: path
          required: true
          schema:
            type: string
            title: Filename
      responses:
        '200':
          description: File retrieved successfully
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '401':
          description: Authentication required - API key or Clerk token missing/invalid
        '404':
          description: File not found or not accessible by this organization
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '500':
          description: Internal server error
      security:
        - API Key: []
components:
  schemas:
    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
  securitySchemes:
    API Key:
      type: apiKey
      description: API key created in the dashboard
      in: header
      name: x-api-key

````