Get Artifact Office Preview
public
Get Artifact Office Preview
Serve the PDF the agent generated alongside a LibreOffice- convertible source (pptx, docx) — used by the in-app PptxViewer / DocxViewer to render the file via a browser PDF iframe.
Returns 404 (not 410) if the PDF doesn’t exist — most likely the artifact was published before *_publish started persisting sibling PDFs, in which case the frontend falls back to its “download to open locally” placeholder. The agent can retroactively generate the PDF by calling *_publish with the same artifact_id (or, for pptx, by running pptx_inspect once).
GET
Get Artifact Office Preview
Documentation Index
Fetch the complete documentation index at: https://docs.codecobra.ai/llms.txt
Use this file to discover all available pages before exploring further.