Create a question set
Create a question set with its first version as a draft. Publish the version before a tool, step or grader can reference it.
Authentication
AuthorizationBearer
API key or Clerk session token
Request
This endpoint expects an object.
name
questions
Judgment questions keyed by question id. Each is { type: "boolean" | "choice" | "score", instructions, criteria }. The id is never sent to the model, so instructions and criteria carry the meaning.
slug
Stable handle, unique in the organization: lowercase letters, digits, - and _, up to 64.
description
inputMapping
model
Response
Created
questionSet
version
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error