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

# Preview a generic export by key

> Returns a preview of the data that `GET /export/{key}` would produce — the first rows and
column metadata, used to power the export-overview UI in ops-fe.




## OpenAPI

````yaml https://dev.enneo.dev/api/mind/docs/open-api get /export/{key}/preview
openapi: 3.0.0
info:
  version: '1'
  title: enneo.MIND API
  description: This describes the API of enneo Mind, the main ticketing backend
  contact:
    name: enneo GmbH
    email: richard@enneo.ai
  license:
    name: Proprietary software
    url: https://enneo.ai
servers:
  - url: https://demo.enneo.ai/api/mind
    description: Production server, demo client
  - url: https://main.enneo.dev/api/mind
    description: Development main branch
  - url: http://localhost:8005/api/mind
    description: Local development server
security:
  - bearerAuth:
      - api
  - cookieAuth:
      - api
paths:
  /export/{key}/preview:
    get:
      tags:
        - Export
      summary: Preview a generic export by key
      description: >
        Returns a preview of the data that `GET /export/{key}` would produce —
        the first rows and

        column metadata, used to power the export-overview UI in ops-fe.
      operationId: genericExportPreview
      parameters:
        - name: key
          in: path
          required: true
          description: Export key — identifies the dataset to preview.
          schema:
            type: string
          example: reporting_tickets
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                type: object
                properties:
                  columns:
                    type: array
                    items:
                      type: string
                    description: Column names in the order they appear in the export.
                  rows:
                    type: array
                    description: First N rows of the dataset.
                    items:
                      type: object
                  total:
                    type: integer
                    description: Total number of rows that would be exported.
        '400':
          description: Unknown or invalid export key.
        '403':
          description: Unauthorized.
        '500':
          description: Internal error.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT-based authentication
      x-scopes:
        api: Full access to the API
    cookieAuth:
      type: apiKey
      in: cookie
      name: connect.sid
      description: Cookie-based authentication
      x-scopes:
        api: Full access to the API

````