Upload a file to a file-type data source (CSV/XLSX/Francesinha, up to 1GB)
Allowed formats: CSV, XLSX (.xlsx), and Brazilian banking Francesinha (CNAB-style .txt/.fra). Returns the persisted file row (with parsed metadata where applicable).
Authorization
ApiKeyAuth Tenant API key
In: header
Path Parameters
uuidRequest Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
binaryResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/data-sources/497f6eca-6276-4993-bfeb-53cbbbba6f08/files" \ -F file="string"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "dataSourceId": "2b37f84c-d876-441e-9b27-0c3482a7c574", "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0", "fileName": "string", "originalName": "string", "filePath": "string", "format": "csv", "mimeType": "string", "sizeBytes": 0, "headers": [ "string" ], "sheetNames": [ "string" ], "rowCount": 0, "status": "ready", "errorMessage": "string", "metadata": {}, "uploadedAt": "2019-08-24T14:15:22Z", "processedAt": "2019-08-24T14:15:22Z"}List records produced by a specific uploaded file
Returns the records ingested from this file, ordered by createdAt desc. The match is performed via the `fileId` field stamped into each record's `data`.
Get data source
Returns the data source. For `openi` and `openfinance` types the response also includes the connector `config` object so management clients can hydrate forms; sensitive fields may be present.

