Export a deck
POST
/api/v1/ai-reporting/decks/{deck_id}/export
Export an already-generated deck to PPTX or PDF. The client uploads rendered slide PNGs as multipart parts; the server assembles them via python-pptx (PPTX) or ReportLab (PDF fallback). Returns the file as a streaming response with a content-disposition header.
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_idstring required
Query
-
formatstring default:pptx -
commentarystring
Responses
400 Bad Request - Invalid input
401 Unauthorized - Authentication required
403 Forbidden - Insufficient permissions
404 Not Found - Resource does not exist
422 Validation Error
Schema: HTTPValidationError
-
detailarray · ValidationError ValidationError -
5 fields
-
locarray · string | integer required -
msgstring required -
typestring required -
inputobject -
ctxobject
-