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.

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_id string required

Query

format string default: pptx
commentary string

Responses

201 Successful Response

400 Bad Request - Invalid input

401 Unauthorized - Authentication required

403 Forbidden - Insufficient permissions

404 Not Found - Resource does not exist

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object