Skip to main content
POST
Validate an uploaded file

Authorizations

Authorization
string
header
required

A signed-in platform session; only the upload routes accept it.

Body

application/json
task_id
string
required

The task the file belongs to.

Minimum string length: 1
filename
string
required

A .csv, .txt, .md or .markdown file name.

Minimum string length: 1
Example:

"accounts.csv"

Response

The validated file; pass filename in input_files.

filename
string
required

Pass this in input_files.

path
string
required
rows
integer | null
fields
string[] | null
renamed
Renamed · object[] | null

Duplicate or blank headers that were renamed: index, original, name.

delimiter
string | null
extra_columns
integer | null