cURL
curl --request POST \ --url https://api.nugen.in/api/v3/benchmark/create \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "documents": [ "<string>" ], "num_questions": 50 } '
123
Create task ID for benchmark generation - work handled by Celery
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Request schema for generating benchmark questions from documents
List of document IDs to generate benchmark from
Number of questions to generate (if None, DeepEval decides based on content)
1 <= x <= 100
Successful Response
The response is of type integer.
integer
Was this page helpful?