Description

List Datasets

GET
/v1/datasets
/v1/datasets

The Authorization access token

Authorization

X-API-KEY<token>

In: header

Query Parameters

typeType

curl -X GET "https://api.patronus.ai/v1/datasets?type=Patronus+Managed" \
  -H "X-API-KEY: <token>"

Successful Response

{
  "datasets": [
    {
      "id": "string",
      "name": "string",
      "description": "string",
      "creation_date": "2019-08-24",
      "created_at": "2019-08-24T14:15:22Z",
      "criteria": [
        "string"
      ],
      "samples": 0,
      "labeled": true,
      "use_case": "string",
      "type": "Patronus Managed",
      "has_evaluated_model_system_prompts": "none",
      "has_evaluated_model_retrieved_contexts": "none",
      "has_evaluated_model_inputs": "none",
      "has_evaluated_model_outputs": "none",
      "has_evaluated_model_gold_answers": "none"
    }
  ]
}