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

# Request an async encrypted conversation/session export



## OpenAPI

````yaml /api-reference/openapi.json post /v1/conversations/exports
openapi: 3.1.0
info:
  title: Feather API
  description: >-
    Unified customer experience platform API. Manages identity, conversations,
    memory, agents, procedures, policies, model routing, knowledge bases,
    integrations, and runtime execution.
  version: 1.87.0
servers:
  - url: https://api-sandbox.featherhq.com
    description: Sandbox
  - url: http://localhost:8000
    description: Local dev
security: []
paths:
  /v1/conversations/exports:
    post:
      tags:
        - conversation-exports
      summary: Request an async encrypted conversation/session export
      operationId: requestConversationExport
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConversationExportRequest'
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConversationExportJobResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    ConversationExportRequest:
      properties:
        export_format:
          type: string
          enum:
            - csv
            - ndjson
          title: Export Format
          default: csv
        start:
          type: string
          format: date-time
          title: Start
        end:
          type: string
          format: date-time
          title: End
        channel:
          anyOf:
            - type: string
            - type: 'null'
          title: Channel
        status:
          anyOf:
            - type: string
            - type: 'null'
          title: Status
        end_user_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: End User Id
        assigned_agent_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Assigned Agent Id
        priority:
          anyOf:
            - type: string
              enum:
                - low
                - normal
                - high
                - urgent
            - type: 'null'
          title: Priority
        eval_filter:
          anyOf:
            - type: string
              enum:
                - has_evals
                - no_evals
                - all_passed
                - any_failed
            - type: 'null'
          title: Eval Filter
        q:
          anyOf:
            - type: string
            - type: 'null'
          title: Q
        from_number:
          anyOf:
            - type: string
            - type: 'null'
          title: From Number
        to_number:
          anyOf:
            - type: string
            - type: 'null'
          title: To Number
        email:
          anyOf:
            - type: string
            - type: 'null'
          title: Email
        id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Id
        external_session_id:
          anyOf:
            - type: string
            - type: 'null'
          title: External Session Id
      type: object
      required:
        - start
        - end
      title: ConversationExportRequest
      description: >-
        POST body for an async encrypted conversation/session export.


        Every optional field below is a narrowing filter with the SAME meaning
        and

        the SAME implementation as the matching ``GET /v1/conversations`` query

        param — both go through ``src/conversation/session_filters.py``, so an

        export cannot select a different set of sessions than the list the
        operator

        was looking at. The export is channel-agnostic by default; ``channel``
        just

        narrows it. ``[start, end)`` is always required and is not a "filter" in

        this sense — it bounds the job's size.
    ConversationExportJobResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        status:
          type: string
          title: Status
        export_format:
          type: string
          title: Export Format
        window_start:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Window Start
        window_end:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Window End
        created_at:
          type: string
          format: date-time
          title: Created At
        started_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Started At
        finalized_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Finalized At
        expires_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Expires At
        total_rows:
          anyOf:
            - type: integer
            - type: 'null'
          title: Total Rows
        error_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Code
        filters:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Filters
        files:
          items:
            $ref: '#/components/schemas/ConversationExportFile'
          type: array
          title: Files
          default: []
      type: object
      required:
        - id
        - status
        - export_format
        - created_at
      title: ConversationExportJobResponse
      description: Status view of an export job (with per-file download tokens when ready).
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ConversationExportFile:
      properties:
        name:
          type: string
          title: Name
        sha256_plaintext:
          anyOf:
            - type: string
            - type: 'null'
          title: Sha256 Plaintext
        download_token:
          anyOf:
            - type: string
            - type: 'null'
          title: Download Token
      type: object
      required:
        - name
      title: ConversationExportFile
      description: Per-file status; ``download_token`` is present only when downloadable.
    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:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````