Section ID:
Values of
DOC-API-MODEL-schema-1jcdgbb5sm#overview
DatasetItem
One evaluation input with its expected output and source trace references.
Meaning and usage
Section ID: DOC-API-MODEL-schema-1jcdgbb5sm#meaning
See the definition above.
Usage profiles
Section ID: DOC-API-MODEL-schema-1jcdgbb5sm#fields
| Usage | Fields and validation |
|---|---|
| In responses | View fields |
In responses
Section ID: DOC-API-MODEL-schema-1jcdgbb5sm#response
API JSON uses JSON field names (camelCase).
| Field | Type | Presence | Meaning |
|---|---|---|---|
Section ID: DOC-API-MODEL-schema-1jcdgbb5sm#field-itemidSection ID: DOC-API-MODEL-schema-1jcdgbb5sm#response-field-itemiditemId | string | Optional | Identifier of the evaluation dataset item. |
Section ID: DOC-API-MODEL-schema-1jcdgbb5sm#field-datasetidSection ID: DOC-API-MODEL-schema-1jcdgbb5sm#response-field-datasetiddatasetId | string | Optional | Identifier of the evaluation dataset. |
Section ID: DOC-API-MODEL-schema-1jcdgbb5sm#field-datasetnameSection ID: DOC-API-MODEL-schema-1jcdgbb5sm#response-field-datasetnamedatasetName | string | Optional | Name of the evaluation dataset. |
Section ID: DOC-API-MODEL-schema-1jcdgbb5sm#field-inputjsonSection ID: DOC-API-MODEL-schema-1jcdgbb5sm#response-field-inputjsoninputJson | string | Optional | Evaluation input serialized as JSON. |
Section ID: DOC-API-MODEL-schema-1jcdgbb5sm#field-expectedoutputjsonSection ID: DOC-API-MODEL-schema-1jcdgbb5sm#response-field-expectedoutputjsonexpectedOutputJson | string | Optional | Expected output serialized as JSON. Empty until a curator supplies an expected result. |
Section ID: DOC-API-MODEL-schema-1jcdgbb5sm#field-metadatajsonSection ID: DOC-API-MODEL-schema-1jcdgbb5sm#response-field-metadatajsonmetadataJson | string | Optional | Additional attributes serialized as a JSON object. |
Section ID: DOC-API-MODEL-schema-1jcdgbb5sm#field-sourcetraceidSection ID: DOC-API-MODEL-schema-1jcdgbb5sm#response-field-sourcetraceidsourceTraceId | string | Optional | Identifier of the trace from which the dataset item originated. |
Section ID: DOC-API-MODEL-schema-1jcdgbb5sm#field-sourceobservationidSection ID: DOC-API-MODEL-schema-1jcdgbb5sm#response-field-sourceobservationidsourceObservationId | string | Optional | Identifier of the observation from which the dataset item originated. |
Section ID: DOC-API-MODEL-schema-1jcdgbb5sm#field-statusSection ID: DOC-API-MODEL-schema-1jcdgbb5sm#response-field-statusstatus | string (DATASET_ITEM_STATUS_ACTIVE, DATASET_ITEM_STATUS_ARCHIVED) or integer (int32) | Optional; explicit presence | State controlling whether the dataset item participates in evaluation. |
Section ID: DOC-API-MODEL-schema-1jcdgbb5sm#field-createdatSection ID: DOC-API-MODEL-schema-1jcdgbb5sm#response-field-createdatcreatedAt | string (date-time) | Optional | Time when this record was created. |
Section ID: DOC-API-MODEL-schema-1jcdgbb5sm#field-updatedatSection ID: DOC-API-MODEL-schema-1jcdgbb5sm#response-field-updatedatupdatedAt | string (date-time) | Optional | Time when this record was last updated. |
Values of status
Section ID: DOC-API-MODEL-schema-1jcdgbb5sm#response-values-status
Whether a dataset item is active or retained as archived content.
| Value | No. | Form | Meaning |
|---|---|---|---|
DATASET_ITEM_STATUS_ACTIVE | 0 | Canonical | The dataset item is active. |
DATASET_ITEM_STATUS_ARCHIVED | 1 | Canonical | The dataset item is archived and retained as historical content. |
Where used
Section ID: DOC-API-MODEL-schema-1jcdgbb5sm#where-used
| Reference | Relationship |
|---|---|
| List dataset items | POST /api/v1/evals/list-dataset-items |
Download the public reference contract.
Document ID: DOC-API-MODEL-schema-1jcdgbb5sm