Build CSV payload for workflow operator export from workflow filters.
This endpoint centralizes CSV formatting logic server-side so frontend and downloaded files stay consistent.
Export run results for one block as structured CSV. Useful for pulling extract or classify outputs out of Retab in bulk for downstream analytics, BI tools, or spreadsheets. You pick:Documentation Index
Fetch the complete documentation index at: https://docs.retab.com/llms.txt
Use this file to discover all available pages before exploring further.
workflow_id, block_id).export_source):
"outputs" (default) — what the block produced."inputs" — what the block received.selected_run_ids) or all runs that match the filters (status, exclude_status, from_date, to_date, trigger_types).preferred_columns. Columns you don’t list still appear, in the order the block emits them.Workflow ID for server-side row derivation
Block ID for server-side row derivation
Use block outputs or inputs
outputs, inputs Run IDs filter (null means all runs)
Doc type filter (null/empty means all)
Optional status filter (intersects with completed-only export scope)
pending, running, completed, error, waiting_for_human, cancelled Optional status exclusion filter (intersects with completed-only export scope)
pending, running, completed, error, waiting_for_human, cancelled Optional start date filter (YYYY-MM-DD)
Optional end date filter (YYYY-MM-DD)
Optional trigger type filters
manual, api, schedule, webhook, email, restart Preferred data column order
CSV delimiter
CSV line delimiter
CSV quote character