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

# Export execution data

> Export workflow execution data



## OpenAPI

````yaml get /api/v1/executions/{executionId}/export
openapi: 3.1.0
info:
  title: PaperJet API
  description: Secure document extraction API
  version: 1.0.0
servers:
  - url: https://app.getpaperjet.com
    description: Production Server
security:
  - apiKeyAuth: []
paths:
  /api/v1/executions/{executionId}/export:
    get:
      description: Export workflow execution data
      operationId: getApiV1Executions:executionIdExport
      parameters:
        - in: path
          name: executionId
          schema:
            type: string
            pattern: ^exe_[a-f0-9]{12}$
          required: true
        - in: query
          name: mode
          schema:
            type: string
            enum:
              - csv
              - json
          required: true
      responses:
        '200':
          description: Exported data file
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '404':
          description: Execution data not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
        '500':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````