curl --request GET \
--url https://api.example.com/chatbot/{courseId}/dataset/export \
--header 'x-access'\''courser-auth-token: <x-access'\''courser-auth-token>'Download a CSV file of recent student conversations for a course.
curl --request GET \
--url https://api.example.com/chatbot/{courseId}/dataset/export \
--header 'x-access'\''courser-auth-token: <x-access'\''courser-auth-token>'Exports recent student conversations for a course as a CSV file download. Use this endpoint to build fine-tuning datasets or review chatbot performance. Authentication is required.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/GautamSharda/courser/llms.txt
Use this file to discover all available pages before exploring further.
50 if omitted or not a valid number.| Header | Value |
|---|---|
Content-Type | text/csv |
Content-Disposition | attachment; filename="dataset-{courseId}-{timestamp}.csv" |
| Column | Description |
|---|---|
Start Time | ISO timestamp of when the conversation was recorded |
User Question | The student’s original message |
Assistant Answer | The AI assistant’s response |
curl --request GET \
--url 'http://localhost:8000/chatbot/64f1a2b3c4d5e6f7a8b9c0d1/dataset/export?limit=100' \
--header "x-access'courser-auth-token: <your_jwt_token>" \
--output dataset.csv
Start Time,User Question,Assistant Answer
2024-11-15T14:23:01.000Z,What is the significance of horseshoe crabs?,"Horseshoe crabs are significant because their blood is used to detect bacterial endotoxins in medical devices and vaccines."
2024-11-15T13:05:44.000Z,How does photosynthesis work?,"Photosynthesis is the process by which plants convert sunlight into chemical energy stored as glucose."