cURL
curl --request POST \ --url https://test-api.afrainity.com/api/v1/chatbot/batch-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, "force_regenerate": true } '
{}
Generate a single PDF containing all student reports for 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