Launch Week 02 wrapped — explore all five launches

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.

POST/v2/datasets/{datasetId}/versions
curl -X POST "https://api.confident-ai.com/v2/datasets/{datasetId}/versions" \
  -H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"
200
{
  "success": true,
  "data": {
    "id": "<DATASET-VERSION-ID>",
    "version": "00.00.02"
  },
  "deprecated": false
}

Headers

  • CONFIDENT_API_KEYstringRequired

    The API key of your Confident AI project.

Path parameters

  • datasetIdstringRequired

    The unique id of the dataset.

Response

Create Version succeeded.

  • successboolean

    Indicates if the request was successful.

  • dataobject

    Show 2 propertiesHide 2 properties
    • idstring

      The id of the new dataset version assigned by Confident AI, not to be confused with the version number.

    • versionstring

      The version number generated by Confident AI for the new version. It is always incremental.

  • deprecatedboolean

    Indicates if this endpoint is deprecated.

Built byConfident AI