POST
/
api
/
trpc
/
datasets.createDataset
curl --request POST \
  --url https://analytics.toolzz.ai/api/trpc/datasets.createDataset
{
  "id": "<string>",
  "status": {},
  "input": null,
  "expectedOutput": null,
  "metadata": null,
  "sourceTraceId": "<string>",
  "sourceObservationId": "<string>",
  "datasetId": "<string>",
  "datasetName": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>"
}

Response Description

Below you will see the description of the dataset item response

id
string
required

Unique identifier for the dataset item.

status
enum
required

Status of the dataset item. Allowed values: ACTIVE | ARCHIVED.

input
null

Input data for the dataset item (optional).

expectedOutput
null

Expected output data for the dataset item (optional).

metadata
null

Metadata associated with the dataset item (optional).

sourceTraceId
string

Trace ID of the data source (optional).

sourceObservationId
string

Observation ID of the data source (optional).

datasetId
string
required

Unique identifier of the associated dataset.

datasetName
string
required

Name of the associated dataset.

createdAt
Date
required

Timestamp indicating when the dataset item was created.

updatedAt
Date
required

Timestamp indicating when the dataset item was last updated.

Code Response

Exemples of Response Code

200

Request Successful Response

400

Request Failure