---
title: "Preview Export"
method: POST
path: "/api/export/preview"
tags: ["export"]
---

# Preview Export

`POST /api/export/preview`

## Request

- Base URL: `https://api.erux.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.erux.ai/api/export/preview`
- Auth: none declared

Preview export content without generating the actual file

Args:
    export_request: Export request parameters

Returns:
    Dict containing preview information

## Request body

- ExportRequest: Request model for export operations
  - `format` 'pdf', required: Available export formats
  - `chart_data` object, nullable: Chart calculation data
  - `birth_details` object, nullable: Birth information
  - `options` ExportOptions: Options for export customization
    - `include_interpretations` boolean: Include AI-generated interpretations in the export
    - `include_divisional` boolean: Include divisional charts analysis
    - `include_transits` boolean: Include current transits information
    - `include_aspects` boolean: Include aspects analysis
    - `include_houses` boolean: Include house positions and analysis
    - `watermark_text` string, nullable: Custom watermark text (uses default if not provided)
    - `interpretations` object, nullable: Pre-computed interpretations to include
    - `custom_sections` string[], nullable: Custom sections to include
  - `metadata` object, nullable: Additional metadata for the export

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/erux/apis/erux-astrology-ephemeris-engine.md) · [All operations](https://skmtc.dev/erux/apis/erux-astrology-ephemeris-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/erux/apis/erux-astrology-ephemeris-engine/revisions/9db1de17d2a5?raw)
