Launch Week 02 wrapped — explore all five launches

Create Dataset Version

POSThttps://api.confident-ai.com/v1/datasets/{alias}/versions

Snapshots the current state of the dataset as a new immutable version. If this is the first version, all existing unversioned goldens are backfilled onto it. Subsequent versions snapshot all goldens from the previous version (with new IDs).

POST/v1/datasets/{alias}/versions
curl -X POST "https://api.confident-ai.com/v1/datasets/{alias}/versions" \
  -H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"
200
{
  "success": true,
  "data": {
    "id": "abc-123",
    "version": "00.00.02"
  },
  "deprecated": false
}

Headers

  • CONFIDENT_API_KEYstringRequired

    The API key of your Confident AI project.

Path parameters

  • aliasstringRequired

    The unique alias of the dataset.

Response

  • successboolean

    Indicates if the request was successful

  • dataobject

    Show 2 propertiesHide 2 properties
    • idstring

    • versionstring

Built byConfident AI