CreateDataset

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
using var api = new LangSmithApi("API_KEY");

var response = await api.Datasets.CreateDatasetApiV1DatasetsPostAsync(name: "test3");
try
{
    var response2 = await api.Datasets.DeleteDatasetApiV1DatasetsDatasetIdDeleteAsync(datasetId: response.Id);
}
catch (Exception e)
{
    Console.WriteLine(e);
}