Export content as PDF, DOCX, XLSX, CSV, HTML or Markdown
Convert content into an official file format: PDF, Word (docx), Excel (xlsx), CSV, HTML or Markdown. The source is exactly one of: an existing document (document_id), inline markdown, inline html, one table or several sheets. Tables over 2,000 rows only export as xlsx or csv. Returns a presigned download URL valid for 30 minutes; nothing is stored in a Space. Use documents.export_save when the file should be kept.
Authorization
bearerApiKey Create a scoped API key in the Adlass settings.
In: header
Header Parameters
Optional correlation identifier.
length <= 128Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/documents/export" \ -H "Content-Type: application/json" \ -d '{ "format": "pdf" }'{ "file_name": "invoice-2026-09.pdf", "media_type": "example", "size_bytes": 0, "presigned_url": "https://storage.example.com/invoice-2026-09.pdf?signature=example", "expires_at": "2026-09-04T12:00:00Z", "instructions_for_agent": "Upload the file with HTTP PUT to presigned_url."}