Skip to main content
POST
/
api
/
v1
/
chatbot
/
generate-reports
Generate individual class reports
curl --request POST \
  --url https://api.example.com/api/v1/chatbot/generate-reports/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Schema-Name: <x-schema-name>' \
  --data '
{
  "academic_class_id": 123,
  "exam_session_id": 123
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-API-KEY
string

API Key for authentication (alternative to session auth).

Example:

"sk_..."

X-Schema-Name
string
required

Tenant Schema Name

Body

application/json
academic_class_id
integer
required
exam_session_id
integer
required

Response

{key}
any