Description

Get Dataset

GET
/v1/datasets/{id}
/v1/datasets/{id}

The Authorization access token

Authorization

X-API-KEY<token>

In: header

Path Parameters

id
Required
Id

curl -X GET "https://api.patronus.ai/v1/datasets/string" \
  -H "X-API-KEY: <token>"

Successful Response

{
  "dataset": {
    "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"
  }
}