Skip to main content
GET
/
chatbot
/
{courseId}
/
dataset
/
count
Dataset count
curl --request GET \
  --url https://api.example.com/chatbot/{courseId}/dataset/count \
  --header 'x-access'\''courser-auth-token: <x-access'\''courser-auth-token>'
{
  "count": 123
}
Returns the total count of student conversation turns recorded for a given course. Authentication is required.

Request headers

x-access'courser-auth-token
string
required
Your JWT authentication token.

Path parameters

courseId
string
required
The ID of the course.

Response

200 — Success

count
number
required
The total number of conversation records stored for the course.

Example

curl --request GET \
  --url http://localhost:8000/chatbot/64f1a2b3c4d5e6f7a8b9c0d1/dataset/count \
  --header "x-access'courser-auth-token: <your_jwt_token>"
200
{
  "count": 142
}

Build docs developers (and LLMs) love