Relevant Source Files
src/datasets/createDataset.tsfor the exact return shape and upsert-by-name behavior
Create A Dataset
Upsert Or Append
createDataset() upserts by name: re-running it with the same name updates the existing dataset to match the examples you pass, and an unchanged upload is a no-op. To keep existing examples and add more, use appendDatasetExamples() instead of re-running createDataset() with the extra examples.
createDataset() returns { datasetId }, so you can pass that object directly as the dataset selector for append or experiment calls.
Read Back Dataset State
UsegetDataset, getDatasetExamples, and getDatasetInfo to inspect datasets after creation.
Source Map
src/datasets/createDataset.tssrc/datasets/appendDatasetExamples.tssrc/datasets/getDataset.tssrc/datasets/getDatasetExamples.tssrc/datasets/getDatasetInfo.ts

