Skip to main content
PATCH
Update Problem

Authorizations

x-api-key
string
header
required

Each key carries scopes chosen when it is created: candidates:read, candidates:write, assessments:read, assessments:write, problems:read, problems:write, results:read. Keys created before scopes existed have full access. A request with a key that lacks an operation's scope returns 403 naming the missing scope.

Path Parameters

problemId
string
required

The unique identifier of the problem

Body

application/json
problemTitle
string

New problem title.

Required string length: 1 - 255
desiredTime
integer

New assessment duration in minutes. Must be between 30 and 60. Also applies to issued assessments that have not started, unless they were issued with their own duration.

Required range: 30 <= x <= 60
externalResourceMode
enum<string>

New external-resource policy. Only CLOSED and AI_ASSISTED can be set here, and switching modes rewrites the problem's scoring rubric for the target mode. Problems currently in OPEN mode cannot be converted through the API.

Available options:
CLOSED,
OPEN,
AI_ASSISTED
includeAiUsageScoring
boolean

Adds an AI-usage scoring category when converting to AI_ASSISTED. Only valid alongside externalResourceMode "AI_ASSISTED".

expirationDays
integer | null

Days an issued assessment link stays valid (1-30). Send null to clear the problem override and fall back to the organization's default.

Required range: 1 <= x <= 30

Response

Successfully updated the problem

problem
object
required

Detailed problem information