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

# Download export file

> Use this endpoint to download the export file. The response includes a presigned URL for downloading the file.



## OpenAPI

````yaml en/openapi/v3-current/matcher.yaml get /v1/export-jobs/{jobId}/download
openapi: 3.1.0
info:
  title: Matcher APIs
  description: >-
    Complete API reference for the Matcher reconciliation engine, providing
    automated transaction matching between Midaz Ledger and external systems.
  version: 4.3.0
  license:
    name: Lerian Studio General License
servers:
  - url: https://matcher.sandbox.lerian.net
security: []
paths:
  /v1/export-jobs/{jobId}/download:
    get:
      tags:
        - Export Jobs
      summary: Download export file
      description: >-
        Use this endpoint to download the export file. The response includes a
        presigned URL for downloading the file.
      operationId: downloadExportJob
      parameters:
        - description: A unique identifier for tracing the request across services.
          in: header
          name: X-Request-Id
          schema:
            type: string
        - description: Export Job ID
          in: path
          name: jobId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Export download details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DownloadExportJobResponse'
        '400':
          description: The request contains invalid parameters or payload.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: The request lacks valid authentication credentials.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: You do not have permission to access this resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                ErrorM0103:
                  $ref: '#/components/examples/ErrorM0103'
        '404':
          description: The requested resource was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Job not ready for download
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: An unexpected error occurred on the server.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: The service is temporarily unavailable. Please try again later.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                ErrorM0703:
                  $ref: '#/components/examples/ErrorM0703'
      security:
        - BearerAuth: []
components:
  schemas:
    DownloadExportJobResponse:
      description: Presigned download URL and metadata for an export job file
      type: object
      properties:
        downloadUrl:
          description: Presigned URL to download the export file
          example: https://storage.example.com/exports/report.csv?token=abc
          type: string
        fileName:
          description: Original file name of the export
          example: matched_report.csv
          type: string
        sha256:
          description: SHA-256 checksum of the file for integrity verification
          example: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
          type: string
        expiresIn:
          description: Duration in seconds until the download URL expires
          example: 3600
          type: integer
    ErrorResponse:
      description: Standard error response returned by all API endpoints
      type: object
      required:
        - code
        - title
        - message
      properties:
        code:
          type: string
          description: Stable application error code.
          example: MTCH-0001
        title:
          type: string
          description: Human-readable error title.
          example: Bad Request
        message:
          type: string
          description: Human-readable error message with details.
          example: context not found
        error:
          type: string
          description: Deprecated. Error message for backward compatibility.
          deprecated: true
        details:
          description: Additional error context as key-value pairs
          additionalProperties: {}
          type: object
  examples:
    ErrorM0103:
      summary: Insufficient Privileges
      value:
        code: MTCH-0004
        title: Forbidden
        message: >-
          You do not have the necessary permissions to perform this action.
          Please contact your administrator if you believe this is an error.
    ErrorM0703:
      summary: Storage Unavailable
      value:
        code: MTCH-0703
        title: Service Unavailable
        message: The storage service is currently unavailable. Please try again later.
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Bearer token authentication (format: "Bearer {token}")'

````