POST
/
api
/
v3
/
benchmark
/
create
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

Authorizations

Authorization
string
header
required

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

Body

application/json

Request schema for generating benchmark questions from documents

Response

200
application/json

Successful Response

The response is of type integer.