Launch Week 02 wrapped — explore all five launches

List Datasets

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

Lists all the available datasets in your Confident AI project.

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

Headers

  • CONFIDENT_API_KEYstringRequired

    The API key of your Confident AI project.

Response

  • successboolean

    This is true if the datasets were successfully retrieved.

  • dataobject

    This maps to all the datasets retrieved.

    Show 1 propertyHide 1 property
    • datasetslist of objects

      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 test cases. Single-turn datasets have multi_turn set to false and contain single-turn test cases.

  • deprecatedboolean

    This is true if this datasets endpoint is deprecated.

Built byConfident AI