Create Version
POSThttps://api.confident-ai.com/v2/datasets/{datasetId}/versions
Snapshots the current state of the dataset as a new immutable version. The first version takes over every unversioned golden; each later version copies every golden, tag and custom column from the previous version. Requires the Team plan or above.
curl -X POST "https://api.confident-ai.com/v2/datasets/{datasetId}/versions" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"success": true,
"data": {
"id": "<DATASET-VERSION-ID>",
"version": "00.00.02"
},
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe API key of your Confident AI project.
Path parameters
datasetIdstringRequiredThe unique id of the dataset.
Response
Create Version succeeded.
successbooleanIndicates if the request was successful.
dataobjectShow 2 propertiesHide 2 properties
idstringThe id of the new dataset version assigned by Confident AI, not to be confused with the version number.
versionstringThe version number generated by Confident AI for the new version. It is always incremental.
deprecatedbooleanIndicates if this endpoint is deprecated.