Launch Week 02 wrapped — explore all five launches

List Datasets

GEThttps://api.confident-ai.com/v2/datasets

Lists all the datasets in your Confident AI project, newest first, without their goldens.

GET/v2/datasets
curl -X GET "https://api.confident-ai.com/v2/datasets" \
  -H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"
200
{
  "success": true,
  "data": {
    "datasets": [
      {
        "id": "<DATASET-ID>",
        "alias": "capitals",
        "multiTurn": false
      }
    ]
  },
  "deprecated": false
}

Headers

  • CONFIDENT_API_KEYstringRequired

    The API key of your Confident AI project.

Response

List Datasets succeeded.

  • successboolean

    Indicates if the request was successful.

  • dataobject

    Show 1 propertyHide 1 property
    • datasetslist of objects

      This is the list of datasets in your project, newest first.

      Show 3 propertiesHide 3 properties
      • idstring

        This is the unique id of the dataset.

      • aliasstring

        This is the alias of the dataset, which is unique within your project.

      • multiTurnboolean

        This is true if the dataset is multi-turn, which contains multi-turn goldens. Single-turn datasets have multiTurn set to false and contain single-turn goldens.

  • deprecatedboolean

    Indicates if this endpoint is deprecated.

Built byConfident AI