Skip to main content
POST
Create Benchmark

Authorizations

Authorization
string
header
required

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

Body

application/json
document_ids
string[]
required

List of document IDs to generate benchmark from

Example:
benchmark_name
string | null

Display name for the benchmark. Defaults to the benchmark id if omitted.

Example:

"Customer Support Q&A"

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 identifier and initial status for the benchmark generation initiated from specified documents

benchmark_id
string
required

Created benchmark identifier

Example:

"benchmark_01k4x9m2p7q3r6a1"

benchmark_name
string
required

Display name of the benchmark

Example:

"Customer Support Q&A"

status
string
default:PROCESSING

Initial benchmark generation status

Example:

"PROCESSING"