Preview CSV file before import
integrations
Preview CSV file before import
Preview CSV file before final import.
Shows the first 5 rows and file metadata to help users:
- Verify correct file was uploaded
- Confirm header row detection
- Check delimiter parsing
- Review column names
- Validate data format
This is step 3 in the upload workflow (optional):
- Generate upload URL
- Upload file to cloud storage
- Preview file (this endpoint)
- Complete upload and process
Use Cases:
- Verify file structure before import
- Confirm CSV parsing settings
- Preview data for validation
POST
Preview CSV file before import
Authorizations
API key authentication. Include your API key in the X-API-Key header as: X-API-Key YOUR_API_KEY
Example:
JWT Bearer token authentication. Include your access token in the Authorization header as: Bearer YOUR_ACCESS_TOKEN
Example:
Path Parameters
Body
application/json
The body is of type Request · object.
Response
CSV preview generated successfully
Response containing CSV file preview.
Returned by POST /database/{db_id}/upload/preview endpoint. Shows first 5 rows and file metadata before final upload.