Export survey statistics
limesurvey_export_statisticsExport survey statistics as a base64-encoded PDF, XLS, or HTML document. Specify survey ID, document type, and optional parameters like language, group IDs, and graphs.
Instructions
Export survey statistics as a base64-encoded PDF, XLS, or HTML document.
Calls LimeSurvey RemoteControl method export_statistics. Authentication uses the configured service account; do not provide a session key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | LimeSurvey language code; null uses the survey default. | |
| group_ids | No | Optional group ID or list of group IDs. | |
| survey_id | Yes | Numeric LimeSurvey survey ID. | |
| document_type | No | Statistics document type. | |
| include_graphs | No | Whether to include graphs. | |
| response_format | No | Output format. JSON preserves the complete structured result; Markdown is optimized for reading. | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | ||
| result | Yes | ||
| truncated | No | ||
| truncation_message | No |