Export Forms answers
forms_answers_exportStart an async export of a form's answers to CSV, XLSX, or JSON and get an operation ID to poll until the file is ready for download.
Instructions
Start an async export of a form's answers (csv/xlsx); returns the operation to poll.
An empty body exports every answer as xlsx. Poll the returned id with
operations_get until the status is terminal; download the finished file with the
forms answers export --wait CLI command (binary payload — not exposed over MCP).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Typed request body for ``POST /v1/surveys/{id}/answers/export`` (start an async export). Every field is optional — the API defaults ``format`` to ``xlsx`` and ``upload`` to ``default``. Unset (``None``) fields are dropped before the request is sent, so a bare ``AnswerExport()`` exports every answer of the form in ``xlsx``. | |
| survey_id | Yes | Form id (24-char hex), from ``surveys_list``. |