Optionalallow_When true, allows fallback to direct database queries for expired jobs whose in-memory handles have been pruned. Only supported with providers that implement the extended exporter query interface (e.g., Postgres).
Optionalenrich_When true, enriches activity and child workflow events with their inputs by querying the underlying job attributes. This enables full visibility into activity arguments without requiring separate callback queries.
Optionalexclude_When true, omits internal/interceptor activities (names starting with lt)
from the event list. Useful for user-facing dashboards.
Optionalinclude_When true, fetches the full stream message history for this workflow
from the worker_streams table and attaches it as stream_history.
This provides raw activity input/output data from the original stream
messages, enabling full export fidelity.
Optionalmax_Maximum recursion depth for verbose mode child workflow fetching.
Optionalmodesparse (default) — single-query export from the workflow's timeline markers.
verbose — recursively fetches child workflow jobs and attaches their full
event histories as nested children arrays.
Optionalomit_When true, strips result and input payloads from event attributes.
Reduces response size while preserving event structure and timing.
Options for
handle.exportExecution(). Controls event filtering, enrichment, and traversal depth for child workflows.