Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
The name of the file being uploaded
Example:
"large_dataset.jsonl"
Total size of the file in bytes
Example:
7516192768
Number of parts to split the file into (1-250)
Required range:
1 <= x <= 250
Example:
75
The purpose of the file
Available options:
fine-tune
, eval
, eval-sample
, eval-output
, eval-summary
, batch-generated
, batch-api
Example:
"fine-tune"
The type of the file
Available options:
csv
, jsonl
, parquet
Example:
"jsonl"