Preview CSV or Excel file before upload
Upload a CSV or Excel file to preview its structure, columns, and sample data
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
CSV or Excel file to preview
Response
Successful Response
Unified preview response for CSV and Excel files.
This model supports both CSV and Excel file previews through a single endpoint. The file_type field determines which optional fields are populated.
Name of the uploaded file
Type of file uploaded
csv, excel Success or informational message
CSV file information (only populated for CSV files)
Information about each sheet in the Excel file (only populated for Excel files)
Total number of sheets in the Excel file (only populated for Excel files)