cURL
curl --request POST \ --url https://test-api.afrainity.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 } '
{}
Generate individual PDF reports for all students in a class.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
API Key for authentication (alternative to session auth).
"sk_..."
Tenant Schema Name