Export Audience Brief
export_audienceExports an Audience brief, or with kind "validation_report" the report of its validations (overall score calculation, every KPI, per-question answer shares, provenance), through the same renderer used by the web app. Brief: Markdown, PDF, DOCX, PPTX. Validation report: Markdown, PDF, DOCX, XLSX. Binary artifacts are returned as base64.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | What to export: "brief" (default), the Audience brief; or "validation_report", every scored validation of the Audience with the overall score calculation, every KPI with its 95% interval, per-question answer shares and provenance. A validation report needs edit access and a scored validation. | |
| force | No | Regenerate instead of returning a cached artifact. | |
| format | No | Export format: "md" (default), "pdf", "docx"; "pptx" for a brief only; "xlsx" (every table as a sheet) for a validation report only. | |
| audience | No | Which Audience to export. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Export format. | |
| content | No | Inline Markdown content, for Markdown exports. | |
| filename | No | Suggested file name. | |
| mimeType | No | MIME type of the file. | |
| audienceId | No | Exported Audience. | |
| contentBase64 | No | Base64 file content, for binary formats. |