Export
AI-generatedSummary
Exports local datatable variables to raw JSON output or a downloadable binary JSON file for all tables or a specific table.
Inputs
- exportMode — Specify whether to export all local datatables or a single specific table.
- tableName (required) — The name of the table to export. Required when Export Mode is set to 'Specific Table'.
- outputFormat — Select whether to output exported table data directly as raw JSON or as a binary JSON file.
Output shape
A single item containing metadata and either raw JSON table data or a binary file attachment.
When Output Format is 'json', table data is returned under the 'data' property of the item JSON payload. When set to 'file', metadata (filename and byteSize) is returned in the JSON payload, and the exported JSON file is attached under the binary property 'data'.
Examples
Example 1: Export all local tables to a binary JSON file
Export Mode: All Tables, Output Format: JSON File (Binary)
Example 2: Export a specific table directly as raw JSON
Export Mode: Specific Table, Table Name: 'users', Output Format: JSON Output