d779de93a5ee

latestOpenAPI 3.0.42026-08-13351856967.1 KB
Examples

Updates an example's properties within an audience.

patch/audience/{audienceId}/example/{exampleId}

Path parameters

audienceIdstring required

The unique identifier of the audience.

exampleIdstring required

The unique identifier of the example to update.

Request body

instructionTextstring

The instruction shown to the user — the criteria for a compare example, the target for a locate, line or scrub example, or the title for a classify or transcription example. The example's answer options are left unchanged.

explanationstring nullable

The optional explanation that will be shown to the user when answering wrong.

contextstring nullable

An optional text context that will be shown to the user.

randomCorrectProbabilitynumber double nullable

The probability that if the user answers at random that they'll be correct.

isCommonSenseboolean nullable

Whether this example should be treated as commonsense validation.

sortIndexinteger

The sort index that controls the serving order of this example.

visibility'Private' | 'Public'

Response

No Content