> ## Documentation Index
> Fetch the complete documentation index at: https://docs.toolzz.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Dataset Item

> Endpoint to create a new dataset item

<Expandable title="Payload">
  <ResponseField name="datasetName" type="string" required>
    Name of the dataset.
  </ResponseField>

  <ResponseField name="input" type="object">
    Input data for the dataset (optional).
  </ResponseField>

  <ResponseField name="expectedOutput" type="object">
    Expected output data for the dataset (optional).
  </ResponseField>

  <ResponseField name="metadata" type="object">
    Metadata associated with the dataset (optional).
  </ResponseField>

  <ResponseField name="sourceTraceId" type="string">
    Trace ID of the data source (optional).
  </ResponseField>

  <ResponseField name="sourceObservationId" type="string">
    Observation ID of the data source (optional).
  </ResponseField>

  <ResponseField name="id" type="string">
    Unique identifier for the dataset item (optional).
  </ResponseField>

  <ResponseField name="status" type="enum" required>
    Status of the dataset. Allowed values: ACTIVE | ARCHIVED.
  </ResponseField>
</Expandable>

***

## Response Description

Below you will see the description of the dataset item response

<ResponseField name="id" type="string" required>
  Unique identifier for the dataset item.
</ResponseField>

<ResponseField name="status" type="enum" required>
  Status of the dataset item. Allowed values: ACTIVE | ARCHIVED.
</ResponseField>

<ResponseField name="input" type="null">
  Input data for the dataset item (optional).
</ResponseField>

<ResponseField name="expectedOutput" type="null">
  Expected output data for the dataset item (optional).
</ResponseField>

<ResponseField name="metadata" type="null">
  Metadata associated with the dataset item (optional).
</ResponseField>

<ResponseField name="sourceTraceId" type="string">
  Trace ID of the data source (optional).
</ResponseField>

<ResponseField name="sourceObservationId" type="string">
  Observation ID of the data source (optional).
</ResponseField>

<ResponseField name="datasetId" type="string" required>
  Unique identifier of the associated dataset.
</ResponseField>

<ResponseField name="datasetName" type="string" required>
  Name of the associated dataset.
</ResponseField>

<ResponseField name="createdAt" type="Date" required>
  Timestamp indicating when the dataset item was created.
</ResponseField>

<ResponseField name="updatedAt" type="Date" required>
  Timestamp indicating when the dataset item was last updated.
</ResponseField>

### Code Response

Exemples of Response Code

<ResponseField name="200">
  Request Successful Response
</ResponseField>

<ResponseField name="400">
  Request Failure
</ResponseField>
