Skip to main content

Upload

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

List

To list previously uploaded files:
Shell

Retrieve

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

Retrieve content

To download a previously uploaded file:
Shell
Here’s a sample output:
Shell
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:
Shell
Here’s a sample output:
Shell

Check

To check that a file is in the correct format, you can do this: Python

Help

See all commands with:
Shell