Skip to main content
See all commands with:

Quickstart

Before you can upload a dataset, you will need to format it. See the fine-tuning page for a guide on how to prepare your data.

Upload

To upload a new data file:
Here’s a sample output:
The id field in the response will be the assigned file-id for this file object.

List

To list previously uploaded files:

Retrieve

To retrieve the metadata of a previously uploaded file,
Here’s a sample output:

Retrieve content

To download a previously uploaded file,
Here’s a sample output:
You can specify the output filename with --output FILENAME or -o FILENAME. By default, the dataset is saved to <FILE-ID>.jsonl.

Delete

To delete a previously uploaded file,
Here’s a sample output: