Skip to main content
POST
Create Benchmark Task

Authorizations

Authorization
string
header
required

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

Body

application/json
documents
string[]
required

List of document IDs to generate benchmark from

Example:
num_questions
integer | null
default:20

Number of questions to generate (if None, DeepEval decides based on content)

Required range: 1 <= x <= 100
Example:

10

Response

Returns a unique task identifier and initial status for the benchmark generation process initiated from specified documents

benchmark_id
string
required

Created benchmark task identifier

Example:

"benchmark-123"

status
string
default:PROCESSING

Initial benchmark generation status

Example:

"PROCESSING"