Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
multipart/form-data
The purpose of the file
Available options:
fine-tune, eval, eval-sample, eval-output, eval-summary, batch-generated, batch-api Example:
"fine-tune"
The name of the file being uploaded
Example:
"dataset.csv"
The content of the file being uploaded
The type of the file
Available options:
csv, jsonl, parquet Example:
"jsonl"
Response
File uploaded successfully
Example:
"file"
Example:
1715021438
Example:
"my_file.jsonl"
Example:
2664
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"