PATCH
/
api
/
v1
/
organizations
/
{organization_id}
/
datasets
/
{dataset_id}
{
  "created_at": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "name": "<string>",
  "total_bytes": 123,
  "training_file": {
    "bytes": 123,
    "id": "<string>",
    "name": "<string>"
  },
  "training_file_id": "<string>",
  "updated_at": "2023-11-07T05:31:56Z",
  "validation_file": {
    "bytes": 123,
    "id": "<string>",
    "name": "<string>"
  },
  "validation_file_id": "<string>",
  "workspace_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer HTTP authentication. Allowed headers -- Authorization: Bearer <access_token>

Path Parameters

organization_id
string
required
dataset_id
string
required

Body

application/json
unset
object
required

The fields to unset.

name
string

The name of the dataset.

training_file_id
string

The ID of the training file.

validation_file_id
string

The ID of the validation file.

Response

Successful response.

Datasets represent a collection of fine-tuning data files.

created_at
string<date-time>
required

Time at which the object was created.

id
string
required

Unique identifier for the object.

name
string
required

The name of the dataset.

total_bytes
integer
required

The size of the dataset in bytes.

training_file_id
string
required

The ID of the training file.

updated_at
string<date-time>
required

Time at which the object was last updated.

validation_file_id
string | null
required

The ID of the validation file.

workspace_id
string
required

The workspace that this dataset was created in.

training_file
object

This is an object representing the metadata of a fine-tuning data file in a dataset.

validation_file
object

This is an object representing the metadata of a fine-tuning data file in a dataset.