CSV
CSV/XLSX file uploads
๐๏ธ Upload one or more CSV/TSV/XLSX files or ZIPs (storage only โ does NOT start processing)
Stores the uploaded file(s) and records each as `uploaded`. Processing/ingestion is NOT triggered here โ call `POST /csv/sync` with the returned uploadIds to start it. Files are stored independently, so one bad file is reported in `failures` without sinking the rest of the batch.
๐๏ธ Get a signed URL to upload one CSV/XLS/XLSX file without multipart
Upload in three steps, for clients that send the file to storage themselves: (1) this call returns a 15-minute signed PUT URL for a server-chosen path in the integrationโs upload folder; (2) PUT the file to `uploadUrl` with header `Content-Type: <contentType>`; (3) call `POST /csv/uploads/register` with `filePath`. Size is checked at register (`maxBytes`).
๐๏ธ Record a file PUT to a /csv/upload-url URL as an upload
Creates the same `uploaded` record as `POST /csv/upload` for a file already in storage. Processing is not triggered โ call `POST /csv/sync` with the returned uploadId.
๐๏ธ Trigger processing of already-uploaded CSV files
Starts parsing/ingestion for the given uploadIds as a single `csv`-kind sync. Creates one sync row that groups the batch (poll via `GET /sync/{syncId}`) and links every upload to it. Only files in `uploaded` status are accepted โ re-triggering already-processed files is rejected to avoid duplicate ingestion. Files handed to `POST /csv/ai-convert` are refused (400 `UPLOAD_NOT_CONVERTED`) until that conversion completes.
๐๏ธ Replay a past CSV sync (destructive)
Deletes the transactions a previous `csv`-kind sync produced, then re-parses the exact same files from storage. Use it after a parser fix, or when an import came out wrong.
๐๏ธ List CSV upload history
List CSV upload history
๐๏ธ Get upload status
Get upload status
๐๏ธ Delete a CSV upload
Delete a CSV upload
๐๏ธ Get signed URL to download parse-error CSV (404 if no errors)
Get signed URL to download parse-error CSV (404 if no errors)