curl --location --request GET '/api/agent/0/evaluation/dataset/' \
--header 'Ocp-Apim-Subscription-Key: {{your-api-key}}' \
--header 'Authorization: Bearer {{your-access-token}}'
{
"success": true,
"message": "Dataset retrieved successfully.",
"data": {
"count": 5,
"num_pages": 1,
"current_page": 1,
"agents": [
{
"id": 5,
"created_by": "user@example.com",
"created_on": "2024-10-15T20:59:48.457181Z",
"modified_by": "",
"modified_on": "2024-10-15T20:59:48.457253Z",
"name": "test",
"description": "my sole purpose is to test this endpoint",
"dataset": [
{
"query": 12,
"prefix_prompt": "",
"model_deployment": "gpt4",
"custom_instructions": [
"Instruction 1"
],
"query_model_deployment": ""
}
],
"agent": 3
}
]
}
}