Skip to main content
PATCH
Update Problem

Authorizations

x-api-key
string
header
required

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. Assessments already issued keep the duration they were created with.

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. Send null to clear the problem override and fall back to the organization's default.

Required range: 1 <= x <= 365

Response

Successfully updated the problem

problem
object
required

Detailed problem information