Generate a .docx file from a block list. Returns a pre-signed download URL.
by Faro
Generates a Microsoft Word (.docx) file from a structured block list headings, paragraphs with bold and italic runs, bullet lists, numbered lists, tables, and page breaks. Returns a short-lived pre-signed download URL.
A structured block-list input is the natural shape for an LLM to emit, so agents can go straight from reasoning to a finished .docx without an intermediate template engine. Tables, lists, and inline formatting are first-class, so business documents render correctly in Word and Google Docs without manual cleanup.
The returned URL is pre-signed and short-lived; fetch or forward the file promptly. Use page breaks to control pagination in multi-section reports.
Document title. Becomes the docx core property and is rendered as a level-0 heading.
Ordered list of content blocks. Supported types: heading, paragraph, bullets, numbered, table, page_break.
Filename for the generated docx (shown in download URL and storage key).
Seconds the download URL stays valid (default 1h, max 24h).