Create a new dataset in the same project with the episodes and episode versions of a committed dataset version. The new dataset is independent: later changes to either dataset do not affect the other.
By default, the new dataset has a single committed version. Set includeHistory to copy every version up to and including the cloned version instead. Either way, the new dataset has an empty draft on top of its latest version.
Display name of the new dataset. Must be unique within the project (case-insensitive) among datasets.
- Productionhttps://api.foxglove.dev/v1/datasets/{id}/versions/{versionNumber}/clone
{ "name": "string", "description": "string", "includeHistory": false }
The new dataset
ID of the org member who created the dataset. Null when the dataset was created via API-key auth (in which case creatorApiKeyId is set).
ID of the API key that created the dataset. Null when the dataset was created via session auth (in which case creatorOrgMemberId is set).
{ "id": "string", "projectId": "string", "name": "string", "description": "string", "creatorOrgMemberId": "string", "creatorApiKeyId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "episodeCount": 0 }