ExportRequest

  • Filter applied to the export, mirroring /filter

    Properties: 7
  • Display labels paired with columns, in the same order. When supplied, the worker writes these verbatim as the header row so the file matches what the user sees in the UI; when omitted, the worker falls back to the per-account *_fields.label lookup.

  • Ordered list of field_keys. Defaults to the entity's full output model.

  • Per-column raw-value → display-label maps, supplied by the frontend for columns whose UI renders an enum/int as a human string (e.g. service duration 2 → "1 Year"). Shape: {column_key: {str(raw_value): label}}. The worker writes the mapped label verbatim and falls back to default cell formatting when the column has no map or the raw value isn't in it.

    Properties: 1
  • File format of the export. csv and xlsx are for spreadsheets (labels, chosen columns). ndjson is for loading into a warehouse or pipeline: UTF-8, one JSON record per line, every field under its API name with its stored value (ids, ISO timestamps); columns and labels do not apply to it.

    values
    csvxlsxndjson
  • Resolve FK references for export rows

  • Sort spec mirroring /filter; worker appends id ASC tiebreaker

    Properties: 1
  • Excel presentation settings; ignored for CSV.

    Properties: 4