201Successful Response
Schema: SuccessEnvelope_GenerateDeckResponse_
successbooleanmessagestringcodestringdataGenerateDeckResponse
/api/v1/ai-reporting/decksBuild a new deck from live data + AI commentary and persist it. Returns the full DeckSpec ready to render.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: GenerateDeckRequest
promptstringrequiredperiod_startstring · dateperiod_endstring · dateslide_typesarray · stringOptional subset of slide types to include. When omitted the service picks a sensible default for board / investor decks.
titlestringSchema: SuccessEnvelope_GenerateDeckResponse_
successbooleanmessagestringcodestringdataGenerateDeckResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject