curl --location --globoff 'https:///api/v2/agents//evaluation-datasets/upload?agent_version=' \
--header 'Organization-Id;' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer ' \
--form 'file=@"billing_faq.csv"' \
--form 'name="Billing FAQ"' \
--form 'description="Questions customers ask about invoices and refunds."' \
--form 'tags="billing,regression"' \
--form 'metadata=""'{
"success": true,
"message": "Evaluation dataset created successfully from uploaded file",
"data": {
"bridge_id": 128,
"agent_id": 42,
"id": 311,
"public_id": "3f2b8c1e-5d4a-4f6b-9c2d-7e8f9a0b1c2d",
"name": "Billing FAQ",
"description": "Questions customers ask about invoices and refunds.",
"created_on": "2026-10-02T09:14:31.512000Z",
"created_by": "[email protected]",
"query_count": 3,
"parse_report": {
"total_rows": 5,
"valid_rows": 3,
"skipped_rows": 2,
"skipped": [
{
"row": 4,
"reason": "missing or empty question"
},
{
"row": 6,
"reason": "duplicate question/answer"
}
],
"columns_detected": {
"question": "query",
"answer": "response",
"data_points": "data_points",
"query_type": null,
"external_chatlog_id": null
}
}
}
}