Export a deck

POST/api/v1/ai-reporting/decks/{deck_id}/export

Export an already-generated deck to PPTX or PDF. The default path assembles the file natively from the stored DeckSpec (python-pptx / WeasyPrint) — searchable text, real tables, server-rendered charts. Clients may still upload rendered slide PNGs as multipart parts to force the legacy screenshot pipeline. Returns the file as a streaming response with a content-disposition header.

Operation ID: export_deck_api_v1_ai_reporting_decks__deck_id__export_post·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

deck_idstringrequired

Query

formatstringdefault: pptx
commentarystring

Responses

201Successful Response

successboolean
messagestring
codestring
dataExportDeckResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

404Not Found - Resource does not exist

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject