Clone Dataset
Changed onCopy examples from a source dataset into an existing target dataset.
Each copied example gets a new ID and keeps the inputs, outputs, metadata, and source run ID of its source example. Attachments are copied when blob storage is enabled. Copying the same examples twice adds them twice. Requires the datasets:clone permission on both datasets. Returns the ID, dataset ID, creation and modification times, and source run ID of each new example. Without example IDs, a source or target that is not found can return an empty list instead of an error.
Request
- Base URLhttps://api.smith.langchain.com
- URLhttps://api.smith.langchain.com/api/v1/datasets/clone
- Auth
- API key in header X-API-Key
- or API key in header X-Tenant-Id
- or HTTP bearer
Request body
Response
Successful Response
Changes
- info
added the non-success response with the status
- info
- 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 - info
added the new optional request property
- breaking