Basic usage
Overview
The SDK is built by Stainless and provides type-safe access to Gentrace entities. Thedatasets object exposes methods to create, retrieve, update, and list datasets.
Dataset structure
Each dataset contains:string
required
Unique identifier (UUID)
string
required
Human-readable name for the dataset
string
Optional description of the dataset’s purpose
string
required
UUID of the associated pipeline
string
Timestamp when archived (null if active)
string
required
Creation timestamp
string
required
Last update timestamp
Resource methods
Create a dataset
Retrieve a dataset
Update a dataset
List with filters
Relationship with test cases
Datasets contain test cases. To work with test cases within a dataset, use the test cases SDK:See also
- Test Cases - Working with test cases within datasets
- Pipelines - Managing pipelines that contain datasets
evalDataset()- Running evaluations against datasets