Download the completed results of a PFI bulk data task in NDJSON or CSV format.
What this endpoint does
Downloads collected records for a completed PFI bulk data task. Use the taskId from any PFI pipeline submission endpoint (e.g., PFI: Full Card Data, PFI: Check Data, PFI: Bank Account Data) as the path parameter. Confirm the task is complete via PFI: Task Status first — calling before completion returns 425. For format: "json", pass columns: [] to get all fields; for format: "csv", you must explicitly list column names or the response will be empty.
Response data
Streams results as NDJSON for JSON-format requests — parse line by line, not as a single JSON document. Despite the spec listing application/octet-stream, the actual content-type is application/x-ndjson. For image tasks, the response is a binary archive. Returns 425 if the task hasn't completed yet.
