Skip to main content
POST
Generate a question set from source text, at a chosen difficulty.

Authorizations

Authorization
string
header
required

A workspace API key.

Body

application/json
text
string
required
Required string length: 1 - 50000
type
string
required
Required string length: 1 - 60
numberOfQuestions
integer
required
Required range: 1 <= x <= 20
projectId
string
required

The project to file this work under. Required — create one with POST /v1/projects. A project this workspace does not own answers not_found; the work is never silently filed somewhere else.

Required string length: 1 - 200
difficulty
string
Maximum string length: 60
subject
string
Maximum string length: 200
gradeLevel
string
Maximum string length: 50

Response

Success.

success
boolean
required
{key}
any