datasets
Update Dataset Splits
Changed onAdd examples to a split, or remove them from it.
Returns the IDs of the given examples found in the dataset. Each of them gets a new version, even when its splits do not change. An example's other splits are kept, and an example without a split counts as being in the base split. Removing an example's last split leaves it in no split.
put/api/v1/datasets/{dataset_id}/splits
Request
- Base URLhttps://api.smith.langchain.com
- URLhttps://api.smith.langchain.com/api/v1/datasets/{dataset_id}/splits
- Auth
- API key in header X-API-Key
- or API key in header X-Tenant-Id
- or HTTP bearer
Path parameters
dataset_idstring uuid required
Request body
Response
Successful Response
string[] required
Changes
- breaking
the
/response's property type changed fromobjecttostringfor status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status
- breaking