Description

List Dataset Data

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

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/data" \
  -H "X-API-KEY: <token>"

Successful Response

{
  "data": [
    {
      "dataset_id": "string",
      "sid": 0,
      "evaluated_model_system_prompt": "string",
      "evaluated_model_retrieved_context": [
        "string"
      ],
      "evaluated_model_input": "string",
      "evaluated_model_output": "string",
      "evaluated_model_gold_answer": "string",
      "meta_evaluated_model_name": "string",
      "meta_evaluated_model_provider": "string",
      "meta_evaluated_model_selected_model": "string",
      "meta_evaluated_model_params": {},
      "text": "string",
      "label": "string"
    }
  ]
}